<static> multiplyAdd(a, b, s, out) → {Phaser.Point}
Adds two 2D Points together and multiplies the result by the given scalar.
Parameters
Name | Type | Argument | Description |
---|---|---|---|
a | Phaser.Point | The first Point object. | |
b | Phaser.Point | The second Point object. | |
s | number | The scaling value. | |
out | Phaser.Point | <optional> | Optional Point to store the value in, if not supplied a new Point object will be created. |
Returns
The new Point object.
- Source code: geom/Point.js (Line 616)
Please login to continue.