MCPcopy Create free account
hub / github.com/DanielChappuis/reactphysics3d / floatToString

Method floatToString

testbed/src/Gui.h:180–184  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

178}
179
180inline std::string Gui::floatToString(float value, int precision) {
181 std::stringstream ss;
182 ss << std::fixed << std::setprecision(precision) << value;
183 return ss.str();
184}
185
186inline bool Gui::getIsDisplayed() const {
187 return mIsDisplayed;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected