More explicit notation.
This commit is contained in:
parent
7121b6d084
commit
9f1355db52
|
|
@ -42,9 +42,9 @@ typedef SDL_FRect frect_t;
|
|||
|
||||
#define EPSILON 0.000001f
|
||||
|
||||
#define is_equal_to_zero(X) (fabsf(X) <= EPSILON)
|
||||
#define f_is_zero(X) (fabsf(X) <= EPSILON)
|
||||
|
||||
#define is_not_zero(X) (fabsf(X) > EPSILON)
|
||||
#define f_is_not_zero(X) (fabsf(X) > EPSILON)
|
||||
|
||||
void rect_to_frect(const rect_t *rect, frect_t *frect);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue