12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091 |
-
-
-
-
- #ifndef __FREYJA_MONGOOSE_LIGHT_H_
- #define __FREYJA_MONGOOSE_LIGHT_H_
-
- #include <MatMath.h>
-
-
- class Light
- {
- public:
-
- typedef enum
- {
- typePoint = 1,
- typeSpot = 2,
- typeDirectional = 3
- } FreyjaLightType;
-
-
- Light();
-
-
-
- ~Light();
-
-
-
-
- float mAmbient[4];
-
- float mDiffuse[4];
-
- float mSpecular[4];
-
- vec4_t mPos;
-
- vec3_t mDir;
-
- float mAtt;
-
- vec4_t mColor;
-
- vec_t mCutoff;
-
- FreyjaLightType mType;
-
- private:
-
-
-
-
-
-
- };
-
- #endif
|