Skip to content

Commit

Permalink
Fix gltf min and max values
Browse files Browse the repository at this point in the history
  • Loading branch information
jailln committed Jul 10, 2020
1 parent 55f27c4 commit fd2105a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions py3dtiles/gltf.py
Original file line number Diff line number Diff line change
Expand Up @@ -207,8 +207,8 @@ def compute_header(binVertices, nVertices, bb, transform,
'byteOffset': sum(sizeVce[0:i]),
'componentType': 5126,
'count': nVertices[i],
'max': [bb[i][0][1], bb[i][0][2], bb[i][0][0]],
'min': [bb[i][1][1], bb[i][1][2], bb[i][1][0]],
'min': [bb[i][0][0], bb[i][0][1], bb[i][0][2]],
'max': [bb[i][1][0], bb[i][1][1], bb[i][1][2]],
'type': "VEC3"
})
# normals
Expand Down

0 comments on commit fd2105a

Please sign in to comment.