A reimplementation of Mario Kart Wii's physics engine in C++
Loading...
Searching...
No Matches
System::MapdataAreaBox Class Reference

Description

Definition at line 87 of file MapdataArea.hh.

Inheritance diagram for System::MapdataAreaBox:

Public Member Functions

 MapdataAreaBox (const SData *data, s16 index)
 
bool testImpl (const EGG::Vector3f &pos) const override
 
- Public Member Functions inherited from System::MapdataAreaBase
 MapdataAreaBase (const SData *data, s16 index)
 
void read (EGG::Stream &stream)
 
bool test (const EGG::Vector3f &pos) const
 
MapdataPointInfogetPointInfo () const
 
Type type () const
 
u8 priority () const
 
s16 param (size_t i) const
 
s16 index () const
 

Additional Inherited Members

- Public Types inherited from System::MapdataAreaBase
enum class  Shape {
  Box = 0 ,
  Cylinder = 1
}
 
enum class  Type { MovingRoad = 3 }
 
- Protected Attributes inherited from System::MapdataAreaBase
const SDatam_rawData
 
Type m_type
 
u8 m_priority
 
EGG::Vector3f m_position
 
EGG::Vector3f m_rotation
 
EGG::Vector3f m_scale
 
std::array< s16, 2 > m_params
 
s8 m_railId
 
EGG::Vector3f m_right
 
EGG::Vector3f m_up
 
EGG::Vector3f m_forward
 
EGG::Vector3f m_dimensions
 
f32 m_ellipseRadiusSq
 
f32 m_ellipseAspectRatio
 
f32 m_sqBoundingSphereRadius
 Used to phase out intersection tests early.
 
s16 m_index
 

Constructor & Destructor Documentation

◆ MapdataAreaBox()

System::MapdataAreaBox::MapdataAreaBox ( const SData * data,
s16 index )
0x80516220

Definition at line 52 of file MapdataArea.cc.

Member Function Documentation

◆ testImpl()

bool System::MapdataAreaBox::testImpl ( const EGG::Vector3f & pos) const
nodiscardoverridevirtual0x805163F4

Implements System::MapdataAreaBase.

Definition at line 70 of file MapdataArea.cc.