MCPcopy Create free account
hub / github.com/RenderKit/embree / parseSep

Function parseSep

tutorials/common/scenegraph/obj_loader.cpp:48–52  ·  view source on GitHub ↗

! Parse separator. */

Source from the content-addressed store, hash-verified

46
47 /*! Parse separator. */
48 static inline const char* parseSep(const char*& token) {
49 size_t sep = strspn(token, " \t");
50 if (!sep) THROW_RUNTIME_ERROR("separator expected");
51 return token+=sep;
52 }
53
54 /*! Parse optional separator. */
55 static inline const char* parseSepOpt(const char*& token) {

Callers 2

OBJLoaderMethod · 0.85
loadMTLMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected