SMG-Decomp
A decompilation of Super Mario Galaxy 1
Loading...
Searching...
No Matches
SegmentGravity.hpp
1#pragma once
2
3#include "Game/Gravity/PlanetGravity.hpp"
4
6public:
8
9 virtual void updateMtx(const TPos3f &rMtx);
10 virtual bool calcOwnGravityVector(TVec3f *pDest, f32 *pScalar, const TVec3f &rPosition) const;
11
12 void setGravityPoint(u32 index, const TVec3f &rGravityPoint);
13 void setSideVector(const TVec3f &rSideVec);
14 void setValidSideDegree(f32 val);
15 void setEdgeValid(u32 index, bool val);
16 void updateLocalParam();
17
18 TVec3f mGravityPoints[2]; // _28
19 TVec3f _40[2];
20 TVec3f mSideVector; // _58
21 TVec3f _64;
22 TVec3f _70;
23 TVec3f _7C;
24 f32 _88;
25 f32 mSideDegree; // _8C
26 f32 _90;
27 f32 _94[2];
28 bool mEdges[2]; // _9C
29};