aboutsummaryrefslogtreecommitdiff
path: root/src/vecmath.h
diff options
context:
space:
mode:
authorMistivia <i@mistivia.com>2025-06-10 07:33:35 +0800
committerMistivia <i@mistivia.com>2025-06-10 07:33:35 +0800
commit2a5dcfb26f536d705a8f71548b24b2262ca7715e (patch)
tree183a497f90ba1a2c05a37a280a7afbdb91555f9b /src/vecmath.h
parent2aff272bd665705ae70eb7a34fa658e45d65269d (diff)
anti alias
Diffstat (limited to 'src/vecmath.h')
-rw-r--r--src/vecmath.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/vecmath.h b/src/vecmath.h
index 3b6f5b6..c797b94 100644
--- a/src/vecmath.h
+++ b/src/vecmath.h
@@ -28,6 +28,8 @@ Vec3f vec3f_neg(Vec3f v);
Vec3f vec3f_normalize(Vec3f vec);
Vec3f vec3f_mul(float a, Vec3f v);
void vec3f_show(const char *name, Vec3f v);
+
Color icolor(int32_t rgb);
+Color pixel_avg4(Color pixels[4]);
#endif