| 1 | #pragma once |
| 2 | |
| 3 | #include <math/seadVector.h> |
| 4 | |
| 5 | namespace PlayerActionFunction { |
| 6 | |
| 7 | f32 accel(f32 speed, f32 speedMax, f32 accel); |
| 8 | f32 brake(f32 speed, u32 frames, f32 speedMax); |
| 9 | f32 brakeLimit(f32 speed, u32 frames, f32 speedMax, f32 speedMin); |
| 10 | f32 calcJumpSpeed(f32 speedFront, f32 speedMin, f32 speedMax, f32 jumpPowerMin, f32 jumpPowerMax); |
| 11 | bool isOppositeDir(const sead::Vector3f& a, const sead::Vector3f& b); |
| 12 | bool isOppositeVec(const sead::Vector3f& a, const sead::Vector3f& b); |
| 13 | f32 calcStickPow(f32); |
| 14 | |
| 15 | } // namespace PlayerActionFunction |
| 16 | |