Small additions to Numeric to make it easier to integrate Gosu with libraries that use radians, like Chipmunk.

Public Instance Methods


gosu_to_radians ()

Returns (self - 90) * Math::PI / 180.0

# File reference/gosu.rb, line 487
  def gosu_to_radians(); end

radians_to_gosu ()

Returns self * 180.0 / Math::PI + 90

# File reference/gosu.rb, line 484
  def radians_to_gosu(); end