From 86549ae5135f2efa9ceb0689b88004ede5269668 Mon Sep 17 00:00:00 2001 From: Alex Wilson Date: Thu, 10 May 2012 19:52:26 +1000 Subject: New triangulator for map polygons Replacing the qTriangulate call with poly2tri. This is a BSD-licensed triangulation library that gives better performance for most of our shapes. See http://pastie.org/3893553 for a timing comparison on linux-x86 (timing is given for the whole screen transformation step) The BSD-licensed code is isolated into its own dir (in src/3rdparty) and compiled as a separate static library to be linked in. The files have been renamed (.cc => .cpp) and doubles changed to floats, but are otherwise identical to those found at http://code.google.com/p/poly2tri/ Change-Id: Ib07aadafdc5d4b8ac1024e1eecd70ab39f673197 Reviewed-by: Aaron McCarthy --- src/src.pro | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/src.pro') diff --git a/src/src.pro b/src/src.pro index 3b54b67b..2a616cc8 100644 --- a/src/src.pro +++ b/src/src.pro @@ -1,4 +1,4 @@ TEMPLATE = subdirs -CONFIG+=ordered -SUBDIRS += location plugins imports +CONFIG += ordered +SUBDIRS += 3rdparty location plugins imports -- cgit v1.2.1