mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-24 21:10:33 +05:00
Fix .surf file reading.
See https://ngsolve.org/forum/ngspy-forum/1275-bug-surf-file-read-incorrectly
This commit is contained in:
parent
e72fb08405
commit
7ae460b2e5
@ -42,12 +42,11 @@ namespace netgen
|
|||||||
{
|
{
|
||||||
Point3d p;
|
Point3d p;
|
||||||
in >> p.X() >> p.Y() >> p.Z();
|
in >> p.X() >> p.Y() >> p.Z();
|
||||||
p.Z() *= 10;
|
|
||||||
mesh.AddPoint (p);
|
mesh.AddPoint (p);
|
||||||
}
|
}
|
||||||
|
|
||||||
mesh.ClearFaceDescriptors();
|
mesh.ClearFaceDescriptors();
|
||||||
mesh.AddFaceDescriptor (FaceDescriptor(0,1,0,0));
|
mesh.AddFaceDescriptor (FaceDescriptor(1,1,0,0));
|
||||||
|
|
||||||
in >> nbe;
|
in >> nbe;
|
||||||
// int invert = globflags.GetDefineFlag ("invertsurfacemesh");
|
// int invert = globflags.GetDefineFlag ("invertsurfacemesh");
|
||||||
|
Loading…
Reference in New Issue
Block a user