mirror of
https://github.com/NGSolve/netgen.git
synced 2024-11-11 16:49:16 +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;
|
||||
in >> p.X() >> p.Y() >> p.Z();
|
||||
p.Z() *= 10;
|
||||
mesh.AddPoint (p);
|
||||
}
|
||||
|
||||
mesh.ClearFaceDescriptors();
|
||||
mesh.AddFaceDescriptor (FaceDescriptor(0,1,0,0));
|
||||
mesh.AddFaceDescriptor (FaceDescriptor(1,1,0,0));
|
||||
|
||||
in >> nbe;
|
||||
// int invert = globflags.GetDefineFlag ("invertsurfacemesh");
|
||||
|
Loading…
Reference in New Issue
Block a user