feat: add more collider types + camera snapping fix

This commit is contained in:
2026-10-24 02:34:09 +02:00
parent 355dfa7851
commit 118016bcc7
26 changed files with 1525 additions and 354 deletions
+1
View File
@@ -136,6 +136,7 @@ private:
bool m_SaveAsDialog{false};
bool m_ItemWasActive{false};
bool m_EditPending{false};
bool m_CameraHadInput{false};
};
#endif // EDITOR_EDITOR_H
+11
View File
@@ -11,6 +11,17 @@
class Scene;
struct EditGestureState {
bool itemWasActive{false};
bool itemActive{false};
bool mouseReleased{false};
bool keyReleased{false};
bool keyboardDrivesCamera{false};
bool editPending{false};
};
[[nodiscard]] bool EndsEditGesture(const EditGestureState& state);
class UndoStack final {
public:
static constexpr std::size_t MaxSteps = 64;