514->515 initial

adds _version.dm compatibility file + core/math/math.dm dependency
adds polyvis.html tool to go along with math.dm
converts uses of n_ceil to ceil
This commit is contained in:
Spookerton
2023-12-29 16:22:30 +00:00
parent 0b48fc4035
commit 5a52ebcaa5
8 changed files with 378 additions and 12 deletions

View File

@@ -62,3 +62,11 @@
//check if all bitflags specified are present
#define CHECK_MULTIPLE_BITFIELDS(flagvar, flags) ((flagvar & (flags)) == flags)
/// Right-shift of INT by BITS
#define SHIFTR(INT, BITS) ((INT) >> (BITS))
/// Left-shift of INT by BITS
#define SHIFTL(INT, BITS) ((INT) << (BITS))