diff options
author | Syoyo Fujita <syoyo@lighttransport.com> | 2017-09-25 02:30:24 +0900 |
---|---|---|
committer | Syoyo Fujita <syoyo@lighttransport.com> | 2017-09-25 02:30:24 +0900 |
commit | 75a4bd1d35f489808a3e4dc52d0f9121823fe5f4 (patch) | |
tree | 1fc43a8d5334f96cdf6615ebcbfa473b5cf43067 /models/issue-140-zero-face-idx.obj | |
parent | 7c7335c907907d04bb22c56d1af59e5c88e943f6 (diff) | |
download | tinyobjloader-75a4bd1d35f489808a3e4dc52d0f9121823fe5f4.tar.gz |
Add zero-value check when parsing `f' line. Fixes #140.
Diffstat (limited to 'models/issue-140-zero-face-idx.obj')
-rw-r--r-- | models/issue-140-zero-face-idx.obj | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/models/issue-140-zero-face-idx.obj b/models/issue-140-zero-face-idx.obj new file mode 100644 index 0000000..21a6060 --- /dev/null +++ b/models/issue-140-zero-face-idx.obj @@ -0,0 +1,17 @@ +mtllib issue-140-zero-face-idx.mtl + +v -0.5 -0.5 0 +v 0.5 -0.5 0 +v 0.5 0.5 0 +v -0.5 0.5 0 + +vt 0 0 0 +vt 1 0 0 +vt 1 1 0 +vt 0 1 0 + +vn 0 0 -1 + +usemtl main +f 0/0/0 1/1/0 3/3/0 +f 1/1/0 3/3/0 2/2/0 |