X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-core%2Ftrunk%2Fsrc%2Fsynfig%2Fcurveset.cpp;h=e8bd7fab3d3fb74985432d442fa12d998b121534;hb=d15c4522466bedfbe61620c401becae0931854f5;hp=4d0241090f3c951f9380dc4ef714611a763e6c8a;hpb=c3ad95144d148602f672e95ddda1f18fc35502f8;p=synfig.git diff --git a/synfig-core/trunk/src/synfig/curveset.cpp b/synfig-core/trunk/src/synfig/curveset.cpp index 4d02410..e8bd7fa 100644 --- a/synfig-core/trunk/src/synfig/curveset.cpp +++ b/synfig-core/trunk/src/synfig/curveset.cpp @@ -104,7 +104,7 @@ struct ipoint }else return curveindex < rhs.curveindex; } - bool operator >(const ipoint &rhs) const + bool operator>(const ipoint &rhs) const { return rhs < *this; } @@ -436,7 +436,7 @@ void CurveSet::CleanUp(int /*curve*/) Performance annoyances: 1) Recursing down to find an intersection at the end points that doesn't actually exist - (can be helped a bit by not including the edges of bouding rectaingles) + (can be helped a bit by not including the edges of bounding rectangles) 2) Intersecting curves is slow... oh well Algorithm: @@ -446,17 +446,17 @@ void CurveSet::CleanUp(int /*curve*/) - only works with odd-even rule */ -CurveSet CurveSet::operator &(const CurveSet &/*rhs*/) const +CurveSet CurveSet::operator&(const CurveSet &/*rhs*/) const { return *this; } -CurveSet CurveSet::operator |(const CurveSet &/*rhs*/) const +CurveSet CurveSet::operator|(const CurveSet &/*rhs*/) const { return *this; } -CurveSet CurveSet::operator -(const CurveSet &/*rhs*/) const +CurveSet CurveSet::operator-(const CurveSet &/*rhs*/) const { return *this; }