MCPcopy Create free account
hub / github.com/axmolengine/axmol / nextWord

Function nextWord

core/3d/ObjLoader.cpp:326–329  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

324}
325
326static std::string_view nextWord(const char* token) {
327 const char* endptr = strpbrk(token, " \t");
328 return endptr ? std::string_view{token, static_cast<size_t>(endptr - token)} : token;
329}
330
331static unsigned int updateVertex(std::map<vertex_index, unsigned int>& vertexCache,
332 std::vector<float>& positions,

Callers 2

LoadMtlFunction · 0.85
LoadObjFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected