|
SMG-Decomp
A decompilation of Super Mario Galaxy 1
|
Public Member Functions | |
| virtual bool | calcOwnGravityVector (TVec3f *pDest, f32 *pScalar, const TVec3f &rPosition) const |
| void | setPointListSize (u32) |
| void | addPoint (const TVec3f &) |
Public Member Functions inherited from PlanetGravity | |
| virtual void | updateMtx (const TPos3f &rMtx) |
| 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 | |
| MR::AssignableArray< TVec3f > | mPoints |
| s32 | mCount |
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 6 of file WireGravity.hpp.
| WireGravity::WireGravity | ( | ) |
Definition at line 4 of file WireGravity.cpp.
|
virtual |
Reimplemented from PlanetGravity.
| void WireGravity::setPointListSize | ( | u32 | numPoints | ) |
Definition at line 8 of file WireGravity.cpp.
| void WireGravity::addPoint | ( | const TVec3f & | rPoint | ) |
Definition at line 13 of file WireGravity.cpp.
| MR::AssignableArray<TVec3f> WireGravity::mPoints |
Definition at line 15 of file WireGravity.hpp.
| s32 WireGravity::mCount |
Definition at line 16 of file WireGravity.hpp.