Enum gl_utils::camera3d::Projection3dInner [−][src]
pub enum Projection3dInner {
Perspective {
perspective_fov: PerspectiveFov<f32>,
mat: Matrix4<f32>,
},
Orthographic {
zoom: f32,
ortho: Ortho<f32>,
mat: Matrix4<f32>,
},
}Either a Perspective or Orthographic projection
Variants
PerspectiveFields of Perspective
perspective_fov: PerspectiveFov<f32> | Used to create the perspective projection matrix |
mat: Matrix4<f32> | Constructed from the parameters in |
OrthographicFields of Orthographic
zoom: f32 | Constant factor to zoom in and out orthographically. The scale at |
ortho: Ortho<f32> | Used to create the orthographic projection matrix |
mat: Matrix4<f32> | Constructed from the parameters in |
Auto Trait Implementations
impl Send for Projection3dInner
impl Send for Projection3dInnerimpl Sync for Projection3dInner
impl Sync for Projection3dInner