Creates an instance of Matrix3.
The initial values for the matrx needs to be 3x3.
The data of the Matrix in a twodimensinal array.
Returns a onedimensional representation for use in Shaders. Concatenates the rows.
Copied from the excercise and modified to suite my implementation!!!
Constructs a new matrix that represents a projection normalisation transformation
Camera-space left value of lower near point
Camera-space right value of upper right far point
Camera-space bottom value of lower lower near point
Camera-space top value of upper right far point
Camera-space near value of lower lower near point
Camera-space far value of upper right far point
The resulting frustum matrix
Returns the fourdim identity matrix. If row == col => 1 else => 0
Constructs a new matrix that represents a projection normalisation transformation.
Field of view in y-direction in radians!!!
Aspect ratio between width and height
Camera-space distance to near plane
Camera-space distance to far plane
The resulting matrix
Returns a scaling matrix. Only scaling of all dimesions allowed to preserve normals.
Factor used for scaling.
Returns an instance filled with zeros.
Generated using TypeDoc
This Class represents a 4x4 Matrix