perspective/thinlens.cpp: print X and Y fov values in toString()
parent
103a72ad6c
commit
cd660219a6
|
@ -448,7 +448,7 @@ public:
|
||||||
std::string toString() const {
|
std::string toString() const {
|
||||||
std::ostringstream oss;
|
std::ostringstream oss;
|
||||||
oss << "PerspectiveCamera[" << endl
|
oss << "PerspectiveCamera[" << endl
|
||||||
<< " xfov = " << m_xfov << "," << endl
|
<< " fov = [" << getXFov() << ", " << getYFov() << "]," << endl
|
||||||
<< " nearClip = " << m_nearClip << "," << endl
|
<< " nearClip = " << m_nearClip << "," << endl
|
||||||
<< " farClip = " << m_farClip << "," << endl
|
<< " farClip = " << m_farClip << "," << endl
|
||||||
<< " worldTransform = " << indent(m_worldTransform.toString()) << "," << endl
|
<< " worldTransform = " << indent(m_worldTransform.toString()) << "," << endl
|
||||||
|
|
|
@ -572,7 +572,7 @@ public:
|
||||||
std::string toString() const {
|
std::string toString() const {
|
||||||
std::ostringstream oss;
|
std::ostringstream oss;
|
||||||
oss << "ThinLens[" << endl
|
oss << "ThinLens[" << endl
|
||||||
<< " xfov = " << m_xfov << "," << endl
|
<< " fov = [" << getXFov() << ", " << getYFov() << "]," << endl
|
||||||
<< " apertureRadius = " << m_apertureRadius << "," << endl
|
<< " apertureRadius = " << m_apertureRadius << "," << endl
|
||||||
<< " focusDistance = " << m_focusDistance << "," << endl
|
<< " focusDistance = " << m_focusDistance << "," << endl
|
||||||
<< " nearClip = " << m_nearClip << "," << endl
|
<< " nearClip = " << m_nearClip << "," << endl
|
||||||
|
|
Loading…
Reference in New Issue