feat: add imguizmo + trigger buxfix
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
#include <destrum/App.h>
|
||||
#include <destrum/Scene/SceneManager.h>
|
||||
#include <destrum/Graphics/RenderResources.h>
|
||||
#include <destrum/Util/TransformGizmo.h>
|
||||
|
||||
#include "destrum/Graphics/Resources/Cubemap.h"
|
||||
#include "destrum/Graphics/Resources/Font.h"
|
||||
@@ -31,13 +32,17 @@ public:
|
||||
private:
|
||||
void setupSkybox();
|
||||
void drawCrosshair();
|
||||
void drawViewModeHint();
|
||||
void updateViewMode();
|
||||
[[nodiscard]] CameraComponent* getSceneCamera() const;
|
||||
[[nodiscard]] Camera& getViewCamera();
|
||||
[[nodiscard]] bool isPlayerViewActive() const;
|
||||
|
||||
// LightkeeperDebugUi.cpp
|
||||
void updateDebugUi();
|
||||
void drawDebugMenuBar();
|
||||
void drawWindowMenu();
|
||||
void drawSelectionGizmo();
|
||||
void drawTestWindow();
|
||||
void spawnBall();
|
||||
void saveCurrentScene();
|
||||
@@ -54,6 +59,7 @@ private:
|
||||
|
||||
ImageID debug2DTexture{NULL_IMAGE_ID};
|
||||
Font hudFont;
|
||||
TransformGizmo transformGizmo;
|
||||
|
||||
char scenePath[512]{"scenes/debug_scene.json"};
|
||||
char newSceneName[128]{"EmptyScene"};
|
||||
@@ -61,6 +67,7 @@ private:
|
||||
bool renderColliders{false};
|
||||
bool render2DShapes{true};
|
||||
bool renderDebugLines{true};
|
||||
bool showTransformGizmo{true};
|
||||
bool showTestWindow{true};
|
||||
bool useFreeCamera{false};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user