Skip to content

OpenToonz - An open-source full-featured 2D animation creation software

C

clang format (#797)

shun-iwasawa7cd1ff71f51a
diff --git a/toonz/sources/common/tapptools/tcolorutils.cpp b/toonz/sources/common/tapptools/tcolorutils.cpp
index 8203a5c60..2a620a167 100644
--- a/toonz/sources/common/tapptools/tcolorutils.cpp
+++ b/toonz/sources/common/tapptools/tcolorutils.cpp
@@ -182,7 +182,8 @@ void chooseLeafToClusterize(ClusterContainer::iterator &itRet,
const KEYER_FLOAT *clusterCovariance = cluster->statistic.covariance;
assert(!ISNAN(clusterCovariance[0]));
- // Calculate the eigenvalues ​​of the covariance matrix of the cluster statistics
+ // Calculate the eigenvalues ​​of the covariance matrix of the cluster
+ // statistics
// (because the array is symmetrical the eigenvalues are all real)
KEYER_FLOAT eigenValues[3];
tmpMulteplicity = calcCovarianceEigenValues(clusterCovariance, eigenValues);
diff --git a/toonz/sources/common/tgeometry/tcurveutil.cpp b/toonz/sources/common/tgeometry/tcurveutil.cpp
index 87140c3e9..ff0c3b4d4 100644
--- a/toonz/sources/common/tgeometry/tcurveutil.cpp
+++ b/toonz/sources/common/tgeometry/tcurveutil.cpp
@@ -284,7 +284,8 @@ int intersect(const TQuadratic &c0, const TQuadratic &c1,
// This function checks whether the control point
// p1 is very close to p0 or p2.
// In this case, we are approximated to the quadratic p0-p2 segment.
-// If p1 is near p0, the relationship between the original and the quadratic segment:
+// If p1 is near p0, the relationship between the original and the quadratic
+// segment:
// tq = sqrt(ts),
// If p1 is near p2, instead it's:
// tq = 1-sqrt(1-ts).