BasicMatrix

A matrix for simple uses that easily integrates with OpenGlShader.

Might not be useful to you since it only as some simple functions and probably isn't that fast.

Note it uses an inline static array for its storage, so copying it may be expensive.

Constructors

this
this(T[columns * rows] data)

Members

Functions

rotateX
void rotateX(T theta)
rotateY
void rotateY(T theta)
rotateZ
void rotateZ(T theta)
scale
void scale(T x, T y, T z)

Basic operations that operate *in place*.

translate
void translate(T x, T y, T z)

Basic operations that operate *in place*.

Static functions

identity
BasicMatrix identity()

Meta