summaryrefslogtreecommitdiff
path: root/src/entities.hpp
diff options
context:
space:
mode:
authorJonathan Bradley <jcb@pikum.xyz>2023-12-28 16:05:02 -0500
committerJonathan Bradley <jcb@pikum.xyz>2023-12-28 16:05:02 -0500
commit499206dcb39e9ed0c3e21e3c580f556218e0c693 (patch)
treeff5424e4678f5f83f224c99f2d469573a5e720f6 /src/entities.hpp
parent2aa963fc37dbf61a008031d82e2aac87bf89f9db (diff)
EntityType falls back to a default texture if not provided
Diffstat (limited to 'src/entities.hpp')
-rw-r--r--src/entities.hpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/entities.hpp b/src/entities.hpp
index bdcb3eb..41ae7fd 100644
--- a/src/entities.hpp
+++ b/src/entities.hpp
@@ -27,10 +27,10 @@ struct EntityType {
VkDescriptorPool vkDescriptorPool = VK_NULL_HANDLE;
uint32_t startingInstanceCount = 1024;
struct Importer_GLTF {
- int16_t AccessorIndexVertex = -1;
- int16_t AccessorIndexNormal = -1;
- int16_t AccessorIndexUV = -1;
- int16_t AccessorIndexIndex = -1;
+ int16_t AccessorIndexVertex = 0;
+ int16_t AccessorIndexNormal = 1;
+ int16_t AccessorIndexUV = 2;
+ int16_t AccessorIndexIndex = 3;
} Importer_GLTF;
struct {
btCollisionShape *shape = nullptr;