source: GTP/trunk/App/Demos/Vis/FriendlyCulling/src/Light.h @ 2891

Revision 2891, 503 bytes checked in by mattausch, 16 years ago (diff)
Line 
1#ifndef __LIGHT_H
2#define __LIGHT_H
3
4#include "common.h"
5#include "Vector3.h"
6#include "Material.h"
7
8
9namespace CHCDemoEngine
10{
11
12/** Class representing a directional light source
13*/
14class Light
15{
16public:
17       
18        Light(const Vector3 &dir, const RgbaColor &col): mDirection(dir), mColor(col) {}
19
20        Vector3 GetDirection() const { return mDirection; }
21
22        RgbaColor GetColor() const { return mColor; }
23
24
25protected:
26
27        Vector3 mDirection;
28        RgbaColor mColor;
29};
30
31}
32
33#endif // __LIGHT_H
Note: See TracBrowser for help on using the repository browser.