Go to the source code of this file.
|
GLUSAPI GLUSboolean GLUSAPIENTRY | glusMatrix4x4Orthof (GLUSfloat result[16], const GLUSfloat left, const GLUSfloat right, const GLUSfloat bottom, const GLUSfloat top, const GLUSfloat nearVal, const GLUSfloat farVal) |
| Creates a matrix with orthogonal projection. More...
|
|
GLUSAPI GLUSboolean GLUSAPIENTRY | glusMatrix4x4Frustumf (GLUSfloat result[16], const GLUSfloat left, const GLUSfloat right, const GLUSfloat bottom, const GLUSfloat top, const GLUSfloat nearVal, const GLUSfloat farVal) |
| Creates a matrix with perspective projection. More...
|
|
GLUSAPI GLUSboolean GLUSAPIENTRY | glusMatrix4x4Perspectivef (GLUSfloat result[16], const GLUSfloat fovy, const GLUSfloat aspect, const GLUSfloat zNear, const GLUSfloat zFar) |
| Creates a matrix with perspective projection. More...
|
|
GLUSAPI GLUSvoid GLUSAPIENTRY | glusMatrix4x4LookAtf (GLUSfloat result[16], const GLUSfloat eyeX, const GLUSfloat eyeY, const GLUSfloat eyeZ, const GLUSfloat centerX, const GLUSfloat centerY, const GLUSfloat centerZ, const GLUSfloat upX, const GLUSfloat upY, const GLUSfloat upZ) |
| Creates a view / camera matrix. More...
|
|
Creates a matrix with perspective projection.
- Parameters
-
result | The resulting matrix. |
left | Left corner. |
right | Right corner. |
bottom | Bottom corner. |
top | Top corner. |
nearVal | Near corner. |
farVal | Far corner. |
- Returns
- GLUS_TRUE, if creation was successful.
Creates a view / camera matrix.
- Parameters
-
result | The resulting matrix. |
eyeX | Eye / camera X position. |
eyeY | Eye / camera Y position. |
eyeZ | Eye / camera Z position. |
centerX | X Position, where the view / camera points to. |
centerY | Y Position, where the view / camera points to. |
centerZ | Z Position, where the view / camera points to. |
upX | Eye / camera X component from up vector. |
upY | Eye / camera Y component from up vector. |
upZ | Eye / camera Z component from up vector. |
Creates a matrix with perspective projection.
- Parameters
-
result | The resulting matrix. |
fovy | Field of view. |
aspect | Aspect ratio. |
zNear | Near plane. |
zFar | Far plane. |
- Returns
- GLUS_TRUE, if creation was successful.