Skip to main content

apply_rtc_offset

Function apply_rtc_offset 

Source
pub fn apply_rtc_offset(mesh: &mut Mesh, rtc: (f64, f64, f64))
Expand description

Apply RTC offset to mesh vertices

Subtracts the RTC offset from all vertex positions to shift coordinates from world space to RTC-shifted space.