4ffa3a21d7
Additionally, a fix for isnan() being not detected. Also, add USES=gl. PR: 232680 Submitted by: Piotr Kubaj Approved by: maintainer
11 lines
357 B
C++
11 lines
357 B
C++
--- src/drivers/olethros/geometry.cpp.orig 2018-10-25 14:35:19 UTC
|
|
+++ src/drivers/olethros/geometry.cpp
|
|
@@ -370,7 +370,7 @@ void EstimateSphere (std::vector<Vector> P, Parametric
|
|
}
|
|
delta_total += delta;
|
|
}
|
|
- if (isnan(r)) {
|
|
+ if (std::isnan(r)) {
|
|
for (i=0; i<d; i++) {
|
|
center[i] = ((*(sphere->C))[i] - mean[i]) / scale;
|
|
}
|