Sha256: e9037c55b7f0550354ee6fb6c759a5883917788551ee39eead576871af88d5ad

Contents?: true

Size: 143 Bytes

Versions: 4

Compression:

Stored size: 143 Bytes

Contents

module GeoSwap::Utilities

  def degrees_to_radians(degrees)
    degrees * (Math::PI / 180)
  end

  module_function :degrees_to_radians

end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
geo_swap-0.2.1 lib/geo_swap/utilities.rb
geo_swap-0.2.0 lib/geo_swap/utilities.rb
geo_swap-0.1.0 lib/geo_swap/utilities.rb
geo_swap-0.0.2 lib/geo_swap/utilities.rb