summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/dxfdata.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dxfdata.cc b/src/dxfdata.cc
index 00b246f..4b542d1 100644
--- a/src/dxfdata.cc
+++ b/src/dxfdata.cc
@@ -238,7 +238,7 @@ DxfData::DxfData(double fn, double fs, double fa,
int n = get_fragments_from_r(r_major, fn, fs, fa);
n = (int)ceil(n * sweep_angle / (2 * M_PI));
// Vector2d p1;
- Vector2d p1;
+ Vector2d p1; p1 << 0,0;
for (int i=0;i<=n;i++) {
double a = (ellipse_start_angle + sweep_angle*i/n);
// Vector2d p2(cos(a)*r_major, sin(a)*r_minor);
contact: Jan Huwald // Impressum