Remove draw scale from Camera struct.

This commit is contained in:
2023-04-16 02:43:05 +01:00
parent bce640219f
commit 33f673741b
5 changed files with 23 additions and 7 deletions
+6
View File
@@ -45,6 +45,12 @@ float level_rayCastDistance(sf::Vector2f point, float direction)
return castRay(point, direction);
}
void level_getDimensions(unsigned int* width, unsigned int* height)
{
*width = WIDTH;
*height = HEIGHT;
}
static void drawGrid(sf::RenderTarget* renderTarget, unsigned int tileSize)
{
for (unsigned int x = 0; x < WIDTH; x++) {