From 78739a666a7031db16648c7d629f567442ea16bd Mon Sep 17 00:00:00 2001 From: rodri Date: Thu, 26 Sep 2024 11:32:44 +0000 Subject: add an opacity parameter in OBJColor to discard non-colors. --- obj.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'obj.h') diff --git a/obj.h b/obj.h index c819e8f..1a28613 100644 --- a/obj.h +++ b/obj.h @@ -48,7 +48,7 @@ union OBJVertex struct OBJColor { - double r, g, b; + double r, g, b, a; }; struct OBJVertexArray -- cgit v1.2.3