Changeset 13041 for OpenSceneGraph/trunk/src/osgPlugins/lwo/Block.cpp
- Timestamp:
- 03/21/12 18:36:20 (14 months ago)
- Files:
-
- 1 modified
-
OpenSceneGraph/trunk/src/osgPlugins/lwo/Block.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
OpenSceneGraph/trunk/src/osgPlugins/lwo/Block.cpp
r11517 r13041 123 123 } 124 124 } 125 125 126 126 } else { 127 127 OSG_WARN << "Warning: lwosg::Block: only IMAP (image map) block types are supported, this block will be ignored" << std::endl; … … 137 137 Q = Q * osg::Matrix::rotate(ypr.z(), osg::Vec3(0, 0, -1)); 138 138 Q = Q * osg::Matrix::rotate(ypr.x(), osg::Vec3(0, 1, 0)); 139 Q = Q * osg::Matrix::rotate(ypr.y(), osg::Vec3(-1, 0, 0)); 139 Q = Q * osg::Matrix::rotate(ypr.y(), osg::Vec3(-1, 0, 0)); 140 140 if (imap_.projection != Image_map::SPHERICAL) { 141 141 Q.x() *= 1/imap_.mapping.size_.x();
