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

Function parseInt

core/3d/ObjLoader.cpp:101–107  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

99}
100
101static inline int parseInt(const char*& token)
102{
103 token += strspn(token, " \t");
104 int i = atoi(token);
105 token += strcspn(token, " \t\r");
106 return i;
107}
108
109// Tries to parse a floating point number located at s.
110//

Callers 1

LoadMtlFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected