Explode pr_tile_rotate_90() in two functions:
authorLaurent Monin <geeqie@norz.org>
Fri, 18 Apr 2008 11:01:41 +0000 (11:01 +0000)
committerLaurent Monin <geeqie@norz.org>
Fri, 18 Apr 2008 11:01:41 +0000 (11:01 +0000)
commit07b43fa0b6dd45d7961e0c6472577ba1562a26e9
treef4d821962719a80ce29ab88fc473a65491d4fbe3
parentd7c3043727595dcb6024590e37180486d1da9793
Explode pr_tile_rotate_90() in two functions:
pr_tile_rotate_90_clockwise()
pr_tile_rotate_90_counter_clockwise()
Optimize the code at the expense of a bit of code redundancy:
tests were moved outside the loops, intermediate results are now cached.
src/pixbuf-renderer.c