diff options
author | Aki <please@ignore.pl> | 2024-03-21 02:23:44 +0100 |
---|---|---|
committer | Aki <please@ignore.pl> | 2024-03-21 02:23:44 +0100 |
commit | ebbf3a75f9b0f6af7ebdc6a02a68c15378e77342 (patch) | |
tree | c1ae71d72382188738aa1f667a9bb23856fc1ccc /StarsEx/Fix.cpp | |
parent | 1a6f1241eb85c82d4fddf7b61a867a1bb828992e (diff) | |
download | starshatter-ebbf3a75f9b0f6af7ebdc6a02a68c15378e77342.zip starshatter-ebbf3a75f9b0f6af7ebdc6a02a68c15378e77342.tar.gz starshatter-ebbf3a75f9b0f6af7ebdc6a02a68c15378e77342.tar.bz2 |
Removed Fixed Point Arithmetic implementation
This will bite me in near future, won't it? Add it back to FoundationEx
at that point. Try handling it with some constepxr, too.
Keywords for grep: fix-point, fixed-point, fast_f2i, IntMask, FractMask,
fix::one, fix_sixty_five
Diffstat (limited to 'StarsEx/Fix.cpp')
-rw-r--r-- | StarsEx/Fix.cpp | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/StarsEx/Fix.cpp b/StarsEx/Fix.cpp deleted file mode 100644 index e73fba7..0000000 --- a/StarsEx/Fix.cpp +++ /dev/null @@ -1,22 +0,0 @@ -/* Starshatter: The Open Source Project - Copyright (c) 2021-2024, Starshatter: The Open Source Project Contributors - Copyright (c) 2011-2012, Starshatter OpenSource Distribution Contributors - Copyright (c) 1997-2006, Destroyer Studios LLC. - - AUTHOR: John DiCamillo - - - OVERVIEW - ======== - Fixed point number class with 16 bits of fractional precision -*/ - -#include "Fix.h" - -// +--------------------------------------------------------------------+ - -const fix fix::one = fix(1); -const fix fix::two = fix(2); -const fix fix::three = fix(3); -const fix fix::five = fix(5); -const fix fix::ten = fix(10); |