Skip to content

Commit 3023373

Browse files
committed
Merge pull request yidao620c#63 from Lrevor/patch-3
Update p12_var_binary.py
2 parents 7402563 + 385c88e commit 3023373

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

cookbook/c06/p12_var_binary.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@
77
import struct
88
import itertools
99

10+
polys = [
11+
[ (1.0, 2.5), (3.5, 4.0), (2.5, 1.5) ],
12+
[ (7.0, 1.2), (5.1, 3.0), (0.5, 7.5), (0.8, 9.0) ],
13+
[ (3.4, 6.3), (1.2, 0.5), (4.6, 9.2) ],
14+
]
1015

1116
def write_polys(filename, polys):
1217
# Determine bounding box

0 commit comments

Comments
 (0)