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
1 merge request!51Resolve "Laden mehrer Meshes mit Materials und Textures"
Pipeline #25452 passed
......@@ -47,7 +47,7 @@ namespace vkcv::asset {
/* This enum matches modes in fx-gltf, the library returns a standard mode
* (TRIANGLES) if no mode is given in the file. */
enum PrimitiveMode {
enum class PrimitiveMode : uint8_t {
POINTS=0, LINES, LINELOOP, LINESTRIP, TRIANGLES, TRIANGLESTRIP,
TRIANGLEFAN
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment