projects
/
synfig.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Write "operator()" instead of "operator ()", "operator&" instead of "operator &"...
[synfig.git]
/
synfig-core
/
trunk
/
src
/
synfig
/
curveset.cpp
diff --git
a/synfig-core/trunk/src/synfig/curveset.cpp
b/synfig-core/trunk/src/synfig/curveset.cpp
index
2e607bd
..
e8bd7fa
100644
(file)
--- 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;
}
}else return curveindex < rhs.curveindex;
}
- bool operator
>(const ipoint &rhs) const
+ bool operator>(const ipoint &rhs) const
{
return rhs < *this;
}
{
return rhs < *this;
}
@@
-304,7
+304,7
@@
public:
}
}
}
}
- bool ConstructSet(CurveSet &
c
, const CurveSet &lhs, const CurveSet &rhs, int type)
+ bool ConstructSet(CurveSet &
/*c*/
, const CurveSet &lhs, const CurveSet &rhs, int type)
{
bool in1,in2;
{
bool in1,in2;
@@
-428,7
+428,7
@@
void CurveSet::SetClamp(int &i, int &si)
}
}
}
}
-void CurveSet::CleanUp(int
curve
)
+void CurveSet::CleanUp(int
/*curve*/
)
{
}
{
}
@@
-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
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 bou
ding rectai
ngles)
+ (can be helped a bit by not including the edges of bou
nding recta
ngles)
2) Intersecting curves is slow... oh well
Algorithm:
2) Intersecting curves is slow... oh well
Algorithm:
@@
-446,17
+446,17
@@
void CurveSet::CleanUp(int curve)
- only works with odd-even rule
*/
- only works with odd-even rule
*/
-CurveSet CurveSet::operator
&(const CurveSet &rhs
) const
+CurveSet CurveSet::operator
&(const CurveSet &/*rhs*/
) const
{
return *this;
}
{
return *this;
}
-CurveSet CurveSet::operator
|(const CurveSet &rhs
) const
+CurveSet CurveSet::operator
|(const CurveSet &/*rhs*/
) const
{
return *this;
}
{
return *this;
}
-CurveSet CurveSet::operator
-(const CurveSet &rhs
) const
+CurveSet CurveSet::operator
-(const CurveSet &/*rhs*/
) const
{
return *this;
}
{
return *this;
}