Update Stream_support/include/CGAL/IO/STL.h

This commit is contained in:
Andreas Fabri 2025-10-21 17:26:45 +02:00 committed by GitHub
parent 62a9c9e04f
commit 5d82eed3ea
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -329,7 +329,7 @@ bool write_STL(std::ostream& os,
Point_3 qq = conv(q);
Point_3 rr = conv(r);
const Vector_3 nn = collinear(pp,qq,rr) ? Vector_3(static_cast<FT>(1.0),static_cast<FT>(0),static_cast<FT>(0)) : unit_normal(pp,qq,rr);
const Vector_3 nn = collinear(pp,qq,rr) ? Vector_3(static_cast<FT>(1),static_cast<FT>(0),static_cast<FT>(0)) : unit_normal(pp,qq,rr);
const float coords[12] = { nn.x(), nn.y(), nn.z(),
pp.x(), pp.y(), pp.z(),