MCPcopy Create free account
hub / github.com/esengine/esengine / identity

Function identity

scripts/test-animation-times.mjs:43–45  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

41}
42
43function identity() {
44 return new Float32Array([1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1]);
45}
46
47function slerpQuaternion(q1, q2, t) {
48 let dot = q1[0] * q2[0] + q1[1] * q2[1] + q1[2] * q2[2] + q1[3] * q2[3];

Callers 1

calculateBoneMatricesFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected