Struct cgmath::Ortho [] [src]

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

An orthographic projection with arbitrary left/right/bottom/top distances

Fields

left
right
bottom
top
near
far

Trait Implementations

impl<S: BaseFloat> Projection<S> for Ortho<S>

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

Derived Implementations

impl<S: Decodable> Decodable for Ortho<S>

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

impl<S: Encodable> Encodable for Ortho<S>

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

impl<S: PartialEq> PartialEq for Ortho<S>

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

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

impl<S: Clone> Clone for Ortho<S>

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

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

impl<S: Copy> Copy for Ortho<S>