#include <cl_camera.h>
Public Member Functions | |
camera_t (View *view, const Callback &update) | |
Static Public Member Functions | |
static void | motionDelta (int x, int y, void *data) |
Data Fields | |
vec3_t | origin |
vec3_t | camorg |
vec3_t | speed |
vec3_t | angles |
vec3_t | omega |
vec3_t | axis [3] |
float | lerplevel |
float | zoom |
int | width |
int | height |
bool | timing |
Vector3 | origin |
Vector3 | angles |
Vector3 | color |
Vector3 | forward |
Vector3 | right |
Vector3 | vup |
Vector3 | vpn |
Vector3 | vright |
Matrix4 | projection |
Matrix4 | modelview |
bool | m_strafe |
bool | m_strafe_forward |
unsigned int | movementflags |
Timer | m_keycontrol_timer |
guint | m_keymove_handler |
float | fieldOfView |
DeferredMotionDelta | m_mouseMove |
View * | m_view |
Callback | m_update |
Static Public Attributes | |
static camera_draw_mode | draw_mode |
Definition at line 31 of file cl_camera.h.
camera_t::camera_t | ( | View * | view, | |
const Callback & | update | |||
) | [inline] |
static void camera_t::motionDelta | ( | int | x, | |
int | y, | |||
void * | data | |||
) | [inline, static] |
current camera angle
Definition at line 35 of file cl_camera.h.
set when refdef.angles is set
Definition at line 37 of file cl_camera.h.
origin of the camera (look from)
Definition at line 33 of file cl_camera.h.
camera_draw_mode camera_t::draw_mode [static] |
float camera_t::fieldOfView |
int camera_t::height |
float camera_t::lerplevel |
linear interpolation between frames while changing the world level
Definition at line 39 of file cl_camera.h.
bool camera_t::m_strafe |
Callback camera_t::m_update |
View* camera_t::m_view |
Matrix4 camera_t::modelview |
unsigned int camera_t::movementflags |
speed of rotation
Definition at line 36 of file cl_camera.h.
the reference origin used for rotating around and to look at
Definition at line 32 of file cl_camera.h.
Matrix4 camera_t::projection |
speed of camera movement
Definition at line 34 of file cl_camera.h.
bool camera_t::timing |
int camera_t::width |
float camera_t::zoom |
the current zoom level (see MIN_ZOOM and MAX_ZOOM)
Definition at line 40 of file cl_camera.h.