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

Function targetTo

webgl/gl-matrix.js:5308–5349  ·  view source on GitHub ↗

* Generates a matrix that makes something look at something else. * * @param {mat4} out mat4 frustum matrix will be written into * @param {vec3} eye Position of the viewer * @param {vec3} center Point the viewer is looking at * @param {vec3} up vec3 pointing up * @returns {mat4} out

(out, eye, target, up)

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