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

Function lookAt

webgl/gl-matrix.js:5214–5297  ·  view source on GitHub ↗

* Generates a look-at matrix with the given eye position, focal point, and up axis * * @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 {mat

(out, eye, center, 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