mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-12 07:04:36 +00:00
PhysX 3.4 implementation
This commit is contained in:
parent
1ef75b411c
commit
f2dc291cf5
15 changed files with 527 additions and 418 deletions
|
|
@ -49,6 +49,9 @@ protected:
|
|||
/// The current gravity force.
|
||||
Point3F mGravity;
|
||||
|
||||
/// Gpu acceleration
|
||||
static bool smGpuEnabled;
|
||||
|
||||
public:
|
||||
|
||||
/// The constructor.
|
||||
|
|
@ -115,6 +118,9 @@ public:
|
|||
/// Physics timing
|
||||
static F32 smPhysicsStepTime;
|
||||
static U32 smPhysicsMaxSubSteps;
|
||||
|
||||
/// Gpu acceleration
|
||||
static bool isGpuEnabled() { return smGpuEnabled; }
|
||||
};
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue