mirror of
https://github.com/cyberarm/i-mic-fps.git
synced 2025-12-15 15:42:35 +00:00
dt with dt for arrow key look
This commit is contained in:
@@ -118,10 +118,10 @@ class IMICFPS
|
||||
end
|
||||
|
||||
if button_down?(Gosu::KbLeft)
|
||||
@y_rotation+=relative_speed*100
|
||||
@y_rotation+=(relative_speed*1000)*delta_time
|
||||
end
|
||||
if button_down?(Gosu::KbRight)
|
||||
@y_rotation-=relative_speed*100
|
||||
@y_rotation-=(relative_speed*1000)*delta_time
|
||||
end
|
||||
|
||||
if @_time_in_air
|
||||
|
||||
@@ -18,6 +18,8 @@ class IMICFPS
|
||||
@nearest_vertex_lookup[x_slot][y_slot] = [] unless @nearest_vertex_lookup[x_slot][y_slot]
|
||||
@nearest_vertex_lookup[x_slot][y_slot] << vert
|
||||
end
|
||||
|
||||
p model.faces.first
|
||||
end
|
||||
|
||||
def height_at(vertex)
|
||||
|
||||
Reference in New Issue
Block a user