From f431d45af5f438ade9ea818036d85b3d5198ecc1 Mon Sep 17 00:00:00 2001 From: herbglitch Date: Thu, 14 Sep 2023 01:34:08 -0600 Subject: [PATCH] working on ARC_FPoint_Lerp --- CMakeLists.txt | 1 + include/arc/math/point.h | 2 ++ 2 files changed, 3 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 4e13d2d..afd87f6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -66,6 +66,7 @@ set(ARCHEUS_STD_SOURCES src/math/circle.c src/math/config.c src/math/obround.c + src/math/point.c src/math/rectangle.c src/math/vector2.c diff --git a/include/arc/math/point.h b/include/arc/math/point.h index addf55d..953c08f 100644 --- a/include/arc/math/point.h +++ b/include/arc/math/point.h @@ -22,6 +22,8 @@ typedef struct ARC_FPoint { float y; } ARC_FPoint; +ARC_FPoint ARC_FPoint_Lerp(ARC_FPoint *start, ARC_FPoint *end, float t); + #ifdef __cplusplus } #endif