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