SMG-Decomp
A decompilation of Super Mario Galaxy 1
Loading...
Searching...
No Matches
include
Game
Gravity
DiskGravity.hpp
1
#pragma once
2
3
#include "Game/Gravity/PlanetGravity.hpp"
4
5
class
DiskGravity
:
public
PlanetGravity
{
6
public
:
7
DiskGravity
();
8
9
virtual
void
updateMtx(
const
TPos3f &rMtx);
10
virtual
bool
calcOwnGravityVector(TVec3f *pDest, f32 *pScalar,
const
TVec3f &rPosition)
const
;
11
12
void
setLocalPosition(
const
TVec3f &rLocalPos);
13
void
setLocalDirection(
const
TVec3f &rLocalDir);
14
void
setSideDirection(
const
TVec3f &rSideDir);
15
void
setRadius(f32 val);
16
void
setValidDegee(f32 val);
17
void
setBothSide(
bool
val);
18
void
setEnableEdgeGravity(
bool
val);
19
void
updateLocalParam();
20
21
TVec3f mLocalPosition;
// _28
22
TVec3f mTranslation;
// _34
23
TVec3f mLocalDirection;
// _40
24
TVec3f mRotation;
// _4C
25
TVec3f mSideDirection;
// _58
26
TVec3f mSideVecOrtho;
// _64
27
TVec3f mWorldSideDir;
// _70
28
f32 mRadius;
// _7C
29
f32 mWorldRadius;
// _80
30
f32 mValidDegree;
// _84
31
f32 mValidCos;
// _88
32
bool
mEnableBothSide;
// _8C
33
bool
mEnableEdgeGravity;
// _8D
34
};
DiskGravity
Definition
DiskGravity.hpp:5
PlanetGravity
Definition
PlanetGravity.hpp:18
Generated by
1.10.0