From ce57691f9631e5a08a82221634898b5ce58b7a5e Mon Sep 17 00:00:00 2001 From: iceyrazor Date: Sun, 8 Feb 2026 04:17:23 -0600 Subject: cleanup --- lib/global_objects.c | 14 -------------- lib/init.c | 2 +- 2 files changed, 1 insertion(+), 15 deletions(-) (limited to 'lib') diff --git a/lib/global_objects.c b/lib/global_objects.c index e6f8de5..74abb86 100644 --- a/lib/global_objects.c +++ b/lib/global_objects.c @@ -25,20 +25,6 @@ void point_mul(Point *A, Point *B){ A->y = A->y * B->y; } -/* -fn set_mag(x: &f64,y: &f64, mag: &f64) -> Vec{ - let getmag: f64 = magnitude(*x, *y); - let rx = (*x / getmag) * mag; - let ry = (*y / getmag) * mag; - - return vec![rx,ry] -} - -fn magnitude(x: f64,y: f64) -> f64 { - ((x).powi(2) + (y).powi(2)).sqrt() -} -*/ - float magnitude(flaot x, flaot y) { return sqrt((pow(x,2) + pow(y,2))); } diff --git a/lib/init.c b/lib/init.c index 6c4f314..3880c6d 100755 --- a/lib/init.c +++ b/lib/init.c @@ -1,6 +1,6 @@ #include #include -#include "init.h" +#include #include #include -- cgit v1.3