mirror of
https://git.datalinker.icu/comfyanonymous/ComfyUI
synced 2026-08-16 11:23:31 +08:00
Fix comment.
This function does not support quads.
This commit is contained in:
parent
9d06436b67
commit
3fb2c6be6d
@ -244,7 +244,7 @@ def save_glb(vertices, faces, filepath, metadata=None):
|
||||
|
||||
Parameters:
|
||||
vertices: torch.Tensor of shape (N, 3) - The vertex coordinates
|
||||
faces: torch.Tensor of shape (M, 4) or (M, 3) - The face indices (quad or triangle faces)
|
||||
faces: torch.Tensor of shape (M, 3) - The face indices (triangle faces)
|
||||
filepath: str - Output filepath (should end with .glb)
|
||||
"""
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user