Cannot go through walls anymore

Planar movement inside the maze
Fixed orientation
This commit is contained in:
trotFunky 2019-11-03 21:24:39 +01:00
parent 165524cc11
commit dfe279b236
6 changed files with 92 additions and 51 deletions

15
src/MovementManager.h Normal file
View file

@ -0,0 +1,15 @@
//
// Created by trotFunky on 03/11/2019.
//
#ifndef LABYRINTHE_MOVEMENTMANAGER_H
#define LABYRINTHE_MOVEMENTMANAGER_H
#include <Math/Vectors.h>
#include <DataHandling/Texture.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);
#endif //LABYRINTHE_MOVEMENTMANAGER_H