deepstone

diff src/scene.h @ 17:1e9f0b3616fa

fixed the matrix multiplication order
author John Tsiombikas <nuclear@member.fsf.org>
date Wed, 30 Nov 2011 00:04:16 +0200
parents cb676ff89e69
children
line diff
     1.1 --- a/src/scene.h	Tue Nov 29 07:23:57 2011 +0200
     1.2 +++ b/src/scene.h	Wed Nov 30 00:04:16 2011 +0200
     1.3 @@ -7,7 +7,7 @@
     1.4  
     1.5  struct material {
     1.6  	char *name;
     1.7 -	vec3_t kd;
     1.8 +	int kd[3];
     1.9  	int kd_base;
    1.10  	struct texture *tex;
    1.11  
    1.12 @@ -25,6 +25,7 @@
    1.13  };
    1.14  
    1.15  struct scene {
    1.16 +	int ready;
    1.17  	struct material *matlist;
    1.18  	struct mesh *meshlist;
    1.19  };