feat: Add Camera component / Add cooked model and texture loading

This commit is contained in:
2026-10-13 00:29:17 +02:00
parent fa98bf08e8
commit ce55f75ac3
26 changed files with 930 additions and 194 deletions
+3
View File
@@ -10,6 +10,7 @@
#include "destrum/Graphics/Resources/Cubemap.h"
#include "destrum/ObjectModel/GameObject.h"
class CameraComponent;
class FirstPersonController;
class LightKeeper final : public App {
public:
@@ -30,6 +31,7 @@ private:
void loadScene();
void createEmptyScene();
void submitBoxColliderDebugLines();
[[nodiscard]] CameraComponent* getSceneCamera() const;
Camera camera{glm::vec3(0.f, 0.f, -5.f), glm::vec3(0, 1, 0)};
@@ -51,6 +53,7 @@ private:
bool renderQuads{true};
bool renderDebugLines{true};
bool showTestWindow{true};
bool useFreeCamera{false};
};
#endif //LIGHTKEEPER_H