Cleaned static variables now part of the maze
This commit is contained in:
parent
4cf658123b
commit
9bcc3f0e5f
3 changed files with 10 additions and 12 deletions
|
@ -12,10 +12,10 @@
|
|||
#include "TileTypes.h"
|
||||
|
||||
/// Returns the colour of the pixel corresponding to the current world position, assuming the map starts at (0,0).
|
||||
Vec3i current_map_colour(const Vec3d& world_pos, const Texture& texture, const int& pixel_scale);
|
||||
Vec3i current_map_colour(const Vec3d& world_pos, const Texture& texture, const unsigned int& pixel_scale);
|
||||
|
||||
/// Translates the camera inside the maze and check for collisions
|
||||
/// \param translation Translation that will be executed in the horizontal plane, x forward, z strafe.
|
||||
void constrained_translation(const Vec3d& translation, Camera& camera, const Texture& map, const int& pixel_scale);
|
||||
void constrained_translation(const Vec3d& translation, Camera& camera, const Texture& map, const unsigned int& pixel_scale);
|
||||
|
||||
#endif //LABYRINTHE_MOVEMENTMANAGER_H
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue