Add CPlane::pointToPlaneDistance

This commit is contained in:
Jack Andersen 2016-07-25 12:51:29 -10:00
parent bf9404811c
commit b6a1241678
1 changed files with 5 additions and 0 deletions

View File

@ -50,6 +50,11 @@ public:
d = nd * mag;
}
float pointToPlaneDist(const zeus::CVector3f& pos) const
{
return pos.dot(vec) - d;
}
union {
struct
{