mirror of
https://github.com/yeicor-3d/yet-another-cad-viewer.git
synced 2025-12-19 22:24:17 +01:00
Minor improvements to custom textures feature
This commit is contained in:
@@ -24,7 +24,6 @@ def tessellate(
|
|||||||
texture: Optional[Tuple[bytes, str]] = None,
|
texture: Optional[Tuple[bytes, str]] = None,
|
||||||
) -> GLTF2:
|
) -> GLTF2:
|
||||||
"""Tessellate a whole shape into a list of triangle vertices and a list of triangle indices."""
|
"""Tessellate a whole shape into a list of triangle vertices and a list of triangle indices."""
|
||||||
print("tessellate, obj_color: ", obj_color)
|
|
||||||
if texture is None:
|
if texture is None:
|
||||||
mgr = GLTFMgr()
|
mgr = GLTFMgr()
|
||||||
else:
|
else:
|
||||||
|
|||||||
Reference in New Issue
Block a user