Add TODO comment

This commit is contained in:
Danny McGee
2023-10-11 20:53:18 -04:00
parent 7d121af4a1
commit 518f08345e
+2
View File
@@ -92,6 +92,8 @@ fn draw_translate_gizmo(
let cone_base = match variant {
GizmoVariant::Full => {
// TODO: It's probably bad form to put a bunch of side-effects
// like this in a value-producing expression
let start = origin + direction * size * 0.25;
let end = origin + direction * size * 1.6;
gizmos.line(start, end, color);