diff options
author | Nicholas Huelin <62965063+SirQuartz@users.noreply.github.com> | 2021-07-26 08:19:53 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-26 08:19:53 -0400 |
commit | 7f908cf40f386f1154f958a37ab416258b6fd206 (patch) | |
tree | a532180813f8f4174223989e039a89f88a63707b | |
parent | 04fd284a9b5f9d63922c94be061ad7d9ec2baa90 (diff) |
Fix expression in `cluster_builder_rd.h`
This expression should now work as intended.
-rw-r--r-- | servers/rendering/renderer_rd/cluster_builder_rd.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/servers/rendering/renderer_rd/cluster_builder_rd.h b/servers/rendering/renderer_rd/cluster_builder_rd.h index 797a02a978..c0c03eb26a 100644 --- a/servers/rendering/renderer_rd/cluster_builder_rd.h +++ b/servers/rendering/renderer_rd/cluster_builder_rd.h @@ -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(); } |