Definition at line 13 of file RailInterpolator.hh.
Public Types | |
| enum class | Status { InProgress = 0 , SegmentEnd = 1 , ChangingDirection = 2 } |
Public Member Functions | |
| RailInterpolator (f32 speed, u32 idx) | |
| virtual void | init (f32 t, u32 idx)=0 |
| virtual Status | calc ()=0 |
| virtual void | setCurrVel (f32 speed)=0 |
| virtual f32 | getCurrVel ()=0 |
| virtual void | evalCubicBezierOnPath (f32 t, EGG::Vector3f &currDir, EGG::Vector3f &curTangentDir)=0 |
| virtual void | getPathLocation (f32 t, s16 &idx, f32 &len)=0 |
| virtual f32 | getCurrSegmentLength () const =0 |
| void | setPerPointVelocities (bool isSet) |
| void | setT (f32 t) |
| void | reverseDirection () |
| const EGG::Vector3f & | floorNrm (size_t idx) const |
| f32 | railLength () const |
| const System::MapdataPointInfo::Point & | curPoint () const |
| const System::MapdataPointInfo::Point & | nextPoint () const |
| s16 | railIdx () const |
| u16 | pointCount () const |
| f32 | speed () const |
| const EGG::Vector3f & | curPos () const |
| const EGG::Vector3f & | curTangentDir () const |
| f32 | currVel () const |
| f32 | segmentT () const |
| bool | isMovementDirectionForward () const |
| s16 | curPointIdx () const |
| s16 | nextPointIdx () const |
Protected Member Functions | |
| void | updateVel () |
| void | calcVelocities () |
| bool | shouldChangeDirection () const |
| void | calcDirectionChange () |
| void | calcNextIndices () |
Protected Attributes | |
| s16 | m_railIdx |
| u16 | m_pointCount |
| std::span< const System::MapdataPointInfo::Point > | m_points |
| bool | m_isOscillating |
| f32 | m_speed |
| bool | m_usePerPointVelocities |
| EGG::Vector3f | m_curPos |
| EGG::Vector3f | m_curTangentDir |
| f32 | m_currVel |
| f32 | m_prevPointVel |
| f32 | m_nextPointVel |
| f32 | m_currSegmentVel |
| f32 | m_segmentT |
| bool | m_movementDirectionForward |
| s16 | m_currPointIdx |
| s16 | m_nextPointIdx |
| bool | m_4a |
|
strong |
Definition at line 15 of file RailInterpolator.hh.
|
0x806ED160 |
Definition at line 8 of file RailInterpolator.cc.
|
virtualdefault0x806ED53C |
|
protected0x806F0880 |
Definition at line 68 of file RailInterpolator.cc.
|
protected |
Definition at line 82 of file RailInterpolator.cc.
|
protected0x806ED34C |
Definition at line 37 of file RailInterpolator.cc.
|
inlinenodiscard |
Definition at line 54 of file RailInterpolator.hh.
|
inlinenodiscard |
Definition at line 96 of file RailInterpolator.hh.
|
inlinenodiscard |
Definition at line 76 of file RailInterpolator.hh.
|
inlinenodiscard |
Definition at line 84 of file RailInterpolator.hh.
|
inlinenodiscard |
Definition at line 80 of file RailInterpolator.hh.
|
nodiscard0806ED24C |
Definition at line 21 of file RailInterpolator.cc.
|
inlinenodiscard |
Definition at line 92 of file RailInterpolator.hh.
|
inlinenodiscard |
Definition at line 59 of file RailInterpolator.hh.
|
inlinenodiscard |
Definition at line 100 of file RailInterpolator.hh.
|
inlinenodiscard |
Definition at line 68 of file RailInterpolator.hh.
|
inlinenodiscard |
Definition at line 64 of file RailInterpolator.hh.
|
nodiscard0x806ED30C |
Definition at line 26 of file RailInterpolator.cc.
|
inline0x806ED204 |
Definition at line 45 of file RailInterpolator.hh.
|
inlinenodiscard |
Definition at line 88 of file RailInterpolator.hh.
|
inline |
Definition at line 35 of file RailInterpolator.hh.
|
inline0x806C63A8 |
Definition at line 40 of file RailInterpolator.hh.
|
nodiscardprotected0x806F0814 |
Definition at line 59 of file RailInterpolator.cc.
|
inlinenodiscard |
Definition at line 72 of file RailInterpolator.hh.
|
protected0x806ED3E4 |
Definition at line 31 of file RailInterpolator.cc.
|
protected |
Definition at line 127 of file RailInterpolator.hh.
|
protected |
Definition at line 117 of file RailInterpolator.hh.
|
protected |
Definition at line 125 of file RailInterpolator.hh.
|
protected |
Definition at line 122 of file RailInterpolator.hh.
|
protected |
Definition at line 119 of file RailInterpolator.hh.
|
protected |
Definition at line 118 of file RailInterpolator.hh.
|
protected |
Definition at line 114 of file RailInterpolator.hh.
|
protected |
Definition at line 124 of file RailInterpolator.hh.
|
protected |
Definition at line 126 of file RailInterpolator.hh.
|
protected |
Definition at line 121 of file RailInterpolator.hh.
|
protected |
Definition at line 112 of file RailInterpolator.hh.
|
protected |
Definition at line 113 of file RailInterpolator.hh.
|
protected |
Definition at line 120 of file RailInterpolator.hh.
|
protected |
Definition at line 111 of file RailInterpolator.hh.
|
protected |
Definition at line 123 of file RailInterpolator.hh.
|
protected |
Definition at line 115 of file RailInterpolator.hh.
|
protected |
Definition at line 116 of file RailInterpolator.hh.