hacks that make a polygon draw
[physics.git] / src / graphics / graphics.h
index 1f23760..aa87e1b 100644 (file)
@@ -19,6 +19,7 @@
 #define GRAPHICS_H
 
 #include "Vector2.h"
+#include <vector>
 
 
 /// ***** Header Methods *****
@@ -29,6 +30,7 @@ namespace graphics
     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