Sha256: b83a2b1c1dc2b283bd5d4920cfec78a94fd417821070eaa2673490e146bf60bc

Contents?: true

Size: 600 Bytes

Versions: 27

Compression:

Stored size: 600 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 MoonModel < TextureMappedSphere
    def initialize(x, y, z)
      super(x, y, z, File.join(::Cosmos::PATH, 'data', 'moonmap1k.gif'))
    end
  end

end # module Cosmos

Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
cosmos-3.3.1 lib/cosmos/gui/opengl/moon_model.rb
cosmos-3.3.0 lib/cosmos/gui/opengl/moon_model.rb
cosmos-3.2.1 lib/cosmos/gui/opengl/moon_model.rb
cosmos-3.2.0 lib/cosmos/gui/opengl/moon_model.rb
cosmos-3.1.2 lib/cosmos/gui/opengl/moon_model.rb
cosmos-3.1.1 lib/cosmos/gui/opengl/moon_model.rb
cosmos-3.1.0 lib/cosmos/gui/opengl/moon_model.rb