obj_parser 0.0.6 → 0.0.7
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/obj_parser/obj.rb +2 -2
- data/lib/obj_parser/version.rb +1 -1
- metadata +1 -1
data/lib/obj_parser/obj.rb
CHANGED
@@ -35,10 +35,10 @@ module ObjParser
|
|
35
35
|
end
|
36
36
|
|
37
37
|
def compute_tangents
|
38
|
-
return if textures.count == 0 || normals.count == 0
|
39
|
-
self.resolve_faces
|
40
38
|
self.tangents = []
|
41
39
|
self.tangents_indexes = []
|
40
|
+
return if textures.count == 0 || normals.count == 0
|
41
|
+
self.resolve_faces
|
42
42
|
pindex = 0
|
43
43
|
self.faces.each do |face|
|
44
44
|
pindex += 1
|
data/lib/obj_parser/version.rb
CHANGED