X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fyoink;a=blobdiff_plain;f=src%2FMoof%2FPlane.hh;h=06e4abdce63f59398f961a531942d7b63ec667ea;hp=4739bb825406d5599d853ea0e39671d387e8041e;hb=25aefe01ef7dbdb603c51411e04b0d6a6107684f;hpb=df541170776dc4ac4f241ca480812bd70bcb6eca diff --git a/src/Moof/Plane.hh b/src/Moof/Plane.hh index 4739bb8..06e4abd 100644 --- a/src/Moof/Plane.hh +++ b/src/Moof/Plane.hh @@ -78,12 +78,12 @@ struct Plane /** * Determine the shortest distance between a point and the plane. */ - inline Scalar getDistanceToPoint(const Vector3& point) const + Scalar getDistanceToPoint(const Vector3& point) const { return cml::dot(point, normal) + d; } - inline Halfspace intersects(const Vector3& point) const + Halfspace intersects(const Vector3& point) const { Scalar distance = getDistanceToPoint(point);