SpaghettiKart
Loading...
Searching...
No Matches
freecam_engine.h File Reference
#include <libultraship.h>
#include "camera.h"
Include dependency graph for freecam_engine.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  FreeCam
 

Macros

#define MOUSE_SENSITIVITY_X   0.006f
 
#define MOUSE_SENSITIVITY_Y   0.006f
 

Functions

void freecam_calculate_forward_vector_allow_rotation (Camera *camera, Vec3f forwardVector)
 
void freecam_target_player (Camera *camera, Vec3f forwardVector)
 
void freecam_tick (Camera *camera, Vec3f forwardVector)
 

Variables

FreeCam freeCam
 
f32 gDampValue
 
f32 gRotDampValue
 
u32 fTargetPlayer
 
u32 fRankIndex
 

Macro Definition Documentation

◆ MOUSE_SENSITIVITY_X

#define MOUSE_SENSITIVITY_X   0.006f

◆ MOUSE_SENSITIVITY_Y

#define MOUSE_SENSITIVITY_Y   0.006f

Function Documentation

◆ freecam_calculate_forward_vector_allow_rotation()

void freecam_calculate_forward_vector_allow_rotation ( Camera * camera,
Vec3f forwardVector )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ freecam_target_player()

void freecam_target_player ( Camera * camera,
Vec3f forwardVector )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ freecam_tick()

void freecam_tick ( Camera * camera,
Vec3f forwardVector )
Here is the caller graph for this function:

Variable Documentation

◆ fRankIndex

u32 fRankIndex
extern

◆ freeCam

FreeCam freeCam
extern

◆ fTargetPlayer

u32 fTargetPlayer
extern

◆ gDampValue

f32 gDampValue
extern

◆ gRotDampValue

f32 gRotDampValue
extern