CgalSmoothAngleDegrees - fix compilation warnings

warning C4244: 'initializing': conversion from 'double' to 'const int', possible loss of data
This commit is contained in:
Andrej730
2025-08-12 18:09:27 +05:00
parent 29ba0f3c03
commit 6a42ac7733
+1 -1
View File
@@ -367,7 +367,7 @@ namespace ifcopenshell {
struct CgalSmoothAngleDegrees : public SettingBase<CgalSmoothAngleDegrees, double> {
static constexpr const char* const name = "cgal-smooth-angle-degrees";
static constexpr const char* const description = "Angle in degrees under which adjacent facets will have averaged vertex normals in CGAL output. NB irrespective of original IFC geometry types. Defaults to -1 to disable smoothing.";
static constexpr int defaultvalue = -1.;
static constexpr int defaultvalue = -1;
};
struct KeepBoundingBoxes : public SettingBase<KeepBoundingBoxes, bool> {