dist/svg.pathmorphing.js
function setPosAndReflection(val){

  var len = val.length

  this.pos = [ val[len-2], val[len-1] ]

  if('SCQT'.indexOf(val[0]) != -1)
    this.reflection = [ 2 * this.pos[0] - val[len-4], 2 * this.pos[1] - val[len-3] ]

  return val
}
function setPosAndReflection(val){

  var len = val.length

  this.pos = [ val[len-2], val[len-1] ]

  if('SCQT'.indexOf(val[0]) != -1)
    this.reflection = [ 2 * this.pos[0] - val[len-4], 2 * this.pos[1] - val[len-3] ]

  return val
}
function setPosAndReflection ( val ) { var len = val . length this . pos = [ val [ len - 2 ] , val [ len - 1 ] ] if ( 'SCQT' . indexOf ( val [ 0 ] ) != - 1 ) this . reflection = [ 2 * this . pos [ 0 ] - val [ len - 4 ] , 2 * this . pos [ 1 ] - val [ len - 3 ] ] return val }
updates reflection point and current position
updates reflection point and current position