From d6084061b334dd810c651ec98521ed593c316b11 Mon Sep 17 00:00:00 2001 From: Light7734 Date: Tue, 11 Oct 2022 10:32:51 +0000 Subject: [PATCH] fix: typo in glfwloading example --- examples/gltfloading/gltfloading.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/gltfloading/gltfloading.cpp b/examples/gltfloading/gltfloading.cpp index 7a38fcef..548e0250 100644 --- a/examples/gltfloading/gltfloading.cpp +++ b/examples/gltfloading/gltfloading.cpp @@ -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];