|
@@ -148,7 +148,7 @@ def buffer_position(mesh):
|
|
|
|
|
|
for vertex_index in face.vertices:
|
|
for vertex_index in face.vertices:
|
|
vertex = mesh.vertices[vertex_index]
|
|
vertex = mesh.vertices[vertex_index]
|
|
- vector = (vertex.co.x, vertex.co.z, -vertex.co.y)
|
|
|
|
|
|
+ vector = (vertex.co.x, vertex.co.y, vertex.co.z)
|
|
position.extend(vector)
|
|
position.extend(vector)
|
|
|
|
|
|
return position
|
|
return position
|
|
@@ -763,7 +763,7 @@ def vertices(mesh):
|
|
vertices_ = []
|
|
vertices_ = []
|
|
|
|
|
|
for vertex in mesh.vertices:
|
|
for vertex in mesh.vertices:
|
|
- vertices_.extend((vertex.co.x, vertex.co.z, -vertex.co.y))
|
|
|
|
|
|
+ vertices_.extend((vertex.co.x, vertex.co.y, vertex.co.z))
|
|
|
|
|
|
return vertices_
|
|
return vertices_
|
|
|
|
|