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

Function perspective

webgl/gl-matrix.js:5110–5130  ·  view source on GitHub ↗

* Generates a perspective projection matrix with the given bounds * * @param {mat4} out mat4 frustum matrix will be written into * @param {number} fovy Vertical field of view in radians * @param {number} aspect Aspect ratio. typically viewport width/height * @param {number} near Near bound of t

(out, fovy, aspect, near, far)

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