Skip to main content

orbit_view_projection_target

Function orbit_view_projection_target 

pub fn orbit_view_projection_target(
    yaw: f32,
    pitch: f32,
    zoom: f32,
    target: [f32; 3],
    aspect: f32,
) -> [[f32; 4]; 4]
Expand description

Column-major view×projection centered at arbitrary world-space target center.