Skip to content

Commit

Permalink
Merge pull request #6 from assimp/assimp_issue_3354
Browse files Browse the repository at this point in the history
Fix c-usage class
  • Loading branch information
kimkulling committed Aug 3, 2020
2 parents 777a80a + ed3231e commit 95eb2c6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/usage/use_the_lib.rst
Original file line number Diff line number Diff line change
Expand Up @@ -80,14 +80,14 @@ imported scene to clean up all resources associated with the import.
// Start the import on the given file with some example postprocessing
// Usually - if speed is not the most important aspect for you - you'll t
// probably to request more postprocessing than we do in this example.
const aiScene* scene = aiImportFile( pFile,
const struct aiScene* scene = aiImportFile( pFile,
aiProcess_CalcTangentSpace |
aiProcess_Triangulate |
aiProcess_JoinIdenticalVertices |
aiProcess_SortByPType);

// If the import failed, report it
if( nullptr != scene) {
if( NULL != scene) {
DoTheErrorLogging( aiGetErrorString());
return false;
}
Expand Down

0 comments on commit 95eb2c6

Please sign in to comment.