Home |All Classes |Grouped Classes |Index |Search

Class CL_Matrix4x4

4x4 Matrix. More...

Derived from:

None

Derived by:

None

Group:

Math (Core)

#include <ClanLib/core.h>

Class Members:

Construction:

CL_Matrix4x4

Constructs a 4x4 matrix.

frustum

perspective

ortho

ortho_2d

rotate

scale

translate

look_at


Attributes:

operator double const *

Operator that returns the matrix as a double[16] array.

operator double *

Operator that returns the matrix as a double[16] array.

operator[]

Operator that returns the matrix cell at the given index.

get_origin_x

Returns the x coordinate for the point (0,0,0) multiplied with this matrix.

get_origin_y

Returns the y coordinate for the point (0,0,0) multiplied with this matrix.

get_origin_z

Returns the z coordinate for the point (0,0,0) multiplied with this matrix.

matrix


Operations:

operator==

Equality operator.

operator!=

Not-equal operator.

multiply

Multiply two matrices.