-
-
Notifications
You must be signed in to change notification settings - Fork 44
Open
Description
I don't know if you'd be up for any of these, so I'll just throw the ideas here. If you're game for any of them, happy to PR:
- standardize on the
vec2module fromgl-matrix- this would mean vectors would be[ x, y ]rather than{ x, y }.
it's nice in that it re-uses a popular vector module. I'm always a little saddened looking at various game/sim repos in javascript, and every one invents it's own vector/matrix libraries. :( - switch from Object-oriented to data-oriented design - rather than using classes to bundle code, the different primitives (sticks, dots etc.) essentially become structs, and the data structure gets passed in to all of the related functions
Will add more ideas as they come up., just wanted to throw these in as a starting point.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels