This commit is contained in:
MihailRis
2025-08-09 22:43:06 +03:00
parent 61da6b44a1
commit 5583734bc2
10 changed files with 331 additions and 307 deletions
+2 -1
View File
@@ -8,7 +8,7 @@
#include <data/dv_fwd.hpp>
struct Transform {
static inline constexpr float EPSILON = 0.0000001f;
static inline constexpr float EPSILON = 1e-7f;
glm::vec3 pos;
glm::vec3 size;
glm::mat3 rot;
@@ -19,6 +19,7 @@ struct Transform {
glm::vec3 displaySize;
dv::value serialize() const;
void deserialize(const dv::value& root);
void refresh();