diff options
Diffstat (limited to 'src/shapes.cpp')
| -rw-r--r-- | src/shapes.cpp | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/shapes.cpp b/src/shapes.cpp index 099ef66..6f61d11 100644 --- a/src/shapes.cpp +++ b/src/shapes.cpp @@ -4,6 +4,8 @@ * Use of this source code is governed by the 3-Clause BSD license * specified in the COPYING file included with this source code. */ +#include <string.h> + #include "shapes.h" int star_points[11][2] = { @@ -20,6 +22,24 @@ int star_points[11][2] = { { 0, 85 } }; +void +shape_init(shapes_t *shape) +{ + memset(shape, 0, sizeof(shape)); +} + +void +shape_copy(const shapes_t *src, shapes_t *dest) +{ + *dest = *src; +} + +void +shape_randomize(shapes_t *shape) +{ + // TODO +} + /* Local Variables: mode:c++ |