Skip to main content

perspective_rh_zo

Function perspective_rh_zo 

pub fn perspective_rh_zo(
    tan_half_fov: f32,
    aspect: f32,
    near: f32,
    far: f32,
) -> [[f32; 4]; 4]
Expand description

Right-handed perspective projection matrix with [0, 1] clip depth (WebGPU convention, column-major).