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,
}
Expand description
A perspective projection with arbitrary left/right/bottom/top distances
Fields
left: S
right: S
bottom: S
top: S
near: S
far: S
Trait Implementations
Performs the conversion.
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> RefUnwindSafe for Perspective<S> where
S: RefUnwindSafe,
impl<S> Send for Perspective<S> where
S: Send,
impl<S> Sync for Perspective<S> where
S: Sync,
impl<S> Unpin for Perspective<S> where
S: Unpin,
impl<S> UnwindSafe for Perspective<S> where
S: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more