Commit Graph

19 Commits

Author SHA1 Message Date
JosiahWI
a1e4c88246
Fix indentation style in CMakeLists 2023-05-15 12:32:45 -05:00
JosiahWI
295ad11b20
Merge branch 'master' into feat/gltf-loader 2023-05-15 09:59:59 -05:00
JosiahWI
850bf1a949
Register Catch2 tests with CTest 2023-01-31 08:42:35 -06:00
jordan4ibanez
32906fc867 spaces->tabs 2023-01-30 21:36:53 -05:00
jordan4ibanez
2a027f755e Update code with requested changes
Fix mistake on github

Comply with changes 1

Comply with requested changes 2

Comply with requested changed 3

Comply with requested changed 4

Requested changed 5

Requested changed 6

Requested changed 7

Requested changed 8

Requested changed 9

Requested changed 10

Requested changes 11

Requested changes 12

This one wasn't even requested

I just turned on my vertical ruler and I'm going to go nuts

Line 81 doesn't exist anymore

Requested changes 13

Requested changes 14

Begin snow man test

Write a lot of tests for snow man

Add to git ignore

Now unignore it

Alphabetical order

Pass by reference

Pass by reference

vertexBuffer is now handled on stack

Preallocate indicesBuffer then reverse it when complete

Undo vertexBuffer stack change causing mac builds to fail

Use direct initialization on the vertexBuffer
2023-01-30 21:04:08 -05:00
Josiah VanderZee
b47858cf80
Fix segfault from reading bad number of indices 2023-01-27 16:17:20 -06:00
Josiah VanderZee
373a33a246
Fix coordinate system change
Old code was inverting the X axis, new code inverts the Z axis.
2023-01-27 16:17:19 -06:00
Josiah VanderZee
93b538cb58
Test vertex normals on cube 2023-01-27 16:17:17 -06:00
Josiah VanderZee
d90b906d26
Test for texture coordinates on cube 2023-01-27 16:17:16 -06:00
Josiah VanderZee
b1260a8927
Scale cube vertices correctly 2023-01-27 16:17:16 -06:00
Josiah VanderZee
e784335115
Add test for blender cube 2023-01-27 16:17:16 -06:00
Josiah VanderZee
1b9d3ca502
Test for correct vertex indices 2023-01-27 16:17:15 -06:00
JosiahWI
46148bbf61
Load vertex coordinates from glTF buffer 2023-01-27 16:17:14 -06:00
JosiahWI
df5a413083
Test invalid JSON
Also converted all .cpp and .h line endings to CRLF in this commit.
2023-01-27 16:17:13 -06:00
JosiahWI
60e70c3cc5
Update vertex test for coordinate system
This is also the first working version of the mesh. I successfully
loaded it in Minetest.
2023-01-27 16:16:18 -06:00
JosiahWI
3cb592369d
Test case when file is nullptr 2023-01-27 16:16:18 -06:00
JosiahWI
336aa204fb
Test that minimal triangle has correct vertices 2023-01-27 16:16:17 -06:00
JosiahWI
4f5588e7e8
Test that minimal triangle returns some mesh 2023-01-27 16:16:17 -06:00
JosiahWI
21ce3d9657
Add test file for glTF mesh loading 2023-01-27 16:16:14 -06:00