MCPcopy Create free account
hub / github.com/InteractiveComputerGraphics/SPlisHSPlasH / zeroPadding

Function zeroPadding

Tools/MeshSkinning/main.cpp:546–551  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

544}
545
546std::string zeroPadding(const unsigned int number, const unsigned int length)
547{
548 ostringstream out;
549 out << std::internal << std::setfill('0') << std::setw(length) << number;
550 return out.str();
551}
552
553std::string convertFileName(const std::string &inputFileName, const unsigned int currentFrame)
554{

Callers 1

convertFileNameFunction · 0.70

Calls 1

strMethod · 0.45

Tested by

no test coverage detected