Compare commits
2 commits
Author | SHA1 | Date | |
---|---|---|---|
|
5beca8e527 | ||
|
a13348d291 |
2 changed files with 25 additions and 1 deletions
24
CMakeLists.txt
Normal file
24
CMakeLists.txt
Normal file
|
@ -0,0 +1,24 @@
|
|||
project(tess2)
|
||||
|
||||
include_directories(Include)
|
||||
|
||||
set(
|
||||
SRC
|
||||
Include/tesselator.h
|
||||
Source/bucketalloc.c
|
||||
Source/bucketalloc.h
|
||||
Source/dict.c
|
||||
Source/dict.h
|
||||
Source/geom.c
|
||||
Source/geom.h
|
||||
Source/mesh.c
|
||||
Source/mesh.h
|
||||
Source/priorityq.c
|
||||
Source/priorityq.h
|
||||
Source/sweep.c
|
||||
Source/sweep.h
|
||||
Source/tess.c
|
||||
Source/tess.h
|
||||
)
|
||||
|
||||
add_library(${PROJECT_NAME} ${SRC})
|
|
@ -936,7 +936,7 @@ void tessAddContour( TESStesselator *tess, int size, const void* vertices,
|
|||
|
||||
for( i = 0; i < numVertices; ++i )
|
||||
{
|
||||
const TESSreal* coords = (const TESSreal*)src;
|
||||
const double* coords = (const double*)src;
|
||||
src += stride;
|
||||
|
||||
if( e == NULL ) {
|
||||
|
|
Loading…
Add table
Reference in a new issue