brotherhood-of-recursive-descent / tankism

top down panzer game written in golang and ebiten
GNU Lesser General Public License v3.0
2 stars 0 forks source link

Refactor vec2d to be value object #62

Open co0p opened 1 year ago

co0p commented 1 year ago

It would be better to replace vec2d with a value object semantic and have side effect free functions taking in vectors and returning the result. This represents a vector much more concise as the identity are the x y value