remove unused method

This commit is contained in:
yangxiao 2014-09-04 17:15:28 +08:00
parent 31dc3301b3
commit 88ec0392a0
2 changed files with 0 additions and 18 deletions

View File

@ -101,18 +101,6 @@ const Mat4& Camera::getViewMatrix() const
}
return _view;
}
const Mat4& Camera::getInverseViewMatrix() const
{
Mat4 viewInv(getNodeToWorldTransform());
static int count = sizeof(float) * 16;
if (memcmp(viewInv.m, _viewInv.m, count) != 0)
{
_viewProjectionDirty = true;
_viewInv = viewInv;
_view = viewInv.getInversed();
}
return _viewInv;
}
void Camera::lookAt(const Vec3& lookAtPos, const Vec3& up)
{
Vec3 upv = up;

View File

@ -119,12 +119,6 @@ public:
* @return The camera view matrix.
*/
const Mat4& getViewMatrix() const;
/**
* Gets the camera's inverse view matrix.
*
* @return The camera inverse view matrix.
*/
const Mat4& getInverseViewMatrix() const;
/**get view projection matrix*/
const Mat4& getViewProjectionMatrix() const;