User Tools

Site Tools


en:poly

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
en:poly [2016/08/07 20:34]
admin
en:poly [2016/11/07 12:14]
admin
Line 1: Line 1:
 ===== Poly (Statement) ===== ===== Poly (Statement) =====
 ==== Format ==== ==== Format ====
-**poly** [[arrays|array]]\\ +**poly** [[arrays[]|array]]\\ 
-**poly** ( [[arrays|array]] )\\+**poly** ( [[arrays[]|array]] )\\
 **poly** [[Lists|{ x1, y1, x2, y2, x3, y3 ... }]]\\ **poly** [[Lists|{ x1, y1, x2, y2, x3, y3 ... }]]\\
 **poly** [[Lists|{ {x1, y1}, {x2, y2}, {x3, y3} ... }]] **poly** [[Lists|{ {x1, y1}, {x2, y2}, {x3, y3} ... }]]
Line 16: Line 16:
 clg blue clg blue
 color green color green
-dim tri(1) +dim tri = {100, 100, 200, 200, 100, 200} 
-tri = {100, 100, 200, 200, 100, 200} +poly tri[]
-poly tri+
 </code> </code>
 <code> <code>
Line 35: Line 34:
 |0.9.4|number of points in the array argument was removed from the poly statement| |0.9.4|number of points in the array argument was removed from the poly statement|
 |1.99.99.55|two dimensional list support was added| |1.99.99.55|two dimensional list support was added|
 +|1.99.99.72|added required [] to passing variable array|
en/poly.txt · Last modified: 2020/02/28 10:46 (external edit)