1
0
Fork 0
2018-soft-3d-renderer/include/util.h

13 lines
188 B
C

#ifndef UTIL_H
// MACROS
#define SET_BIT(x, bit) (x |= (1UL << bit))
#define CLEAR_BIT(x, bit) (x &= ~(1UL << bit))
#define CHECK_BIT(x, bit) (x & (1UL << bit))
#define UTIL_H
#endif