Commit Graph

18 Commits

Author SHA1 Message Date
Matthias Richter
8d4e5bb65f Update license header 2013-02-20 16:54:57 +01:00
Matthias Richter
bf862c9b40 Issue 9: Add camera:zoom[To]() 2012-11-01 18:59:08 +01:00
Matthias Richter
9b6aba60dd Add camera:lookAt(x,y). Augment camera:rotation([phi]). 2012-10-07 13:24:28 +02:00
Matthias Richter
0f29310dcf Remove camera dependencies. Add pos + rotation getter.
hump.camera is not independent of hump.vector-light.
camera:pos() returns the camera position.
camera:rotation() returns the camera rotation.
2012-09-10 10:38:24 +02:00
Matthias Richter
ca7977d7da Make hump.camera use vector-light 2012-04-10 17:32:01 +02:00
Matthias Richter
f5adba2cb8 Camera to require vector in any case.
Before custom vector classes named Vector or vector could override hump
vector class. This feature may result in confusing bugs, so it should
better be removed.
2012-02-17 21:13:18 +01:00
Matthias Richter
cd3df0c49f Camera: More intuitive functions names 2011-11-16 13:45:20 +01:00
Matthias Richter
28b698fb00 Eliminate use of module(...) function 2011-07-06 14:19:31 +02:00
Matthias Richter
5abd0f599d Add 'local' 2011-01-20 15:26:28 +01:00
Matthias Richter
d1d6dbb056 Make proper modules 2011-01-18 17:44:38 +01:00
Matthias Richter
d306ce88fb Fix world to camera coordinate transformation 2010-09-19 15:38:39 +02:00
Matthias Richter
8311ddbad1 Add license header 2010-09-19 15:37:55 +02:00
Matthias Richter
b8dc9b6592 Function rename 2010-09-15 11:28:06 +02:00
Matthias Richter
1f69ddb249 add functions to convert from camera coords to screen coords 2010-09-15 11:17:11 +02:00
Matthias Richter
0e6ce6d8a9 remove possible bug when converting to camera coords 2010-09-15 11:15:58 +02:00
Matthias Richter
cfd4cfb28e Function renames 2010-09-15 11:15:23 +02:00
Matthias Richter
ded2110ab3 Bug: camera:transform(p) changed argument 2010-09-03 23:39:54 +02:00
Matthias Richter
f491a92eaa Initial commit 2010-08-09 17:52:48 +02:00