Rotates the vertices of the triangle around one point (by default, b).

  • Parameters

    • triangle: Triangle

      Triangle

    • amountRadian: number
    • vertex: "a" | "b" | "c" = ...

      Name of vertex: a, b or c.

    Returns Triangle