Struct three::Perspective
[−]
[src]
pub struct Perspective { pub fov_y: f32, pub near: f32, pub far: f32, }
Perspective projection parameters.
See Perspective projection
.
Fields
fov_y: f32
Vertical field of view in degrees. Note: the horizontal FOV is computed based on the aspect.
near: f32
far: f32
Trait Implementations
impl Clone for Perspective
[src]
fn clone(&self) -> Perspective
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Debug for Perspective
[src]
impl PartialEq for Perspective
[src]
fn eq(&self, __arg_0: &Perspective) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Perspective) -> bool
This method tests for !=
.