summaryrefslogtreecommitdiff
path: root/builtin/common/vector.lua
AgeCommit message (Collapse)Author
2017-12-21Vector functions: Fix vector.direction() function, improve documentation (#6801)Paramat
vector.direction() now returns a normalised vector with direction p1 to p2.
2017-01-23Vector: Add vector.sort(a, b): return box edgesAuke Kok
This function returns the box corners of the smallest box that includes the two given coordinates.
2016-10-17Builtin: Add vector.floor helper functionrubenwardy
2014-12-06Add Lua helper functions vector.apply(v) math.sign(x, tolerance)SmallJoker
2014-07-19Remove vector assertionsShadowNinja
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.
2014-05-07Organize builtin into subdirectoriesShadowNinja