Merge pull request #56 from birarda/master

comment fixes in Camera.cpp
This commit is contained in:
birarda 2013-04-16 14:40:09 -07:00
commit ab73b67541

View file

@ -9,9 +9,6 @@
#include "Camera.h"
//------------------------
Camera::Camera()
{
_mode = CAMERA_MODE_THIRD_PERSON;
@ -30,10 +27,6 @@ Camera::Camera()
_orientation.setToIdentity();
}
//------------------------------------
void Camera::update( float deltaTime )
{
float radian = ( _yaw / 180.0 ) * PIE;
@ -52,9 +45,7 @@ void Camera::update( float deltaTime )
_position += ( _idealPosition - _position ) * t;
//-------------------------------------------------------------------------
// geterate the ortho-normals for the orientation based on the Euler angles
//------------------------------------------------------------------------
_orientation.setToIdentity();
_orientation.yaw ( _yaw );
_orientation.pitch ( _pitch );