Skip to content

Commit

Permalink
remove unused clamp function
Browse files Browse the repository at this point in the history
  • Loading branch information
flyover committed Apr 25, 2016
1 parent baccd2e commit 131081a
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions spine.js
Original file line number Diff line number Diff line change
Expand Up @@ -3256,10 +3256,6 @@ spine.Pose.prototype.strike = function() {
// ik constraints

data.ikc_keys.forEach(function(ikc_key) {
function clamp(n, lo, hi) {
return (n < lo) ? (lo) : ((n > hi) ? (hi) : (n));
}

var ikc = data.ikcs[ikc_key];
var ikc_mix = ikc.mix;
var ikc_bend_positive = ikc.bend_positive;
Expand Down

0 comments on commit 131081a

Please sign in to comment.