mirror of https://github.com/CGAL/cgal
Update Stream_support/include/CGAL/IO/STL.h
This commit is contained in:
parent
62a9c9e04f
commit
5d82eed3ea
|
|
@ -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(),
|
||||
|
|
|
|||
Loading…
Reference in New Issue