CATransform3DRotate(_:_:_:_:_:)
Rotates t by angle radians about the vector (x, y, z) and returns the result.
Declaration
func CATransform3DRotate(_ t: CATransform3D, _ angle: CGFloat, _ x: CGFloat, _ y: CGFloat, _ z: CGFloat) -> CATransform3DDiscussion
If the vector has zero length, the behavior is undefined: t = rotation(angle, x, y, z) * t.