HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
RE_LightVal.h
Go to the documentation of this file.
1 /*
2  * PROPRIETARY INFORMATION. This software is proprietary to
3  * Side Effects Software Inc., and is not to be reproduced,
4  * transmitted, or disclosed in any way without written permission.
5  *
6  * NAME: RE_LightVal.h (RE Library, C++)
7  *
8  * COMMENTS:
9  */
10 
11 #ifndef __RE_LightVal__
12 #define __RE_LightVal__
13 
14 #include "RE_API.h"
15 
16 class RE_Light;
17 
19 {
20 public:
21  typedef enum {
24  AMBIENT_LIGHT
25  } LightType;
26 
27  float position[4];
28  float ambient[4];
29  float diffuse[4];
30  float specular[4];
31  float spotdirection[3];
32  float spotcutoff;
33  float spotexponent;
34  float atten[3]; // Const, Linear, Quadratic attenuation
36  int gl_index;
37  unsigned is_on:1,
38  is_diffuse:1,
39  is_specular:1,
40  is_ambient_shaded:1;
41 
43 
44 protected:
45  // these are not implemented to prevent them from being used
46  int operator==(const RE_LightVal &);
47 };
48 
49 #endif // __RE_LightVal__
LightType light_type
Definition: RE_LightVal.h:35
#define RE_API
Definition: RE_API.h:10
float spotexponent
Definition: RE_LightVal.h:33
bool operator==(const BaseDimensions< T > &a, const BaseDimensions< Y > &b)
Definition: Dimensions.h:137
float spotcutoff
Definition: RE_LightVal.h:32
RE_Light * myLight
Definition: RE_LightVal.h:42