Open mount2010 opened 7 years ago
This is a reasonable request. But please keep in mind that rot.js is built around the premise that no data structures are imposed on the developer; routines that return complex data structures use callbacks instead. So introducing a (fixed) vector
data type would break this premise.
I would highly suggest using glMatrix for all your vector/matrix needs.
I believe that having support for basic vector operations (dot, etc), which are used a lot in roguelike programming, especially since roguelikes typically use 2D grids a lot, will be helpful to have in a roguelike library.