Skip to content
Snippets Groups Projects
Commit d5bd938c authored by Trevor Hollmann's avatar Trevor Hollmann
Browse files

[#63] Type safety for PrimitiveMode enum.

parent e28ad73e
No related branches found
No related tags found
Loading
Pipeline #25452 passed
...@@ -47,7 +47,7 @@ namespace vkcv::asset { ...@@ -47,7 +47,7 @@ namespace vkcv::asset {
/* This enum matches modes in fx-gltf, the library returns a standard mode /* This enum matches modes in fx-gltf, the library returns a standard mode
* (TRIANGLES) if no mode is given in the file. */ * (TRIANGLES) if no mode is given in the file. */
enum PrimitiveMode { enum class PrimitiveMode : uint8_t {
POINTS=0, LINES, LINELOOP, LINESTRIP, TRIANGLES, TRIANGLESTRIP, POINTS=0, LINES, LINELOOP, LINESTRIP, TRIANGLES, TRIANGLESTRIP,
TRIANGLEFAN TRIANGLEFAN
}; };
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment