1
0
Fork 0

World: Rename wallColor to fillColor

As this function will get more generic, make the names more generic.

Fix some comments and indentation.
This commit is contained in:
trotFunky 2024-01-26 21:34:13 +00:00
parent 81aaafd26d
commit 52fdd8328f
2 changed files with 5 additions and 5 deletions

View file

@ -52,9 +52,9 @@ private:
sf::Color ceilingColor;
void fillColumn(sf::RenderWindow&, unsigned int column, float scale,
sf::Color wallColor = sf::Color(84,56,34)) const;
sf::Color fillColor = sf::Color(84,56,34)) const;
/**
* Cast a ray from a given position and its distance to the origin.
* Cast a ray from a given position and return its distance to the origin.
* @param originX Ray X origin, strictly positive
* @param originY Ray Y origin, strictly positive
* @param orientation Angle to cast to, in degrees between 0 and 360