Last change
on this file since 356 was
164,
checked in by nicolasc, 17 years ago
|
Brute force megre of xml branch
|
File size:
387 bytes
|
Rev | Line | |
---|
[164] | 1 | |
---|
| 2 | #include "../xml/xmlParser.h" |
---|
| 3 | |
---|
| 4 | #ifndef __MODULE_LIGHT__ |
---|
| 5 | #define __MODULE_LIGHT__ |
---|
| 6 | |
---|
| 7 | namespace light |
---|
| 8 | { |
---|
| 9 | class Light() |
---|
| 10 | { |
---|
| 11 | public: |
---|
| 12 | Light(); |
---|
| 13 | Light(XMLNode xml); |
---|
| 14 | ~Light(); |
---|
| 15 | void loadParams(XMLNode xml); |
---|
| 16 | |
---|
| 17 | private: |
---|
| 18 | float diffuseColor_r_; |
---|
| 19 | float diffuseColor_g_; |
---|
| 20 | float diffuseColor_b_; |
---|
| 21 | |
---|
| 22 | int coord_x_; |
---|
| 23 | int coord_y_; |
---|
| 24 | int coord_z_; |
---|
| 25 | }; |
---|
| 26 | } |
---|
| 27 | |
---|
| 28 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.