JosiahWI
60a5f5746f
Return vector from getVertices
2024-04-18 07:28:03 -05:00
JosiahWI
ea22b642c1
Refactor getIndices()
2024-04-18 07:27:42 -05:00
JosiahWI
50da04297f
Add r-value reference constructor to ModelParser
2024-04-18 07:27:20 -05:00
JosiahWI
85fdf95afa
Fix function declaration indents
2024-04-18 07:26:48 -05:00
JosiahWI
79bfd8afbe
Move parsing methods into ModelParser class
2024-04-18 07:26:11 -05:00
JosiahWI
7e0d57b4fe
Reorganize CGLTFMeshFileLoader help functions
...
I moved them all into static methods and changed the ordering in the
source file so that createMesh() would be close to the top of the file.
I also corrected formatting in some of the function declarations since I
had to change them anyway.
2024-04-18 07:25:34 -05:00
JosiahWI
eaebd34c4e
Remove unneeded tinygltf include from header
2024-04-18 07:24:01 -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