feat: Add Camera component / Add cooked model and texture loading
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user