view light.h @ 115:31dd5c07f7c1

class OBJECT:SceanGraph
author e085768
date Wed, 15 Jun 2011 23:31:59 +0900
parents 0b65ca27f113
children
line wrap: on
line source

/* 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);