Cleanup: comments (long lines) in various intern/ libs

This commit is contained in:
Campbell Barton
2019-05-01 20:50:02 +10:00
parent 5bbf9029ce
commit 177a0ca131
12 changed files with 67 additions and 65 deletions

View File

@@ -297,7 +297,7 @@ bool IK_QJacobianSolver::Solve(IK_QSegment *root,
{
float scale = ComputeScale();
bool solved = false;
//double dt = analyze_time();
// double dt = analyze_time();
Scale(scale, tasks);
@@ -359,7 +359,7 @@ bool IK_QJacobianSolver::Solve(IK_QSegment *root,
Scale(1.0f / scale, tasks);
//analyze_add_run(max_iterations, analyze_time()-dt);
// analyze_add_run(max_iterations, analyze_time()-dt);
return solved;
}

View File

@@ -578,7 +578,7 @@ void IK_QSwingSegment::SetLimit(int axis, double lmin, double lmax)
// put center of ellispe in the middle between min and max
double offset = 0.5 * (lmin + lmax);
//lmax = lmax - offset;
// lmax = lmax - offset;
if (axis == 0) {
m_min[0] = -lmax;

View File

@@ -32,11 +32,11 @@
/**
* An IK_Qsegment encodes information about a segments
* local coordinate system.
*
*
* These segments always point along the y-axis.
*
*
* Here we define the local coordinates of a joint as
* local_transform =
* local_transform =
* translate(tr1) * rotation(A) * rotation(q) * translate(0,length,0)
* You can read this as:
* - first translate by (0,length,0)