[ab] Fast pixel access
Luke Crook
luke at balooga.com
Wed Jan 3 13:32:34 CST 2007
Anthony Fairchild <anthonyf at ...> writes:
> I agree. I offer my latest rotation function as a an example. I'm
> not proud of the complexity so maybe others can offer suggestions to
> make it smaller
>
> (let* ((w (sdl:surf-w surf))
> (h (sdl:surf-h surf))
> (even (evenp (/ degrees 90)))
> (new-w (if even h w))
> (new-h (if even w h))
I think this should be:
(new-w (if even w h))
(new-h (if even h w))
- Luke
More information about the application-builder
mailing list