clang format (#797)
This commit is contained in:
parent
3f5067c8c2
commit
7cd1ff71f5
2 changed files with 4 additions and 2 deletions
|
@ -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);
|
||||
|
|
|
@ -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).
|
||||
|
|
Loading…
Reference in a new issue