MCPcopy Create free account
hub / github.com/JackPu/freleap.github.io / fromRotationTranslationScale

Function fromRotationTranslationScale

webgl/gl-matrix.js:4904–4945  ·  view source on GitHub ↗

* Creates a matrix from a quaternion rotation, vector translation and vector scale * This is equivalent to (but much faster than): * * mat4.identity(dest); * mat4.translate(dest, vec); * let quatMat = mat4.create(); * quat4.toMat4(quat, quatMat); * mat4.multiply(dest, quat

(out, q, v, s)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected