projects
/
physics.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
graphics moved to folder, Make flags updated
[physics.git]
/
src
/
Entities
/
Ball.cpp
diff --git
a/src/Entities/Ball.cpp
b/src/Entities/Ball.cpp
index
7c31364
..
ad24d8e
100644
(file)
--- a/
src/Entities/Ball.cpp
+++ b/
src/Entities/Ball.cpp
@@
-1,5
+1,6
@@
#include "Ball.h"
#include "../Vector2.h"
+#include "../graphics/graphics.h"
/// ***** Public Class Methods *****
Ball::Ball(Vector2 pos, float radius)
@@
-15,4
+16,6
@@
Ball::~Ball()
void Ball::draw() const
{
// TODO
+
+ glDrawCircle(radius, &position);
}