Skip to main content

ortho_camera

Function ortho_camera 

Source
pub fn ortho_camera(
    eye: [f64; 3],
    target: [f64; 3],
    up: [f64; 3],
    half_width: f64,
    half_height: f64,
    near: f64,
    far: f64,
) -> Camera
Expand description

Build a camera from an explicit eye/target/up + ortho frustum (the shared path for the artifact framing and the desktop orbit).