mirror of
https://github.com/photonstorm/phaser
synced 2024-11-24 05:33:35 +00:00
Fixed data type
This commit is contained in:
parent
d03fe0ca6b
commit
bbdf9b9853
1 changed files with 3 additions and 3 deletions
|
@ -10,15 +10,15 @@
|
|||
* @function Phaser.Math.RotateTo
|
||||
* @since 3.24.0
|
||||
*
|
||||
* @generic {Phaser.Math.Vector2Like} T - [point,$return]
|
||||
* @generic {Phaser.Types.Math.Vector2Like} T - [point,$return]
|
||||
*
|
||||
* @param {Phaser.Math.Vector2Like} point - The point to be positioned.
|
||||
* @param {Phaser.Types.Math.Vector2Like} point - The point to be positioned.
|
||||
* @param {number} x - The horizontal coordinate to position from.
|
||||
* @param {number} y - The vertical coordinate to position from.
|
||||
* @param {number} angle - The angle of rotation in radians.
|
||||
* @param {number} distance - The distance from (x, y) to place the point at.
|
||||
*
|
||||
* @return {Phaser.Math.Vector2Like} The given point.
|
||||
* @return {Phaser.Types.Math.Vector2Like} The given point.
|
||||
*/
|
||||
var RotateTo = function (point, x, y, angle, distance)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue