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