voxolith

decodeVoxRotation()

Decode a MagicaVoxel r rotation byte to a signed-permutation matrix (identity = 4).

function decodeVoxRotation(r: number): Mat3;

Defined in: vox.ts:209

Parameters

ParameterType
rnumber

Returns

Mat3

On this page