Yes, and it requires a more recent build of 0.8. love.graphics.newCanvas() is required.kikito wrote: I'm using 0.7.2 . Is your code only valid for 0.8.x?
Is there an advantage using this approach over the module wrapper approach used here?kikito wrote: A couple comments;
...It is clever and elegant.Code: Select all
local BASE = (...) .. '.'
https://github.com/vrld/hump/blob/master/vector.lua
This approach seems cleaner and easier to extend.