mirror of
https://github.com/cyberarm/i-mic-fps.git
synced 2025-12-15 15:42:35 +00:00
Broken mouse input, texture mapping issue persists.
This commit is contained in:
@@ -141,9 +141,9 @@ class IMICFPS
|
||||
def add_texture_coordinate(array)
|
||||
texture = nil
|
||||
if array.size == 4
|
||||
texture = Vertex.new(Float(array[1]), Float(array[2]), Float(array[3]))
|
||||
texture = Vertex.new(Float(array[1]), 1-Float(array[2]), Float(array[3]))
|
||||
elsif array.size == 3
|
||||
texture = Vertex.new(Float(array[1]), Float(array[2]), 0.0)
|
||||
texture = Vertex.new(Float(array[1]), 1-Float(array[2]), 0.0)
|
||||
else
|
||||
raise
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user