Skip to content

Commit

Permalink
PointConstraint object_b jacobian fix
Browse files Browse the repository at this point in the history
  • Loading branch information
denisjarus committed Feb 17, 2016
1 parent 150e2b4 commit 23661e0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/classes/Constraints/PointConstraint.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ Goblin.PointConstraint.prototype.update = (function(){
this.rows[2].jacobian[7] = 0;
this.rows[2].jacobian[8] = 1;
this.rows[2].jacobian[9] = r2.y;
this.rows[2].jacobian[10] = -r2.z;
this.rows[2].jacobian[10] = -r2.x;
this.rows[2].jacobian[11] = 0;
} else {
_tmp_vec3_2.copy( this.point_b );
Expand All @@ -91,4 +91,4 @@ Goblin.PointConstraint.prototype.update = (function(){
this.rows[1].bias = _tmp_vec3_3.y;
this.rows[2].bias = _tmp_vec3_3.z;
};
})( );
})( );

0 comments on commit 23661e0

Please sign in to comment.