Changeset 2333 for GTP/trunk/Lib/Illum/IllumModule/OgreIllumModule/src/RenderingRuns/OgreLightVolumeRenderingRun.cpp
- Timestamp:
- 04/24/07 14:04:48 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Illum/IllumModule/OgreIllumModule/src/RenderingRuns/OgreLightVolumeRenderingRun.cpp
r2321 r2333 238 238 else 239 239 { 240 Vector3 pos = light->get ParentSceneNode()->getPosition();240 Vector3 pos = light->getDerivedPosition(); 241 241 Vector3 dir = sharedRuns->getRootPosition(ILLUMRUN_LIGHTVOLUME_MAP) - pos; 242 242 dir.normalise();
Note: See TracChangeset
for help on using the changeset viewer.