MCPcopy Create free account
hub / github.com/cinder/Cinder / ObjLoader

Method ObjLoader

src/cinder/ObjLoader.cpp:38–42  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36namespace cinder {
37
38ObjLoader::ObjLoader( shared_ptr<IStreamCinder> stream, bool includeNormals, bool includeTexCoords, bool optimize )
39 : mStream( stream ), mOutputCached( false ), mOptimizeVertices( optimize ), mGroupIndex( numeric_limits<size_t>::max() )
40{
41 parse( includeNormals, includeTexCoords );
42}
43
44ObjLoader::ObjLoader( DataSourceRef dataSource, bool includeNormals, bool includeTexCoords, bool optimize )
45 : mStream( dataSource->createStream() ), mOutputCached( false ), mOptimizeVertices( optimize ), mGroupIndex( numeric_limits<size_t>::max() )

Callers

nothing calls this directly

Calls 3

createStreamMethod · 0.80
maxFunction · 0.50
parseFunction · 0.50

Tested by

no test coverage detected