Esempio n. 1
0
 internal void CreateSmoothBorderTessSegment(VBOStream ownerVBOStream,
                                             SmoothBorderBuilder smoothBorderBuilder)
 {
     //
     float[] smoothBorderTess = GetSmoothBorders(smoothBorderBuilder);
     _smoothBorderVboSeg = ownerVBOStream.CreateSegment(smoothBorderTess, BorderTriangleStripCount, 4);
     //
 }
Esempio n. 2
0
 internal void CreateAreaTessVBOSegment(VBOStream ownerVBOStream,
                                        TessTool tess,
                                        Tesselate.Tesselator.WindingRuleType windingRuleType)
 {
     //
     float[] tessArea = GetAreaTess(tess, windingRuleType);
     if (tessArea != null)
     {
         _tessAreaVboSeg = ownerVBOStream.CreateSegment(tessArea, TessAreaVertexCount, 2);
     }
     else
     {
         //??
     }
     //
 }