From 4c235fe24ad680c116c83970205f2930d5ebe8b5 Mon Sep 17 00:00:00 2001 From: Max Richter Date: Thu, 2 May 2024 20:57:20 +0200 Subject: [PATCH] feat: clean up --- nodes/max/plantarium/gravity/src/lib.rs | 3 --- packages/ui/src/lib/elements/Vec3.svelte | 1 - 2 files changed, 4 deletions(-) diff --git a/nodes/max/plantarium/gravity/src/lib.rs b/nodes/max/plantarium/gravity/src/lib.rs index 331806a..be7f892 100644 --- a/nodes/max/plantarium/gravity/src/lib.rs +++ b/nodes/max/plantarium/gravity/src/lib.rs @@ -46,8 +46,6 @@ pub fn execute(input: &[i32]) -> Vec { let mut offset_vec = Vec3::ZERO; - let original_length = path.get_length(); - for i in 0..path.length - 1 { let alpha = i as f32 / (path.length - 1) as f32; let start_index = i * 4; @@ -91,7 +89,6 @@ pub fn execute(input: &[i32]) -> Vec { offset_vec += final_end_point - end_point; } - log!("length: {} final: {}", original_length, output.get_length()); output_data }) .collect(); diff --git a/packages/ui/src/lib/elements/Vec3.svelte b/packages/ui/src/lib/elements/Vec3.svelte index 196aa8c..0d9115e 100644 --- a/packages/ui/src/lib/elements/Vec3.svelte +++ b/packages/ui/src/lib/elements/Vec3.svelte @@ -3,7 +3,6 @@ export let value = [0, 0, 0]; export let id = ''; - $: console.log(value);