Now Models can be loaded

This commit is contained in:
Ano-sys
2025-04-06 00:36:45 +02:00
parent edc4931b67
commit a4a1847f95
6 changed files with 16146 additions and 8 deletions
+6 -1
View File
@@ -4,6 +4,7 @@
* - glfw
* - glm
* - stb
* - tinyobjloader
*/
#define DEBUG 1
@@ -14,7 +15,11 @@ int main(int argc, char **argv){
std::cout << "Program path: " << argv[0] << std::endl;
try{
vapp::Vulkan app;
app.run("Vulkan", 1200, 900);
app.MODEL_PATH = "models/viking_room.obj";
app.TEXTURE_PATH = "textures/viking_room.png";
app.run("Vulkan", 800, 800);
}
catch(const std::exception& e){
std::cerr << e.what() << std::endl;