SMG-Decomp
A decompilation of Super Mario Galaxy 1
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
ParabolicPath Class Reference

Public Member Functions

void initFromMaxHeight (const TVec3f &, const TVec3f &, const TVec3f &)
 
void initFromUpVector (const TVec3f &, const TVec3f &, const TVec3f &, f32)
 
void initFromUpVectorAddHeight (const TVec3f &, const TVec3f &, const TVec3f &, f32)
 
void calcPosition (TVec3f *, f32) const
 
void calcDirection (TVec3f *, f32, f32) const
 
f32 getLength (f32, f32, s32) const
 
f32 getTotalLength (s32) const
 
f32 calcPathSpeedFromAverageSpeed (f32) const
 

Public Attributes

TVec3f mPosition
 
TVec3f mAxisY
 
TVec3f mAxisZ
 
f32 _24
 
f32 _28
 
f32 _2C
 

Detailed Description

Definition at line 5 of file ParabolicPath.hpp.

Constructor & Destructor Documentation

◆ ParabolicPath()

ParabolicPath::ParabolicPath ( )

Definition at line 4 of file ParabolicPath.cpp.

Member Function Documentation

◆ initFromUpVectorAddHeight()

void ParabolicPath::initFromUpVectorAddHeight ( const TVec3f & a1,
const TVec3f & a2,
const TVec3f & a3,
f32 a4 )

Definition at line 10 of file ParabolicPath.cpp.

◆ calcDirection()

void ParabolicPath::calcDirection ( TVec3f * pOutDirection,
f32 a2,
f32 a3 ) const

Definition at line 32 of file ParabolicPath.cpp.

◆ getTotalLength()

f32 ParabolicPath::getTotalLength ( s32 a1) const

Definition at line 58 of file ParabolicPath.cpp.

◆ calcPathSpeedFromAverageSpeed()

f32 ParabolicPath::calcPathSpeedFromAverageSpeed ( f32 speed) const

Definition at line 62 of file ParabolicPath.cpp.

Member Data Documentation

◆ mPosition

TVec3f ParabolicPath::mPosition

Definition at line 18 of file ParabolicPath.hpp.

◆ mAxisY

TVec3f ParabolicPath::mAxisY

Definition at line 19 of file ParabolicPath.hpp.

◆ mAxisZ

TVec3f ParabolicPath::mAxisZ

Definition at line 20 of file ParabolicPath.hpp.

◆ _24

f32 ParabolicPath::_24

Definition at line 21 of file ParabolicPath.hpp.

◆ _28

f32 ParabolicPath::_28

Definition at line 22 of file ParabolicPath.hpp.

◆ _2C

f32 ParabolicPath::_2C

Definition at line 23 of file ParabolicPath.hpp.