Files
sophia/engine/src/scene/scene.cpp
T
2026-09-25 20:21:25 -07:00

17 lines
394 B
C++

#include <sophia/components.hpp>
#include <sophia/scene.hpp>
#include <sophia/util/logger.hpp>
namespace sophia {
Scene::Scene() {
entt::entity entity = this->registry.create();
auto& a = this->registry.emplace<TransformComponent>(entity);
auto& b = this->registry.get<TransformComponent>(entity);
}
Scene::~Scene() { log::trace("destroying sophia::Scene"); }
} // namespace sophia