Namespace CAAT.WebGL.GLU
Defined in: GLU.js.
Constructor Attributes | Constructor Name and Description |
---|---|
Method Attributes | Method Name and Description |
---|---|
<static> |
CAAT.WebGL.GLU.makeFrustum(left, right, bottom, top, znear, zfar, viewportHeight)
Create a matrix for a frustum.
|
<static> |
CAAT.WebGL.GLU.makeOrtho(left, right, bottom, top, znear, zfar)
Create an orthogonal projection matrix.
|
<static> |
CAAT.WebGL.GLU.makePerspective(fovy, aspect, znear, zfar, viewportHeight)
Create a perspective matrix.
|
Method Detail
<static>
CAAT.WebGL.GLU.makeFrustum(left, right, bottom, top, znear, zfar, viewportHeight)
Create a matrix for a frustum.
- Parameters:
- left
- right
- bottom
- top
- znear
- zfar
- viewportHeight
<static>
CAAT.WebGL.GLU.makeOrtho(left, right, bottom, top, znear, zfar)
Create an orthogonal projection matrix.
- Parameters:
- left
- right
- bottom
- top
- znear
- zfar
<static>
CAAT.WebGL.GLU.makePerspective(fovy, aspect, znear, zfar, viewportHeight)
Create a perspective matrix.
- Parameters:
- fovy
- aspect
- znear
- zfar
- viewportHeight