sheared(_:)
Returns a sheared rectangle.
Declaration
func sheared(_ shear: AxisWithFactors) -> Rect3DFloatParameters
- shear:
The axis and shear factors.
Discussion
Returns The sheared rectangle.
Because affine transforms do not preserve rectangles in general, this function returns the smallest rectangle that contains the transformed corner points of the rect parameter.