Beispiel #1
0
    public void Roate(float degrees)
    {
        float radian = Mathf.PI * degrees / 180.0f;

        Math2d.RoateVertex(ref p1, ref center, radian);
        Math2d.RoateVertex(ref p2, ref center, radian);
        Math2d.RoateVertex(ref p3, ref center, radian);
    }