Open Janglinator opened 5 years ago
func rotate(angle: CGFloat) { let radians = angle / 180.0 * CGFloat.pi let rotation = self.transform.rotated(by: radians) self.transform = rotation }