A reimplementation of Mario Kart Wii's physics engine in C++
Loading...
Searching...
No Matches
Field::GJKState Struct Reference

#include <ObjectCollisionBase.hh>

Description

Houses the state of an object in terms of the Gilbert–Johnson–Keerthi (GJK) algorithm.

Definition at line 8 of file ObjectCollisionBase.hh.

Public Attributes

u32 m_flags
 
u32 m_idx
 
u32 m_mask
 
s32 m_00c
 
std::array< EGG::Vector3f, 4 > m_s
 
std::array< EGG::Vector3f, 4 > m_support1
 
std::array< EGG::Vector3f, 4 > m_support2
 
std::array< std::array< f32, 4 >, 16 > m_scales
 

Constructor & Destructor Documentation

◆ GJKState()

Field::GJKState::GJKState ( )
inline

Definition at line 9 of file ObjectCollisionBase.hh.

Member Data Documentation

◆ m_00c

s32 Field::GJKState::m_00c

Definition at line 14 of file ObjectCollisionBase.hh.

◆ m_flags

u32 Field::GJKState::m_flags

Definition at line 11 of file ObjectCollisionBase.hh.

◆ m_idx

u32 Field::GJKState::m_idx

Definition at line 12 of file ObjectCollisionBase.hh.

◆ m_mask

u32 Field::GJKState::m_mask

Definition at line 13 of file ObjectCollisionBase.hh.

◆ m_s

std::array<EGG::Vector3f, 4> Field::GJKState::m_s

Definition at line 15 of file ObjectCollisionBase.hh.

◆ m_scales

std::array<std::array<f32, 4>, 16> Field::GJKState::m_scales

Definition at line 18 of file ObjectCollisionBase.hh.

◆ m_support1

std::array<EGG::Vector3f, 4> Field::GJKState::m_support1

Definition at line 16 of file ObjectCollisionBase.hh.

◆ m_support2

std::array<EGG::Vector3f, 4> Field::GJKState::m_support2

Definition at line 17 of file ObjectCollisionBase.hh.