Go to the source code of this file.
|
| void | load_track_path (s32 pathIndex) |
| |
| void | calculate_track_boundaries (s32 pathIndex) |
| |
| f32 | calculate_track_curvature (s32 pathIndex, u16 pathPointIndex) |
| |
| void | analize_track_section (s32 pathIndex) |
| |
| s16 | calculate_angle_path (s32 pathIndex, s32 pathPointIndex) |
| |
| void | analyse_angle_path (s32 pathIndex) |
| |
| void | analisze_curved_path (s32 pathIndex) |
| |
| f32 | func_80010F40 (f32 arg0, f32 arg1, f32 arg2, UNUSED s32 arg3, UNUSED s32 arg4) |
| |
| f32 | func_80010FA0 (f32 arg0, f32 arg1, f32 arg2, UNUSED s32 arg3, UNUSED s32 arg4) |
| |
| s32 | func_80011014 (TrackPathPoint *pathDest, TrackPathPoint *path, s32 numPathPoints, UNUSED s32 pathIndex) |
| |
| s32 | process_path_data (TrackPathPoint *dest, TrackPathPoint *src) |
| |
| s32 | generate_2d_path (Path2D *pathDest, TrackPathPoint *pathSrc, s32 numPathPoints) |
| |
◆ analisze_curved_path()
| void analisze_curved_path |
( |
s32 | pathIndex | ) |
|
◆ analize_track_section()
| void analize_track_section |
( |
s32 | pathIndex | ) |
|
◆ analyse_angle_path()
| void analyse_angle_path |
( |
s32 | pathIndex | ) |
|
◆ calculate_angle_path()
| s16 calculate_angle_path |
( |
s32 | pathIndex, |
|
|
s32 | pathPointIndex ) |
◆ calculate_track_boundaries()
| void calculate_track_boundaries |
( |
s32 | pathIndex | ) |
|
◆ calculate_track_curvature()
| f32 calculate_track_curvature |
( |
s32 | pathIndex, |
|
|
u16 | pathPointIndex ) |
Calculates the track curvature using two sets of three path. Returns a normalized value indicating curve direction and severity:
- Positive: Right turn
- Negative: Left turn
- Near zero: Straight section
- Parameters
-
| pathIndex | Track path index |
| pathPointIndex | Starting pathPoint for calculation |
- Returns
- Normalized curvature value (-1 to 1)
◆ func_80010F40()
◆ func_80010FA0()
◆ func_80011014()
- Returns
- 's the number of items processed.
◆ generate_2d_path()
◆ load_track_path()
| void load_track_path |
( |
s32 | pathIndex | ) |
|
◆ process_path_data()