Same as
mat4.identity(dest);
mat4.translate(dest, vec);
const quatMat = mat4.create();
quat4.toMat4(quat, quatMat);
mat4.multiply(dest, quatMat);
mat4.scale(dest, scale)
same as
Mat4.setIdentity(result);
Mat4.setScale(scale.x, scale.y, scale.z, result.data);
// or
Mat4.setIdentity(result);
result.scale(scale.x, scale.y, scale.z, result.data);
same as
Mat4.setIdentity(result);
Mat4.translate(scale.x, scale.y, scale.z, result.data);
Generated using TypeDoc
Same as