diff options
| author | Amlal El Mahrouss <amlal@nekernel.org> | 2025-12-26 10:08:33 +0100 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal@nekernel.org> | 2025-12-26 10:08:33 +0100 |
| commit | 9e746d42d2e3faa526f12ba222f5ee6924dd30f9 (patch) | |
| tree | 7f1a83f69562a2725bb9cda27c31d120640d2c1c /src/modules/CoreGfx/MathGfx.h | |
| parent | 731758b271233b9c11052001ffc20a5a2ca1f365 (diff) | |
feat! breaking API changes, use header guards and libSystem fixes.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'src/modules/CoreGfx/MathGfx.h')
| -rw-r--r-- | src/modules/CoreGfx/MathGfx.h | 7 |
1 files changed, 5 insertions, 2 deletions
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 |
