Home | History | Annotate | Download | only in dist

Lines Matching refs:near

3194  * @param {Number} near Near bound of the frustum
3198 mat4.frustum = function (out, left, right, bottom, top, near, far) {
3201 nf = 1 / (near - far);
3202 out[0] = (near * 2) * rl;
3207 out[5] = (near * 2) * tb;
3212 out[10] = (far + near) * nf;
3216 out[14] = (far * near * 2) * nf;
3227 * @param {number} near Near bound of the frustum
3231 mat4.perspective = function (out, fovy, aspect, near, far) {
3233 nf = 1 / (near - far);
3244 out[10] = (far + near) * nf;
3248 out[14] = (2 * far * near) * nf;
3261 * @param {number} near Near bound of the frustum
3265 mat4.ortho = function (out, left, right, bottom, top, near, far) {
3268 nf = 1 / (near - far);
3283 out[14] = (far + near) * nf;