RigsofRods
Soft-body Physics Simulation
Functions | Variables
CameraManager.cpp File Reference
#include "CameraManager.h"
#include "AppContext.h"
#include "ApproxMath.h"
#include "Actor.h"
#include "ActorManager.h"
#include "Character.h"
#include "Collisions.h"
#include "Console.h"
#include "GameContext.h"
#include "GfxScene.h"
#include "InputEngine.h"
#include "Language.h"
#include "OverlayWrapper.h"
#include "Replay.h"
#include "Terrain.h"
#include "GUIManager.h"
#include "PerVehicleCameraContext.h"
#include "Water.h"
+ Include dependency graph for CameraManager.cpp:

Go to the source code of this file.

Functions

static const Ogre::Vector3 CHARACTERCAM_OFFSET_1ST_PERSON (0.0f, 1.82f, 0.0f)
 
static const Ogre::Vector3 CHARACTERCAM_OFFSET_3RD_PERSON (0.0f, 1.1f, 0.0f)
 
bool intersectsTerrain (Vector3 a, Vector3 b)
 
bool intersectsTerrain (Vector3 a, Vector3 start, Vector3 end, float interval)
 

Variables

static const int SPLINECAM_DRAW_RESOLUTION = 200
 
static const int DEFAULT_INTERNAL_CAM_PITCH = -15
 
static const float TRANS_SPEED = 50.f
 
static const float ROTATE_SPEED = 100.f
 

Function Documentation

◆ CHARACTERCAM_OFFSET_1ST_PERSON()

static const Ogre::Vector3 CHARACTERCAM_OFFSET_1ST_PERSON ( 0.  0f,
1.  82f,
0.  0f 
)
static
+ Here is the caller graph for this function:

◆ CHARACTERCAM_OFFSET_3RD_PERSON()

static const Ogre::Vector3 CHARACTERCAM_OFFSET_3RD_PERSON ( 0.  0f,
1.  1f,
0.  0f 
)
static
+ Here is the caller graph for this function:

◆ intersectsTerrain() [1/2]

bool intersectsTerrain ( Vector3  a,
Vector3  b 
)

Definition at line 52 of file CameraManager.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ intersectsTerrain() [2/2]

bool intersectsTerrain ( Vector3  a,
Vector3  start,
Vector3  end,
float  interval 
)

Definition at line 69 of file CameraManager.cpp.

+ Here is the call graph for this function:

Variable Documentation

◆ DEFAULT_INTERNAL_CAM_PITCH

const int DEFAULT_INTERNAL_CAM_PITCH = -15
static

Definition at line 48 of file CameraManager.cpp.

◆ ROTATE_SPEED

const float ROTATE_SPEED = 100.f
static

Definition at line 50 of file CameraManager.cpp.

◆ SPLINECAM_DRAW_RESOLUTION

const int SPLINECAM_DRAW_RESOLUTION = 200
static

Definition at line 47 of file CameraManager.cpp.

◆ TRANS_SPEED

const float TRANS_SPEED = 50.f
static

Definition at line 49 of file CameraManager.cpp.