Version:

<static> Rotate(triangle, angle)

Rotates a Triangle about its incenter, which is the point at which its three angle bisectors meet.

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

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

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

The rotated Triangle.

Since: 3.0.0

Possible examples