Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Triangulator error
#1
Hi, I tried to change the 'RectangleWithHoles' positions in the 'TriangulatedExtrudedShapeSample' of 'Ab4d.SharpEngine.Samples' to:

Code:
multiShapePositions = new Vector2[][]
{
    [new Vector2(200, 0), new Vector2(200, 100), new Vector2(0, 100), new Vector2(0, 0)],
    [new Vector2(71f, 28f), new Vector2(71f, 69f), new Vector2(85f, 69f), new Vector2(85f, 28f)],
    [new Vector2(7f, 5f), new Vector2(7f, 11f), new Vector2(71f, 11f), new Vector2(71f, 5f)]
};

The result is this:
[Image: 2025-07-10-17h37-23.png]

Do you have any idea what can I look for to fix this?
Thank you.
  


Messages In This Thread
Triangulator error - by Artipo - 07-10-2025, 05:52 PM
RE: Triangulator error - by abenedik - 07-11-2025, 06:39 PM
RE: Triangulator error - by Artipo - 07-11-2025, 07:01 PM

Forum Jump:


Users browsing this thread:
1 Guest(s)