+ if(!(vk_normals = vku_create_buffer(normals.size() * sizeof(Vec3),
+ VK_BUFFER_USAGE_VERTEX_BUFFER_BIT))) {
+ fprintf(stderr, "Failed to create the buffer for the normals.\n");
+ return false;
+ }
+
+ if(!(vk_tex_coords = vku_create_buffer(tex_coords.size() * sizeof(Vec2),
+ VK_BUFFER_USAGE_VERTEX_BUFFER_BIT))) {
+ fprintf(stderr,
+ "Failed to create the buffer for the texture coordinates.\n");
+ return false;
+ }
+
+ if(!(vk_indices = vku_create_buffer(indices.size() * 2,
+ VK_BUFFER_USAGE_INDEX_BUFFER_BIT))) {
+ fprintf(stderr, "Failed to create the indices buffer.\n");
+ return false;
+ }
+
+ //TODO XXX
+ /* map the buffers */
+