Log where the camera is looking

This commit is contained in:
Eryn Wells 2014-08-03 20:12:51 -07:00
parent 589b1f23ec
commit 14db2752ae

View file

@ -4,6 +4,10 @@
*/
#include "camera.h"
#include "log.hh"
#define LOG_NAME "camera"
#include "logModule.hh"
#pragma mark - Generic Camera
@ -147,6 +151,8 @@ Camera::LookAt(const Vector3& pt)
mDirection *= directionLength;
mRight *= isLeftHanded ? rightLength : -rightLength;
mUp *= upLength;
LOG_DEBUG << "Camera is looking at " << pt;
}