Ejemplo n.º 1
0
        public void FlipVertical()
        {
            var minY = Min(Vertex1.Y, Vertex2.Y, Vertex3.Y);
            var maxY = Max(Vertex1.Y, Vertex2.Y, Vertex3.Y);
            var reltiveYCoordinate = (minY + maxY) / 2.0;

            Vertex1.FlipVertical(reltiveYCoordinate);
            Vertex2.FlipVertical(reltiveYCoordinate);
            Vertex3.FlipVertical(reltiveYCoordinate);
        }