mirror of
https://github.com/overte-org/overte.git
synced 2025-08-04 04:23:33 +02:00
Removed unused nearCenter/farCenter from ViewFrustum.
This commit is contained in:
parent
514c12c7fc
commit
95f1a9adaa
2 changed files with 0 additions and 10 deletions
|
@ -27,12 +27,10 @@ ViewFrustum::ViewFrustum() :
|
||||||
_aspectRatio(1.0),
|
_aspectRatio(1.0),
|
||||||
_nearClip(0.1),
|
_nearClip(0.1),
|
||||||
_farClip(500.0),
|
_farClip(500.0),
|
||||||
_farCenter(glm::vec3(0,0,0)),
|
|
||||||
_farTopLeft(glm::vec3(0,0,0)),
|
_farTopLeft(glm::vec3(0,0,0)),
|
||||||
_farTopRight(glm::vec3(0,0,0)),
|
_farTopRight(glm::vec3(0,0,0)),
|
||||||
_farBottomLeft(glm::vec3(0,0,0)),
|
_farBottomLeft(glm::vec3(0,0,0)),
|
||||||
_farBottomRight(glm::vec3(0,0,0)),
|
_farBottomRight(glm::vec3(0,0,0)),
|
||||||
_nearCenter(glm::vec3(0,0,0)),
|
|
||||||
_nearTopLeft(glm::vec3(0,0,0)),
|
_nearTopLeft(glm::vec3(0,0,0)),
|
||||||
_nearTopRight(glm::vec3(0,0,0)),
|
_nearTopRight(glm::vec3(0,0,0)),
|
||||||
_nearBottomLeft(glm::vec3(0,0,0)),
|
_nearBottomLeft(glm::vec3(0,0,0)),
|
||||||
|
@ -123,8 +121,6 @@ void ViewFrustum::dump() const {
|
||||||
printLog("eyeOffsetOrientation=%f,%f,%f,%f\n", _eyeOffsetOrientation.x, _eyeOffsetOrientation.y,
|
printLog("eyeOffsetOrientation=%f,%f,%f,%f\n", _eyeOffsetOrientation.x, _eyeOffsetOrientation.y,
|
||||||
_eyeOffsetOrientation.z, _eyeOffsetOrientation.w);
|
_eyeOffsetOrientation.z, _eyeOffsetOrientation.w);
|
||||||
|
|
||||||
printLog("farCenter.x=%f, farCenter.y=%f, farCenter.z=%f\n",
|
|
||||||
_farCenter.x, _farCenter.y, _farCenter.z);
|
|
||||||
printLog("farTopLeft.x=%f, farTopLeft.y=%f, farTopLeft.z=%f\n",
|
printLog("farTopLeft.x=%f, farTopLeft.y=%f, farTopLeft.z=%f\n",
|
||||||
_farTopLeft.x, _farTopLeft.y, _farTopLeft.z);
|
_farTopLeft.x, _farTopLeft.y, _farTopLeft.z);
|
||||||
printLog("farTopRight.x=%f, farTopRight.y=%f, farTopRight.z=%f\n",
|
printLog("farTopRight.x=%f, farTopRight.y=%f, farTopRight.z=%f\n",
|
||||||
|
@ -134,8 +130,6 @@ void ViewFrustum::dump() const {
|
||||||
printLog("farBottomRight.x=%f, farBottomRight.y=%f, farBottomRight.z=%f\n",
|
printLog("farBottomRight.x=%f, farBottomRight.y=%f, farBottomRight.z=%f\n",
|
||||||
_farBottomRight.x, _farBottomRight.y, _farBottomRight.z);
|
_farBottomRight.x, _farBottomRight.y, _farBottomRight.z);
|
||||||
|
|
||||||
printLog("nearCenter.x=%f, nearCenter.y=%f, nearCenter.z=%f\n",
|
|
||||||
_nearCenter.x, _nearCenter.y, _nearCenter.z);
|
|
||||||
printLog("nearTopLeft.x=%f, nearTopLeft.y=%f, nearTopLeft.z=%f\n",
|
printLog("nearTopLeft.x=%f, nearTopLeft.y=%f, nearTopLeft.z=%f\n",
|
||||||
_nearTopLeft.x, _nearTopLeft.y, _nearTopLeft.z);
|
_nearTopLeft.x, _nearTopLeft.y, _nearTopLeft.z);
|
||||||
printLog("nearTopRight.x=%f, nearTopRight.y=%f, nearTopRight.z=%f\n",
|
printLog("nearTopRight.x=%f, nearTopRight.y=%f, nearTopRight.z=%f\n",
|
||||||
|
|
|
@ -38,12 +38,10 @@ private:
|
||||||
glm::vec3 _offsetDirection;
|
glm::vec3 _offsetDirection;
|
||||||
glm::vec3 _offsetUp;
|
glm::vec3 _offsetUp;
|
||||||
glm::vec3 _offsetRight;
|
glm::vec3 _offsetRight;
|
||||||
glm::vec3 _farCenter;
|
|
||||||
glm::vec3 _farTopLeft;
|
glm::vec3 _farTopLeft;
|
||||||
glm::vec3 _farTopRight;
|
glm::vec3 _farTopRight;
|
||||||
glm::vec3 _farBottomLeft;
|
glm::vec3 _farBottomLeft;
|
||||||
glm::vec3 _farBottomRight;
|
glm::vec3 _farBottomRight;
|
||||||
glm::vec3 _nearCenter;
|
|
||||||
glm::vec3 _nearTopLeft;
|
glm::vec3 _nearTopLeft;
|
||||||
glm::vec3 _nearTopRight;
|
glm::vec3 _nearTopRight;
|
||||||
glm::vec3 _nearBottomLeft;
|
glm::vec3 _nearBottomLeft;
|
||||||
|
@ -87,13 +85,11 @@ public:
|
||||||
const glm::vec3& getOffsetUp() const { return _offsetUp; };
|
const glm::vec3& getOffsetUp() const { return _offsetUp; };
|
||||||
const glm::vec3& getOffsetRight() const { return _offsetRight; };
|
const glm::vec3& getOffsetRight() const { return _offsetRight; };
|
||||||
|
|
||||||
const glm::vec3& getFarCenter() const { return _farCenter; };
|
|
||||||
const glm::vec3& getFarTopLeft() const { return _farTopLeft; };
|
const glm::vec3& getFarTopLeft() const { return _farTopLeft; };
|
||||||
const glm::vec3& getFarTopRight() const { return _farTopRight; };
|
const glm::vec3& getFarTopRight() const { return _farTopRight; };
|
||||||
const glm::vec3& getFarBottomLeft() const { return _farBottomLeft; };
|
const glm::vec3& getFarBottomLeft() const { return _farBottomLeft; };
|
||||||
const glm::vec3& getFarBottomRight() const { return _farBottomRight; };
|
const glm::vec3& getFarBottomRight() const { return _farBottomRight; };
|
||||||
|
|
||||||
const glm::vec3& getNearCenter() const { return _nearCenter; };
|
|
||||||
const glm::vec3& getNearTopLeft() const { return _nearTopLeft; };
|
const glm::vec3& getNearTopLeft() const { return _nearTopLeft; };
|
||||||
const glm::vec3& getNearTopRight() const { return _nearTopRight; };
|
const glm::vec3& getNearTopRight() const { return _nearTopRight; };
|
||||||
const glm::vec3& getNearBottomLeft() const { return _nearBottomLeft; };
|
const glm::vec3& getNearBottomLeft() const { return _nearBottomLeft; };
|
||||||
|
|
Loading…
Reference in a new issue