From 5cc806a8ddebaae813846263add937bcc016c868 Mon Sep 17 00:00:00 2001 From: Adrian G L Date: Thu, 2 Oct 2025 12:27:23 +0200 Subject: [PATCH] fix: space nodes further apart by adjusting x position offset --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index 82fbf0e..253de09 100644 --- a/src/main.rs +++ b/src/main.rs @@ -462,7 +462,7 @@ fn main() { { let mut pin = root.as_mut(); let node = unsafe { pin.get_unchecked_mut() }; - node.position = glm::vec3(heading.x, 0.0, heading.z); + node.position = glm::vec3(heading.x + (i as f32) * 5.0, 0.0, heading.z); node.rotation = glm::vec3(heading.pitch, heading.yaw, heading.roll); } // Update rotors: child index 2 = main rotor, 3 = tail rotor