You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I debugged this a bit, it's some weirdness in this constructor: https://github.com/JuliaGeometry/GeometryBasics.jl/blob/master/src/meshes.jl#L91
faces returns nothing, and therefore it tries to triangulate the triangle 😅 I guess the fix would be to implement faces(::Triangle) to return [GLTriangleFace(1, 2, 3)] (or 0, 1, 2)...
The doc page at https://juliageometry.github.io/GeometryBasics.jl/dev/meshes/ is empty, so I'm not sure what I'm expected to do, but creating a mesh out of a single triangle sometimes works:
and sometimes doesn't:
I was trying to follow the MeshCat.jl's tutorial, and I got this issue while trying to draw a flat triangle.
The text was updated successfully, but these errors were encountered: