Lars Mueller
35466b227a
Add applicable tests from animated branch
2024-06-12 20:18:46 +02:00
Lars Mueller
8547a33cc7
Use SKIP now that we can
2024-06-12 18:08:44 +02:00
Lars Mueller
31ab21ffd5
Update devtest mod count, add mod.conf
2024-06-12 17:57:08 +02:00
Lars Mueller
0ce6b3f8c8
Implement clang-tidy suggestions in tiniergltf
2024-06-12 17:57:08 +02:00
Lars Mueller
616a27a966
Work around lack of SKIP
2024-06-12 17:57:08 +02:00
Lars Mueller
39691664ba
Add spider model
2024-06-12 17:57:08 +02:00
Lars Mueller
d6b6eec1bf
Address minor TODOs in tiniergltf
2024-06-12 17:57:08 +02:00
Lars Mueller
997926461e
Test fixes (get rid of device creation, fix error case tests)
2024-06-12 17:57:08 +02:00
Lars Mueller
37c3edfc38
Move test assets to devtest, add corresponding entities
2024-06-12 17:57:08 +02:00
Lars Mueller
be03a435b8
Add copy & move constructor from STL string to Irrlicht string
2024-06-12 17:57:08 +02:00
Lars Mueller
580a71554d
Improve docs
2024-06-12 17:57:08 +02:00
Lars Mueller
1d185c1ce7
Fix triangle with vertex stride test case
2024-06-12 17:57:08 +02:00
Lars Mueller
451978dc2c
Move everything to sections of one big "gltf" test case
2024-06-12 17:57:08 +02:00
Lars Mueller
59a173b51b
Clean up unit tests
2024-06-12 17:57:08 +02:00
Lars Mueller
50c8604de1
Fix snow man test texture coordinates
...
The current texture coordinates specified in the test did not use sufficient precision.
It is unfortunately common for software to round away the last bit when displaying floats.
This issue was previously masked by Irrlicht using a float comparison with tolerance for vectors,
which was changed in 3452857 to an exact float comparison for unrelated reasons.
Manual inspection of the buffer reveals that the values produced by the reader are correct.
2024-06-12 17:57:08 +02:00
Lars Mueller
50d20a854c
Fix -Wsign-compare warning
2024-06-12 17:57:08 +02:00
Josiah VanderZee
d5450c62bf
Add f postfix to floating point test values
2024-06-12 17:57:08 +02:00
Josiah VanderZee
2a9e570cbc
Fix strict aliasing violations in glTF tests
2024-06-12 17:57:08 +02:00
Josiah VanderZee
8f6c24cbe9
Fix improper unit tests paths again
2024-06-12 17:57:08 +02:00
Josiah VanderZee
d4d9035ee5
Fix improper unit test paths
2024-06-12 17:57:08 +02:00
Josiah VanderZee
0eef3b07b8
Fix minetestserver build
2024-06-12 17:57:08 +02:00
Josiah VanderZee
b45aa1cd72
Get unit tests to build
2024-06-12 17:57:08 +02:00
Lars Mueller
8c35461af2
Fix/improve reading from accessors
...
- Alignment issues
- Use os::Byteswap::byteswap
- Directly write into matrices
2024-06-12 17:57:08 +02:00
Lars Mueller
be375cdfb6
Do not stack-allocate SSkinMeshBuffer
2024-06-12 17:57:08 +02:00
Josiah VanderZee
b419d0e445
Use __BIG_ENDIAN_
...
This also corrects the function name to be snake_case because it is
not a method.
2024-06-12 17:57:08 +02:00
Josiah VanderZee
3a4dde48e8
Remove unneeded header
2024-06-12 17:57:08 +02:00
JosiahWI
28299e7910
Program more defensively
...
Co-authored-by: sfan5 <sfan5@live.de>
2024-06-12 17:57:08 +02:00
Lars Mueller
942d46d37c
Remove unused includes
2024-06-12 17:57:08 +02:00
Lars Mueller
88383e40db
Reduce verbosity by introducing SelfType alias
2024-06-12 17:57:08 +02:00
Lars Mueller
d4de89cbe7
Remove unnecessary constructor
2024-06-12 17:57:07 +02:00
Lars Mueller
b734119d05
Move data directly rather than copying
2024-06-12 17:57:07 +02:00
Lars Mueller
818ac9ea3d
Replace some spaces with tabs
2024-06-12 17:57:07 +02:00
Lars Mueller
a372397416
Remove now obsolete getters for accessor indices
2024-06-12 17:57:07 +02:00
Lars Mueller
a2311dc734
Check that enough bytes could be read
2024-06-12 17:57:07 +02:00
Lars Mueller
00d23d65e0
Add SPDX-License-Identifiers
2024-06-12 17:57:07 +02:00
Josiah VanderZee
315c03b99a
Change "reflecting" to "mirroring" for readability
2024-06-12 17:57:07 +02:00
Lars Mueller
411969c87c
Bring accessor implementation from other branch over
2024-06-12 17:57:07 +02:00
Josiah VanderZee
8a2cae1065
Mark transformation matrices as const
2024-06-12 17:57:07 +02:00
Josiah VanderZee
5bd1d052ad
Remove unused method isSparseAccessor
2024-06-12 17:57:07 +02:00
Josiah VanderZee
b95dcb7e7a
Preallocate the indices vector
2024-06-12 17:57:07 +02:00
Josiah VanderZee
da722a833f
Compile with runtime type information
2024-06-12 17:57:07 +02:00
Josiah VanderZee
c803a9c895
Add comment clarifying linking of object libraries
2024-06-12 17:57:07 +02:00
Josiah VanderZee
b9b03557c6
Use main project cxx standard for unit tests
2024-06-12 17:57:07 +02:00
Josiah VanderZee
1baa3f1e34
Clean up code style
2024-06-12 17:57:07 +02:00
Josiah VanderZee
26276729ed
Remove EAMT_GLTF as it serves no purpose
2024-06-12 17:57:07 +02:00
JosiahWI
ec5950033f
Add glTF loader for static meshes
2024-06-12 17:57:07 +02:00
Mikita Wiśniewski
9def45aa80
Add zstd to Void Linux dependencies ( #14748 )
2024-06-12 12:39:15 +02:00
grorp
85878d894a
Android: Fix back button sometimes not working as ESC ( #14743 )
2024-06-11 22:37:57 +02:00
Lars Mueller
ae4cd1ebf1
Corresponding code changes
2024-06-10 21:15:30 +02:00
minetest
781c7a800f
Replace Catch2 with v3 amalgamation
2024-06-10 21:15:30 +02:00