mirror of
https://github.com/cyberarm/i-mic-fps.git
synced 2025-12-15 23:52:35 +00:00
Added main menu, added loading screen, hacked and chiseled things until I could load models without attaching to a gameobject.
This commit is contained in:
@@ -22,6 +22,20 @@ class IMICFPS
|
||||
# material = index[3]
|
||||
end
|
||||
|
||||
def parent=(game_object)
|
||||
@parent = game_object
|
||||
end
|
||||
|
||||
def reflatten
|
||||
@vertices_list = nil
|
||||
@textures_list = nil
|
||||
@normals_list = nil
|
||||
|
||||
flattened_vertices
|
||||
flattened_textures
|
||||
flattened_normals
|
||||
end
|
||||
|
||||
def at_same_position?
|
||||
if @x == @parent.x
|
||||
if @x == @parent.x
|
||||
|
||||
Reference in New Issue
Block a user