issues
search
vchelaru
/
FlatRedBall
Cross-platform 2D game engine focused on ultimate productivity built in .NET
http://flatredball.com
MIT License
413
stars
66
forks
source link
Renderer cleanup
#1607
Closed
mfigueirido
closed
3 weeks ago
mfigueirido
commented
3 weeks ago
This PR addresses:
Removal of unused code.
Cleaning of newlines/indentation and other small styling fixes.
Used var for local references when appropriate (following MS guidelines primitive types like bool shouldn't use var).
Maintained existing comments but updated a few that no longer made sense or were obsolete.
Removed instances where the code accessed a list element by index in many places instead of caching the current loop object.
Merged Renderer.Common into Renderer.
Fixed a few member access inconsistencies.
Categorized fields, properties and methods into easier to follow regions and sorted methods by order of usage.
Changed variables naming from mVariables into _variables.
Renamed DrawableBatch.cs to IDrawableBatch.cs.
vchelaru
commented
3 weeks ago
Thanks so much!
This PR addresses: