From cd660219a617b998a319ba3ba1963aac9fa8ebb6 Mon Sep 17 00:00:00 2001 From: Wenzel Jakob Date: Sun, 23 Mar 2014 01:06:33 +0100 Subject: [PATCH] perspective/thinlens.cpp: print X and Y fov values in toString() --- src/sensors/perspective.cpp | 2 +- src/sensors/thinlens.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/sensors/perspective.cpp b/src/sensors/perspective.cpp index 7184b912..0767662b 100644 --- a/src/sensors/perspective.cpp +++ b/src/sensors/perspective.cpp @@ -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 diff --git a/src/sensors/thinlens.cpp b/src/sensors/thinlens.cpp index 7e52b87e..79cb1eb5 100644 --- a/src/sensors/thinlens.cpp +++ b/src/sensors/thinlens.cpp @@ -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