Struct rust_3d::Matrix4 [] [src]

pub struct Matrix4 {
    pub data: [[f64; 4]; 4],
}

Matrix4, a matrix with 4 rows and columns

Fields

Methods

impl Matrix4
[src]

[src]

Creates a new matrix which contains only zeroes

[src]

Creates a new matrix which applies translation

[src]

Creates a new matrix which applies scaling

[src]

Creates a new matrix which applies rotation

[src]

Creates a new matrix which applies rotation around an axis

[src]

Creates a new matrix which applies perspective transformation

[src]

Creates a new matrix which applies a look at transformation

Trait Implementations

impl Debug for Matrix4
[src]

[src]

Formats the value using the given formatter. Read more

impl PartialEq for Matrix4
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl PartialOrd for Matrix4
[src]

[src]

This method returns an ordering between self and other values if one exists. Read more

[src]

This method tests less than (for self and other) and is used by the < operator. Read more

[src]

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

[src]

This method tests greater than (for self and other) and is used by the > operator. Read more

[src]

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl Clone for Matrix4
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Default for Matrix4
[src]

[src]

Returns the "default value" for a type. Read more

impl Mul for Matrix4
[src]

The resulting type after applying the * operator.

[src]

Performs the * operation.

impl Mul<f64> for Matrix4
[src]

The resulting type after applying the * operator.

[src]

Performs the * operation.

Auto Trait Implementations

impl Send for Matrix4

impl Sync for Matrix4