fix: typo in glfwloading example
This commit is contained in:
parent
ae3c1325f8
commit
d6084061b3
1 changed files with 1 additions and 1 deletions
|
|
@ -247,7 +247,7 @@ public:
|
|||
const float* texCoordsBuffer = nullptr;
|
||||
size_t vertexCount = 0;
|
||||
|
||||
// Get buffer data for vertex normals
|
||||
// Get buffer data for vertex positions
|
||||
if (glTFPrimitive.attributes.find("POSITION") != glTFPrimitive.attributes.end()) {
|
||||
const tinygltf::Accessor& accessor = input.accessors[glTFPrimitive.attributes.find("POSITION")->second];
|
||||
const tinygltf::BufferView& view = input.bufferViews[accessor.bufferView];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue