Fix comment.
This commit is contained in:
parent
12e774ea74
commit
1628831878
|
@ -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();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user