From 9e746d42d2e3faa526f12ba222f5ee6924dd30f9 Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Fri, 26 Dec 2025 10:08:33 +0100 Subject: feat! breaking API changes, use header guards and libSystem fixes. Signed-off-by: Amlal El Mahrouss --- src/modules/CoreGfx/MathGfx.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src/modules/CoreGfx/MathGfx.h') diff --git a/src/modules/CoreGfx/MathGfx.h b/src/modules/CoreGfx/MathGfx.h index dbd732d3..218fda51 100644 --- a/src/modules/CoreGfx/MathGfx.h +++ b/src/modules/CoreGfx/MathGfx.h @@ -4,7 +4,8 @@ ======================================== */ -#pragma once +#ifndef COREGFX_MATHGFX_H +#define COREGFX_MATHGFX_H /// @file MathMgr.h /// @brief Linear interpolation implementation. @@ -24,4 +25,6 @@ typedef float cg_real_t; inline cg_real_t cg_math_lerp(cg_real_t to, cg_real_t from, cg_real_t stat) { return (from) + (to - from) * stat; } -} // namespace UI \ No newline at end of file +} // namespace UI + +#endif -- cgit v1.2.3