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 think I don't understand what the use of Triangular is since it doesn't implements the trait Shape. After reading #202, it feels that the right shape to use is ConvexPolygon, but in that case, I don't see why Triangular exists at all (and I'm sure there is a reason). I think that the documentation could be more explicit.
The text was updated successfully, but these errors were encountered:
Yes, Triangle does not implements the trait Shape because that would be redundant with ConvexPolygon.
Yet, triangles exist because they are used by triangle-meshes to simply their collision detection. So basically, they are not expected to be used directly by the end-user, but are useful for algorithmic reasons.
I agree the documentation should be more explicit. Or event better: you should consider putting in the shape module only geometries actually implementing the Shape trait.
I think I don't understand what the use of
Triangular
is since it doesn't implements the traitShape
. After reading #202, it feels that the right shape to use isConvexPolygon
, but in that case, I don't see whyTriangular
exists at all (and I'm sure there is a reason). I think that the documentation could be more explicit.The text was updated successfully, but these errors were encountered: