CPlane constructor fix

This commit is contained in:
Jack Andersen 2018-05-19 20:13:36 -10:00
parent e94de160ad
commit d135dee556
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@ public:
CPlane(const CVector3f& a, const CVector3f& b, const CVector3f& c)
{
vec = (b - a).cross(c - a).normalized();
d = -a.dot(vec);
d = a.dot(vec);
}
CPlane(const CVector3f& point, float displacement)