MCPcopy Create free account
hub / github.com/BZFlag-Dev/bzflag / ftoa

Function ftoa

tools/modeltool/modeltool.cpp:117–121  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

115//============================================================================//
116
117static std::string ftoa(float v) {
118 char buf[64];
119 snprintf(buf, sizeof(buf), floatFormat.c_str(), v);
120 return buf;
121}
122
123
124static std::string ftoa(const float* va, int count) {

Callers 2

writeMaterialFunction · 0.85
writeBZWFunction · 0.85

Calls 1

c_strMethod · 0.80

Tested by

no test coverage detected