Tramway SDK
Classes | Functions | Variables
tram::Ext::Camera Namespace Reference

Classes

class  Camera
 
class  FirstPersonCamera
 

Functions

void Init ()
 
void Update ()
 

Variables

uint32_t CAMERA_SYSTEM = -1u
 
Cameraselected_camera = nullptr
 
float shake_multiplier = 1.0f
 
id_t look_at_entity = 0
 
quat look_at_direction = {1.0f, 0.0f, 0.0f, 0.0f}
 
const float TILT_SPEED = 0.01f
 
const float BOB_CHANGE_SPEED = 0.05f
 

Function Documentation

◆ Init()

void tram::Ext::Camera::Init ( )

◆ Update()

void tram::Ext::Camera::Update ( )

Variable Documentation

◆ BOB_CHANGE_SPEED

const float tram::Ext::Camera::BOB_CHANGE_SPEED = 0.05f

◆ CAMERA_SYSTEM

uint32_t tram::Ext::Camera::CAMERA_SYSTEM = -1u

◆ look_at_direction

quat tram::Ext::Camera::look_at_direction = {1.0f, 0.0f, 0.0f, 0.0f}

◆ look_at_entity

id_t tram::Ext::Camera::look_at_entity = 0

◆ selected_camera

Camera* tram::Ext::Camera::selected_camera = nullptr

◆ shake_multiplier

float tram::Ext::Camera::shake_multiplier = 1.0f

◆ TILT_SPEED

const float tram::Ext::Camera::TILT_SPEED = 0.01f