Made a terrible animation sprite and then did a quick animation test. Won't keep it for now but this shows how it could work.
This commit is contained in:
parent
0882851b3f
commit
51858ea399
6 changed files with 9 additions and 4 deletions
|
@ -11,12 +11,14 @@
|
|||
#include "dbc.hpp"
|
||||
#include <memory>
|
||||
#include "texture.hpp"
|
||||
#include <SFML/System/Clock.hpp>
|
||||
|
||||
using matrix::Matrix;
|
||||
using RGBA = uint32_t;
|
||||
|
||||
struct Raycaster {
|
||||
int $pitch=0;
|
||||
sf::Clock $clock;
|
||||
|
||||
TexturePack $textures;
|
||||
double $posX = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue