mirror of
https://github.com/photonstorm/phaser
synced 2024-11-26 22:52:14 +00:00
parent
da96b39179
commit
868c299c62
1 changed files with 2 additions and 4 deletions
|
@ -11,12 +11,10 @@
|
||||||
* @function Phaser.Geom.Line.GetShortestDistance
|
* @function Phaser.Geom.Line.GetShortestDistance
|
||||||
* @since 3.16.0
|
* @since 3.16.0
|
||||||
*
|
*
|
||||||
* @generic {Phaser.Geom.Point} O - [out,$return]
|
|
||||||
*
|
|
||||||
* @param {Phaser.Geom.Line} line - The line to get the distance from.
|
* @param {Phaser.Geom.Line} line - The line to get the distance from.
|
||||||
* @param {(Phaser.Geom.Point|object)} point - The point to get the shortest distance to.
|
* @param {Phaser.Types.Math.Vector2Like} point - The point to get the shortest distance to.
|
||||||
*
|
*
|
||||||
* @return {number} The shortest distance from the line to the point.
|
* @return {(boolean|number)} The shortest distance from the line to the point, or `false`.
|
||||||
*/
|
*/
|
||||||
var GetShortestDistance = function (line, point)
|
var GetShortestDistance = function (line, point)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue