Remove getEyePos()

coverity_scan^2
scrawl 9 years ago
parent 1b3cde9b8d
commit 252b27f0ef

@ -367,12 +367,6 @@ namespace MWRender
mSky->setSunDirection(position);
}
osg::Vec3f RenderingManager::getEyePos()
{
osg::Vec3d eye = mViewer->getCameraManipulator()->getMatrix().getTrans();
return eye;
}
void RenderingManager::addCell(const MWWorld::CellStore *store)
{
mPathgrid->addCell(store);
@ -382,7 +376,6 @@ namespace MWRender
if (store->getCell()->isExterior())
mTerrain->loadCell(store->getCell()->getGridX(), store->getCell()->getGridY());
}
void RenderingManager::removeCell(const MWWorld::CellStore *store)
{
mPathgrid->removeCell(store);

@ -137,8 +137,6 @@ namespace MWRender
SkyManager* getSkyManager();
osg::Vec3f getEyePos();
void spawnEffect(const std::string &model, const std::string &texture, const osg::Vec3f &worldPosition, float scale = 1.f);
/// Clear all savegame-specific data

Loading…
Cancel
Save