From 252b27f0efe232bf16d35b2b14db694fb3811f7e Mon Sep 17 00:00:00 2001 From: scrawl Date: Fri, 1 Jul 2016 15:04:59 +0200 Subject: [PATCH] Remove getEyePos() --- apps/openmw/mwrender/renderingmanager.cpp | 7 ------- apps/openmw/mwrender/renderingmanager.hpp | 2 -- 2 files changed, 9 deletions(-) diff --git a/apps/openmw/mwrender/renderingmanager.cpp b/apps/openmw/mwrender/renderingmanager.cpp index ea3e7b7ee..33384a521 100644 --- a/apps/openmw/mwrender/renderingmanager.cpp +++ b/apps/openmw/mwrender/renderingmanager.cpp @@ -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); diff --git a/apps/openmw/mwrender/renderingmanager.hpp b/apps/openmw/mwrender/renderingmanager.hpp index ebe75d39b..306ae9676 100644 --- a/apps/openmw/mwrender/renderingmanager.hpp +++ b/apps/openmw/mwrender/renderingmanager.hpp @@ -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