From 30cd5911a587a7a385c0d191be29f2ac12ec5271 Mon Sep 17 00:00:00 2001 From: a dinosaur Date: Wed, 16 Nov 2022 01:45:25 +1100 Subject: [PATCH] Delete maths.c static inlines shouldn't need an external definition if I understand correctly, and that's all this file contains --- CMakeLists.txt | 2 +- maths.c | 6 ------ 2 files changed, 1 insertion(+), 7 deletions(-) delete mode 100644 maths.c diff --git a/CMakeLists.txt b/CMakeLists.txt index aa64f5d..fb77a85 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -3,7 +3,7 @@ project(padlab C) set(CMAKE_C_STANDARD 99) set(TARGET padlab) set(SOURCES - maths.c maths.h + maths.h draw.c draw.h stick.c stick.h analogue.c) diff --git a/maths.c b/maths.c deleted file mode 100644 index 60189ae..0000000 --- a/maths.c +++ /dev/null @@ -1,6 +0,0 @@ -#include "maths.h" - -static inline vector VecAdd(vector l, vector r); -static inline vector VecScale(vector v, vec_t x); - -static inline double pfmod(double x, double d);