- Timestamp:
- 04/19/11 15:32:25 (2 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
OpenSceneGraph/trunk/examples/osgspotlight/osgspotlight.cpp
r6941 r12295 122 122 texgen->setMode(osg::TexGen::EYE_LINEAR); 123 123 texgen->setPlanesFromMatrix(osg::Matrixd::lookAt(position, position+direction, up)* 124 osg::Matrixd::perspective(angle,1.0,0.1,100)); 124 osg::Matrixd::perspective(angle,1.0,0.1,100)* 125 osg::Matrixd::translate(1.0,1.0,1.0)* 126 osg::Matrixd::scale(0.5,0.5,0.5)); 125 127 126 128
