MCPcopy Create free account
hub / github.com/assimp/assimp / NextToken

Function NextToken

code/AssetLib/OFF/OFFLoader.cpp:86–92  ·  view source on GitHub ↗

skip blank space, lines and comments

Source from the content-addressed store, hash-verified

84
85// skip blank space, lines and comments
86static void NextToken(const char **car, const char *end) {
87 SkipSpacesAndLineEnd(car, end);
88 while (*car < end && (**car == '#' || **car == '\n' || **car == '\r')) {
89 SkipLine(car, end);
90 SkipSpacesAndLineEnd(car, end);
91 }
92}
93
94// ------------------------------------------------------------------------------------------------
95// Imports the given file into the given scene structure.

Callers 1

InternReadFileMethod · 0.85

Calls 2

SkipSpacesAndLineEndFunction · 0.50
SkipLineFunction · 0.50

Tested by

no test coverage detected