Triangulation in Metal
问题 As Shown in the picture. The numbers are touchpoints in the screen in order. I need to draw the traingulation only inside Colored area. Can we do it in metal with its algorithm or Any suggestions please var temp1:VertexInFillBrus temp1 = VertexInFillBrush(a:drawPoints[0] , b:drawPoints[drawPoints.count - 1] , c: drawPoints[drawPoints.count - 2])) self.bezierCalculatedCoordinates.append(temp1) self.buildBuffers(device: device) In Draw Command commandEncoder.setRenderPipelineState