|
SMG-Decomp
A decompilation of Super Mario Galaxy 1
|
Public Member Functions | |
| virtual void | updateMtx (const TPos3f &rMtx) |
| virtual bool | calcOwnGravityVector (TVec3f *pDest, f32 *pScalar, const TVec3f &rPosition) const |
| void | setGravityPoint (u32 index, const TVec3f &rGravityPoint) |
| void | setSideVector (const TVec3f &rSideVec) |
| void | setValidSideDegree (f32 val) |
| void | setEdgeValid (u32 index, bool val) |
| void | updateLocalParam () |
Public Member Functions inherited from PlanetGravity | |
| bool | calcGravity (TVec3f *pDest, const TVec3f &rPosition) const |
| bool | calcGravityFromMassPosition (TVec3f *pDirection, f32 *pScalar, const TVec3f &rPosition, const TVec3f &rMassPosition) const |
| bool | isInRangeSquare (f32 radius) const |
| bool | isInRangeDistance (f32 radius) const |
| void | setPriority (s32 priority) |
| void | updateIdentityMtx () |
Public Attributes | |
| TVec3f | mGravityPoints [2] |
| TVec3f | _40 [2] |
| TVec3f | mSideVector |
| TVec3f | _64 |
| TVec3f | _70 |
| TVec3f | _7C |
| f32 | _88 |
| f32 | mSideDegree |
| f32 | _90 |
| f32 | _94 [2] |
| bool | mEdges [2] |
Public Attributes inherited from PlanetGravity | |
| f32 | mRange |
| f32 | mDistant |
| s32 | mPriority |
| s32 | mGravityId |
| const void * | mHost |
| u32 | mGravityType |
| s32 | mGravityPower |
| bool | mActivated |
| bool | mIsInverse |
| bool | mValidFollower |
| bool | mIsRegistered |
| bool | mAppeared |
Definition at line 5 of file SegmentGravity.hpp.
| SegmentGravity::SegmentGravity | ( | ) |
Definition at line 4 of file SegmentGravity.cpp.
|
virtual |
Reimplemented from PlanetGravity.
|
virtual |
Reimplemented from PlanetGravity.
| void SegmentGravity::setGravityPoint | ( | u32 | index, |
| const TVec3f & | rGravityPoint ) |
Definition at line 23 of file SegmentGravity.cpp.
| void SegmentGravity::setSideVector | ( | const TVec3f & | rSideVec | ) |
Definition at line 28 of file SegmentGravity.cpp.
| void SegmentGravity::setValidSideDegree | ( | f32 | val | ) |
Definition at line 34 of file SegmentGravity.cpp.
| void SegmentGravity::setEdgeValid | ( | u32 | index, |
| bool | val ) |
Definition at line 39 of file SegmentGravity.cpp.
| TVec3f SegmentGravity::mGravityPoints[2] |
Definition at line 18 of file SegmentGravity.hpp.
| TVec3f SegmentGravity::_40[2] |
Definition at line 19 of file SegmentGravity.hpp.
| TVec3f SegmentGravity::mSideVector |
Definition at line 20 of file SegmentGravity.hpp.
| TVec3f SegmentGravity::_64 |
Definition at line 21 of file SegmentGravity.hpp.
| TVec3f SegmentGravity::_70 |
Definition at line 22 of file SegmentGravity.hpp.
| TVec3f SegmentGravity::_7C |
Definition at line 23 of file SegmentGravity.hpp.
| f32 SegmentGravity::_88 |
Definition at line 24 of file SegmentGravity.hpp.
| f32 SegmentGravity::mSideDegree |
Definition at line 25 of file SegmentGravity.hpp.
| f32 SegmentGravity::_90 |
Definition at line 26 of file SegmentGravity.hpp.
| f32 SegmentGravity::_94[2] |
Definition at line 27 of file SegmentGravity.hpp.
| bool SegmentGravity::mEdges[2] |
Definition at line 28 of file SegmentGravity.hpp.