public override void RenderArea(Camera camera)
        {
            var     cornerPoints = QuadMath.Calc2DQuadCornerPoints(_center, _size, _rotationDegrees);
            Vector2 topLeft      = cornerPoints[(int)QuadCorner.TopLeft];

            cornerPoints.RemoveAt((int)QuadCorner.TopLeft);

            GLRenderer.DrawTriangleFan2D(topLeft, cornerPoints, camera);
        }
        public override Rect GetEncapsulatingRect()
        {
            var cornerPoints = QuadMath.Calc2DQuadCornerPoints(_center, _size, _rotationDegrees);

            return(RectEx.FromPoints(cornerPoints));
        }
        public override void RenderBorder(Camera camera)
        {
            var cornerPoints = QuadMath.Calc2DQuadCornerPoints(_center, _size, _rotationDegrees);

            GLRenderer.DrawLineLoop2D(cornerPoints, camera);
        }