arcade-physics
Version:
Use Arcade Physics without Phaser.
19 lines • 655 B
TypeScript
export default RandomXYZW;
/**
* @author Richard Davey <rich@photonstorm.com>
* @copyright 2020 Photon Storm Ltd.
* @license {@link https://opensource.org/licenses/MIT|MIT License}
*/
/**
* Compute a random four-dimensional vector.
*
* @function Phaser.Math.RandomXYZW
* @since 3.0.0
*
* @param {Phaser.Math.Vector4} vec4 - The Vector to compute random values for.
* @param {number} [scale=1] - The scale of the random values.
*
* @return {Phaser.Math.Vector4} The given Vector.
*/
declare function RandomXYZW(vec4: Phaser.Math.Vector4, scale?: number | undefined): Phaser.Math.Vector4;
//# sourceMappingURL=RandomXYZW.d.ts.map