Don't draw fully transparent gizmo elements

This commit is contained in:
Danny McGee
2023-10-16 20:23:36 -04:00
parent 67b5ef3e56
commit e59985737a
+3
View File
@@ -83,6 +83,9 @@ pub(super) fn draw(
};
let alpha = fade_aligned_control(axes, &basis, cam_pos);
if alpha.nearly_eq(0.) {
continue;
}
match (shape, color) {
(Shape::Line(line), GizmoColor::Single(color)) => {