Main Page | Modules | Alphabetical List | Data Structures | File List | Data Fields | Globals | Related Pages

LsgFrustum Struct Reference

View Frustum. More...

#include <frustum.h>

Collaboration diagram for LsgFrustum:

Collaboration graph
[legend]

Data Fields

LsgObject super
Matrix projection
Matrix modelview
LsgPlane planes [6]

Related Functions

(Note that these are not member functions.)

LsgFrustumLsgFrustum_create (const Matrix projection, const Matrix modelview)
void LsgFrustum_init (LsgFrustum *self, const Matrix projection, const Matrix modelview)
void LsgFrustum_transform (LsgFrustum *self, const Matrix projection, const Matrix modelview)
void LsgFrustum_updatePlanes (LsgFrustum *self)

Detailed Description

View Frustum.

A view frustum defined by two matrizes (modelview and projection) and the six clipping planes.


Friends And Related Function Documentation

LsgFrustum * LsgFrustum_create const Matrix  projection,
const Matrix  modelview
[related]
 

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

void LsgFrustum_init LsgFrustum self,
const Matrix  projection,
const Matrix  modelview
[related]
 

Constructor method for LsgFrustum.

Parameters:
self The instance variable
projection The projection matrix
modelview The modelview matrix

void LsgFrustum_transform LsgFrustum self,
const Matrix  projection,
const Matrix  modelview
[related]
 

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  )  [related]
 

Update the clipping planes after transforming the defining projection and/or modelview matrix.

Parameters:
self The instance variable


The documentation for this struct was generated from the following file:
(c) 2003, by Enno Cramer
generated on 13 Jul 2003
lescegra - doxygen