vrld / hump

LÖVE Helper Utilities for Massive Progression
http://hump.readthedocs.org
1.09k stars 154 forks source link

Add floor division to hump.vector and hump.vector-light #102

Closed qwertystop closed 6 years ago

qwertystop commented 6 years ago

When defining operators on vectors, integer division // was left out, though it makes as much sense as the rest (and is specifically useful for games in the case of mapping onscreen coordinates to a grid).

vrld commented 6 years ago

Thanks!