diff options
author | Piotr Dziwinski <piotrdz@gmail.com> | 2012-06-19 20:11:47 +0200 |
---|---|---|
committer | Piotr Dziwinski <piotrdz@gmail.com> | 2012-06-19 20:11:47 +0200 |
commit | 9f784e81f81651bed087902f9f3afee113e56148 (patch) | |
tree | ae89f6dabe2443b39aba292673027d197fc120e6 /src/graphics/common/light.h | |
parent | b8027ce9a7f050b95846a668a02f5801331e127f (diff) | |
download | colobot-9f784e81f81651bed087902f9f3afee113e56148.tar.gz colobot-9f784e81f81651bed087902f9f3afee113e56148.tar.bz2 colobot-9f784e81f81651bed087902f9f3afee113e56148.zip |
Switched to new implementation of the rest of math module
- changed structs from D3DVECTOR to Math::Vector
and from D3DMATRIX to Math::Matrix
- changed functions to new Math namespace functions
- moved mainmovie module from graphics to object
- added Get and Set to Math::Matrix
Diffstat (limited to 'src/graphics/common/light.h')
-rw-r--r-- | src/graphics/common/light.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/graphics/common/light.h b/src/graphics/common/light.h index 2b20094..683f715 100644 --- a/src/graphics/common/light.h +++ b/src/graphics/common/light.h @@ -75,11 +75,11 @@ public: bool SetLightIncluType(int lightRank, D3DTypeObj type);
bool SetLightExcluType(int lightRank, D3DTypeObj type);
- bool SetLightPos(int lightRank, D3DVECTOR pos);
- D3DVECTOR RetLightPos(int lightRank);
+ bool SetLightPos(int lightRank, Math::Vector pos);
+ Math::Vector RetLightPos(int lightRank);
- bool SetLightDir(int lightRank, D3DVECTOR dir);
- D3DVECTOR RetLightDir(int lightRank);
+ bool SetLightDir(int lightRank, Math::Vector dir);
+ Math::Vector RetLightDir(int lightRank);
bool SetLightIntensitySpeed(int lightRank, float speed);
bool SetLightIntensity(int lightRank, float value);
|