Effect methods changed from pure virtual to defaulting to a 0,0 vector
[physics.git] / src / Entities / Ball.cpp
index 37a37c7..23180f0 100644 (file)
@@ -19,3 +19,8 @@ void Ball::draw() const
 {
     glDrawCircle(radius, position, color);
 }
+
+float Ball::getRadius() const
+{
+    return radius;
+}