mirror of
https://github.com/cyberarm/i-mic-fps.git
synced 2025-12-15 23:52:35 +00:00
Moved renderering system and model loading into CyberarmEngine, added island_test_map
This commit is contained in:
@@ -1,11 +1,6 @@
|
||||
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
|
||||
|
||||
@@ -13,4 +8,4 @@ class IMICFPS
|
||||
EARTH_GRAVITY = 9.8 # m/s
|
||||
# Moon
|
||||
MOON_GRAVITY = 1.625 # m/s
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user