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

Method setPointCount

src/SFML/Graphics/ConvexShape.cpp:43–47  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

41
42////////////////////////////////////////////////////////////
43void ConvexShape::setPointCount(std::size_t count)
44{
45 m_points.resize(count);
46 update();
47}
48
49
50////////////////////////////////////////////////////////////

Callers 3

AttenuationMethod · 0.45

Calls 2

updateFunction · 0.50
resizeMethod · 0.45

Tested by

no test coverage detected