MCPcopy Create free account
hub / github.com/SFML/SFML / setPoint

Method setPoint

src/SFML/Graphics/ConvexShape.cpp:58–63  ·  view source on GitHub ↗

///////////////////////////////////////////////////////

Source from the content-addressed store, hash-verified

56
57////////////////////////////////////////////////////////////
58void ConvexShape::setPoint(std::size_t index, Vector2f point)
59{
60 assert(index < m_points.size() && "Index is out of bounds");
61 m_points[index] = point;
62 update();
63}
64
65
66////////////////////////////////////////////////////////////

Callers 2

AttenuationMethod · 0.80

Calls 1

updateFunction · 0.50

Tested by

no test coverage detected