Камера как часть сцены

This commit is contained in:
2023-10-17 02:14:37 +03:00
committed by re.kovalev
parent 7e1ffdfdfb
commit 7dba133763
3 changed files with 14 additions and 4 deletions

View File

@@ -4,6 +4,7 @@
#include <list>
#include "Model.h"
#include "Camera.h"
// Класс сцены
class Scene
@@ -20,6 +21,7 @@ class Scene
// Списки объектов, выступающих узлами
std::list<Node> nodes; // Список пустых узлов
std::list<Model> models; // Список моделей для рендера
std::list<Camera> cameras; // Список камер
protected:
void rebuld_tree(const Scene& from); // Перестройка дерева после копирования или присваивания