예제 #1
0
파일: Math2d.cs 프로젝트: footprint/Math2d
    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);
    }