pub fn pbrt_reverse_orientation(api_state: &mut ApiState)