-
Notifications
You must be signed in to change notification settings - Fork 1
/
README
56 lines (34 loc) · 1.21 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
This is a mirror/fork of the poly2tri.python project.
I intend to keep the code mostly intact, but have converted the mercurial
repo to git for worflow reasons, and may make slight changes according to needs.
The original project can be found here:
http://code.google.com/p/poly2tri/source/checkout?repo=python
it provides a python extension to use the C++ library poly2tri:
http://code.google.com/p/poly2tri/
Many thanks to the authors of this fine library:
Mason Green <mason.green@gmail.com> (C++, Python)
Thomas Åhlén <thahlen@gmail.com> (Java)
Below are the contents of the orignal README:
==================
INSTALLATION GUIDE
==================
------------
Dependencies
------------
Core poly2tri lib:
- Cython (0.14.1)
Testbed:
- Pygame
Building:
- setuptools
----------------------------------------------
Building the library
----------------------------------------------
python setup.py build_ext -i
----------------------------------------------
Running the Examples
----------------------------------------------
python test.py <filename> <translate-x> <translate-y> <zoom>
Examples:
python test.py data/dude.dat 100 -200 1
python test.py data/nazca_monkey.dat 400 300 4.5