Fixed [Frustum|Plane]::ToString()
Former-commit-id: b09821e54d3335a0d3c3cc30ec3050d26a30046a
This commit is contained in:
parent
28ea9fc9a0
commit
8b49a6426f
|
|
@ -449,12 +449,12 @@ NzString NzFrustum<T>::ToString() const
|
||||||
{
|
{
|
||||||
NzStringStream ss;
|
NzStringStream ss;
|
||||||
|
|
||||||
return ss << "Frustum(Bottom: " << m_planes[nzFrustumPlane_Bottom] << "\n"
|
return ss << "Frustum(Bottom: " << m_planes[nzFrustumPlane_Bottom].ToString() << "\n"
|
||||||
<< " Far: " << m_planes[nzFrustumPlane_Far] << "\n"
|
<< " Far: " << m_planes[nzFrustumPlane_Far].ToString() << "\n"
|
||||||
<< " Left: " << m_planes[nzFrustumPlane_Left] << "\n"
|
<< " Left: " << m_planes[nzFrustumPlane_Left].ToString() << "\n"
|
||||||
<< " Near: " << m_planes[nzFrustumPlane_Near] << "\n"
|
<< " Near: " << m_planes[nzFrustumPlane_Near].ToString() << "\n"
|
||||||
<< " Right: " << m_planes[nzFrustumPlane_Right] << "\n"
|
<< " Right: " << m_planes[nzFrustumPlane_Right].ToString() << "\n"
|
||||||
<< " Top: " << m_planes[nzFrustumPlane_Top] << ")\n";
|
<< " Top: " << m_planes[nzFrustumPlane_Top].ToString() << ")\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
template<typename T>
|
template<typename T>
|
||||||
|
|
|
||||||
|
|
@ -130,7 +130,7 @@ NzString NzPlane<T>::ToString() const
|
||||||
{
|
{
|
||||||
NzStringStream ss;
|
NzStringStream ss;
|
||||||
|
|
||||||
return ss << "Plane(Normal: " << normal << "; Distance: " << distance << ')';
|
return ss << "Plane(Normal: " << normal.ToString() << "; Distance: " << distance << ')';
|
||||||
}
|
}
|
||||||
|
|
||||||
template<typename T>
|
template<typename T>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue