FAQ
Common questions newbies might have about LÖVE
Why doesn't LÖVE include a vector library?
slime wrote:
The main problem with LÖVE's APIs using vector objects is that in Lua, vector objects tend to create a lot of garbage if used heavily. So having them required for using LÖVE functions prevents optimal performance. Some engines go to extreme lengths to try to work around that: https://www.youtube.com/watch?v=wTjyM7d7_YA#t=23m6s
I don't want to make vector-specific function variants either, as that would make the API a lot messier.
(https://love2d.org/forums/viewtopic.php?f=3&t=81457&start=50#p193807)