#include <limits>
#include <iostream>
+#include <cassert>
#include "PerspectiveCamera.hxx"
m_angle(angle)
{
// preprocess the values and fill the rest of the member variables here
-
+ m_dir.normalize();
+ m_up.normalize();
+
// compute local coordinate system
m_zAxis = dir;
m_xAxis = dir.cross(up);
PerspectiveCamera&
PerspectiveCamera::operator=(const PerspectiveCamera& )
{
+ assert(!"Not implemented!");
return *this;
}