ShaderMatrix

A matrix data for the shader program.

Members

Functions

calc
void calc()

Recalculates the matrix.

Properties

cache
cache [@property getter]

Cache of the calculation. If recalculating is needed, calculates before return.

form
form [@property getter]

Ratio of transformation.

form
vec3 form [@property setter]
late
late [@property getter]

Size of translation.

late
vec3 late [@property setter]
projection
projection [@property getter]

Projection matrix.

projection
mat4 projection [@property setter]
rota
rota [@property getter]

Amount of rotation.

rota
vec3 rota [@property setter]

Variables

_cache
mat4 _cache;
Undocumented in source.
_form
vec3 _form;
Undocumented in source.
_late
vec3 _late;
Undocumented in source.
_needRecalc
bool _needRecalc;
Undocumented in source.
_projection
mat4 _projection;
Undocumented in source.
_rota
vec3 _rota;
Undocumented in source.

Meta