diff options
| author | Amlal El Mahrouss <amlal@nekernel.org> | 2025-11-24 03:02:43 +0100 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal@nekernel.org> | 2025-11-24 03:02:43 +0100 |
| commit | 83d870e58457a1d335a1d9b9966a6a1887cc297b (patch) | |
| tree | 72888f88c7728c82f3f6df1f4f70591de15eab36 /dev/modules/CoreGfx/MathGfx.h | |
| parent | ab37adbacf0f33845804c788b39680cd754752a8 (diff) | |
feat! breaking changes on kernel sources.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'dev/modules/CoreGfx/MathGfx.h')
| -rw-r--r-- | dev/modules/CoreGfx/MathGfx.h | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/dev/modules/CoreGfx/MathGfx.h b/dev/modules/CoreGfx/MathGfx.h deleted file mode 100644 index dbd732d3..00000000 --- a/dev/modules/CoreGfx/MathGfx.h +++ /dev/null @@ -1,27 +0,0 @@ -/* ======================================== - - Copyright Amlal El Mahrouss. - -======================================== */ - -#pragma once - -/// @file MathMgr.h -/// @brief Linear interpolation implementation. - -namespace UI { -#ifdef NE_CORE_GFX_USE_DOUBLE -typedef double cg_real_t; -#else -typedef float cg_real_t; -#endif - -/// @brief Linear interpolation equation solver. -/// @param from where to start -/// @param to to which value. -/// @param stat -/// @return Linear interop value. -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 |
