diff --git a/CMakeLists.txt b/CMakeLists.txt index a9be55d6c69b..3e87964e5b17 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -7,7 +7,7 @@ cmake_policy(SET CMP0048 NEW) ############################################################################## -set(VORPALINE_VERSION_RC TRUE) +set(VORPALINE_VERSION_RC FALSE) set(VORPALINE_VERSION_MAJOR 1) set(VORPALINE_VERSION_MINOR 9) set(VORPALINE_VERSION_PATCH 2) diff --git a/src/lib/geogram/delaunay/periodic_delaunay_3d.cpp b/src/lib/geogram/delaunay/periodic_delaunay_3d.cpp index 20d2fb5ac325..c8cca412c8e0 100644 --- a/src/lib/geogram/delaunay/periodic_delaunay_3d.cpp +++ b/src/lib/geogram/delaunay/periodic_delaunay_3d.cpp @@ -209,7 +209,6 @@ namespace { ); } - /************************************************************************/ void delaunay_citations() { @@ -251,6 +250,26 @@ namespace { } } +/************************************************************************/ + +// These two functions are missing when compiling in PSM mode. +#ifdef GEOGRAM_PSM + namespace GEO { + namespace PCK { + inline Sign det_3d(const vec3& p0, const vec3& p1, const vec3& p2) { + return det_3d(p0.data(), p1.data(), p2.data()); + } + inline Sign det_4d( + const vec4& p0, const vec4& p1, const vec4& p2, const vec4& p3 + ) { + return det_4d(p0.data(), p1.data(), p2.data(), p3.data()); + } + } + } +#endif + +/************************************************************************/ + namespace GEO { /**