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

Method setMiterLimit

src/SFML/Graphics/Shape.cpp:137–142  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

135
136////////////////////////////////////////////////////////////
137void Shape::setMiterLimit(float miterLimit)
138{
139 assert(miterLimit >= 1.f && "Shape::setMiterLimit(float) cannot set miter limit to a value lower than 1");
140 m_miterLimit = miterLimit;
141 updateOutline();
142}
143
144
145////////////////////////////////////////////////////////////

Callers 1

Shape.test.cppFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected