function lineCircleIntersect(line, center, radius) {
  var vector = Phaser.Point.subtract(line, center).normalize();
  vector = Phaser.Point.multiply(vector, new Phaser.Point(radius, radius));
  vector = Phaser.Point.add(vector, center);
  return vector;
}
//the line has one point in common with the circle's center
the line has one point in common with the circle's center
the line has one point in common with the circle ' s center
function lineCircleIntersect(line, center, radius) {
  var vector = Phaser.Point.subtract(line, center).normalize();
  vector = Phaser.Point.multiply(vector, new Phaser.Point(radius, radius));
  vector = Phaser.Point.add(vector, center);
  return vector;
}
function lineCircleIntersect ( line , center , radius ) { var vector = Phaser . Point . subtract ( line , center ) . normalize ( ) ; vector = Phaser . Point . multiply ( vector , new Phaser . Point ( radius , radius ) ) ; vector = Phaser . Point . add ( vector , center ) ; return vector ; }
the line has one point in common with the circle's center
the line has one point in common with the circle ' s center