projects
/
physics.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
finished changes to deps directory building
[physics.git]
/
src
/
graphics
/
graphics.h
diff --git
a/src/graphics/graphics.h
b/src/graphics/graphics.h
index
1f23760
..
6c58ef7
100644
(file)
--- a/
src/graphics/graphics.h
+++ b/
src/graphics/graphics.h
@@
-18,7
+18,10
@@
#ifndef GRAPHICS_H
#define GRAPHICS_H
#ifndef GRAPHICS_H
#define GRAPHICS_H
-#include "Vector2.h"
+#include <bear/Vector2.h>
+using namespace bear;
+
+#include <vector>
/// ***** Header Methods *****
/// ***** Header Methods *****
@@
-29,6
+32,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