Add mesh class

- Fix compile errors due to not adding files to git
This commit is contained in:
Thraix
2023-02-07 22:22:53 +01:00
parent 827572eada
commit 1e7d08250e
10 changed files with 196 additions and 75 deletions
+2 -2
View File
@@ -20,8 +20,8 @@ namespace Copium
VkSamplerCreateInfo createInfo{};
createInfo.sType = VK_STRUCTURE_TYPE_SAMPLER_CREATE_INFO;
createInfo.magFilter = VK_FILTER_LINEAR;
createInfo.minFilter = VK_FILTER_LINEAR;
createInfo.magFilter = VK_FILTER_LINEAR; // TODO: Some way to control this
createInfo.minFilter = VK_FILTER_LINEAR; // TODO: Some way to control this
createInfo.addressModeU = VK_SAMPLER_ADDRESS_MODE_CLAMP_TO_EDGE;
createInfo.addressModeV = VK_SAMPLER_ADDRESS_MODE_CLAMP_TO_EDGE;
createInfo.addressModeW = VK_SAMPLER_ADDRESS_MODE_CLAMP_TO_EDGE;