GlPortal Class Reference  0.1.1
Source code documentation of the free and open 3D action puzzle game.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Data Structures | Public Member Functions | Static Public Member Functions | Static Public Attributes | Private Attributes | Static Private Attributes | Friends
radix::PhysicsSystem Class Reference

#include <external/RadixEngine/include/radix/system/PhysicsSystem.hpp>

Inherits radix::System.

Data Structures

struct  CollisionAddedEvent
 
struct  CollisionRemovedEvent
 

Public Member Functions

 PhysicsSystem (World &, BaseGame *game)
 
 ~PhysicsSystem ()
 
const char * getName () const
 
TypeId getTypeId () const
 
btDiscreteDynamicsWorld & getPhysicsWorld () const
 
void update (TDelta timeDelta)
 
void checkCollisions ()
 
- Public Member Functions inherited from radix::System
 System (World &w)
 
virtual bool runsBefore (const System &)
 
virtual bool runsAfter (const System &)
 

Static Public Member Functions

static bool contactProcessedCallback (btManifoldPoint &cp, void *body0, void *body1)
 
- Static Public Member Functions inherited from radix::System
template<typename T >
static TypeId getTypeId ()
 Gets a component's type ID. More...
 

Static Public Attributes

static std::unordered_set
< CollisionInfo,
CollisionInfoHash,
CollisionInfoEqual
collisions
 

Private Attributes

EventDispatcher::CallbackHolder cbCompAdd
 
EventDispatcher::CallbackHolder cbCompRem
 
UncolliderfilterCallback
 
BaseGamegame
 
btBroadphaseInterface * broadphase
 
btDefaultCollisionConfiguration * collisionConfiguration
 
CollisionDispatcherdispatcher
 
btSequentialImpulseConstraintSolver * solver
 
btDiscreteDynamicsWorld * physicsWorld
 
btGhostPairCallback * gpCallback
 

Static Private Attributes

static PhysicsSysteminstance
 

Friends

class Uncollider
 

Additional Inherited Members

- Public Types inherited from radix::System
using TypeId = SystemTypeId
 
- Protected Attributes inherited from radix::System
Worldworld
 

Constructor & Destructor Documentation

radix::PhysicsSystem::PhysicsSystem ( World world,
BaseGame game 
)
radix::PhysicsSystem::~PhysicsSystem ( )

Member Function Documentation

void radix::PhysicsSystem::checkCollisions ( )
bool radix::PhysicsSystem::contactProcessedCallback ( btManifoldPoint &  cp,
void *  body0,
void *  body1 
)
static
const char* radix::PhysicsSystem::getName ( ) const
inlinevirtual

Implements radix::System.

btDiscreteDynamicsWorld& radix::PhysicsSystem::getPhysicsWorld ( ) const
inline
TypeId radix::PhysicsSystem::getTypeId ( ) const
inlinevirtual

Implements radix::System.

void radix::PhysicsSystem::update ( TDelta  timeDelta)
virtual

Implements radix::System.

Friends And Related Function Documentation

friend class Uncollider
friend

Field Documentation

btBroadphaseInterface* radix::PhysicsSystem::broadphase
private
EventDispatcher::CallbackHolder radix::PhysicsSystem::cbCompAdd
private
EventDispatcher::CallbackHolder radix::PhysicsSystem::cbCompRem
private
btDefaultCollisionConfiguration* radix::PhysicsSystem::collisionConfiguration
private
std::unordered_set< CollisionInfo, CollisionInfoHash, CollisionInfoEqual > radix::PhysicsSystem::collisions
static
CollisionDispatcher* radix::PhysicsSystem::dispatcher
private
Uncollider* radix::PhysicsSystem::filterCallback
private
BaseGame* radix::PhysicsSystem::game
private
btGhostPairCallback* radix::PhysicsSystem::gpCallback
private
PhysicsSystem * radix::PhysicsSystem::instance
staticprivate
btDiscreteDynamicsWorld* radix::PhysicsSystem::physicsWorld
private
btSequentialImpulseConstraintSolver* radix::PhysicsSystem::solver
private

The documentation for this class was generated from the following files: