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