Cannot go through walls anymore
Planar movement inside the maze Fixed orientation
This commit is contained in:
parent
165524cc11
commit
dfe279b236
6 changed files with 92 additions and 51 deletions
15
src/MovementManager.h
Normal file
15
src/MovementManager.h
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue