You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-11 13:10:58 +00:00
Merge pull request #50856 from SirQuartz/patch-32
Fix always true expression `radius > 0.98 || radius < 1.02` in `cluster_builder_rd.h`
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user