123456789101112131415161718192021222324252627282930313233343536373839 |
-
-
- #ifndef _LIGHT_H_
- #define _LIGHT_H_
-
- #include <MatMath.h>
-
-
- class Light {
- public:
-
-
- typedef enum {
- typePoint = 1,
- typeSpot = 2,
- typeDirectional = 3
- } LightType;
-
-
-
-
-
-
- vec4_t mPos;
- vec3_t mDir;
- float mAtt;
- vec4_t mColor;
- vec_t mCutoff;
- LightType mType;
- };
-
- #endif
|