mirror of
https://git.mirrors.martin98.com/https://github.com/google/draco
synced 2025-08-12 02:48:58 +08:00
Updated example script
This commit is contained in:
parent
7a68d823f9
commit
9d02e1cd75
@ -5,10 +5,13 @@ mesh = drc.decode('bunny.drc')
|
||||
|
||||
print("\n==== FACES ====")
|
||||
print(mesh.faces_num)
|
||||
print(mesh.faces_len)
|
||||
print(mesh.faces[0:10])
|
||||
print("\n==== VERTICES ====")
|
||||
print(mesh.vertices_num)
|
||||
print(mesh.vertices_len)
|
||||
print(mesh.vertices[0:10])
|
||||
print("\n==== NORMALS ====")
|
||||
print(mesh.normals_num)
|
||||
print(mesh.normals_len)
|
||||
# print(mesh.normals[0:10]) This mesh has no normals
|
||||
|
Loading…
x
Reference in New Issue
Block a user