Skip to content

Commit

Permalink
Fix for Ceiling().
Browse files Browse the repository at this point in the history
  • Loading branch information
Segrain committed Feb 2, 2024
1 parent 7846f41 commit 2287ab7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/__HELPERS/#maths.dm
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ GLOBAL_LIST_INIT(sqrtTable, list(1, 1, 1, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 3, 4,

// MATH DEFINES

#define Ceiling(x) (-round(-x))
#define Ceiling(x) (-round(-(x)))
#define CLAMP01(x) (clamp(x, 0, 1))

// cotangent
Expand Down

0 comments on commit 2287ab7

Please sign in to comment.