Fix expression in cluster_builder_rd.h

This expression should now work as intended.
This commit is contained in:
Nicholas Huelin 2021-07-26 08:19:53 -04:00 committed by GitHub
parent 04fd284a9b
commit 7f908cf40f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -235,7 +235,7 @@ public:
Transform3D xform = view_xform * p_transform;
float radius = xform.basis.get_uniform_scale();
if (radius > 0.98 && radius < 1.02) {
if (radius < 0.98 || radius > 1.02) {
xform.basis.orthonormalize();
}