Struct nannou::math::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

Methods

impl<S> PerspectiveFov<S> where
    S: BaseFloat
[src]

Trait Implementations

impl<S> Clone for PerspectiveFov<S> where
    S: Clone
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<S> Debug for PerspectiveFov<S> where
    S: Debug
[src]

Formats the value using the given formatter. Read more

impl<'de, S> Deserialize<'de> for PerspectiveFov<S> where
    S: Deserialize<'de>, 
[src]

Deserialize this value from the given Serde deserializer. Read more

impl<S> From<PerspectiveFov<S>> for Matrix4<S> where
    S: BaseFloat
[src]

Performs the conversion.

impl<S> Serialize for PerspectiveFov<S> where
    S: Serialize
[src]

Serialize this value into the given Serde serializer. Read more

impl<S> Copy for PerspectiveFov<S> where
    S: Copy
[src]

impl<S> PartialEq<PerspectiveFov<S>> for PerspectiveFov<S> where
    S: PartialEq<S>, 
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

impl<S> Send for PerspectiveFov<S> where
    S: Send

impl<S> Sync for PerspectiveFov<S> where
    S: Sync