view3d

diff src/scene.h @ 3:7e982a61852a

lights and shit
author John Tsiombikas <nuclear@mutantstargoat.com>
date Thu, 19 Jan 2012 06:15:10 +0200
parents 7650e941805c
children 5562a637e5aa
line diff
     1.1 --- a/src/scene.h	Thu Jan 19 01:51:05 2012 +0200
     1.2 +++ b/src/scene.h	Thu Jan 19 06:15:10 2012 +0200
     1.3 @@ -27,6 +27,10 @@
     1.4  	float pos[4];
     1.5  	float color[4];
     1.6  
     1.7 +	float cone_inner, cone_outer;
     1.8 +
     1.9 +	float att[3];
    1.10 +
    1.11  	struct light *next;
    1.12  };
    1.13  
    1.14 @@ -41,6 +45,6 @@
    1.15  int load_scene(struct scene *scn, const char *fname);
    1.16  
    1.17  void render_scene(struct scene *scn);
    1.18 -void render_mesh(struct mesh *m);
    1.19 +void render_mesh(struct mesh *m, int pass);
    1.20  
    1.21  #endif	/* SCENE_H_ */