From 07ceb4c31323e0ec34af050b86f66a67a2fbd256 Mon Sep 17 00:00:00 2001 From: My Name Date: Sun, 13 Feb 2022 16:31:27 -0500 Subject: [PATCH] Fixing loop index --- loader_example.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/loader_example.cc b/loader_example.cc index dbe10ad..453aa97 100644 --- a/loader_example.cc +++ b/loader_example.cc @@ -524,7 +524,7 @@ static void Dump(const tinygltf::Model &model) { << std::endl; std::cout << Indent(1) << "channels : [ " << std::endl; - for (size_t j = 0; i < animation.channels.size(); i++) { + for (size_t j = 0; j < animation.channels.size(); j++) { std::cout << Indent(2) << "sampler : " << animation.channels[j].sampler << std::endl;