Struct Basis

3x3 matrix used for 3D rotation and scale. Contains 3 vector fields x, y, and z as its columns, which can be interpreted as the local basis vectors of a transformation. Can also be accessed as array of 3D vectors. These vectors are orthogonal to each other, but are not necessarily normalized. Almost always used as orthogonal basis for a Transform.

struct Basis ;

For such use, it is composed of a scaling and a rotation matrix, in that order (M = R.S).

Methods

NameDescription
set String opCast(T : String)() const { String s; // @Todo return s; }