summaryrefslogtreecommitdiff
path: root/examples/triangles.c
diff options
context:
space:
mode:
authorkkard2 <[email protected]>2025-09-14 10:14:08 +0200
committerkkard2 <[email protected]>2025-09-14 10:14:08 +0200
commit90d40f283f6e7a8a1c57849841ddee11f362d95e (patch)
tree904705f81a88802baa543b62bbaa120b516b484a /examples/triangles.c
parentfe1c224efcfe052fbfc16570d9c9c3cde4ad83ca (diff)
refactored everything
procrastination experience
Diffstat (limited to 'examples/triangles.c')
-rw-r--r--examples/triangles.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/triangles.c b/examples/triangles.c
index f995574..8515a28 100644
--- a/examples/triangles.c
+++ b/examples/triangles.c
@@ -31,7 +31,7 @@ void draw_frame(sponge_Texture c) {
c,
x, y + offset_y,
x + offset_x, y,
- x + (offset_x / 4), y + (offset_y / 4),
+ x + (offset_x * 3 / 4), y + (offset_y * 3 / 4),
0xFFFF0000, 0xFF00FF00, 0xFF0000FF);
}
}