summaryrefslogtreecommitdiff
path: root/builtin/common/vector.lua
Commit message (Collapse)AuthorAge
* Vector functions: Fix vector.direction() function, improve documentation (#6801)Paramat2017-12-21
| | | vector.direction() now returns a normalised vector with direction p1 to p2.
* Vector: Add vector.sort(a, b): return box edgesAuke Kok2017-01-23
| | | | | This function returns the box corners of the smallest box that includes the two given coordinates.
* Builtin: Add vector.floor helper functionrubenwardy2016-10-17
|
* Add Lua helper functions vector.apply(v) math.sign(x, tolerance)SmallJoker2014-12-06
|
* Remove vector assertionsShadowNinja2014-07-19
| | | | | These were initially added to get tracebacks for invalid vector errors, but it didn't work and tracebacks have since been properly fixed in the core.
* Organize builtin into subdirectoriesShadowNinja2014-05-07