Функция загрузчик с анимациями
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
|
||||
#include "Model.h"
|
||||
#include "Camera.h"
|
||||
#include "Animation.h"
|
||||
|
||||
#include <GLM/gtc/type_ptr.hpp>
|
||||
#include <GLM/gtc/quaternion.hpp>
|
||||
@@ -33,7 +34,9 @@ class Scene
|
||||
std::list<Node> nodes; // Список пустых узлов
|
||||
std::list<Model> models; // Список моделей для рендера
|
||||
std::list<Camera> cameras; // Список камер
|
||||
|
||||
|
||||
std::vector<Animation> animations; // Список анимаций
|
||||
std::map<std::string, size_t> animation_names; // Имя анимации - индекс
|
||||
protected:
|
||||
void rebuld_tree(const Scene& from); // Перестройка дерева после копирования или присваивания
|
||||
template <class T>
|
||||
|
||||
Reference in New Issue
Block a user