Fixed [Frustum|Plane]::ToString()

Former-commit-id: b09821e54d3335a0d3c3cc30ec3050d26a30046a
This commit is contained in:
Lynix 2013-02-20 16:51:09 +01:00
parent 28ea9fc9a0
commit 8b49a6426f
2 changed files with 7 additions and 7 deletions

View File

@ -449,12 +449,12 @@ NzString NzFrustum<T>::ToString() const
{
NzStringStream ss;
return ss << "Frustum(Bottom: " << m_planes[nzFrustumPlane_Bottom] << "\n"
<< " Far: " << m_planes[nzFrustumPlane_Far] << "\n"
<< " Left: " << m_planes[nzFrustumPlane_Left] << "\n"
<< " Near: " << m_planes[nzFrustumPlane_Near] << "\n"
<< " Right: " << m_planes[nzFrustumPlane_Right] << "\n"
<< " Top: " << m_planes[nzFrustumPlane_Top] << ")\n";
return ss << "Frustum(Bottom: " << m_planes[nzFrustumPlane_Bottom].ToString() << "\n"
<< " Far: " << m_planes[nzFrustumPlane_Far].ToString() << "\n"
<< " Left: " << m_planes[nzFrustumPlane_Left].ToString() << "\n"
<< " Near: " << m_planes[nzFrustumPlane_Near].ToString() << "\n"
<< " Right: " << m_planes[nzFrustumPlane_Right].ToString() << "\n"
<< " Top: " << m_planes[nzFrustumPlane_Top].ToString() << ")\n";
}
template<typename T>

View File

@ -130,7 +130,7 @@ NzString NzPlane<T>::ToString() const
{
NzStringStream ss;
return ss << "Plane(Normal: " << normal << "; Distance: " << distance << ')';
return ss << "Plane(Normal: " << normal.ToString() << "; Distance: " << distance << ')';
}
template<typename T>