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

Description

Definition at line 18 of file KColData.hh.

Public Member Functions

void updateFloor (f32 dist, const EGG::Vector3f &fnrm)
 
void updateWall (f32 dist, const EGG::Vector3f &fnrm)
 
void reset ()
 
void update (f32 now_dist, const EGG::Vector3f &offset, const EGG::Vector3f &fnrm, u32 kclAttributeTypeBit)
 
void transformInfo (CollisionInfo &rhs, const EGG::Matrix34f &mtx)
 

Public Attributes

EGG::BoundBox3f bbox
 
EGG::Vector3f tangentOff
 
EGG::Vector3f floorNrm
 
EGG::Vector3f wallNrm
 
EGG::Vector3f _3c
 
f32 floorDist
 
f32 wallDist
 
f32 _50
 
f32 perpendicularity
 

Member Function Documentation

◆ reset()

void Field::CollisionInfo::reset ( )
inline

Definition at line 43 of file KColData.hh.

◆ transformInfo()

void Field::CollisionInfo::transformInfo ( CollisionInfo & rhs,
const EGG::Matrix34f & mtx )
0x807C26AC

Definition at line 701 of file KColData.cc.

◆ update()

void Field::CollisionInfo::update ( f32 now_dist,
const EGG::Vector3f & offset,
const EGG::Vector3f & fnrm,
u32 kclAttributeTypeBit )

Definition at line 681 of file KColData.cc.

◆ updateFloor()

void Field::CollisionInfo::updateFloor ( f32 dist,
const EGG::Vector3f & fnrm )
inline

Definition at line 29 of file KColData.hh.

◆ updateWall()

void Field::CollisionInfo::updateWall ( f32 dist,
const EGG::Vector3f & fnrm )
inline

Definition at line 36 of file KColData.hh.

Member Data Documentation

◆ _3c

EGG::Vector3f Field::CollisionInfo::_3c

Definition at line 23 of file KColData.hh.

◆ _50

f32 Field::CollisionInfo::_50

Definition at line 26 of file KColData.hh.

◆ bbox

EGG::BoundBox3f Field::CollisionInfo::bbox

Definition at line 19 of file KColData.hh.

◆ floorDist

f32 Field::CollisionInfo::floorDist

Definition at line 24 of file KColData.hh.

◆ floorNrm

EGG::Vector3f Field::CollisionInfo::floorNrm

Definition at line 21 of file KColData.hh.

◆ perpendicularity

f32 Field::CollisionInfo::perpendicularity

Definition at line 27 of file KColData.hh.

◆ tangentOff

EGG::Vector3f Field::CollisionInfo::tangentOff

Definition at line 20 of file KColData.hh.

◆ wallDist

f32 Field::CollisionInfo::wallDist

Definition at line 25 of file KColData.hh.

◆ wallNrm

EGG::Vector3f Field::CollisionInfo::wallNrm

Definition at line 22 of file KColData.hh.