mirror of
https://github.com/jhasse/poly2tri.git
synced 2024-11-26 15:26:12 +01:00
removed bad import; updated README
This commit is contained in:
parent
73b1fa917a
commit
cd95b14d0a
6
README
6
README
@ -7,7 +7,7 @@ Dependencies
|
|||||||
------------
|
------------
|
||||||
|
|
||||||
Core poly2tri lib:
|
Core poly2tri lib:
|
||||||
- Standard Template Library
|
- Standard Template Library (STL)
|
||||||
|
|
||||||
Testbed:
|
Testbed:
|
||||||
- gcc
|
- gcc
|
||||||
@ -15,8 +15,8 @@ Dependencies
|
|||||||
- GLFW (http://glfw.sf.net)
|
- GLFW (http://glfw.sf.net)
|
||||||
- Python
|
- Python
|
||||||
|
|
||||||
Waf (http://code.google.com/p/waf/) is used to compile the testbed, and
|
Waf (http://code.google.com/p/waf/) is used to compile the testbed.
|
||||||
the Python waf script (86kb) is included in the repositoty.
|
A waf script (86kb) is included in the repositoty.
|
||||||
|
|
||||||
----------------------------------------------
|
----------------------------------------------
|
||||||
Building the Testbed
|
Building the Testbed
|
||||||
|
@ -30,7 +30,6 @@
|
|||||||
*/
|
*/
|
||||||
#include "sweep_context.h"
|
#include "sweep_context.h"
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
#include <GL/glfw.h>
|
|
||||||
#include "advancing_front.h"
|
#include "advancing_front.h"
|
||||||
|
|
||||||
namespace p2t {
|
namespace p2t {
|
||||||
|
7
wscript
7
wscript
@ -40,15 +40,16 @@ def configure(conf):
|
|||||||
def build(bld):
|
def build(bld):
|
||||||
|
|
||||||
print(' building')
|
print(' building')
|
||||||
'''
|
|
||||||
|
'''
|
||||||
# A static library
|
# A static library
|
||||||
# The extension (.a) is added automatically
|
# The extension (.a) is added automatically
|
||||||
bld.new_task_gen(
|
bld.new_task_gen(
|
||||||
features = 'cxx cstaticlib',
|
features = 'cxx cshlib',
|
||||||
source = p2t_source_files,
|
source = p2t_source_files,
|
||||||
name = 'poly2tri',
|
name = 'poly2tri',
|
||||||
target = 'poly2tri')
|
target = 'poly2tri')
|
||||||
|
|
||||||
# 1. A simple program
|
# 1. A simple program
|
||||||
bld.new_task_gen(
|
bld.new_task_gen(
|
||||||
features = 'cxx cprogram',
|
features = 'cxx cprogram',
|
||||||
|
Loading…
Reference in New Issue
Block a user