Struct cgmath::PerspectiveFov
[−]
[src]
pub struct PerspectiveFov<S> {
pub fovy: Rad<S>,
pub aspect: S,
pub near: S,
pub far: S,
}A perspective projection based on a vertical field-of-view angle.
Fields
fovy: Rad<S>
aspect: S
near: S
far: S
Methods
impl<S: BaseFloat> PerspectiveFov<S>[src]
fn to_perspective(&self) -> Perspective<S>
Trait Implementations
impl<S: PartialEq> PartialEq for PerspectiveFov<S>[src]
fn eq(&self, __arg_0: &PerspectiveFov<S>) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &PerspectiveFov<S>) -> bool
This method tests for !=.
impl<S: Debug> Debug for PerspectiveFov<S>[src]
impl<S: Clone> Clone for PerspectiveFov<S>[src]
fn clone(&self) -> PerspectiveFov<S>
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