102 Dalmatians: Puppies to the Rescue
Decompilation Source Reference | GitLab repository
Loading...
Searching...
No Matches
joint_tracking.c File Reference

Go to the source code of this file.

Functions

static int32_t project_sine (int32_t angle, int32_t coordinate)
static int32_t project_pair (int32_t first_angle, int32_t first, int32_t second_angle, int32_t second)
static bool inside_cone (int16_t span, int16_t center, int32_t lateral, int32_t forward, int32_t radius)
static int16_t step_tracking_angle (int16_t target, int16_t current, int16_t span, int16_t step)
static int32_t transform_component (const int16_t *row, const struct Math_Vec3I32 *delta)
void Bone_UpdateJointTracking (struct Bone_JointTrackState *track, struct Actor_State *target_actor, int32_t explicit_reference_joint_index)

Function Documentation

◆ Bone_UpdateJointTracking()

void Bone_UpdateJointTracking ( struct Bone_JointTrackState * track,
struct Actor_State * target_actor,
int32_t explicit_reference_joint_index )

Definition at line 72 of file joint_tracking.c.

◆ inside_cone()

bool inside_cone ( int16_t span,
int16_t center,
int32_t lateral,
int32_t forward,
int32_t radius )
static

Definition at line 22 of file joint_tracking.c.

◆ project_pair()

int32_t project_pair ( int32_t first_angle,
int32_t first,
int32_t second_angle,
int32_t second )
static

Definition at line 15 of file joint_tracking.c.

◆ project_sine()

int32_t project_sine ( int32_t angle,
int32_t coordinate )
static

Definition at line 9 of file joint_tracking.c.

◆ step_tracking_angle()

int16_t step_tracking_angle ( int16_t target,
int16_t current,
int16_t span,
int16_t step )
static

Definition at line 43 of file joint_tracking.c.

◆ transform_component()

int32_t transform_component ( const int16_t * row,
const struct Math_Vec3I32 * delta )
static

Definition at line 65 of file joint_tracking.c.