Did some reorganizing

This commit is contained in:
2018-03-20 15:11:00 -05:00
parent a3c92f9de3
commit 46f533f83e
9 changed files with 157 additions and 53 deletions

View File

@@ -1,10 +1,6 @@
class IMICFPS
class Wavefront
module Parser
TextureCoordinate = Struct.new(:u, :v, :weight)
Vertex = Struct.new(:x, :y, :z, :weight)
Color = Struct.new(:red, :green, :blue, :alpha)
def parse
lines = 0
@file.each_line do |line|