camera_t Struct Reference

#include <cl_camera.h>

Collaboration diagram for camera_t:
Collaboration graph
[legend]

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

Detailed Description

Definition at line 31 of file cl_camera.h.


Constructor & Destructor Documentation

camera_t::camera_t ( View *  view,
const Callback &  update 
) [inline]

Definition at line 47 of file Camera.h.


Member Function Documentation

static void camera_t::motionDelta ( int  x,
int  y,
void *  data 
) [inline, static]

Definition at line 37 of file Camera.h.


Field Documentation

Definition at line 16 of file Camera.h.

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.

Definition at line 18 of file Camera.h.

Definition at line 45 of file Camera.h.

Definition at line 33 of file Camera.h.

Definition at line 20 of file Camera.h.

Definition at line 11 of file Camera.h.

linear interpolation between frames while changing the world level

Definition at line 39 of file cl_camera.h.

Definition at line 30 of file Camera.h.

Definition at line 31 of file Camera.h.

Definition at line 35 of file Camera.h.

Definition at line 26 of file Camera.h.

Definition at line 27 of file Camera.h.

Definition at line 43 of file Camera.h.

Definition at line 42 of file Camera.h.

Definition at line 24 of file Camera.h.

Definition at line 29 of file Camera.h.

speed of rotation

Definition at line 36 of file cl_camera.h.

Definition at line 15 of file Camera.h.

the reference origin used for rotating around and to look at

Definition at line 32 of file cl_camera.h.

Definition at line 23 of file Camera.h.

Definition at line 20 of file Camera.h.

speed of camera movement

Definition at line 34 of file cl_camera.h.

Definition at line 13 of file Camera.h.

Definition at line 21 of file Camera.h.

Definition at line 21 of file Camera.h.

Definition at line 21 of file Camera.h.

Definition at line 11 of file Camera.h.

the current zoom level (see MIN_ZOOM and MAX_ZOOM)

Definition at line 40 of file cl_camera.h.


The documentation for this struct was generated from the following files:

Generated by  doxygen 1.6.2