X-Git-Url: http://git.mutantstargoat.com?a=blobdiff_plain;f=src%2Fvulkan%2Fmesh-vk.cc;h=2f0c5fb8db676d7b29b2fb3632117bd5ff26fae0;hb=855c42d8e50fff743fd7b1be5e91cb0db18def77;hp=d9d66654d24b560d264dd5f75b2406548b9dd79f;hpb=64e2adbbab48320b6cd792e515b44cea112a3be4;p=demo diff --git a/src/vulkan/mesh-vk.cc b/src/vulkan/mesh-vk.cc index d9d6665..2f0c5fb 100644 --- a/src/vulkan/mesh-vk.cc +++ b/src/vulkan/mesh-vk.cc @@ -1,3 +1,4 @@ +#include #include "mesh-vk.h" MeshVK::MeshVK() {} @@ -29,4 +30,19 @@ MeshVK::~MeshVK() void MeshVK::update_vertex_data() { -} \ No newline at end of file + if(vertices.empty()) { + printf("empty vertices!\n"); + return; + } + +// if(num_vertices != vertices.size()) { +// } +} + +void MeshVK::draw() const +{ +} + +void MeshVK::draw_normals(float scale) const +{ +}