Skip to main content

camera

Function camera 

Source
pub(crate) fn camera(config: &CameraConfig, render_size: (u32, u32)) -> Camera
Expand description

Build the camera from the configuration and the render size’s aspect ratio.