Nebula
Loading...
Searching...
No Matches
actorcontext.cc File Reference
#include "foundation/stdneb.h"
#include "PxConfig.h"
#include "physics/actorcontext.h"
#include "physics/physxstate.h"
#include "physics/utils.h"

Namespaces

namespace  Physics
 Diverse functions for manipulating physics actors.
 

Macros

#define GET_ACTOR(i)   ActorContext::actors[Ids::Index(i.id)]
 
#define GET_DYNAMIC(i)   static_cast<PxRigidDynamic*>(ActorContext::actors[Ids::Index(i.id)].actor)
 

Macro Definition Documentation

◆ GET_ACTOR

#define GET_ACTOR ( i)    ActorContext::actors[Ids::Index(i.id)]

◆ GET_DYNAMIC

#define GET_DYNAMIC ( i)    static_cast<PxRigidDynamic*>(ActorContext::actors[Ids::Index(i.id)].actor)