From 9d0ad3fb834de096eaaecfba4a4bddb50e53e667 Mon Sep 17 00:00:00 2001 From: Greg Wells Date: Wed, 14 May 2025 05:56:41 -0400 Subject: [PATCH] rewrite gnColor to be C compatible --- src/types/gryphn_color.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/types/gryphn_color.h b/src/types/gryphn_color.h index ca757b0..cacbf22 100644 --- a/src/types/gryphn_color.h +++ b/src/types/gryphn_color.h @@ -1,3 +1,6 @@ #include "../math/gryphn_vec4.h" -typedef gnMultiType4 gnColor; +typedef struct gnColor { + int r, g, b; + float a; +} gnColor;