projects
/
physics.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
hacks that make a polygon draw
[physics.git]
/
src
/
graphics
/
graphics.h
diff --git
a/src/graphics/graphics.h
b/src/graphics/graphics.h
index
1f23760
..
aa87e1b
100644
(file)
--- a/
src/graphics/graphics.h
+++ b/
src/graphics/graphics.h
@@
-19,6
+19,7
@@
#define GRAPHICS_H
#include "Vector2.h"
#define GRAPHICS_H
#include "Vector2.h"
+#include <vector>
/// ***** Header Methods *****
/// ***** Header Methods *****
@@
-29,6
+30,7
@@
namespace graphics
void clean();
void drawCircle(float radius, const Vector2&, const float* color = 0);
void clean();
void drawCircle(float radius, const Vector2&, const float* color = 0);
+ void drawPolygon(const std::vector<Vector2>& points, const float* color = 0);
}
#endif // GRAPHICS_H
}
#endif // GRAPHICS_H