pistolshrimpgames / ProceduralPlanet

Procedural planets with Three.js
Do What The F*ck You Want To Public License
7 stars 4 forks source link

Remove unused code, fix comments, calculate rendering stats only when stats panel is enabled #31

Closed crocodele closed 1 year ago

crocodele commented 1 year ago

I'm a fan of removing code that is not in use rather than commenting it out or, in the case of functions and classes, just keeping them around. Lessens the maintenance burden and improves code readability. Previous variable values or implementation versions can always be retrieved from version control if needed for some reason.