Accessor.min and Accessor.max are now optional parameter.

Set BufferView.byteStride default value to 0(= tightly packed). Fixes #13.
This commit is contained in:
Syoyo Fujita
2017-07-12 18:29:29 +09:00
parent 0406cb9725
commit 0fc763d219
3 changed files with 57 additions and 24 deletions
+2
View File
@@ -409,6 +409,8 @@ static void Dump(const tinygltf::Model &model) {
<< std::endl;
std::cout << Indent(2) << "byteOffset : " << bufferView.byteOffset
<< std::endl;
std::cout << Indent(2) << "byteStride : " << bufferView.byteStride
<< std::endl;
std::cout << Indent(2)
<< "target : " << PrintTarget(bufferView.target)
<< std::endl;