Mario Kart 64
Loading...
Searching...
No Matches
freecam_engine.c File Reference
#include <libultraship.h>
#include <macros.h>
#include <defines.h>
#include <common_structs.h>
#include "player_controller.h"
#include "code_80057C60.h"
#include "code_800029B0.h"
#include "code_80005FD0.h"
#include "racing/collision.h"
#include "main.h"
#include <camera.h>
#include "freecam_engine.h"
#include <math.h>
Include dependency graph for freecam_engine.c:

Functions

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

Variables

FreeCam freeCam
 
f32 gDampValue = 0.99f
 
f32 gRotDampValue = 0.96f
 
f32 gFreecamFollowFactor = 0.7
 

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_get_player_from_character()

void freecam_get_player_from_character ( s32 characterId)
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

◆ freeCam

FreeCam freeCam

◆ gDampValue

f32 gDampValue = 0.99f

◆ gFreecamFollowFactor

f32 gFreecamFollowFactor = 0.7

◆ gRotDampValue

f32 gRotDampValue = 0.96f