CATransform3DMakeRotation(_:_:_:_:)
Returns a transform that rotates by angle radians about the vector (x, y, z).
Declaration
func CATransform3DMakeRotation(_ angle: CGFloat, _ x: CGFloat, _ y: CGFloat, _ z: CGFloat) -> CATransform3DDiscussion
If the vector has length zero, this function returns the identity transform.