#include <observercam.h>
Collaboration diagram for LsgObserverCam:

Data Fields | |
| LsgCamera | super |
| Vertex | location |
| Vertex | heading |
| Vertex | up |
| float | fovy |
| float | aspect |
| float | dmin |
| float | dmax |
Related Functions | |
| (Note that these are not member functions.) | |
| LsgObserverCam * | LsgObserverCam_create (void) |
| void | LsgObserverCam_init (LsgObserverCam *self) |
| void | LsgObserverCam_display (LsgObserverCam *self, LsgFrustum *frust, LsgNode *node) |
A perspective camera that is defined by the three vertices location, heading and up, the field-of-view and a minimal and maximal viewing distance.
|
|
Allocate and initialize a LsgObserverCam.
|
|
|
Constructor method for LsgObserverCam. Initialize the LsgCamera as looking from {0, 0, -1} along the positive z axis with the second (y) axis being up. The initial field-of-view is 45 degrees in both directions.
|
|
||||||||||||||||
|
Display a node as seen using this LsgCamera.
|