|
sphore 0.0.1
SPH openGL rendering engine
|
Code for managing the viewing volume. More...
Data Structures | |
| struct | _volume |
| Internal storage for a viewing volume. More... | |
Defines | |
| #define | DEFAULT_WIDTH 10.f |
| #define | DEFAULT_HEIGHT 10.f |
| #define | DEFAULT_DEPTH 1000.f |
Functions | |
| volume_t * | volume_create (void) |
| void | volume_destroy (volume_t *vol) |
| void | volume_reset (volume_t *vol) |
| void | volume_set (volume_t *vol, float width, float height, float depth) |
| void | volume_get (volume_t *vol, float *width, float *height, float *depth) |
Code for managing the viewing volume.
| #define DEFAULT_DEPTH 1000.f |
| #define DEFAULT_HEIGHT 10.f |
| #define DEFAULT_WIDTH 10.f |
| volume_t* volume_create | ( | void | ) |
| void volume_destroy | ( | volume_t * | vol | ) |
| void volume_get | ( | volume_t * | vol, |
| float * | width, | ||
| float * | height, | ||
| float * | depth | ||
| ) |
| void volume_reset | ( | volume_t * | vol | ) |
| void volume_set | ( | volume_t * | vol, |
| float | width, | ||
| float | height, | ||
| float | depth | ||
| ) |