Do some pyramid bag

This commit is contained in:
DizzyEggg
2018-08-30 15:01:07 +02:00
parent 8e5c72766c
commit bc9fe72c6e
11 changed files with 1075 additions and 3204 deletions

View File

@@ -27,6 +27,13 @@
#define ARRAY_COUNT(array) (size_t)(sizeof(array) / sizeof((array)[0]))
#define SWAP(a, b, temp) \
{ \
temp = a; \
a = b; \
b = temp; \
}
// useful math macros
// Converts a number to Q8.8 fixed-point format