Files
Seele/src/Engine/Scene/Scene.cpp
T

20 lines
582 B
C++
Raw Normal View History

2020-05-05 01:51:13 +02:00
#include "Scene.h"
2024-06-09 12:20:04 +02:00
#include "Actor/PointLightActor.h"
#include "Asset/AssetRegistry.h"
#include "Asset/MaterialAsset.h"
#include "Asset/TextureAsset.h"
#include "Component/DirectionalLight.h"
#include "Component/Mesh.h"
#include "Component/PointLight.h"
#include "Component/Transform.h"
2020-09-19 14:36:50 +02:00
#include "Graphics/Graphics.h"
2022-11-30 10:19:45 +01:00
#include "Graphics/Mesh.h"
2024-06-09 12:20:04 +02:00
2020-05-05 01:51:13 +02:00
using namespace Seele;
2024-06-09 12:20:04 +02:00
Scene::Scene(Gfx::PGraphics graphics) : graphics(graphics), lightEnv(new LightEnvironment(graphics)), physics(registry) {}
2020-05-05 01:51:13 +02:00
2024-06-09 12:20:04 +02:00
Scene::~Scene() {}
2020-05-05 01:51:13 +02:00
2024-06-09 12:20:04 +02:00
void Scene::update(float deltaTime) { physics.update(deltaTime); }