feat: add click to select
This commit is contained in:
@@ -36,6 +36,8 @@ public:
|
||||
private:
|
||||
void setupSkybox();
|
||||
void updateViewMode();
|
||||
void focusSelection();
|
||||
void updateFocus(float dt);
|
||||
[[nodiscard]] CameraComponent* getSceneCamera() const;
|
||||
[[nodiscard]] Camera& getViewCamera();
|
||||
[[nodiscard]] bool isPlayerViewActive() const;
|
||||
@@ -57,6 +59,7 @@ private:
|
||||
|
||||
Camera camera{glm::vec3(0.f, 0.f, -5.f), glm::vec3(0, 1, 0)};
|
||||
std::optional<Camera> editorCamera;
|
||||
std::optional<glm::vec3> focusTarget;
|
||||
|
||||
std::unique_ptr<CubeMap> skyboxCubemap;
|
||||
MainSceneObjects mainScene{};
|
||||
|
||||
Reference in New Issue
Block a user