diff light.h @ 96:0b65ca27f113

compile on Mac OS X 2
author Atuto SHIROMA <e095729@ie.u-ryukyu.ac.jp>
date Thu, 02 Jun 2011 14:56:11 +0900
parents 8edae89a3877
children
line wrap: on
line diff
--- a/light.h	Thu May 26 18:13:40 2011 +0900
+++ b/light.h	Thu Jun 02 14:56:11 2011 +0900
@@ -1,2 +1,15 @@
-//extern void light_init(LIGHT *l);
-//extern void light_set(LIGHT *l);
+/* light.h */
+
+typedef struct {
+  FVECTOR light0;
+  FVECTOR light1;
+  FVECTOR light2;
+  FVECTOR color0;
+  FVECTOR color1;
+  FVECTOR color2;
+  FVECTOR ambient;
+} LIGHT;
+
+// functions                                                                         
+void init_light(LIGHT *l);
+void set_light(LIGHT *l);