mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 12:04:18 +02:00
fix linux build fail
This commit is contained in:
parent
3fd1ab40e4
commit
597871442e
1 changed files with 10 additions and 3 deletions
|
@ -46,9 +46,15 @@ public:
|
|||
static void overrideOffAxisFrustum(float& left, float& right, float& bottom, float& top, float& nearVal,
|
||||
float& farVal, glm::vec4& nearClipPlane, glm::vec4& farClipPlane);
|
||||
|
||||
#ifdef HAVE_LIBOVR
|
||||
static glm::vec3 getLeftEyePosition() { return _leftEyePosition; }
|
||||
static glm::vec3 getRightEyePosition() { return _rightEyePosition; }
|
||||
|
||||
#else
|
||||
static glm::vec3 getLeftEyePosition() { return glm::vec3(); }
|
||||
static glm::vec3 getRightEyePosition() { return glm::vec3(); }
|
||||
#endif
|
||||
|
||||
|
||||
private:
|
||||
#ifdef HAVE_LIBOVR
|
||||
static void generateDistortionMesh();
|
||||
|
@ -99,11 +105,12 @@ private:
|
|||
static bool _programInitialized;
|
||||
static Camera* _camera;
|
||||
static int _activeEyeIndex;
|
||||
|
||||
static glm::vec3 _leftEyePosition;
|
||||
static glm::vec3 _rightEyePosition;
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
};
|
||||
|
||||
#endif // hifi_OculusManager_h
|
||||
|
|
Loading…
Reference in a new issue