Struct cgmath::AffineMatrix3 [] [src]

pub struct AffineMatrix3<S> {
    pub mat: Matrix4<S>,
}

A homogeneous transformation matrix.

Fields

mat

Trait Implementations

impl<S: BaseFloat + 'static> Transform<S, Vector3<S>, Point3<S>> for AffineMatrix3<S>

fn identity() -> AffineMatrix3<S>

fn look_at(eye: &Point3<S>, center: &Point3<S>, up: &Vector3<S>) -> AffineMatrix3<S>

fn transform_vector(&self, vec: &Vector3<S>) -> Vector3<S>

fn transform_point(&self, point: &Point3<S>) -> Point3<S>

fn concat(&self, other: &AffineMatrix3<S>) -> AffineMatrix3<S>

fn invert(&self) -> Option<AffineMatrix3<S>>

fn transform_ray(&self, ray: &Ray<S, P, V>) -> Ray<S, P, V>

fn transform_as_point(&self, vec: &V) -> V

fn concat_self(&mut self, other: &Self)

fn invert_self(&mut self)

impl<S: BaseFloat + 'static> Transform3<S> for AffineMatrix3<S>

Derived Implementations

impl<S: Decodable> Decodable for AffineMatrix3<S>

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

impl<S: Encodable> Encodable for AffineMatrix3<S>

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

impl<S: Clone> Clone for AffineMatrix3<S>

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

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

impl<S: Copy> Copy for AffineMatrix3<S>