Commit Graph

14 Commits

Author SHA1 Message Date
Josiah VanderZee
0216a02ed4 Fix segfault from reading bad number of indices 2024-04-18 07:21:59 -05:00
Josiah VanderZee
a326f27f6a Fix coordinate system change
Old code was inverting the X axis, new code inverts the Z axis.
2024-04-18 07:21:59 -05:00
Josiah VanderZee
7220104c37 Test vertex normals on cube 2024-04-18 07:21:58 -05:00
Josiah VanderZee
72cb09a566 Test for texture coordinates on cube 2024-04-18 07:21:58 -05:00
Josiah VanderZee
742307f077 Scale cube vertices correctly 2024-04-18 07:21:58 -05:00
Josiah VanderZee
837b6be14e Add test for blender cube 2024-04-18 07:21:58 -05:00
Josiah VanderZee
82c547d50f Test for correct vertex indices 2024-04-18 07:21:56 -05:00
JosiahWI
a20ac715ce Load vertex coordinates from glTF buffer 2024-04-18 07:20:22 -05:00
JosiahWI
21c3c16557 Test invalid JSON
Also converted all .cpp and .h line endings to CRLF in this commit.
2024-04-18 07:19:30 -05:00
JosiahWI
2ae436cb2c Update vertex test for coordinate system
This is also the first working version of the mesh. I successfully
loaded it in Minetest.
2024-04-18 07:18:30 -05:00
JosiahWI
30d5748e0c Test case when file is nullptr 2024-04-18 07:18:30 -05:00
JosiahWI
5e2d9d947e Test that minimal triangle has correct vertices 2024-04-18 07:18:30 -05:00
JosiahWI
a9f56df279 Test that minimal triangle returns some mesh 2024-04-18 07:18:29 -05:00
JosiahWI
92862a3a2d Add test file for glTF mesh loading 2024-04-18 07:16:20 -05:00