MCPcopy Create free account
hub / github.com/OpenDungeons/OpenDungeons / onFrameStarted

Method onFrameStarted

source/modes/GameEditorModeBase.cpp:193–202  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

191}
192
193void GameEditorModeBase::onFrameStarted(const Ogre::FrameEvent& evt)
194{
195 updateMessages(evt.timeSinceLastFrame);
196
197 Ogre::Camera* cam = ODFrameListener::getSingleton().getCameraManager()->getActiveCamera();
198 mMainCullingManager->computeIntersectionPoints(cam, mCameraTilesIntersections);
199 mMainCullingManager->update(cam, mCameraTilesIntersections);
200
201 mMiniMap->update(evt.timeSinceLastFrame, mCameraTilesIntersections);
202}
203
204void GameEditorModeBase::receiveChat(const ChatMessage& chat)
205{

Callers

nothing calls this directly

Calls 4

getActiveCameraMethod · 0.80
getCameraManagerMethod · 0.80
updateMethod · 0.45

Tested by

no test coverage detected