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

Function fromRotation

webgl/gl-matrix.js:706–722  ·  view source on GitHub ↗

* Creates a matrix from a given angle * This is equivalent to (but much faster than): * * mat3.identity(dest); * mat3.rotate(dest, dest, rad); * * @param {mat3} out mat3 receiving operation result * @param {Number} rad the angle to rotate the matrix by * @returns {mat3} out

(out, rad)

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