From ff654859a0622838f7810281dadb56fbfd58dc32 Mon Sep 17 00:00:00 2001 From: Charlie Malmqvist Date: Thu, 22 Aug 2024 15:56:53 +0200 Subject: [PATCH] fix silly goofy woopsie --- oogabooga/linmath.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/oogabooga/linmath.c b/oogabooga/linmath.c index 2a263d6..fd65c2b 100644 --- a/oogabooga/linmath.c +++ b/oogabooga/linmath.c @@ -6,12 +6,8 @@ #define RAD_PER_DEG (PI64 / 180.0) #define DEG_PER_RAD (180.0 / PI64) -#define to_radians (degrees) (((float)degrees)*(float)RAD_PER_DEG) -#define to_degrees (radians) (((float)radians)*(float)DEG_PER_RAD) -#define to_radians64(degrees) (((float64)degrees)*(float64)RAD_PER_DEG) -#define to_degrees64(radians) (((float64)radians)*(float64)DEG_PER_RAD) -#define to_radians32 to_radians -#define to_degrees32 to_degrees +#define to_radians(degrees) ((degrees)*RAD_PER_DEG) +#define to_degrees(radians) ((radians)*DEG_PER_RAD) typedef union Vector2 { float data[2];