Vector: Add vector.sort(a, b): return box edges
authorAuke Kok <sofar@foo-projects.org>
Thu, 12 Jan 2017 19:27:39 +0000 (11:27 -0800)
committerparamat <mat.gregory@virginmedia.com>
Mon, 23 Jan 2017 07:38:39 +0000 (07:38 +0000)
commit2d7a6f2cc0717eb92de4a91326a871d525ce513d
tree78cf903fb446e581e9684c9cfbbe00fbd9d4a8fc
parentd04d8aba7029a2501854a2838fd282b81358a54e
Vector: Add vector.sort(a, b): return box edges

This function returns the box corners of the smallest box
that includes the two given coordinates.
builtin/common/vector.lua
doc/lua_api.txt