| 36 | namespace cinder { |
| 37 | |
| 38 | ObjLoader::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 | |
| 44 | ObjLoader::ObjLoader( DataSourceRef dataSource, bool includeNormals, bool includeTexCoords, bool optimize ) |
| 45 | : mStream( dataSource->createStream() ), mOutputCached( false ), mOptimizeVertices( optimize ), mGroupIndex( numeric_limits<size_t>::max() ) |
nothing calls this directly
no test coverage detected