Skip to content

Commit

Permalink
add comment explaining loader axes (#21)
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinyamauchi authored Mar 13, 2024
1 parent 32f1e55 commit d842839
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/surforama/io/mesh.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ def read_obj_file(file_path):
verts = mesh.vertices
faces = mesh.faces

# trimesh swaps coordinate axes
verts = verts[:, [2, 1, 0]]

values = np.ones((len(verts),))
Expand Down

0 comments on commit d842839

Please sign in to comment.