mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-10-27 12:48:22 +00:00
8 lines
121 B
C
8 lines
121 B
C
#ifndef _UTIL_H
|
|
#define _UTIL_H
|
|
|
|
#define ROUND_UP(v, n) (n - (v % n) + v)
|
|
#define ROUND_DOWN(v, n) (v - (v % n))
|
|
|
|
#endif
|