Commit Graph

18 Commits

Author SHA1 Message Date
out-of-pixel
4afcac5b36 add function angle()
returns the angle between a vector and the default rotation
2013-06-29 17:39:03 +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
7f92f2c4f1 brief(er) vector factory 2012-06-12 12:58:33 +02:00
Matthias Richter
4f03a71f59 Code cleanup 2012-05-19 01:34:56 +02:00
a_m0d
1c683f50a4 Fix divide-by-zero error in vector:normalize()
and vector:normalize_in_place()
2012-04-18 22:57:47 -04:00
Matthias Richter
adcceed73b Update license header 2012-04-10 17:00:02 +02:00
Matthias Richter
3957c73548 Fix wrong variable name in vector:mirrorOn() (thanks, Dani Ka!) 2012-02-17 21:12:41 +01:00
Matthias Richter
1bdeb7ef4a Avoid unnecessary creation of vector objects 2012-01-21 23:35:31 +01:00
Matthias Richter
28b698fb00 Eliminate use of module(...) function 2011-07-06 14:19:31 +02:00
Matthias Richter
d1d6dbb056 Make proper modules 2011-01-18 17:44:38 +01:00
Matthias Richter
72b06e2387 Fix vector cross product 2011-01-06 23:24:27 +01:00
Matthias Richter
770fe5234b Add cross product 2010-09-30 11:46:33 +02:00
Matthias Richter
0ab3a6898c Fix issue #1: Typo in assert 2010-09-30 11:44:31 +02:00
Matthias Richter
8311ddbad1 Add license header 2010-09-19 15:37:55 +02:00
Matthias Richter
66c0f92a30 Add projection and perpendicular 2010-08-17 13:17:01 +02:00
Matthias Richter
f491a92eaa Initial commit 2010-08-09 17:52:48 +02:00