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"
#include "math/transform.h"

Namespaces

namespace  Physics
 Diverse functions for manipulating physics actors.
 

Macros

#define GET_ACTOR(i)
 
#define GET_DYNAMIC(i)
 

Macro Definition Documentation

◆ GET_ACTOR

#define GET_ACTOR ( i)
Value:
ActorContext::actors[Ids::Index(i.id)]
static constexpr Id24 Index(const Id32 id)
Definition idgenerationpool.h:70

◆ GET_DYNAMIC

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