#ifndef GAME_HPP #define GAME_HPP #include #include #include #include constexpr double PiOver180 = 3.1415926535897932384626433832795028/180; // TODO: Move all of this stuff so it's not just lying around. bool hitWorldRay(glm::vec3& hit, glm::vec3& normal, GameObject** object = nullptr); bool hitWorldRay(const glm::vec3& start, const glm::vec3& direction, glm::vec3& hit, glm::vec3& normal, GameObject** object = nullptr); sf::Window& getWindow(); GameWorld* getWorld(); CharacterObject* getPlayerCharacter(); void setPlayerCharacter(CharacterObject* playerCharacter); sf::Font& getFont(); /** Set view parameters. */ void setViewParameters(const glm::vec3& center, const glm::vec2 &angles); glm::vec3& getViewPosition(); glm::vec2& getViewAngles(); #endif // GAME_HPP