Struct vecmat::map::Affine4  [−][src]
pub struct Affine4<T> where
T: Copy + Num + Float + Signed, { pub linear: Mat4<T>, pub shift: Vec4<T>, }
Fields
linear: Mat4<T>
                           
                           
                           
                           shift: Vec4<T>
                           
                    Methods
impl<T> Affine4<T> where
    T: Copy + Num + Float + Signed, [src] 
impl<T> Affine4<T> where
    T: Copy + Num + Float + Signed, pub fn new() -> Self[src] 
pub fn new() -> Selfpub fn from(m: Mat4<T>, v: Vec4<T>) -> Self[src] 
pub fn from(m: Mat4<T>, v: Vec4<T>) -> Selfpub fn inverse(&self) -> Self[src] 
pub fn inverse(&self) -> Selfpub fn map_vec(&self, v: Vec4<T>) -> Vec4<T>[src] 
pub fn map_vec(&self, v: Vec4<T>) -> Vec4<T>pub fn map_mat(&self, m: Mat4<T>) -> Mat4<T>[src] 
pub fn map_mat(&self, m: Mat4<T>) -> Mat4<T>pub fn chain(&self, a: &Affine4<T>) -> Self[src] 
pub fn chain(&self, a: &Affine4<T>) -> SelfTrait Implementations
impl<T: Clone> Clone for Affine4<T> where
    T: Copy + Num + Float + Signed, [src] 
impl<T: Clone> Clone for Affine4<T> where
    T: Copy + Num + Float + Signed, fn clone(&self) -> Affine4<T>[src] 
fn clone(&self) -> Affine4<T>Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src] 
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl<T: Debug> Debug for Affine4<T> where
    T: Copy + Num + Float + Signed, [src] 
impl<T: Debug> Debug for Affine4<T> where
    T: Copy + Num + Float + Signed, fn fmt(&self, f: &mut Formatter) -> Result[src] 
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl<T: PartialEq> PartialEq for Affine4<T> where
    T: Copy + Num + Float + Signed, [src] 
impl<T: PartialEq> PartialEq for Affine4<T> where
    T: Copy + Num + Float + Signed,