Permalink
Browse files

fix number conversion; refactor

  • Loading branch information...
1 parent 1ecf066 commit deac2a6cfc14a1c0bdd228e601368eb3d515e71b @siuying committed May 10, 2012
File renamed without changes.
@@ -3,11 +3,11 @@
TWO_PI = 6.28318530718
module GameNumbers
- def to_rad
+ def to_degree
((self) / PI * 180.0)
end
- def to_degree
+ def to_rad
((self) / 180.0 * PI)
end
end
File renamed without changes.
Submodule BubbleWrap updated 2 files
+6 −1 lib/app.rb
+5 −3 lib/kernel.rb

0 comments on commit deac2a6

Please sign in to comment.