cptlobster / sc3d

3D rendering engine written in Scala
GNU General Public License v3.0
0 stars 0 forks source link

just as martin intended #3

Open cptlobster opened 1 year ago

cptlobster commented 1 year ago

this code is an absolute mess, two potential solutions are to clean it up or just throw a pipe bomb at it; cleaning it up is probably more advisable

cptlobster commented 1 year ago

just using doubles (per #5)

cptlobster commented 1 year ago

making at least the subclasses of the objects immutable (i.e. Transform class will be immutable), might need to just make the actual game objects mutable because it relies on the devil's mark (variable state)