pub fn pbrt_transform(api_state: &mut ApiState, tr: &Transform)