X-Git-Url: https://melusine.eu.org/syracuse/G/git/?p=delaunay.git;a=blobdiff_plain;f=luamesh-tex.lua;h=11e31a4c77cbbe8575e05cdd046720b157759072;hp=b035978b267f2b3ca13ddbc26e2ed8ce87fd2b1a;hb=fc5d330713640fd0b5ad351db12b7c4e3143fca6;hpb=8b4d19195c3a5346157172be57d3ac7c5b756220 diff --git a/luamesh-tex.lua b/luamesh-tex.lua index b035978..11e31a4 100644 --- a/luamesh-tex.lua +++ b/luamesh-tex.lua @@ -873,10 +873,10 @@ end function drawMeshPolygonMP(chaine,mode,h,step, - points,scale) + points,scale,random) local polygon = buildList(chaine, mode) polygon = addPointsPolygon(polygon,h) - local grid = buildGrid(polygon,h) + local grid = buildGrid(polygon,h,random) local listPoints = addGridPoints(polygon,grid,h) if(step=="polygon") then -- the polygon @@ -906,10 +906,10 @@ end function drawMeshPolygonTikZ(chaine,mode,h,step, - points,scale,color,colorPoly) + points,scale,color,colorPoly,random) local polygon = buildList(chaine, mode) polygon = addPointsPolygon(polygon,h) - local grid = buildGrid(polygon,h) + local grid = buildGrid(polygon,h,random) local listPoints = addGridPoints(polygon,grid,h) if(step=="polygon") then -- the polygon @@ -936,10 +936,10 @@ function drawMeshPolygonTikZ(chaine,mode,h,step, end function drawMeshPolygonMPinc(chaine,beginning,ending,mode,h,step, - points,scale) + points,scale,random) local polygon = buildList(chaine, mode) polygon = addPointsPolygon(polygon,h) - local grid = buildGrid(polygon,h) + local grid = buildGrid(polygon,h,random) local listPoints = addGridPoints(polygon,grid,h) if(step=="polygon") then -- the polygon @@ -968,10 +968,10 @@ end function drawMeshPolygonTikZinc(chaine,beginning,ending,mode,h,step, - points,scale,color,colorPoly) + points,scale,color,colorPoly,random) local polygon = buildList(chaine, mode) polygon = addPointsPolygon(polygon,h) - local grid = buildGrid(polygon,h) + local grid = buildGrid(polygon,h,random) local listPoints = addGridPoints(polygon,grid,h) if(step=="polygon") then -- the polygon