mirror of https://github.com/AxioDL/zeus.git
CPlane constructor fix
This commit is contained in:
parent
e94de160ad
commit
d135dee556
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue