Struct matrixstack::MatrixStack
[−]
[src]
pub struct MatrixStack<T: BaseFloat + Float> { /* fields omitted */ }
Methods
impl<T: BaseFloat + Float> MatrixStack<T>
[src]
fn new() -> MatrixStack<T>
fn transform(&mut self, transformation: Matrix4<T>)
fn rotate(&mut self, rotation: Matrix3<T>)
fn push(&mut self)
fn pop(&mut self) -> Matrix4<T>
fn transform_vector(&self, target: Vector3<T>) -> Vector3<T>
fn transform_point(&self, target: Point3<T>) -> Point3<T>
fn transform_point_no_translate(&self, target: Point3<T>) -> Point3<T>
Transforms the point, but only with rotation and scale, no translation