mirror of
https://github.com/cyberarm/i-mic-fps.git
synced 2025-12-15 15:42:35 +00:00
16 lines
498 B
Ruby
16 lines
498 B
Ruby
class IMICFPS
|
|
GAME_ROOT_PATH = File.expand_path("..", File.dirname(__FILE__))
|
|
|
|
TextureCoordinate = Struct.new(:u, :v, :weight)
|
|
Point = Struct.new(:x, :y)
|
|
Color = Struct.new(:red, :green, :blue, :alpha)
|
|
Face = Struct.new(:vertices, :uvs, :normals, :colors, :material, :smoothing)
|
|
|
|
# Objects exported from blender using the default or meter object scale will be close to 1 GL unit
|
|
MODEL_METER_SCALE = 1.0
|
|
|
|
# Earth
|
|
EARTH_GRAVITY = 9.8 # m/s
|
|
# Moon
|
|
MOON_GRAVITY = 1.625 # m/s
|
|
end |