mirror of
https://github.com/zeldaret/tww.git
synced 2026-07-09 14:05:28 -04:00
Add SQUARE macro to improve readibility for distances
This commit is contained in:
@@ -23,6 +23,8 @@
|
||||
#define offsetof(type, member) ((size_t) & (((type*)0)->member))
|
||||
#endif
|
||||
|
||||
#define SQUARE(x) ((x) * (x))
|
||||
|
||||
#ifdef __MWERKS__
|
||||
#define GLUE(a, b) a##b
|
||||
#define GLUE2(a, b) GLUE(a, b)
|
||||
|
||||
Reference in New Issue
Block a user