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:
parent
81aaafd26d
commit
52fdd8328f
2 changed files with 5 additions and 5 deletions
4
World.h
4
World.h
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue