From 03d446cdaf8bb0bb104b9128ccc8b0f533268287 Mon Sep 17 00:00:00 2001 From: PedroEdiaz Date: Thu, 17 Oct 2024 22:28:22 -0600 Subject: [PATCH] Correct faces of axis --- src/data/axis.h | 16 +++++++--------- src/main.h | 1 - 2 files changed, 7 insertions(+), 10 deletions(-) diff --git a/src/data/axis.h b/src/data/axis.h index db4adce..d957c16 100644 --- a/src/data/axis.h +++ b/src/data/axis.h @@ -1,12 +1,11 @@ #undef A -#undef B -#undef C +#undef B +#undef C #undef D #undef E #undef F -#undef G +#undef G #undef H - #define A -2.0,-0.05,-0.05, #define B -2.0,-0.05, 0.05, #define C -2.0, 0.05,-0.05, @@ -16,15 +15,15 @@ #define G 2.0, 0.05,-0.05, #define H 2.0, 0.05, 0.05, -narray_float_t d_axis = +float d_axis[] = { 3*3*2*6, A C E - G E D + G E C E G F - H F G + H F G F H B D B H @@ -35,7 +34,6 @@ narray_float_t d_axis = C D G H G D - E B A + E B A B E F - }; diff --git a/src/main.h b/src/main.h index 8252e56..71057cf 100644 --- a/src/main.h +++ b/src/main.h @@ -7,7 +7,6 @@ typedef void * mesh_t; typedef float * quat_t; typedef float * mat4_t; -typedef float narray_float_t[]; typedef unsigned char narray_u8_t[]; enum