perspective/thinlens.cpp: print X and Y fov values in toString()

metadata
Wenzel Jakob 2014-03-23 01:06:33 +01:00
parent 103a72ad6c
commit cd660219a6
2 changed files with 2 additions and 2 deletions

View File

@ -448,7 +448,7 @@ public:
std::string toString() const {
std::ostringstream oss;
oss << "PerspectiveCamera[" << endl
<< " xfov = " << m_xfov << "," << endl
<< " fov = [" << getXFov() << ", " << getYFov() << "]," << endl
<< " nearClip = " << m_nearClip << "," << endl
<< " farClip = " << m_farClip << "," << endl
<< " worldTransform = " << indent(m_worldTransform.toString()) << "," << endl

View File

@ -572,7 +572,7 @@ public:
std::string toString() const {
std::ostringstream oss;
oss << "ThinLens[" << endl
<< " xfov = " << m_xfov << "," << endl
<< " fov = [" << getXFov() << ", " << getYFov() << "]," << endl
<< " apertureRadius = " << m_apertureRadius << "," << endl
<< " focusDistance = " << m_focusDistance << "," << endl
<< " nearClip = " << m_nearClip << "," << endl