Added CircleShape:get/setPoint.

This commit is contained in:
Alex Szpakowski
2014-01-03 14:06:23 -04:00
parent b091746118
commit 1d3f6e967d
4 changed files with 47 additions and 2 deletions
+13 -2
View File
@@ -58,10 +58,21 @@ public:
float getRadius() const;
/**
* Sets the radius for the circle.
* Sets the radius of the circle.
**/
void setRadius(float r);
};
/**
* Gets the position of the circle.
**/
void getPoint(float &x_o, float &y_o) const;
/**
* Sets the position for the circle.
**/
void setPoint(float x, float y);
}; // CircleShape
} // box2d
} // physics