|
SBgl 0.1.0
A graphics framework in C99
|
Stateful camera representation. More...
#include <sbgl_camera.h>

Data Fields | |
| sbgl_CameraType | type |
| sbgl_Vec3 | position |
| sbgl_Vec3 | target |
| sbgl_Vec3 | up |
| float | fov_y |
| float | aspect |
| float | near_plane |
| float | far_plane |
| float | ortho_left |
| float | ortho_right |
| float | ortho_bottom |
| float | ortho_top |
Stateful camera representation.
Stores the necessary parameters to construct view and projection matrices. The orientation is typically managed via position, target, and up vectors to generate a look-at matrix.
Definition at line 27 of file sbgl_camera.h.
| float sbgl_Camera::aspect |
Definition at line 35 of file sbgl_camera.h.
| float sbgl_Camera::far_plane |
Definition at line 37 of file sbgl_camera.h.
| float sbgl_Camera::fov_y |
Definition at line 34 of file sbgl_camera.h.
| float sbgl_Camera::near_plane |
Definition at line 36 of file sbgl_camera.h.
| float sbgl_Camera::ortho_bottom |
Definition at line 41 of file sbgl_camera.h.
| float sbgl_Camera::ortho_left |
Definition at line 39 of file sbgl_camera.h.
| float sbgl_Camera::ortho_right |
Definition at line 40 of file sbgl_camera.h.
| float sbgl_Camera::ortho_top |
Definition at line 42 of file sbgl_camera.h.
| sbgl_Vec3 sbgl_Camera::position |
Definition at line 30 of file sbgl_camera.h.
| sbgl_Vec3 sbgl_Camera::target |
Definition at line 31 of file sbgl_camera.h.
| sbgl_CameraType sbgl_Camera::type |
Definition at line 28 of file sbgl_camera.h.
| sbgl_Vec3 sbgl_Camera::up |
Definition at line 32 of file sbgl_camera.h.