preincrement

0.6.3
Miloslav Číž 7 years ago
parent ddbf6c162f
commit df61a30259

@ -713,7 +713,7 @@ namespace MWRender
if (mCamera->isFirstPerson()) if (mCamera->isFirstPerson())
mPlayerAnimation->getObjectRoot()->setNodeMask(0); mPlayerAnimation->getObjectRoot()->setNodeMask(0);
for (int i = 0; i < 6; i++) // for each cubemap side for (int i = 0; i < 6; ++i) // for each cubemap side
{ {
osg::Matrixd transform = osg::Matrixd::rotate(osg::Vec3(0,0,-1),directions[i]); osg::Matrixd transform = osg::Matrixd::rotate(osg::Vec3(0,0,-1),directions[i]);

Loading…
Cancel
Save