SMG-Decomp
A decompilation of Super Mario Galaxy 1
Loading...
Searching...
No Matches
ParabolicPath.hpp
1#pragma once
2
3#include "JSystem/JGeometry.hpp"
4
6public:
8
9 void initFromMaxHeight(const TVec3f &, const TVec3f &, const TVec3f &);
10 void initFromUpVector(const TVec3f &, const TVec3f &, const TVec3f &, f32);
11 void initFromUpVectorAddHeight(const TVec3f &, const TVec3f &, const TVec3f &, f32);
12 void calcPosition(TVec3f *, f32) const;
13 void calcDirection(TVec3f *, f32, f32) const;
14 f32 getLength(f32, f32, s32) const;
15 f32 getTotalLength(s32) const;
16 f32 calcPathSpeedFromAverageSpeed(f32) const;
17
18 TVec3f mPosition; // _0
19 TVec3f mAxisY; // _C
20 TVec3f mAxisZ; // _18
21 f32 _24;
22 f32 _28;
23 f32 _2C;
24};