Version:

<static> RotateAroundPoint(triangle, point, angle)

Rotates a Triangle at a certain angle about a given Point or object with public `x`

and `y`

properties.

name | type | description |
---|---|---|

triangle | Phaser.Geom.Triangle |
The Triangle to rotate. |

point | Phaser.Geom.Point |
The Point to rotate the Triangle about. |

angle | number |
The angle by which to rotate the Triangle, in radians. |

The rotated Triangle.

Since: 3.0.0