mirror of
https://github.com/photonstorm/phaser
synced 2024-11-27 15:12:18 +00:00
Update readme.
This commit is contained in:
parent
cf83e14e8d
commit
a2c4cafa70
1 changed files with 2 additions and 1 deletions
|
@ -74,7 +74,8 @@ Version 2.2.2 - "Alkindar" - in development
|
|||
### New Features
|
||||
|
||||
* Phaser.Loader now supports BLOB urls for audio files (thanks @aressler38 #1462)
|
||||
* Line.reflect will calculate the reflected, or outgoing angle of the line and a given line if they intersect. This can be used for Body vs. Line collision responses and rebounds.
|
||||
* Line.reflect will calculate the reflected, or outgoing angle of two lines. This can be used for Body vs. Line collision responses and rebounds.
|
||||
* Line.normalAngle gets the angle of the line normal in radians.
|
||||
* Line.normalX and Line.normalY contain the x and y components of the left-hand normal of the line.
|
||||
* Line.fromAngle will sets this line to start at the given `x` and `y` coordinates and for the segment to extend at `angle` for the given `length`.
|
||||
|
||||
|
|
Loading…
Reference in a new issue