Struct vecmat::map::Affine3 [−][src]
pub struct Affine3<T> where
T: Copy + Num + Float + Signed, { pub linear: Mat3<T>, pub shift: Vec3<T>, }
Fields
linear: Mat3<T>
shift: Vec3<T>
Methods
impl<T> Affine3<T> where
T: Copy + Num + Float + Signed, [src]
impl<T> Affine3<T> where
T: Copy + Num + Float + Signed, pub fn new() -> Self[src]
pub fn new() -> Selfpub fn from(m: Mat3<T>, v: Vec3<T>) -> Self[src]
pub fn from(m: Mat3<T>, v: Vec3<T>) -> Selfpub fn inverse(&self) -> Self[src]
pub fn inverse(&self) -> Selfpub fn map_vec(&self, v: Vec3<T>) -> Vec3<T>[src]
pub fn map_vec(&self, v: Vec3<T>) -> Vec3<T>pub fn map_mat(&self, m: Mat3<T>) -> Mat3<T>[src]
pub fn map_mat(&self, m: Mat3<T>) -> Mat3<T>pub fn chain(&self, a: &Affine3<T>) -> Self[src]
pub fn chain(&self, a: &Affine3<T>) -> SelfTrait Implementations
impl<T: Clone> Clone for Affine3<T> where
T: Copy + Num + Float + Signed, [src]
impl<T: Clone> Clone for Affine3<T> where
T: Copy + Num + Float + Signed, fn clone(&self) -> Affine3<T>[src]
fn clone(&self) -> Affine3<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 Affine3<T> where
T: Copy + Num + Float + Signed, [src]
impl<T: Debug> Debug for Affine3<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 Affine3<T> where
T: Copy + Num + Float + Signed, [src]
impl<T: PartialEq> PartialEq for Affine3<T> where
T: Copy + Num + Float + Signed,