|
102 Dalmatians: Puppies to the Rescue
Decompilation Source Reference | GitLab repository
|
Go to the source code of this file.
Functions | |
| int32_t | Math_EaseInOutQuadraticQ12 (int32_t input_q12) |
| struct Math_Vec3F * | Math_CalculateFaceNormal (struct Math_Vec3F *out_normal, struct Math_Vec3F const *point0, struct Math_Vec3F const *point1, struct Math_Vec3F const *point2) |
| int32_t | Math_ApproxDistance3DWeighted (int32_t dx, int32_t dy, int32_t dz) |
| int32_t | Math_SqrtFP12 (uint32_t value) |
| int32_t | Math_SqrtFP14 (uint32_t value) |
| int32_t | Math_CalculateTriangleHeight (int32_t local_xq6, int32_t local_zq6, struct Collision_Vertex const *tri_a, struct Collision_Vertex const *tri_b, struct Collision_Vertex const *tri_c) |
| void | Math_MulMat3x3Q12 (struct Math_Matrix3x3I16 *out_matrix, struct Math_Matrix3x3I16 const *right_factor, struct Math_Matrix3x3I16 const *left_factor) |
| void | Math_BuildMatrixRotationX (struct Math_Matrix3x3I16 *out_matrix, struct Math_Matrix3x3I16 const *left_factor, int32_t angle) |
| void | Math_BuildMatrixRotationY (struct Math_Matrix3x3I16 *out_matrix, struct Math_Matrix3x3I16 const *left_factor, int32_t angle) |
| void | Math_BuildMatrixRotationZ (struct Math_Matrix3x3I16 *out_matrix, struct Math_Matrix3x3I16 const *left_factor, int32_t angle) |
| void | Math_BuildMatrixRotationXY (struct Math_Matrix3x3I16 *out_matrix, struct Math_Matrix3x3I16 const *left_factor, int32_t angle_x, int32_t angle_y) |
| void | Math_BuildRotationMatrix (struct Math_Matrix3x3I16 *out_matrix, struct Math_Matrix3x3I16 const *left_factor, int32_t angle_x, int32_t angle_y, int32_t angle_z) |
| void | Math_BuildRotationMatrixFromXYSinCos (struct Math_Matrix3x3I16 *out_matrix, struct Math_Matrix3x3I16 const *left_factor, int16_t sin_x_q12, int16_t cos_x_q12, int16_t sin_y_q12, int16_t cos_y_q12, int32_t angle_z) |
| uint16_t | Math_ClampAngleDelta (int16_t target_angle, int16_t current_angle, int16_t max_delta) |
| uint32_t | Math_GenerateRandom (uint32_t range) |
| uint32_t | Math_SetRandomSeed (uint32_t seed) |
| int32_t | Math_SinQ14 (int32_t angle) |
| int32_t | Math_CalculateAtan2Fast (int32_t y, int32_t x) |
| int16_t | Math_CalculateAtan2FP12 (int32_t y, int32_t x) |
| int32_t | Math_AsinRatioFP12 (int32_t numerator, int32_t denominator) |
| int32_t | Math_AcosRatioFP12 (int32_t numerator, int32_t denominator) |
| void | Math_BuildQuaternionFromMatrix (struct Math_Matrix3x3I16 *matrix, struct Math_QuaternionI16 *output_quat) |
| void | Math_BuildRotationFromVectors (struct Math_Vec3I16 *from_vec, struct Math_Vec3I16 *to_vec, struct Math_Matrix3x3I16 *out_matrix) |
| int32_t | Math_EaseInOut (int32_t t_q12, int32_t ease_in_q12, int32_t ease_out_q12) |
| int32_t Math_AcosRatioFP12 | ( | int32_t | numerator, |
| int32_t | denominator ) |
Definition at line 389 of file fixed_point.c.
| int32_t Math_ApproxDistance3DWeighted | ( | int32_t | dx, |
| int32_t | dy, | ||
| int32_t | dz ) |
Definition at line 59 of file fixed_point.c.
| int32_t Math_AsinRatioFP12 | ( | int32_t | numerator, |
| int32_t | denominator ) |
Definition at line 355 of file fixed_point.c.
| void Math_BuildMatrixRotationX | ( | struct Math_Matrix3x3I16 * | out_matrix, |
| struct Math_Matrix3x3I16 const * | left_factor, | ||
| int32_t | angle ) |
Definition at line 54 of file matrices.c.
| void Math_BuildMatrixRotationXY | ( | struct Math_Matrix3x3I16 * | out_matrix, |
| struct Math_Matrix3x3I16 const * | left_factor, | ||
| int32_t | angle_x, | ||
| int32_t | angle_y ) |
Definition at line 120 of file matrices.c.
| void Math_BuildMatrixRotationY | ( | struct Math_Matrix3x3I16 * | out_matrix, |
| struct Math_Matrix3x3I16 const * | left_factor, | ||
| int32_t | angle ) |
Definition at line 76 of file matrices.c.
| void Math_BuildMatrixRotationZ | ( | struct Math_Matrix3x3I16 * | out_matrix, |
| struct Math_Matrix3x3I16 const * | left_factor, | ||
| int32_t | angle ) |
Definition at line 98 of file matrices.c.
| void Math_BuildQuaternionFromMatrix | ( | struct Math_Matrix3x3I16 * | matrix, |
| struct Math_QuaternionI16 * | output_quat ) |
Definition at line 250 of file matrices.c.
| void Math_BuildRotationFromVectors | ( | struct Math_Vec3I16 * | from_vec, |
| struct Math_Vec3I16 * | to_vec, | ||
| struct Math_Matrix3x3I16 * | out_matrix ) |
Definition at line 366 of file matrices.c.
| void Math_BuildRotationMatrix | ( | struct Math_Matrix3x3I16 * | out_matrix, |
| struct Math_Matrix3x3I16 const * | left_factor, | ||
| int32_t | angle_x, | ||
| int32_t | angle_y, | ||
| int32_t | angle_z ) |
Definition at line 154 of file matrices.c.
| void Math_BuildRotationMatrixFromXYSinCos | ( | struct Math_Matrix3x3I16 * | out_matrix, |
| struct Math_Matrix3x3I16 const * | left_factor, | ||
| int16_t | sin_x_q12, | ||
| int16_t | cos_x_q12, | ||
| int16_t | sin_y_q12, | ||
| int16_t | cos_y_q12, | ||
| int32_t | angle_z ) |
Definition at line 204 of file matrices.c.
| int32_t Math_CalculateAtan2Fast | ( | int32_t | y, |
| int32_t | x ) |
Definition at line 274 of file fixed_point.c.
| int16_t Math_CalculateAtan2FP12 | ( | int32_t | y, |
| int32_t | x ) |
Definition at line 323 of file fixed_point.c.
| struct Math_Vec3F * Math_CalculateFaceNormal | ( | struct Math_Vec3F * | out_normal, |
| struct Math_Vec3F const * | point0, | ||
| struct Math_Vec3F const * | point1, | ||
| struct Math_Vec3F const * | point2 ) |
Definition at line 35 of file fixed_point.c.
| int32_t Math_CalculateTriangleHeight | ( | int32_t | local_xq6, |
| int32_t | local_zq6, | ||
| struct Collision_Vertex const * | tri_a, | ||
| struct Collision_Vertex const * | tri_b, | ||
| struct Collision_Vertex const * | tri_c ) |
Definition at line 158 of file fixed_point.c.
| uint16_t Math_ClampAngleDelta | ( | int16_t | target_angle, |
| int16_t | current_angle, | ||
| int16_t | max_delta ) |
Definition at line 203 of file fixed_point.c.
| int32_t Math_EaseInOut | ( | int32_t | t_q12, |
| int32_t | ease_in_q12, | ||
| int32_t | ease_out_q12 ) |
Definition at line 405 of file fixed_point.c.
| int32_t Math_EaseInOutQuadraticQ12 | ( | int32_t | input_q12 | ) |
Definition at line 24 of file fixed_point.c.
| uint32_t Math_GenerateRandom | ( | uint32_t | range | ) |
Definition at line 224 of file fixed_point.c.
| void Math_MulMat3x3Q12 | ( | struct Math_Matrix3x3I16 * | out_matrix, |
| struct Math_Matrix3x3I16 const * | right_factor, | ||
| struct Math_Matrix3x3I16 const * | left_factor ) |
Definition at line 11 of file matrices.c.
| uint32_t Math_SetRandomSeed | ( | uint32_t | seed | ) |
Definition at line 243 of file fixed_point.c.
| int32_t Math_SinQ14 | ( | int32_t | angle | ) |
Definition at line 258 of file fixed_point.c.
| int32_t Math_SqrtFP12 | ( | uint32_t | value | ) |
Definition at line 112 of file fixed_point.c.
| int32_t Math_SqrtFP14 | ( | uint32_t | value | ) |
Definition at line 135 of file fixed_point.c.