hacks that make a polygon draw
[physics.git] / src / graphics / graphics.h
index 0dc2f8b..aa87e1b 100644 (file)
@@ -18,7 +18,8 @@
 #ifndef GRAPHICS_H
 #define GRAPHICS_H
 
-#include "../Vector2.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