diff options
author | David Robillard <d@drobilla.net> | 2020-10-21 12:23:24 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-10-21 15:43:29 +0200 |
commit | feb6c4f7952eafbc8c2203ef0c657ea3580ee441 (patch) | |
tree | d67ed34eb9955720fd63b961f9b07ce00f5321a9 /examples/rects.h | |
parent | 063ddc8db2831e1f79d7569c8fc80dd3d54f5cda (diff) | |
download | pugl-feb6c4f7952eafbc8c2203ef0c657ea3580ee441.tar.gz pugl-feb6c4f7952eafbc8c2203ef0c657ea3580ee441.tar.bz2 pugl-feb6c4f7952eafbc8c2203ef0c657ea3580ee441.zip |
Add missing include guards
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 |