fix plane dir normalize for v3.4.0 (#4069)

This commit is contained in:
troublemaker52025
2021-11-26 11:35:09 +08:00
committed by GitHub
parent 858699cb4b
commit 316de1e7cb
+1
View File
@@ -47,6 +47,7 @@ void Plane::define(const Vec3 &v0, const Vec3 &v1, const Vec3 &v2) {
Vec3 dist;
Vec3::crossProduct(dist1, dist2, &dist);
dist.normalize();
define(dist, v0);
}