Skip to content

Instantly share code, notes, and snippets.

@rowan-m
Created August 27, 2019 09:17
Show Gist options
  • Save rowan-m/04bfbe3fc82d8c4b9cd379c81fc19cf3 to your computer and use it in GitHub Desktop.
Save rowan-m/04bfbe3fc82d8c4b9cd379c81fc19cf3 to your computer and use it in GitHub Desktop.
// _onPointerdown(e)
this._initialTouchAngle = Math.atan2(
this._touchY - this._centerY,
this._touchX - this._centerX
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment