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

#include <ObjColMgr.hh>

Description

Manager for an object's KCL interactions.

Definition at line 9 of file ObjColMgr.hh.

Public Member Functions

 ObjColMgr (const void *file)
 
void narrScLocal (f32 radius, const EGG::Vector3f &pos, KCLTypeMask flags)
 
EGG::Vector3f kclLowWorld () const
 
EGG::Vector3f kclHighWorld () const
 
bool checkPointPartial (const EGG::Vector3f &pos, const EGG::Vector3f &prevPos, KCLTypeMask flags, CollisionInfoPartial *infoOut, KCLTypeMask *typeMaskOut)
 
bool checkPointPartialPush (const EGG::Vector3f &pos, const EGG::Vector3f &prevPos, KCLTypeMask flags, CollisionInfoPartial *info, KCLTypeMask *typeMaskOut)
 
bool checkPointFull (const EGG::Vector3f &pos, const EGG::Vector3f &prevPos, KCLTypeMask flags, CollisionInfo *pInfo, KCLTypeMask *typeMaskOut)
 
bool checkPointFullPush (const EGG::Vector3f &pos, const EGG::Vector3f &prevPos, KCLTypeMask flags, CollisionInfo *pInfo, KCLTypeMask *typeMaskOut)
 
bool checkSpherePartial (f32 radius, const EGG::Vector3f &pos, const EGG::Vector3f &prevPos, KCLTypeMask flags, CollisionInfoPartial *info, KCLTypeMask *typeMaskOut)
 
bool checkSpherePartialPush (f32 radius, const EGG::Vector3f &pos, const EGG::Vector3f &prevPos, KCLTypeMask flags, CollisionInfoPartial *info, KCLTypeMask *typeMaskOut)
 
bool checkSphereFull (f32 radius, const EGG::Vector3f &pos, const EGG::Vector3f &prevPos, KCLTypeMask flags, CollisionInfo *info, KCLTypeMask *typeMaskOut)
 
bool checkSphereFullPush (f32 radius, const EGG::Vector3f &pos, const EGG::Vector3f &prevPos, KCLTypeMask flags, CollisionInfo *info, KCLTypeMask *typeMaskOut)
 
bool checkPointCachedPartial (const EGG::Vector3f &pos, const EGG::Vector3f &prevPos, KCLTypeMask flags, CollisionInfoPartial *info, KCLTypeMask *typeMaskOut)
 
bool checkPointCachedPartialPush (const EGG::Vector3f &pos, const EGG::Vector3f &prevPos, KCLTypeMask flags, CollisionInfoPartial *info, KCLTypeMask *typeMaskOut)
 
bool checkPointCachedFull (const EGG::Vector3f &pos, const EGG::Vector3f &prevPos, KCLTypeMask mask, CollisionInfo *pInfo, KCLTypeMask *typeMaskOut)
 
bool checkPointCachedFullPush (const EGG::Vector3f &pos, const EGG::Vector3f &prevPos, KCLTypeMask flags, CollisionInfo *pInfo, KCLTypeMask *typeMaskOut)
 
bool checkSphereCachedPartial (f32 radius, const EGG::Vector3f &pos, const EGG::Vector3f &prevPos, KCLTypeMask flags, CollisionInfoPartial *info, KCLTypeMask *typeMaskOut)
 
bool checkSphereCachedPartialPush (f32 radius, const EGG::Vector3f &pos, const EGG::Vector3f &prevPos, KCLTypeMask flags, CollisionInfoPartial *info, KCLTypeMask *typeMaskOut)
 
bool checkSphereCachedFull (f32 radius, const EGG::Vector3f &pos, const EGG::Vector3f &prevPos, KCLTypeMask flags, CollisionInfo *pInfo, KCLTypeMask *typeMaskOut)
 
bool checkSphereCachedFullPush (f32 radius, const EGG::Vector3f &pos, const EGG::Vector3f &prevPos, KCLTypeMask flags, CollisionInfo *pInfo, KCLTypeMask *typeMaskOut)
 

Setters

void setMtx (const EGG::Matrix34f &mtx)
 
void setInvMtx (const EGG::Matrix34f &mtx)
 
void setScale (f32 val)
 

Private Attributes

KColDatam_data
 
EGG::Matrix34f m_mtx
 
EGG::Matrix34f m_mtxInv
 
f32 m_kclScale
 

Constructor & Destructor Documentation

◆ ObjColMgr()

Field::ObjColMgr::ObjColMgr ( const void * file)
0x807C4CE8

Definition at line 8 of file ObjColMgr.cc.

◆ ~ObjColMgr()

Field::ObjColMgr::~ObjColMgr ( )
0x807C4D6C

Definition at line 14 of file ObjColMgr.cc.

Member Function Documentation

◆ checkPointCachedFull()

bool Field::ObjColMgr::checkPointCachedFull ( const EGG::Vector3f & pos,
const EGG::Vector3f & prevPos,
KCLTypeMask mask,
CollisionInfo * pInfo,
KCLTypeMask * typeMaskOut )
nodiscard0x807C5FAC

Definition at line 398 of file ObjColMgr.cc.

◆ checkPointCachedFullPush()

bool Field::ObjColMgr::checkPointCachedFullPush ( const EGG::Vector3f & pos,
const EGG::Vector3f & prevPos,
KCLTypeMask flags,
CollisionInfo * pInfo,
KCLTypeMask * typeMaskOut )
nodiscard0x807C613C

Definition at line 432 of file ObjColMgr.cc.

◆ checkPointCachedPartial()

bool Field::ObjColMgr::checkPointCachedPartial ( const EGG::Vector3f & pos,
const EGG::Vector3f & prevPos,
KCLTypeMask flags,
CollisionInfoPartial * info,
KCLTypeMask * typeMaskOut )
nodiscard0x807C5BFC

Definition at line 314 of file ObjColMgr.cc.

◆ checkPointCachedPartialPush()

bool Field::ObjColMgr::checkPointCachedPartialPush ( const EGG::Vector3f & pos,
const EGG::Vector3f & prevPos,
KCLTypeMask flags,
CollisionInfoPartial * info,
KCLTypeMask * typeMaskOut )
nodiscard0x807C5DD4

Definition at line 356 of file ObjColMgr.cc.

◆ checkPointFull()

bool Field::ObjColMgr::checkPointFull ( const EGG::Vector3f & pos,
const EGG::Vector3f & prevPos,
KCLTypeMask flags,
CollisionInfo * pInfo,
KCLTypeMask * typeMaskOut )
nodiscard0x807C522C

Definition at line 115 of file ObjColMgr.cc.

◆ checkPointFullPush()

bool Field::ObjColMgr::checkPointFullPush ( const EGG::Vector3f & pos,
const EGG::Vector3f & prevPos,
KCLTypeMask flags,
CollisionInfo * pInfo,
KCLTypeMask * typeMaskOut )
nodiscard0x807C53A4

Definition at line 145 of file ObjColMgr.cc.

◆ checkPointPartial()

bool Field::ObjColMgr::checkPointPartial ( const EGG::Vector3f & pos,
const EGG::Vector3f & prevPos,
KCLTypeMask flags,
CollisionInfoPartial * infoOut,
KCLTypeMask * typeMaskOut )
nodiscard0x807C4EAC

Definition at line 39 of file ObjColMgr.cc.

◆ checkPointPartialPush()

bool Field::ObjColMgr::checkPointPartialPush ( const EGG::Vector3f & pos,
const EGG::Vector3f & prevPos,
KCLTypeMask flags,
CollisionInfoPartial * info,
KCLTypeMask * typeMaskOut )
nodiscard0x807C506C

Definition at line 77 of file ObjColMgr.cc.

◆ checkSphereCachedFull()

bool Field::ObjColMgr::checkSphereCachedFull ( f32 radius,
const EGG::Vector3f & pos,
const EGG::Vector3f & prevPos,
KCLTypeMask flags,
CollisionInfo * pInfo,
KCLTypeMask * typeMaskOut )
nodiscard0x807C66B4

Definition at line 552 of file ObjColMgr.cc.

◆ checkSphereCachedFullPush()

bool Field::ObjColMgr::checkSphereCachedFullPush ( f32 radius,
const EGG::Vector3f & pos,
const EGG::Vector3f & prevPos,
KCLTypeMask flags,
CollisionInfo * pInfo,
KCLTypeMask * typeMaskOut )
nodiscard0x807C6860

Definition at line 587 of file ObjColMgr.cc.

◆ checkSphereCachedPartial()

bool Field::ObjColMgr::checkSphereCachedPartial ( f32 radius,
const EGG::Vector3f & pos,
const EGG::Vector3f & prevPos,
KCLTypeMask flags,
CollisionInfoPartial * info,
KCLTypeMask * typeMaskOut )
nodiscard0x807C62CC

Definition at line 466 of file ObjColMgr.cc.

◆ checkSphereCachedPartialPush()

bool Field::ObjColMgr::checkSphereCachedPartialPush ( f32 radius,
const EGG::Vector3f & pos,
const EGG::Vector3f & prevPos,
KCLTypeMask flags,
CollisionInfoPartial * info,
KCLTypeMask * typeMaskOut )
nodiscard0x807C64C0

Definition at line 509 of file ObjColMgr.cc.

◆ checkSphereFull()

bool Field::ObjColMgr::checkSphereFull ( f32 radius,
const EGG::Vector3f & pos,
const EGG::Vector3f & prevPos,
KCLTypeMask flags,
CollisionInfo * info,
KCLTypeMask * typeMaskOut )
nodiscard0x807C58D4

Definition at line 253 of file ObjColMgr.cc.

◆ checkSphereFullPush()

bool Field::ObjColMgr::checkSphereFullPush ( f32 radius,
const EGG::Vector3f & pos,
const EGG::Vector3f & prevPos,
KCLTypeMask flags,
CollisionInfo * info,
KCLTypeMask * typeMaskOut )
nodiscard0x807C5A68

Definition at line 283 of file ObjColMgr.cc.

◆ checkSpherePartial()

bool Field::ObjColMgr::checkSpherePartial ( f32 radius,
const EGG::Vector3f & pos,
const EGG::Vector3f & prevPos,
KCLTypeMask flags,
CollisionInfoPartial * info,
KCLTypeMask * typeMaskOut )
nodiscard0x807C551C

Definition at line 175 of file ObjColMgr.cc.

◆ checkSpherePartialPush()

bool Field::ObjColMgr::checkSpherePartialPush ( f32 radius,
const EGG::Vector3f & pos,
const EGG::Vector3f & prevPos,
KCLTypeMask flags,
CollisionInfoPartial * info,
KCLTypeMask * typeMaskOut )
nodiscard0x807C56F8

Definition at line 214 of file ObjColMgr.cc.

◆ kclHighWorld()

EGG::Vector3f Field::ObjColMgr::kclHighWorld ( ) const
nodiscard0x807C4E7C

Definition at line 33 of file ObjColMgr.cc.

◆ kclLowWorld()

EGG::Vector3f Field::ObjColMgr::kclLowWorld ( ) const
nodiscard0x807C4E4C

Definition at line 27 of file ObjColMgr.cc.

◆ narrScLocal()

void Field::ObjColMgr::narrScLocal ( f32 radius,
const EGG::Vector3f & pos,
KCLTypeMask flags )
0x807C4DC8

Definition at line 20 of file ObjColMgr.cc.

◆ setInvMtx()

void Field::ObjColMgr::setInvMtx ( const EGG::Matrix34f & mtx)
inline

Definition at line 71 of file ObjColMgr.hh.

◆ setMtx()

void Field::ObjColMgr::setMtx ( const EGG::Matrix34f & mtx)
inline

Definition at line 67 of file ObjColMgr.hh.

◆ setScale()

void Field::ObjColMgr::setScale ( f32 val)
inline

Definition at line 75 of file ObjColMgr.hh.

Member Data Documentation

◆ m_data

KColData* Field::ObjColMgr::m_data
private

Definition at line 81 of file ObjColMgr.hh.

◆ m_kclScale

f32 Field::ObjColMgr::m_kclScale
private

Definition at line 84 of file ObjColMgr.hh.

◆ m_mtx

EGG::Matrix34f Field::ObjColMgr::m_mtx
private

Definition at line 82 of file ObjColMgr.hh.

◆ m_mtxInv

EGG::Matrix34f Field::ObjColMgr::m_mtxInv
private

Definition at line 83 of file ObjColMgr.hh.