feat: render sphere

This commit is contained in:
2025-10-08 18:36:55 +02:00
parent 42d5def07e
commit b989d74fca

View File

@ -27,7 +27,7 @@
class Game : public IApplication {
public:
Game() {
Object* lightObj = Object::LoadFile("./assets/cube.obj");
Object* lightObj = Object::LoadFile("./assets/sphere.obj");
const auto lightEntity = m_registry.create();
m_registry.emplace<transform>(lightEntity, glm::vec3(-5.f, 5.f, 5.f), glm::vec3(0.f));
m_registry.emplace<light>(lightEntity);