TazGraph Project v0.1.0
Loading...
Searching...
No Matches
OrientationBox.h
1#pragma once
2
3#include "../../UIElement.h"
4
5#include "GECS/Components.h"
6#include "GECS/UtilComponents.h"
7#include <ImGuizmo/ImGuizmo.h>
8#include <BaseFPSLimiter/BaseFPSLimiter.h>
9
11 ImVec2 viewportPos;
12 ImVec2 viewportSize;
13};
14
15
16class OrientationBox : public UIElement {
17public:
18 void OnImGuiRender() override;
19 void UpdateCameraFromMatrix();
20
21 void setConfig(const OrientationBoxConfig& cfg);
22
23private:
24 glm::mat4 _boxViewMatrix = glm::mat4(1.0f);
26
27};
Definition OrientationBox.h:16
Definition UIElement.h:21
Definition OrientationBox.h:10