Sammy Newhide
e9573349e7
Remove explicit default constructor for Accessor
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-05-05 16:43:20 -07:00
Sammy Newhide
8a319d3efc
Initialize Accessor::Sparse members to default values
2025-05-05 15:20:30 -07:00
Syoyo Fujita
b956fa3e9d
Merge pull request #512 from ctrlaltf2/oob-fix
...
Add bounds check to images loaded from bufferviews
v2.9.5
2025-01-22 22:45:07 +09:00
ctrlaltf2
baa70db5a8
Add bounds check to images loaded from bufferviews
2025-01-20 23:43:07 -05:00
Syoyo Fujita
5f330f3952
Merge pull request #509 from NoirMorilec/fix-no-fs
...
Added NO_FS definition for std::ofstream usage
v2.9.4
2024-12-30 22:11:09 +09:00
Leonid
5d7fa94a4b
Added NO_FS definition for std::ofstream usage
2024-12-30 03:12:20 +08:00
Syoyo Fujita
a93facf9b2
Merge pull request #507 from thearchivalone/release
...
Documentation: Submodule hint added
2024-12-21 19:59:42 +09:00
Brad
0c4b226f1f
Documentation: Submodule hint added
2024-12-20 17:49:51 -06:00
Syoyo Fujita
2d31d6fe74
Merge pull request #504 from nim65s/vendor
2024-10-16 23:27:42 +09:00
Syoyo Fujita
50a29a6cf6
Merge pull request #503 from nim65s/release
2024-10-16 23:26:53 +09:00
Guilhem Saurel
bf23ecdfe1
CMake: fix export install dir
2024-10-16 15:53:48 +02:00
Guilhem Saurel
ce27d3cb2b
CMake: allow opt-out of installing vendored headers
2024-10-16 14:58:42 +02:00
Syoyo Fujita
14ba27113e
Merge pull request #501 from msklywenn/release
...
Fix Animation extensions being loaded in place of Sampler extensions
v2.9.3
2024-08-08 21:47:56 +09:00
Daniel Borges
1b983add49
Merge branch 'syoyo:release' into release
2024-08-08 10:25:11 +02:00
Syoyo Fujita
f132d242aa
Merge pull request #496 from ptc-tgamper/bug/issue-495
...
Allow WriteImageDataFunction() callback to be called with empty images
2024-07-26 21:44:16 +09:00
Thomas Gamper
bde9ad61c1
fixes #495
...
Fix issues that block custom image loaders and writers to deal with empty images
2024-07-23 11:45:54 +02:00
Daniel Borges
314faac311
fixed ParseAnimation loading animation's extensions into sampler instead of sample's extensions.
2024-07-19 12:34:16 +02:00
Syoyo Fujita
3cb2822512
Merge pull request #493 from ptc-tgamper/bug/model_clear_on_load
...
Properly clear the model before loading
v2.9.2
2024-07-06 02:43:52 +09:00
Thomas Gamper
7c16fd3b43
Properly clear the model before loading
2024-07-05 08:57:36 +02:00
Syoyo Fujita
35d3f5ae0a
Update README.md
2024-07-04 03:01:46 +09:00
Syoyo Fujita
5a20fbd7f7
Merge pull request #492 from danwillm/inverse-bind-matrix
...
Make inverseBindMatrices optional
v2.9.1
2024-07-04 02:59:35 +09:00
danwillm
0e28f1ef38
Add test for inverse bind matrices being optional
2024-07-01 22:32:17 +01:00
danwillm
54fd914bc1
Make inverseBindMatrices optional
2024-07-01 18:31:00 +01:00
Syoyo Fujita
43055c0ed1
bump minor version.
v2.9.0
2024-06-28 21:30:43 +09:00
Syoyo Fujita
953bf8bd1c
Merge pull request #491 from ptc-tgamper/bug/image_saving
...
Fix images not being saved due to missing filesystem callbacks
2024-06-28 21:24:53 +09:00
Thomas Gamper
9cf25ef930
fixes #487
...
Support image as_is flag in loading and saving
2024-06-28 12:17:38 +02:00
Thomas Gamper
a440b44ef9
fixes #473
...
tiny_gltf.h - explicitly pass filesystem callbacks to image related functions
tester.cc - add respective test case, fix image uri test case
2024-06-25 15:12:30 +02:00
Syoyo Fujita
efe2957c4a
Merge pull request #489 from SeanCurtis-TRI/PR_callback_as_function
...
Update typedefs of C-style function pointers to std::function
v2.8.23
2024-06-12 04:01:37 +09:00
Sean Curtis
4692f7a714
Remove asserts
2024-06-10 14:18:31 -07:00
Sean Curtis
5d1882cf2f
Update typedefs of C-style function pointers to std::function
...
This allows for the callback to maintain their own state (without recourse
to globals).
In addition, added some incidental clean up:
- URICallback, passed by pointer, is now asserted to be non-null before
accessing.
- FSCallbacks are validated when they are set (in debug builds).
2024-06-06 07:45:01 -07:00
Syoyo Fujita
9aa1c3c393
Merge pull request #486 from pmcgvr/release
...
Fix stripping of slashes from paths
v2.8.22
2024-05-24 02:49:22 +09:00
Syoyo Fujita
394c48c25d
Merge pull request #485 from bwrsandman/patch-1
...
msvc 32bit: Fix C4244 warning
2024-05-21 04:11:31 +09:00
Patrick Mc Gartoll
30457a5373
Fix stripping of slashes from paths
2024-05-16 18:11:26 -07:00
Sandy
73b2d0926f
msvc 32bit: Fix C4244 warning
...
On 32 bit msvc compilers with warnings on, there are C4244 warnings about from 'std::streamoff' to size_t to vector::size_type
2024-05-10 08:47:23 -04:00
Syoyo Fujita
3a65e2ddb8
Merge pull request #482 from jam3sward/fix-c4018-warnings-msvc-win32
...
Fix C4018 warnings in MSVC on WIN32
2024-03-27 03:43:42 +09:00
jamesvert
8a61c041d5
Resolve overload ambiguity in VS2015 (version 14.0)
2024-03-26 11:32:43 +00:00
jamesvert
c74040e9f0
Fix C4018 warnings in MSVC on WIN32
2024-03-26 11:06:16 +00:00
Syoyo Fujita
223a51270a
Merge pull request #481 from jam3sward/fix-c4267-warnings-vs-win32
...
Fix C4267 warnings in Visual Studio on WIN32
2024-03-26 05:23:03 +09:00
James Ward
d98da79545
Fix C4267 warnings in Visual Studio on WIN32
2024-03-25 17:50:33 +00:00
Syoyo Fujita
26d0bc2e1a
Merge pull request #479 from The0Dev/fix_wopen_ronly
...
Added the pmode argument to _wopen to fix the access permission on MinGW
2024-03-26 02:36:27 +09:00
Syoyo Fujita
b2c885f9c7
Merge pull request #480 from ptc-tgamper/bug/msft_lod_extension_used
...
Bug/msft lod extension used
2024-03-26 02:35:51 +09:00
Thomas Gamper
8248a41b9e
tester.cc - extend MSFT_lod test
2024-03-25 17:01:08 +01:00
Thomas Gamper
eb5d4ade15
tiny_gltf.h - register MSFT_lod with the model's used extensions
2024-03-25 17:00:41 +01:00
TheDev
9f7af47e45
Added the pmode argument to _wopen to fix the access permission on MinGW
2024-03-25 18:21:20 +03:00
Syoyo Fujita
b7f07dc946
Merge pull request #475 from jam3sward/issue-474
...
M_PI was not defined by <cmath>
2024-03-20 21:11:56 +09:00
James Ward
e3b6789a7c
M_PI was not defined by <cmath>
2024-03-19 19:06:19 +00:00
Syoyo Fujita
d9c2bbe90c
Merge pull request #471 from ptc-tgamper/ftr/msft_lods
...
[Feature] Add basic support for MSFT_lod extension
v2.8.21
2024-02-06 23:22:38 +09:00
Thomas Gamper
b8366a1c4b
tester.cc - add test case for the crash fix in KHR_audio node serialization
2024-02-06 14:48:58 +01:00
Thomas Gamper
ec027b581b
tester.cc - add MSFT_lods test case
2024-02-05 17:03:16 +01:00
Thomas Gamper
6bfcb71a0c
tiny_gltf.h - add/remove MSFT_extension as required
2024-02-05 16:50:46 +01:00