Point.add()

<static> add(a, b, out) โ†’ {Phaser.Point}

Adds the coordinates of two points together to create a new point.

Parameters
Name Type Argument Description
a Phaser.Point

The first Point object.

b Phaser.Point

The second Point object.

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 491)
doc_phaser
2017-02-14 11:05:37
Comments
Leave a Comment

Please login to continue.