src/third_party/specimenTools/lib/bower_components/Atem-Math-Tools/lib/hobby.js
/**
     * returns the tension for the second on-curve point
     */
returns the tension for the second on-curve point
returns the tension for the second on - curve point
function control2tensionIn(p0, p1, p2, p3) {
        var diffp0p1 = p1['-'](p0)
          , diffp3p2 = p3['-'](p2)
          , dir0 = diffp0p1.angle()
          , dir1 = diffp3p2.magnitude()
          , beta = diffp3p2.magnitude()
          ;
        return magnitude2tensionIn(p1, dir0, beta, dir1, p3);
    }
function control2tensionIn ( p0 , p1 , p2 , p3 ) { var diffp0p1 = p1 [ '-' ] ( p0 ) , diffp3p2 = p3 [ '-' ] ( p2 ) , dir0 = diffp0p1 . angle ( ) , dir1 = diffp3p2 . magnitude ( ) , beta = diffp3p2 . magnitude ( ) ; return magnitude2tensionIn ( p1 , dir0 , beta , dir1 , p3 ) ; }
returns the tension for the second on-curve point
returns the tension for the second on - curve point