Sha256: b51060f37c6ebd706263df2b4df69b888f69877eb785889285e72bcc80f910bc

Contents?: true

Size: 116 Bytes

Versions: 13

Compression:

Stored size: 116 Bytes

Contents

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

end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
ruby-processing-2.4.4 lib/ruby-processing/helpers/numeric.rb
ruby-processing-2.4.3 lib/ruby-processing/helpers/numeric.rb
ruby-processing-2.4.2 lib/ruby-processing/helpers/numeric.rb
ruby-processing-2.4.1 lib/ruby-processing/helpers/numeric.rb
ruby-processing-1.0.11 lib/ruby-processing/helpers/numeric.rb
ruby-processing-1.0.10.1 lib/ruby-processing/helpers/numeric.rb
ruby-processing-1.0.9 lib/ruby-processing/helpers/numeric.rb
ruby-processing-1.0.3 lib/ruby-processing/helpers/numeric.rb
ruby-processing-1.0.4 lib/ruby-processing/helpers/numeric.rb
ruby-processing-1.0.5 lib/ruby-processing/helpers/numeric.rb
ruby-processing-1.0.6 lib/ruby-processing/helpers/numeric.rb
ruby-processing-1.0.7 lib/ruby-processing/helpers/numeric.rb
ruby-processing-1.0.8 lib/ruby-processing/helpers/numeric.rb