From 6dfae80301b20bb17e216b14d950694e1253b6af Mon Sep 17 00:00:00 2001 From: Syoyo Fujita Date: Sun, 5 Jun 2016 22:17:19 +0900 Subject: [PATCH] Missing indices print. --- loader_example.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/loader_example.cc b/loader_example.cc index 15a2860..8cbff1d 100644 --- a/loader_example.cc +++ b/loader_example.cc @@ -146,6 +146,8 @@ static void DumpNode(const tinygltf::Node &node, int indent) { static void DumpPrimitive(const tinygltf::Primitive &primitive, int indent) { std::cout << Indent(indent) << "material : " << primitive.material << std::endl; + std::cout << Indent(indent) << "indices : " << primitive.indices + << std::endl; std::cout << Indent(indent) << "mode : " << PrintMode(primitive.mode) << "(" << primitive.mode << ")" << std::endl; std::cout << Indent(indent)