soegaard / whalesong

Whalesong: Racket to JavaScript compiler
http://hashcollision.org/whalesong
145 stars 14 forks source link

support (-360,360) angles for whalesong/image rotate #24

Closed stchang closed 9 years ago

stchang commented 9 years ago

fixes #21

soegaard commented 9 years ago

Merged. But why restrict the angle to [-360;360] ?

schanzer commented 9 years ago

Agreed - if 2htdp now supports all non-inf reals, whalesong should too.

stchang commented 9 years ago

Yes, sorry, that was an oversight on my part. I should just port the angle->proper-range function from the htdp commit referenced by @soegaard in #21.