Implement basic shading and colors.

CameraRay struct now stores information about tile intersection.
This commit is contained in:
2023-05-01 00:10:01 +01:00
parent 67c41106ff
commit 22cd090f92
7 changed files with 82 additions and 16 deletions
+2
View File
@@ -2,11 +2,13 @@
#define CAMERA_H
#include <SFML/Graphics.hpp>
#include "level.h"
typedef struct
{
float direction;
float distance;
TileData tileData;
} CameraRay;
typedef struct