FillTriangleFan() public method

public FillTriangleFan ( float polygon2dVertices, int nelements, Drawing color ) : void
polygon2dVertices float
nelements int
color Drawing
return void
Exemplo n.º 1
0
 public void FillTriangleFan(Drawing.Color color, float[] coords, int n)
 {
     unsafe
     {
         fixed(float *head = &coords[0])
         {
             basicFillShader.FillTriangleFan(head, n, color);
         }
     }
 }