Sha256: fb0095cd037b590ebb1d34af7acff748d7c55eecb1aa8e24e059e0009aeadca6

Contents?: true

Size: 608 Bytes

Versions: 27

Compression:

Stored size: 608 Bytes

Contents

# encoding: ascii-8bit

# Copyright 2014 Ball Aerospace & Technologies Corp.
# All Rights Reserved.
#
# This program is free software; you can modify and/or redistribute it
# under the terms of the GNU General Public License
# as published by the Free Software Foundation; version 3 with
# attribution addendums as found in the LICENSE.txt

require 'cosmos'
require 'cosmos/gui/opengl/texture_mapped_sphere'

module Cosmos

  class EarthModel < TextureMappedSphere
    def initialize(x, y, z)
      super(x, y, z, File.join(::Cosmos::PATH, 'data', 'EarthMap1024x512.gif'))
    end
  end

end # module Cosmos

Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
cosmos-3.9.2 lib/cosmos/gui/opengl/earth_model.rb
cosmos-3.9.1 lib/cosmos/gui/opengl/earth_model.rb
cosmos-3.8.3 lib/cosmos/gui/opengl/earth_model.rb
cosmos-3.8.2 lib/cosmos/gui/opengl/earth_model.rb
cosmos-3.8.1 lib/cosmos/gui/opengl/earth_model.rb
cosmos-3.8.0 lib/cosmos/gui/opengl/earth_model.rb
cosmos-3.7.1 lib/cosmos/gui/opengl/earth_model.rb
cosmos-3.7.0 lib/cosmos/gui/opengl/earth_model.rb
cosmos-3.6.3 lib/cosmos/gui/opengl/earth_model.rb
cosmos-3.6.2 lib/cosmos/gui/opengl/earth_model.rb
cosmos-3.6.1 lib/cosmos/gui/opengl/earth_model.rb
cosmos-3.6.0 lib/cosmos/gui/opengl/earth_model.rb
cosmos-3.5.3 lib/cosmos/gui/opengl/earth_model.rb
cosmos-3.5.2 lib/cosmos/gui/opengl/earth_model.rb
cosmos-3.5.0 lib/cosmos/gui/opengl/earth_model.rb
cosmos-3.4.2 lib/cosmos/gui/opengl/earth_model.rb
cosmos-3.4.1 lib/cosmos/gui/opengl/earth_model.rb
cosmos-3.4.0 lib/cosmos/gui/opengl/earth_model.rb
cosmos-3.3.3 lib/cosmos/gui/opengl/earth_model.rb
cosmos-3.3.2 lib/cosmos/gui/opengl/earth_model.rb