Skip to main content

set_camera

Function set_camera 

Source
pub fn set_camera(
    ctx: &mut Context,
    eye: [f32; 3],
    target: [f32; 3],
    up: [f32; 3],
)
Expand description

Sets camera eye, target and up vectors in one call.