示例#1
0
        public Vector2[] GetAdjustedPointPositions(Vector2 position, float rotation)
        {
            Vector2[] points = new Vector2[3];
            points[0] = PointA.Rotate(rotation) + position;
            points[1] = PointB.Rotate(rotation) + position;
            points[2] = PointC.Rotate(rotation) + position;

            return(points);
        }