Sha256: f1a588f8e85a34ffa6837e24740999eb883b844c889be3cbfaa1ffa6525e2a64

Contents?: true

Size: 120 Bytes

Versions: 39

Compression:

Stored size: 120 Bytes

Contents

class Numeric #:nodoc:
  def degrees
    self * 180 / Math::PI
  end

  def radians
    self * Math::PI / 180
  end
end

Version data entries

39 entries across 39 versions & 3 rubygems

Version Path
ruby-processing-2.7.1 lib/ruby-processing/helpers/numeric.rb
ruby-processing-2.7.0 lib/ruby-processing/helpers/numeric.rb
propane-0.6.0-java lib/propane/helpers/numeric.rb
ruby-processing-2.6.18 lib/ruby-processing/helpers/numeric.rb
propane-0.5.0-java lib/propane/helpers/numeric.rb
propane-0.4.0.pre-java lib/propane/helpers/numeric.rb
propane-0.3.0.pre-java lib/propane/helpers/numeric.rb
ruby-processing-2.6.17 lib/ruby-processing/helpers/numeric.rb
jruby_art-1.0.4 lib/jruby_art/helpers/numeric.rb
jruby_art-1.0.3 lib/jruby_art/helpers/numeric.rb
jruby_art-1.0.2 lib/jruby_art/helpers/numeric.rb
ruby-processing-2.6.16 lib/ruby-processing/helpers/numeric.rb
jruby_art-1.0.1 lib/jruby_art/helpers/numeric.rb
jruby_art-1.0.0 lib/jruby_art/helpers/numeric.rb
jruby_art-0.9.0 lib/jruby_art/helpers/numeric.rb
jruby_art-0.8.0 lib/jruby_art/helpers/numeric.rb
jruby_art-0.7.0 lib/jruby_art/helpers/numeric.rb
jruby_art-0.6.0 lib/jruby_art/helpers/numeric.rb
jruby_art-0.5.0 lib/jruby_art/helpers/numeric.rb
ruby-processing-2.6.15 lib/ruby-processing/helpers/numeric.rb