Skip to content

Commit

Permalink
Fix condition
Browse files Browse the repository at this point in the history
  • Loading branch information
pehrlich committed Apr 16, 2014
1 parent 941cd8c commit 96edf10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/leap.rigged-hand.coffee
Expand Up @@ -212,7 +212,7 @@ unless THREE.Quaternion.prototype.setFromVectors
@normalize()
@

unless THREE.Quaternion.prototype.positionFromWorld
unless THREE.Bone.prototype.positionFromWorld
THREE.Bone.prototype.positionFromWorld = (eye, target) ->
directionDotParentDirection = @worldDirection.dot(@parent.worldDirection)
angle = Math.acos directionDotParentDirection
Expand Down

0 comments on commit 96edf10

Please sign in to comment.