diff options
Diffstat (limited to 'examples/rects.h')
-rw-r--r-- | examples/rects.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/examples/rects.h b/examples/rects.h index f760226..f53698c 100644 --- a/examples/rects.h +++ b/examples/rects.h @@ -22,6 +22,9 @@ many 2D rectangles. */ +#ifndef EXAMPLES_RECTS_H +#define EXAMPLES_RECTS_H + #include <math.h> #include <stddef.h> @@ -80,3 +83,5 @@ moveRect(Rect* const rect, (cosf((float)time * rect->size[1] / 64.0f + normal) + 1.0f) / 2.0f; } + +#endif // EXAMPLES_RECTS_H |