frustum.h File Reference
View Frustum.
More...
#include <lescegra/util/object.h>
#include <lescegra/util/vertex.h>
#include <lescegra/util/matrix.h>
Include dependency graph for frustum.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Detailed Description
View Frustum.
Define Documentation
| #define LsgFrustum_destroy |
( |
self |
|
) |
LsgObject_destroy(&(self)->super)
|
|
|
|
The destructor method for LsgFrustum. Reuse parent implementation. |
Function Documentation
|
|
Allocate and initialize a view frustum. - Parameters:
-
| projection | The projection matrix |
| modelview | The modelview matrix |
- Returns:
- The view frustum as defined by projection and modelview
|
|
|
Constructor method for LsgFrustum. - Parameters:
-
| self | The instance variable |
| projection | The projection matrix |
| modelview | The modelview matrix |
|
|
|
Transform a view frustum. - Parameters:
-
| self | The instance variable |
| projection | The transformation matrix for the projection matrix |
| modelview | The transformation matrix for the modelview matrix |
|
| void LsgFrustum_updatePlanes |
( |
LsgFrustum * |
self |
) |
|
|
|
|
Update the clipping planes after transforming the defining projection and/or modelview matrix. - Parameters:
-
| self | The instance variable |
|