aboutsummaryrefslogtreecommitdiff
path: root/obj.h
diff options
context:
space:
mode:
authorrodri <rgl@antares-labs.eu>2024-09-26 11:32:44 +0000
committerrodri <rgl@antares-labs.eu>2024-09-26 11:32:44 +0000
commit78739a666a7031db16648c7d629f567442ea16bd (patch)
treea8bf6b462421b71aab64f3a88e7b64f0f7599141 /obj.h
parent4742c552904c44bc77604b7cf03ed7b14e2e7ef4 (diff)
downloadlibobj-78739a666a7031db16648c7d629f567442ea16bd.tar.gz
libobj-78739a666a7031db16648c7d629f567442ea16bd.tar.bz2
libobj-78739a666a7031db16648c7d629f567442ea16bd.zip
add an opacity parameter in OBJColor to discard non-colors.
Diffstat (limited to 'obj.h')
-rw-r--r--obj.h2
1 files changed, 1 insertions, 1 deletions
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