From 5a6f5e0d2e19b72a4264eeb6300a9352901c8a42 Mon Sep 17 00:00:00 2001 From: rodri Date: Wed, 6 Mar 2024 22:04:06 +0000 Subject: add support to load diffuse color texture maps. --- obj.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'obj.h') diff --git a/obj.h b/obj.h index f1edfb1..5ca2676 100644 --- a/obj.h +++ b/obj.h @@ -74,7 +74,7 @@ struct OBJMaterial double Ni; /* index of refraction */ double d; /* dissolution factor */ int illum; /* illumination model */ - double map_Kd; /* color texture file */ + Memimage *map_Kd; /* color texture file */ OBJMaterial *next; }; -- cgit v1.2.3