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

Description

Definition at line 7 of file ObjectCollisionCylinder.hh.

Inheritance diagram for Field::ObjectCollisionCylinder:

Public Member Functions

 ObjectCollisionCylinder (f32 radius, f32 height, const EGG::Vector3f &center)
 
void transform (const EGG::Matrix34f &mat, const EGG::Vector3f &scale, const EGG::Vector3f &speed) override
 
const EGG::Vector3fgetSupport (const EGG::Vector3f &v) const override
 
f32 getBoundingRadius () const override
 
- Public Member Functions inherited from Field::ObjectCollisionBase
bool check (ObjectCollisionBase &rhs, EGG::Vector3f &distance)
 

Private Attributes

f32 m_radius
 
f32 m_height
 
EGG::Vector3f m_pos
 
f32 m_worldRadius
 
f32 m_worldHeight
 
EGG::Vector3f m_worldPos
 
EGG::Vector3f m_center
 
EGG::Vector3f m_top
 
EGG::Vector3f m_bottom
 

Additional Inherited Members

- Protected Attributes inherited from Field::ObjectCollisionBase
EGG::Vector3f m_translation
 

Constructor & Destructor Documentation

◆ ObjectCollisionCylinder()

Field::ObjectCollisionCylinder::ObjectCollisionCylinder ( f32 radius,
f32 height,
const EGG::Vector3f & center )
0x80836068

Definition at line 6 of file ObjectCollisionCylinder.cc.

Member Function Documentation

◆ getBoundingRadius()

f32 Field::ObjectCollisionCylinder::getBoundingRadius ( ) const
inlineoverridevirtual0x80836498

Implements Field::ObjectCollisionBase.

Definition at line 21 of file ObjectCollisionCylinder.hh.

◆ getSupport()

const EGG::Vector3f & Field::ObjectCollisionCylinder::getSupport ( const EGG::Vector3f & v) const
inlineoverridevirtual0x8083618C

Implements Field::ObjectCollisionBase.

Definition at line 16 of file ObjectCollisionCylinder.hh.

◆ transform()

void Field::ObjectCollisionCylinder::transform ( const EGG::Matrix34f & mat,
const EGG::Vector3f & scale,
const EGG::Vector3f & speed )
overridevirtual0x80836334

Implements Field::ObjectCollisionBase.

Definition at line 22 of file ObjectCollisionCylinder.cc.

Member Data Documentation

◆ m_bottom

EGG::Vector3f Field::ObjectCollisionCylinder::m_bottom
private

Definition at line 36 of file ObjectCollisionCylinder.hh.

◆ m_center

EGG::Vector3f Field::ObjectCollisionCylinder::m_center
private

Definition at line 34 of file ObjectCollisionCylinder.hh.

◆ m_height

f32 Field::ObjectCollisionCylinder::m_height
private

Definition at line 27 of file ObjectCollisionCylinder.hh.

◆ m_pos

EGG::Vector3f Field::ObjectCollisionCylinder::m_pos
private

Definition at line 28 of file ObjectCollisionCylinder.hh.

◆ m_radius

f32 Field::ObjectCollisionCylinder::m_radius
private

Definition at line 26 of file ObjectCollisionCylinder.hh.

◆ m_top

EGG::Vector3f Field::ObjectCollisionCylinder::m_top
private

Definition at line 35 of file ObjectCollisionCylinder.hh.

◆ m_worldHeight

f32 Field::ObjectCollisionCylinder::m_worldHeight
private

Definition at line 31 of file ObjectCollisionCylinder.hh.

◆ m_worldPos

EGG::Vector3f Field::ObjectCollisionCylinder::m_worldPos
private

Definition at line 32 of file ObjectCollisionCylinder.hh.

◆ m_worldRadius

f32 Field::ObjectCollisionCylinder::m_worldRadius
private

Definition at line 30 of file ObjectCollisionCylinder.hh.