Merge branch 'fastgltf'
This commit is contained in:
@@ -10,6 +10,7 @@
|
||||
#include "open_engine/renderer/renderer3d.hpp"
|
||||
#include "open_engine/scene/components.hpp"
|
||||
#include "panels/content_browser.hpp"
|
||||
#include "panels/models_panel.hpp"
|
||||
#include "panels/scene_hierarchy.hpp"
|
||||
|
||||
#include <Jolt/Physics/Collision/Shape/Shape.h>
|
||||
@@ -585,6 +586,7 @@ namespace OpenEngine {
|
||||
DrawStats();
|
||||
scene_hierarchy.OnImGuiRender();
|
||||
browser.OnImGuiRender();
|
||||
ModelsPanelOnImGuiRender();
|
||||
DrawViewport();
|
||||
DrawPlayBar();
|
||||
|
||||
|
||||
10
editor/include/panels/models_panel.hpp
Normal file
10
editor/include/panels/models_panel.hpp
Normal file
@@ -0,0 +1,10 @@
|
||||
#ifndef MODELS_PANEL_HPP
|
||||
#define MODELS_PANEL_HPP
|
||||
|
||||
namespace OpenEngine {
|
||||
|
||||
void ModelsPanelOnImGuiRender();
|
||||
|
||||
}
|
||||
|
||||
#endif // MODELS_PANEL_HPP
|
||||
20
editor/src/panels/models_panel.cpp
Normal file
20
editor/src/panels/models_panel.cpp
Normal file
@@ -0,0 +1,20 @@
|
||||
#include <panels/models_panel.hpp>
|
||||
#include <open_engine.hpp>
|
||||
|
||||
#include "imgui.h"
|
||||
#include <vector>
|
||||
|
||||
namespace OpenEngine {
|
||||
|
||||
static std::vector<Ref<Model3D>> temp_model_list;
|
||||
|
||||
void ModelsPanelOnImGuiRender()
|
||||
{
|
||||
ImGui::Begin("Models");
|
||||
|
||||
|
||||
|
||||
ImGui::End();
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user