Add collisions

This commit is contained in:
Andros Fenollosa
2016-12-08 20:02:27 +01:00
parent 7bf419249c
commit 2af855e88a
50 changed files with 3428 additions and 846 deletions

21
assets/scripts/vendor/HC/HC-0.1-1.rockspec vendored Executable file
View File

@ -0,0 +1,21 @@
package = "HC"
version = "0.1-1"
source = {
url = "git://github.com/vrld/HC.git"
}
description = {"General purpose 2D collision detection in pure Lua"}
dependencies = {
"lua = 5.1"
}
build = {
type = "builtin",
modules = {
["hardoncollider"] = "init.lua",
["hardoncollider.class"] = "class.lua",
["hardoncollider.gjk"] = "gjk.lua",
["hardoncollider.polygon"] = "polygon.lua",
["hardoncollider.shapes"] = "shapes.lua",
["hardoncollider.spatialhash"] = "spatialhash.lua",
["hardoncollider.vector-light"] = "vector-light.lua",
}
}