diff --git a/documentation/UserDocumentation.md b/documentation/UserDocumentation.md index e88577b3..e6d1a5e3 100644 --- a/documentation/UserDocumentation.md +++ b/documentation/UserDocumentation.md @@ -1130,7 +1130,7 @@ TriangleVertexArray::IndexDataType::INDEX_INTEGER_TYPE); // Create the TriangleMesh std::vector messages; -TriangleMesh* triangleMesh = physicsCommon.createTriangleMesh(vertexArray, messages); +TriangleMesh* triangleMesh = physicsCommon.createTriangleMesh(*triangleArray, messages); // Display the messages (info, warning and errors) if (messages.size() > 0) {