Загрузчик моделей

This commit is contained in:
2022-11-14 19:56:34 +03:00
parent d2ab94fcde
commit f309456036
4 changed files with 165 additions and 44 deletions

View File

@@ -6,6 +6,9 @@
#include "Model.h"
#include "Camera.h"
#define DEFAULT_MTL_DIR "./"
class Scene loadOBJtoScene(const char* filename, const char* mtl_directory = DEFAULT_MTL_DIR, const char* texture_directory = DEFAULT_MTL_DIR);
// Класс сцены
class Scene
{