Last change
on this file since 431 was
379,
checked in by rgrieder, 17 years ago
|
- converted loader library to be compilable as a DLL
- added loader_platform.h and loader_prereq.h to do that
|
File size:
426 bytes
|
Rev | Line | |
---|
[164] | 1 | |
---|
[379] | 2 | #include "loader_platform.h" |
---|
[341] | 3 | #include "xml/xmlParser.h" |
---|
[164] | 4 | |
---|
| 5 | #ifndef __MODULE_LIGHT__ |
---|
| 6 | #define __MODULE_LIGHT__ |
---|
| 7 | |
---|
| 8 | namespace light |
---|
| 9 | { |
---|
[379] | 10 | class _LoaderExport Light |
---|
[164] | 11 | { |
---|
| 12 | public: |
---|
| 13 | Light(); |
---|
| 14 | Light(XMLNode xml); |
---|
| 15 | ~Light(); |
---|
| 16 | void loadParams(XMLNode xml); |
---|
| 17 | |
---|
| 18 | private: |
---|
| 19 | float diffuseColor_r_; |
---|
| 20 | float diffuseColor_g_; |
---|
| 21 | float diffuseColor_b_; |
---|
| 22 | |
---|
| 23 | int coord_x_; |
---|
| 24 | int coord_y_; |
---|
| 25 | int coord_z_; |
---|
| 26 | }; |
---|
| 27 | } |
---|
| 28 | |
---|
| 29 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.