1
0
mirror of https://github.com/rwengine/openrw.git synced 2024-09-18 16:32:32 +02:00
openrw/rwgame/State.cpp
2014-09-16 19:22:43 +01:00

21 lines
394 B
C++

#include "State.hpp"
#include "RWGame.hpp"
// This serves as the "initial" camera position.
ViewCamera defaultView({-250.f, -550.f, 75.f}, glm::angleAxis(glm::radians(5.f), glm::vec3(0.f, 1.f, 0.f)));
const ViewCamera& State::getCamera()
{
return defaultView;
}
GameWorld* State::getWorld()
{
return game->getWorld();
}
sf::RenderWindow& State::getWindow()
{
return game->getWindow();
}