Point.normalRightHand()

<static> normalRightHand(a, out) → {Phaser.Point}

Right-hand normalize (make unit length) a Point.

Parameters
Name Type Argument Description
a Phaser.Point

The 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 748)
doc_phaser
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.