changed variable name

This commit is contained in:
shirnschall 2021-08-13 16:03:53 +02:00
parent 1c0cfd8965
commit 3df3bbc948

View File

@ -257,12 +257,12 @@ public:
oldp.Translate(radius*dirn); oldp.Translate(radius*dirn);
//compute tangent vector in P1 //compute tangent vector in P1
gp_Vec2d tangv = gp_Vec2d(dir.X(),dir.Y()); gp_Vec2d t = gp_Vec2d(dir.X(),dir.Y());
cout << "t = (" << tangv.X() << ", " << tangv.Y() << ")" << endl; cout << "t = (" << t.X() << ", " << t.Y() << ")" << endl;
//add arc //add arc
return ArcTo (oldp.X(), oldp.Y(), tangv); return ArcTo (oldp.X(), oldp.Y(), t);
} }
auto Rectangle (double l, double w) auto Rectangle (double l, double w)