diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-05-01 13:50:02 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-05-01 14:00:56 +0300 |
commit | 177a0ca131794a15d775577e4fa25c1d9e695d13 (patch) | |
tree | 34ec644675a418b232d995921aedcfc9f2cd92a2 /intern/iksolver | |
parent | 5bbf9029ce676e69042e0a26075431ce67357c38 (diff) |
Cleanup: comments (long lines) in various intern/ libs
Diffstat (limited to 'intern/iksolver')
-rw-r--r-- | intern/iksolver/intern/IK_QJacobianSolver.cpp | 4 | ||||
-rw-r--r-- | intern/iksolver/intern/IK_QSegment.cpp | 2 | ||||
-rw-r--r-- | intern/iksolver/intern/IK_QSegment.h | 6 |
3 files changed, 6 insertions, 6 deletions
diff --git a/intern/iksolver/intern/IK_QJacobianSolver.cpp b/intern/iksolver/intern/IK_QJacobianSolver.cpp index 90032096d37..6c2c0bacf48 100644 --- a/intern/iksolver/intern/IK_QJacobianSolver.cpp +++ b/intern/iksolver/intern/IK_QJacobianSolver.cpp @@ -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; } diff --git a/intern/iksolver/intern/IK_QSegment.cpp b/intern/iksolver/intern/IK_QSegment.cpp index 89a1afaafbd..dbbec621acd 100644 --- a/intern/iksolver/intern/IK_QSegment.cpp +++ b/intern/iksolver/intern/IK_QSegment.cpp @@ -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; diff --git a/intern/iksolver/intern/IK_QSegment.h b/intern/iksolver/intern/IK_QSegment.h index 47125db3865..3c8c5033d28 100644 --- a/intern/iksolver/intern/IK_QSegment.h +++ b/intern/iksolver/intern/IK_QSegment.h @@ -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) |