Skip to main content

camera_view

Function camera_view 

Source
pub fn camera_view(size: (u32, u32)) -> Camera
Expand description

Camera looking at DEFAULT_TARGET from DEFAULT_EYE.

Uses reverse-z infinite perspective matching the built-in pipeline’s CompareFunction::Greater and depth_clear = 0.0.