diff --git a/exposed/example.c b/exposed/example.c index ac01c40f..69058e4b 100644 --- a/exposed/example.c +++ b/exposed/example.c @@ -139,7 +139,7 @@ void Example2d(void) // And arc, centered at point 303, starting at point 304, ending at // point 305. - sys.entity[sys.entities++] = Slvs_MakeArcOfCircle(401, g, 200, + sys.entity[sys.entities++] = Slvs_MakeArcOfCircle(401, g, 200, 102, 303, 304, 305); // Now one more point, and a distance diff --git a/exposed/slvs.h b/exposed/slvs.h index 6ab7d1bf..bd7fdfa3 100644 --- a/exposed/slvs.h +++ b/exposed/slvs.h @@ -311,6 +311,7 @@ static Slvs_Entity Slvs_MakeCubic(Slvs_hEntity h, Slvs_hGroup group, } static Slvs_Entity Slvs_MakeArcOfCircle(Slvs_hEntity h, Slvs_hGroup group, Slvs_hEntity wrkpl, + Slvs_hEntity normal, Slvs_hEntity center, Slvs_hEntity start, Slvs_hEntity end) { @@ -320,6 +321,7 @@ static Slvs_Entity Slvs_MakeArcOfCircle(Slvs_hEntity h, Slvs_hGroup group, r.group = group; r.type = SLVS_E_ARC_OF_CIRCLE; r.wrkpl = wrkpl; + r.normal = normal; r.point[0] = center; r.point[1] = start; r.point[2] = end;