Skip to content

Commit a84f7ef

Browse files
committed
Docs: radian values for Transform#rotation
1 parent 677cfae commit a84f7ef

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/gameobjects/components/Transform.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -225,8 +225,8 @@ var Transform = {
225225
/**
226226
* The angle of this Game Object in radians.
227227
*
228-
* Phaser uses a right-hand clockwise rotation system, where 0 is right, 90 is down, 180/-180 is left
229-
* and -90 is up.
228+
* Phaser uses a right-hand clockwise rotation system, where 0 is right, PI/4 is down, +-PI/2 is left
229+
* and -PI/4 is up.
230230
*
231231
* If you prefer to work in degrees, see the `angle` property instead.
232232
*

0 commit comments

Comments
 (0)