updated default values

main
noah metz 2024-01-10 13:30:15 -07:00
parent 9bfd2fab57
commit 406d2faf4c
1 changed files with 5 additions and 3 deletions

@ -2849,9 +2849,11 @@ VulkanContext* init_vulkan(GLFWwindow* window, uint32_t max_frames_in_flight) {
return 0; return 0;
} }
glm_quat_identity(position->rotation); glm_quat_identity(position->rotation);
position->scale[0] = 0.1f; position->scale[0] = 1.f;
position->scale[1] = 0.1f; position->scale[1] = 1.f;
position->scale[2] = 0.1f; position->scale[2] = 1.f;
position->position[0] = 0.0f;
position->position[1] = 0.0f;
position->position[2] = 1.0f; position->position[2] = 1.0f;
bool map_result = map_add(&triangle_object_textured.attributes, ATTRIBUTE_ID_POSITION, position); bool map_result = map_add(&triangle_object_textured.attributes, ATTRIBUTE_ID_POSITION, position);
if(map_result == 0) { if(map_result == 0) {