Struct radiant_rs::support::Mat4Stack [] [src]

pub struct Mat4Stack<T = f32>(_);

A stack of 4x4 matrices.

Methods

impl<T> Mat4Stack<T> where
    T: Copy
[src]

[src]

Creates a new matrix stack.

[src]

Pushes a copy of the current matrix on the stack and returns a reference to it.

[src]

Removes the top matrix from the stack and replaces the current matrix with it.

Trait Implementations

impl<T> Deref for Mat4Stack<T> where
    T: Copy
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.

impl<T> DerefMut for Mat4Stack<T> where
    T: Copy
[src]

[src]

Mutably dereferences the value.

impl<T> From<[[T; 4]; 4]> for Mat4Stack<T> where
    T: Copy
[src]

[src]

Performs the conversion.

Auto Trait Implementations

impl<T> Send for Mat4Stack<T> where
    T: Send

impl<T> Sync for Mat4Stack<T> where
    T: Sync