Struct cgmath::Perspective [] [src]

pub struct Perspective<S> {
    pub left: S,
    pub right: S,
    pub bottom: S,
    pub top: S,
    pub near: S,
    pub far: S,
}

A perspective projection with arbitrary left/right/bottom/top distances

Fields

left
right
bottom
top
near
far

Trait Implementations

impl<S: BaseFloat + 'static> Projection<S> for Perspective<S>

fn to_frustum(&self) -> Frustum<S>

Derived Implementations

impl<S: Decodable> Decodable for Perspective<S>

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

impl<S: Encodable> Encodable for Perspective<S>

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

impl<S: PartialEq> PartialEq for Perspective<S>

fn eq(&self, __arg_0: &Perspective<S>) -> bool

fn ne(&self, __arg_0: &Perspective<S>) -> bool

impl<S: Clone> Clone for Perspective<S>

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

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

impl<S: Copy> Copy for Perspective<S>