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.


fovy: Rad<S> aspect: S near: S far: S


impl<S: BaseFloat> PerspectiveFov<S>

fn to_perspective(&self) -> Perspective<S>

Trait Implementations

impl<S: PartialEq> PartialEq for PerspectiveFov<S>

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>

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl<S: Clone> Clone for PerspectiveFov<S>

fn clone(&self) -> PerspectiveFov<S>

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more

impl<S: Copy> Copy for PerspectiveFov<S>

impl<S: Decodable> Decodable for PerspectiveFov<S>

fn decode<__DS: Decoder>(__arg_0: &mut __DS) -> Result<PerspectiveFov<S>, __DS::Error>

impl<S: Encodable> Encodable for PerspectiveFov<S>

fn encode<__SS: Encoder>(&self, __arg_0: &mut __SS) -> Result<(), __SS::Error>