Skip to content

Commit

Permalink
update example code
Browse files Browse the repository at this point in the history
  • Loading branch information
Ybalrid authored Nov 3, 2018
1 parent 43995c8 commit d0ae18f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ Library and Plugin to use glTF 2.0 resources with Ogre 2.1 licencied under the t
auto glTFLoader = gltfPluginAccessor::findPlugin()->getLoader();

//You can creae an Item for a scene by giving the name of the GLB file to look for in the resources
Ogre::Item* cesiumMan = glTFLoader->getItemFromResource("CesiumMan.glb, smgr);
Ogre::Item* cesiumMan = glTFLoader->getModelData("CesiumMan.glb", glTFLoaderInterface::LoadFrom::ResourceManager).makeItem(smgr);
```
## Building the source code
Expand Down

0 comments on commit d0ae18f

Please sign in to comment.