diff options
Diffstat (limited to 'src/entities.cpp')
| -rw-r--r-- | src/entities.cpp | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/entities.cpp b/src/entities.cpp index 70b3a58..0c7003c 100644 --- a/src/entities.cpp +++ b/src/entities.cpp @@ -73,6 +73,21 @@ void EntityType_Init() { } } ); + globalEntityTypes.Push( + EntityType { + .modelsDir = "assets/models", + .modelFile = "plane.gltf", + .entityTypeCode = "EntTypePlane", + .entityHandle = ECS_CreateEntity(), + .startingInstanceCount = 16, + .Importer_GLTF = { + .AccessorIndexVertex = 0, + .AccessorIndexNormal = 1, + .AccessorIndexUV = 2, + .AccessorIndexIndex = 3, + } + } + ); VkDescriptorSetLayoutBinding vkDescriptorSetLayoutBindings[2]; for (long i = 0; i < 2; ++i) { |
