Skip to content

Instantly share code, notes, and snippets.

@mczachurski
Created January 21, 2018 17:03
Show Gist options
  • Save mczachurski/606573b050a5cf9d9d15fd286574abd3 to your computer and use it in GitHub Desktop.
Save mczachurski/606573b050a5cf9d9d15fd286574abd3 to your computer and use it in GitHub Desktop.
override func reset() {
super.reset()
self.fingersDirection = TwoFingersMove.unknown
self.firstTouchedPoints.removeAll(keepingCapacity: true)
self.secondTouchedPoints.removeAll(keepingCapacity: true)
state = .possible
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment