even better button animation

This commit is contained in:
speckitor
2026-07-07 15:53:47 +07:00
parent 29bc247757
commit f3c71085be
7 changed files with 51 additions and 43 deletions
+3 -1
View File
@@ -10,13 +10,15 @@ Button button = {
.position = (Vector3){0.0f, 0.0f, -5.0f},
.length = 1.0f,
.height = 0.1f,
.color = BLUE,
.color = PINK,
.wiresColor = BLACK,
.pressed = false,
};
Cube cube = {
.initialized = false,
.position = (Vector3){0.0f, 0.5f, 0.0f},
.minY = 0.4f + 0.01f,
.edge = 0.8f,
.color = RED,
.wiresColor = BLACK,