Renamed Shape::GetNbPoints to Shape::GetPointsCount (consistent with the other similar functions)
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1408 4e206d99-4929-0410-ac5d-dfc041789085
This commit is contained in:
parent
aa2199bbb3
commit
b60fda48d9
10 changed files with 19 additions and 19 deletions
|
@ -68,7 +68,7 @@ void Shape::AddPoint(const Vector2f& position, const Color& color, const Color&
|
|||
////////////////////////////////////////////////////////////
|
||||
/// Get the number of points composing the shape
|
||||
////////////////////////////////////////////////////////////
|
||||
unsigned int Shape::GetNbPoints() const
|
||||
unsigned int Shape::GetPointsCount() const
|
||||
{
|
||||
return static_cast<unsigned int>(myPoints.size() - 1);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue