Syoyo Fujita
3b4e2f3d3c
Merge pull request #341 from mushrom/loopfix
...
Fixing loop index
2022-02-14 17:10:31 +09:00
My Name
763536f5bf
Fixing loop index
2022-02-13 16:31:27 -05:00
Syoyo Fujita
41aacdf808
Merge pull request #339 from yslking/yslking-update-json-hpp-3-10-4
...
update json.hpp to v3.10.4 to compile with c++20 compilers
2021-11-28 22:25:34 +09:00
yslking
287b48319e
update json.hpp to v3.10.4
2021-11-28 15:08:05 +08:00
Syoyo Fujita
134e87705a
Fix typo from PR #320
2021-11-21 18:59:10 +09:00
Syoyo Fujita
af9af1cd7f
Merge branch 'master' of github.com:syoyo/tinygltf
2021-11-21 18:58:39 +09:00
Syoyo Fujita
a503456c79
Merge pull request #331 from abwood/so-updates
...
Remove stackoverflow references from tinygltf.
2021-10-19 21:45:19 +09:00
Alexander Wood
327f0d4aaa
- Remove clang warning suppression. I assume this stackoverflow reference can just be removed as it isn't a code snippet but a repost of clang documentation of ignoring warning levels.
...
- Remove stackoverflow reference that recommends the use of dlib. There's no source that was pulled from this s.o. post, only a recommendation on a library, I wouldn't think a link to s.o. is necessary here. Per the Boost License, I've included a copy of the license along with the snippet
2021-10-14 08:54:59 -04:00
Alexander Wood
9c55aceb51
Build fix.
2021-10-08 20:13:07 -04:00
Alexander Wood
1dce8df2d2
Build fix.
2021-10-08 20:09:08 -04:00
Alexander Wood
007fbafec5
Build fix.
2021-10-08 16:57:56 -04:00
Alexander Wood
d79477fd01
GetBaseFilename contained a logic error in that a filename that does not contain a path separator would result in a crash.
...
Removed the roundUp lambda, as this generalization is not necessary; the caller always attempts 4 byte alignment.
2021-10-08 12:19:13 -04:00
Syoyo Fujita
f8f123d72d
Merge branch 'master' of github.com:syoyo/tinygltf
2021-09-24 17:11:07 +09:00
Syoyo Fujita
674607b577
Describe current status(its stable)
2021-09-24 17:10:29 +09:00
Syoyo Fujita
fa9a4dd428
Merge pull request #330 from cgdae/master
...
Fix for OpenBSD - wordexp.h not available.
2021-08-25 20:25:03 +09:00
Julian Smith
ea13ec88ae
Fix for OpenBSD - wordexp.h not available.
2021-08-25 12:06:08 +01:00
Syoyo Fujita
ffccddf7fe
Merge pull request #329 from syoyo/cmake-add-subdirectory
...
Cmake add subdirectory
2021-07-03 22:09:26 +09:00
Syoyo Fujita
53548920be
Add readme to use tinygtf through cmake + add_subdirectory.
2021-07-03 22:06:29 +09:00
Syoyo Fujita
657564c4b1
Merge branch 'master' into cmake-add-subdirectory
2021-07-03 22:01:46 +09:00
Syoyo Fujita
d886d43777
Merge branch 'master' of github.com:syoyo/tinygltf
2021-06-09 21:23:57 +09:00
Syoyo Fujita
d152dd91b9
GLEW_LIBRARY -> GLEW_LIBRARIES
2021-06-09 21:23:37 +09:00
Syoyo Fujita
a9b18f8e78
Merge pull request #327 from CppProgrammer23/master
...
update enum Type
2021-05-20 20:44:16 +09:00
Idriss Chaouch
67cf72de3f
update enum Type
...
the first element in an enum is 0, so it's not necessarily to affect values from 0 to 7.
2021-05-20 12:11:00 +01:00
Syoyo Fujita
593baaaa67
Merge pull request #326 from xzrunner/master
...
Fix comment on minFilter
2021-05-14 15:06:07 +09:00
zz
56921c23af
Fix comment on minFilter
2021-05-14 13:49:33 +08:00
Syoyo Fujita
6676d66586
Merge pull request #325 from iceydee/scene-extras
...
Store scene extras and extensions on the scene
2021-05-11 19:01:25 +09:00
Mio Nilsson
d8162bd7a5
🐛 Store scene extras and exteions on the scene
...
This was being stored in the wrong place
2021-05-11 11:50:35 +02:00
Syoyo Fujita
605d049476
Merge pull request #322 from syoyo/fix-negative-skeleton-id
...
Do not serialize skeleton id -1
2021-04-29 16:20:42 +09:00
Syoyo Fujita
eb0ecc916c
Add regression test for issue 321
2021-04-29 16:04:52 +09:00
Syoyo Fujita
3b5b7f6adf
Do not write negative skeleton id(skeleton is not assigned).
...
Also ensure `inverseBindMatrices` should not be -2 or other negative values.
2021-04-28 19:15:16 +09:00
Syoyo Fujita
5ba85f9826
Merge pull request #317 from Snowapril/master
...
Delete unused variable initialization code
2021-03-30 03:15:26 +09:00
snowapril
eafd9bed15
Delete unused variable initialization code
...
Line 4536 in tinygltf.h file, there is unused variable initialization code like below.
```c++
const auto pBuffer = pAttribute->buffer();
```
gcc compiler complain about that unused variable.
I found there is no side-effect in `pAttribute->buffer()` call and also pBuffer variable is never used. Therefore I delete that line entirely.
2021-03-30 00:16:04 +09:00
Syoyo Fujita
c5b9e312bd
Merge pull request #314 from Snowapril/master
...
Add (void)err for handling unused variable warning
2021-03-20 19:59:44 +09:00
snowapril
07c2864649
add (void)err for handling unused variable warning
...
I saw in the `ParseExtensionsProperty`(3667) function,
unused variable err argument is wrapped with (void) keword.
I think err argument in the `ParseDracoExtension`(4472) is exactly
same situation with the above one.
For consistency, I think it need to be added (void)err in the
`ParseDracoExtension` function.
2021-03-20 19:25:58 +09:00
Syoyo Fujita
a557bd0deb
Merge pull request #312 from AlvaroBarua/no_include_rapidjson
...
Added TINYGLTF_NO_INCLUDE_RAPIDJSON
2021-03-19 14:32:35 +09:00
AlvaroBarua
0fd9b3cd31
Updated Readme.md
2021-03-18 18:40:09 +00:00
Alvaro Barua
2bd38a0d51
Added TINYGLTF_NO_INCLUDE_RAPIDJSON for consistency and because my project already used rapidjson/
2021-03-18 00:21:23 +00:00
Syoyo Fujita
ec03333722
Merge pull request #310 from syoyo/write-assert-version
...
`asset.version` is a required field
2021-03-03 00:35:55 +09:00
Syoyo Fujita
dd002c761f
asset.version is a required field so write "2.0" when asset.version is empty. Fixes #308
2021-03-02 19:08:29 +09:00
Syoyo Fujita
879d53d130
Add CMake file and Makefile for examples/build-gltf
2021-02-26 18:34:00 +09:00
Dov Grobgeld
2cb49f138a
Add example for creating a triangle gltf file from scratch
2021-02-26 09:30:05 +02:00
Syoyo Fujita
939e85f452
Merge pull request #306 from mahiuchun/const
...
Drop an unnecessary 'const'.
2021-02-21 16:07:51 +09:00
Hill Ma
d118748400
Drop an unnecessary 'const'.
2021-02-20 22:30:44 -08:00
Syoyo Fujita
4417307835
Merge pull request #305 from Selmar/patch-2
...
check correct `extensionsUsed` for serialization
2021-02-02 14:17:34 +09:00
Selmar
089b517943
check correct extensionsUsed for serialization
2021-02-01 19:24:41 +01:00
Syoyo Fujita
e5e9c6cbf6
Merge pull request #303 from syoyo/int-minmax-serialize
...
Issue #301 . Serialize accessor min/vax value as int
2021-01-22 03:40:52 +09:00
Syoyo Fujita
fa5a7902e1
Issue #301 . Serialize accessor min/vax value as int if its component type is an integer.
2021-01-21 20:33:11 +09:00
Syoyo Fujita
497a0abf78
Merge pull request #299 from DethRaid/patch-1
...
Add my project to the README
2020-12-23 15:46:32 +09:00
David Dubois
b05efb4733
Add my project to the README
...
My personal project uses tinygltf so i want to add it to the "Projects using TinyGLTF" section of the README
2020-12-22 22:32:59 -08:00
syoyo
87593a71cf
Make cmake script add_subdirectory friendly.
2020-12-18 01:10:21 +09:00