#include <lescegra/sg/camera.h>
#include <lescegra/util/vertex.h>
Include dependency graph for observercam.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.
Data Structures | |
| struct | LsgObserverCam |
| Perspective camera with location and heading. More... | |
Defines | |
| #define | LSG_OBSERVERCAM_H 1 |
| #define | LsgObserverCam_destroy(self) LsgCamera_destroy(&(self)->super) |
Functions | |
| LsgObserverCam * | LsgObserverCam_create (void) |
| void | LsgObserverCam_init (LsgObserverCam *self) |
| void | LsgObserverCam_display (LsgObserverCam *self, LsgFrustum *frust, LsgNode *node) |
|
|
Destructor method for LsgObserverCam. Reuse parent implementation. |
|
|
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.
|