Matthias Richter
|
0dea46b0b5
|
Fix #104: Undo aa81292
|
2018-06-15 17:41:31 +02:00 |
|
Matthias Richter
|
158d12e94d
|
Expose vector-light.idiv
|
2018-05-27 11:50:55 +02:00 |
|
David Heyman
|
aa81292733
|
Add floor division to hump.vector and hump.vector-light
|
2018-05-23 11:15:16 -04:00 |
|
Matthias Richter
|
96c9648a62
|
[refactor]: use fromPolar() in randomDirection()
More compact code and one less temporary table in
vector:randomDirection()
|
2017-11-04 11:19:27 +01:00 |
|
grunkgrunk
|
b6c04082b0
|
changed signature of random and added documentation
|
2017-11-03 22:04:27 +01:00 |
|
grunkgrunk
|
775862119a
|
added random vector function in both vector files and created default argument to fromPolar function. Also formatted the returned module in both files
|
2017-11-01 15:44:04 +01:00 |
|
Matthias Richter
|
192e9112e6
|
Implement polar <-> cartesian conversions
See pull request #73
|
2017-03-16 20:14:34 +01:00 |
|
Matthias Richter
|
e10fa66e60
|
Fix vector-light.trim() (see 2abe666ce9 )
|
2014-03-03 23:01:48 +01:00 |
|
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 |
|