mirror of https://github.com/axmolengine/axmol.git
remove unused method
This commit is contained in:
parent
31dc3301b3
commit
88ec0392a0
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue