summaryrefslogtreecommitdiff
path: root/AnimationInterpolate.c
diff options
context:
space:
mode:
authorSyndamia <kamen@syndamia.com>2026-03-16 20:59:04 +0200
committerSyndamia <kamen@syndamia.com>2026-03-16 20:59:04 +0200
commitef4a2773e90ebc6ed7ad66bcfd4e30165c04fb93 (patch)
treef2ee90c08ae5f11692bd6c3ccf85077aab465e6b /AnimationInterpolate.c
parent2202e87c466803eeaddd974006aa9950d8e0d067 (diff)
downloadppm_graphics-ef4a2773e90ebc6ed7ad66bcfd4e30165c04fb93.tar
ppm_graphics-ef4a2773e90ebc6ed7ad66bcfd4e30165c04fb93.tar.gz
ppm_graphics-ef4a2773e90ebc6ed7ad66bcfd4e30165c04fb93.zip
feat: Implement circle and rename square
Diffstat (limited to 'AnimationInterpolate.c')
-rw-r--r--AnimationInterpolate.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/AnimationInterpolate.c b/AnimationInterpolate.c
index 2ff4a8b..f24c678 100644
--- a/AnimationInterpolate.c
+++ b/AnimationInterpolate.c
@@ -3,8 +3,8 @@
#define NUM_INTERPOLATE(a, b, perc) (a * (1.0 - (perc)) + b * (perc))
-byte4
-colorInterpolate(byte4 ina, byte4 inb, double percentage) {
+color
+colorInterpolate(color ina, color inb, double percentage) {
ARGB a, b;
ARGB_set(&a, ina);
ARGB_set(&b, inb);