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

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

Go to the source code of this file.
Data Structures | |
| struct | LsgPerspectiveCam |
| Perspective camera with location and lookat. More... | |
Defines | |
| #define | LSG_PERSPECTIVECAM_H 1 |
| #define | LsgPerspectiveCam_destroy(self) LsgCamera_destroy(&(self)->super) |
Functions | |
| LsgPerspectiveCam * | LsgPerspectiveCam_create (void) |
| void | LsgPerspectiveCam_init (LsgPerspectiveCam *self) |
| void | LsgPerspectiveCam_display (LsgPerspectiveCam *self, LsgFrustum *frust, LsgNode *node) |
|
|
Destructor method for LsgPerspectiveCam. Reuse parent implementation. |
|
|
Allocate and initialize a LsgPerspectiveCam.
|
|
|
Constructor method for LsgPerspectiveCam. Initialize the camera as looking from {0, 0, -1} to the center of the coordinate system 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 camera.
|