overhauled physics engine

This commit is contained in:
Dynamitos committed 2023-01-21 18:43:21 +01:00
1 parent 3c7346cf7b
commit 2208ab438a
164 files changed
+22606 -928

No files matched your search

+3 -3
View File
@@ -9,9 +9,9 @@ namespace UI
{
struct RenderElementStyle
{
Math::Vector position = Math::Vector(0, 0, 0);
Vector position = Vector(0, 0, 0);
uint32 backgroundImageIndex = UINT32_MAX;
Math::Vector backgroundColor = Math::Vector(1, 1, 1);
Vector backgroundColor = Vector(1, 1, 1);
float opacity = 1.0f;
//Vector4 borderBottomColor = Vector4(1, 1, 1, 1);
//Vector4 borderLeftColor = Vector4(1, 1, 1, 1);
@@ -21,7 +21,7 @@ struct RenderElementStyle
//float borderBottomRightRadius = 0;
//float borderTopLeftRadius = 0;
//float borderTopRightRadius = 0;
Math::Vector2 dimensions = Math::Vector2(1, 1);
Vector2 dimensions = Vector2(1, 1);
};
class RenderElement
{