Commit Graph

10 Commits

Author SHA1 Message Date
Matthias Richter
32e0aaeaa6 Fix #25: vector:angleTo() returns wrong angle. 2013-11-04 22:04:16 +01:00
Matthias Richter
015ff8a23a Add vector.angleTo(x,y, u,v) 2013-07-30 11:55:06 +02:00
Guido Lorenz
003ebea480 Add dist2() function to vector-light
This returns the squared distance between the two vectors.
2013-07-24 16:16:50 +02:00
Matthias Richter
e9b86ef2d5 Rename truncate to trim. Cleanup code. 2013-04-27 12:26:56 +02:00
Ricardo Zanini
ba8f724844 Added a truncate function to Vector Module. Based on this article: http://blog.signalsondisplay.com/?p=336 2013-04-25 23:07:57 -03:00
Matthias Richter
8d4e5bb65f Update license header 2013-02-20 16:54:57 +01:00
Matthias Richter
f78bfa3ca8 Make normalisation in hump.vector-light consistent with hump.vector 2012-05-19 01:36:10 +02:00
Matthias Richter
78308d9aab Include add/sub again 2012-04-12 16:08:36 +02:00
Matthias Richter
ca7977d7da Make hump.camera use vector-light 2012-04-10 17:32:01 +02:00
Matthias Richter
4441aa7e1b Add light vector module 2012-04-10 17:00:15 +02:00