Fix comment.

This commit is contained in:
castano 2008-10-27 08:00:46 +00:00
parent 12e774ea74
commit 1628831878

View File

@ -59,7 +59,7 @@ namespace nv
return Plane(plane.asVector() * inv); return Plane(plane.asVector() * inv);
} }
// Get the distance from the given point to this plane. // Get the signed distance from the given point to this plane.
inline float distance(Plane::Arg plane, Vector3::Arg point) inline float distance(Plane::Arg plane, Vector3::Arg point)
{ {
return dot(plane.vector(), point) - plane.offset(); return dot(plane.vector(), point) - plane.offset();