mirror of
https://github.com/cyberarm/i-mic-fps.git
synced 2025-12-15 15:42:35 +00:00
Replaced usage of with CommonMethods.window (which uses ), refactored InputMapper to match actions to keys and visa-versa, removed categories from InputMapper, moved input mappings from Camera and Player into InputMapper (for now.)
This commit is contained in:
@@ -6,7 +6,7 @@ class IMICFPS
|
||||
class Wavefront
|
||||
class Model
|
||||
include OpenGL
|
||||
# include GLU
|
||||
include CommonMethods
|
||||
|
||||
include Parser
|
||||
|
||||
@@ -50,7 +50,7 @@ class IMICFPS
|
||||
@objects.each_with_index do |o, i|
|
||||
puts " Model::Object Name: #{o.name}, Vertices: #{o.vertices.size}" if $debug
|
||||
end
|
||||
$window.number_of_vertices+=@vertex_count
|
||||
window.number_of_vertices+=@vertex_count
|
||||
@model_has_texture = false
|
||||
@materials.each do |key, material|
|
||||
if material.texture_id
|
||||
|
||||
Reference in New Issue
Block a user