summaryrefslogtreecommitdiffhomepage
path: root/dev/Modules/GfxMgr/MathMgr.h
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal.elmahrouss@icloud.com>2024-12-26 21:19:14 +0100
committerAmlal El Mahrouss <amlal.elmahrouss@icloud.com>2024-12-26 21:19:14 +0100
commit486425ed00acec134f8799bdde64bfd093c5fb55 (patch)
tree5104af49b56f39d0b14941d76f9d6d746cd1677b /dev/Modules/GfxMgr/MathMgr.h
parentc0f7f3f300d603d355fc7ec5be317afe1f0ee1b6 (diff)
IMPL: A lot of new changes, see details.
Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>
Diffstat (limited to 'dev/Modules/GfxMgr/MathMgr.h')
-rw-r--r--dev/Modules/GfxMgr/MathMgr.h29
1 files changed, 0 insertions, 29 deletions
diff --git a/dev/Modules/GfxMgr/MathMgr.h b/dev/Modules/GfxMgr/MathMgr.h
deleted file mode 100644
index 13e653a5..00000000
--- a/dev/Modules/GfxMgr/MathMgr.h
+++ /dev/null
@@ -1,29 +0,0 @@
-/* -------------------------------------------
-
- Copyright Theater Quality Inc.
-
-------------------------------------------- */
-
-#pragma once
-
-/// @file MathMgr.h
-/// @brief Linear interpolation implementation.
-
-namespace UI
-{
-#ifdef ZKA_FB_USE_DOUBLE
- typedef double fb_real_t;
-#else
- typedef float fb_real_t;
-#endif
-
- /// @brief Linear interpolation equation solver.
- /// @param from where?
- /// @param to to?
- /// @param at which state we're at **to**.
- inline fb_real_t fb_math_lerp(fb_real_t to, fb_real_t from, fb_real_t stat)
- {
- fb_real_t difference = to - from;
- return from + (difference * stat);
- }
-} // namespace UI \ No newline at end of file