On-the-fly rotation. Fixed angles.
commitc53649e6d3f6b5938a78458c2fd0c2f7c8e9c116
authorBrett Lajzer <brett@brettlajzer.com>
Thu, 5 Jul 2007 21:59:17 +0000 (5 17:59 -0400)
committerBrett Lajzer <brett@brettlajzer.com>
Thu, 5 Jul 2007 22:03:46 +0000 (5 18:03 -0400)
tree8d7b0de2419ad9096856a8d77b42550315e91b21
parent8cbf251f0de3492d3656d1c771baa80d82d1938b
On-the-fly rotation. Fixed angles.

The angles are now aligned properly to the screen (90 degrees is now up).
On-the-fly rotation has been added. Two options are available for it:
re-centering and smoothing. Re-centering moves the x and y coordinates so the
image doesn't jitter around because of the rotation (try it).
Smoothing does linear interpolation (slow).
Made the Dao cursor rotate to show off rotation.
28 files changed:
Makefile
base/FPSManager.lua
base/Object.lua
base/ParticleSystem.lua
demos/README
demos/dao/images/cursor.png
demos/dao/scripts/code.lua
demos/dao/scripts/main.lua
demos/livecode/scripts/code.lua
demos/livecode/scripts/main.lua
demos/luashooter/scripts/enemies/soup_can.lua
demos/luashooter/scripts/enemies/swooper.lua
demos/luashooter/scripts/main.lua
demos/luashooter/scripts/player.lua
doc/class_eventmanager.html
doc/class_eventmanager.txt
doc/class_fpsmanager.html [copied from doc/class_object.html with 63% similarity]
doc/class_fpsmanager.txt [new file with mode: 0644]
doc/class_index.html
doc/class_index.txt
doc/class_object.html
doc/class_objectlist.html
doc/fun_ref.html
doc/fun_ref.txt
doc/manual.lyx [deleted file]
funcs_video.cpp
globals.h
main.cpp