forked from Dynamitos/Seele
Fixing destruction
This commit is contained in:
1 parent
67c4ce2f7a
commit
3b6eb3ebcc
31 files changed
+173
-82
No files matched your search
@@ -9,7 +9,7 @@
|
||||
#include "Component/Transform.h"
|
||||
#include "Graphics/Graphics.h"
|
||||
#include "Graphics/Mesh.h"
|
||||
|
||||
#include "Graphics/StaticMeshVertexData.h"
|
||||
|
||||
using namespace Seele;
|
||||
|
||||
@@ -17,4 +17,12 @@ Scene::Scene(Gfx::PGraphics graphics) : graphics(graphics), lightEnv(new LightEn
|
||||
|
||||
Scene::~Scene() {}
|
||||
|
||||
void Scene::bakeLighting() {
|
||||
const auto& matData = StaticMeshVertexData::getInstance()->getMaterialData();
|
||||
for (const auto& mat : matData)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
void Scene::update(float deltaTime) { physics.update(deltaTime); }
|
||||
Reference in new issue
Block a user