4#ifndef TRAM_SDK_EXTENSIONS_CAMERA_FIRSTPERSON_H
5#define TRAM_SDK_EXTENSIONS_CAMERA_FIRSTPERSON_H
50 bool mouselook =
false;
51 bool rotate_following =
false;
55 vec3 following_offset =
vec3 (0.0f, 0.0f, 0.0f);
56 float following_interpolation = 1.0f;
Definition: firstperson.h:11
void SetFollowingInterpolation(float following_interpolation)
Definition: firstperson.h:33
float bobbing_tilt_goal
Definition: firstperson.h:44
void SetFollowingOffset(vec3 offset)
Definition: firstperson.h:34
void SetTilt(float tilt)
Definition: firstperson.cpp:18
void SetBobSpeed(float speed)
Definition: firstperson.cpp:42
~FirstPersonCamera()
Definition: firstperson.h:14
float bobbing_tilt
Definition: firstperson.h:45
float bobbing_distance
Definition: firstperson.h:43
void SetBobbingTilt(float bobbing_tilt)
Definition: firstperson.cpp:38
float GetWeight()
Definition: firstperson.cpp:54
float bob_speed
Definition: firstperson.h:46
float tilt_last
Definition: firstperson.h:39
int callback_count
Definition: firstperson.h:47
float bobbing_weight_goal
Definition: firstperson.h:41
void SetRotateFollowing(bool rotate_following)
Definition: firstperson.cpp:26
float bob
Definition: firstperson.h:40
void SetBobbingCallback(void(*bob_callback)(FirstPersonCamera *))
Definition: firstperson.cpp:46
float tilt_goal
Definition: firstperson.h:38
FirstPersonCamera()
Definition: firstperson.h:13
void SetBobbingDistance(float bobbing_distance)
Definition: firstperson.cpp:34
void SetMouselook(bool mouselook)
Definition: firstperson.cpp:22
float bobbing_weight
Definition: firstperson.h:42
float GetBob()
Definition: firstperson.cpp:50
void Update()
Definition: firstperson.cpp:58
void SetBobbing(float bobbing_weight)
Definition: firstperson.cpp:30
float tilt
Definition: firstperson.h:37
Definition: camera.cpp:13
glm::vec3 vec3
Definition: math.h:12