mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-13 15:44:36 +00:00
Merge pull request #1768 from Areloch/VRPreprocessFix
Added a missed a preprocessor for when not using openVR.
This commit is contained in:
commit
7bf200d388
1 changed files with 5 additions and 0 deletions
|
|
@ -39,7 +39,10 @@ class DecalData;
|
||||||
class SplashData;
|
class SplashData;
|
||||||
class PhysicsPlayer;
|
class PhysicsPlayer;
|
||||||
class Player;
|
class Player;
|
||||||
|
|
||||||
|
#ifdef TORQUE_OPENVR
|
||||||
class OpenVRTrackedObject;
|
class OpenVRTrackedObject;
|
||||||
|
#endif
|
||||||
|
|
||||||
//----------------------------------------------------------------------------
|
//----------------------------------------------------------------------------
|
||||||
|
|
||||||
|
|
@ -519,7 +522,9 @@ protected:
|
||||||
Point3F mLastPos; ///< Holds the last position for physics updates
|
Point3F mLastPos; ///< Holds the last position for physics updates
|
||||||
Point3F mLastWaterPos; ///< Same as mLastPos, but for water
|
Point3F mLastWaterPos; ///< Same as mLastPos, but for water
|
||||||
|
|
||||||
|
#ifdef TORQUE_OPENVR
|
||||||
SimObjectPtr<OpenVRTrackedObject> mControllers[2];
|
SimObjectPtr<OpenVRTrackedObject> mControllers[2];
|
||||||
|
#endif
|
||||||
|
|
||||||
struct ContactInfo
|
struct ContactInfo
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue