mirror of
https://github.com/love2d/love.git
synced 2026-08-18 11:44:15 +02:00
Added CircleShape:get/setPoint.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user