This is a pretty basic implementation of a touch listener for Android, that listens to touch events on your OpenGL canvas and can be queried for a rotation which you can apply to a box. The user will be able to rotate an object by dragging it in any direction, and it supports flinging so the user can flick their finger to send it flying.
Touch listener for spinning an object around the origin
License
halfninja/android-dragcontrol3d
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Touch listener for spinning an object around the origin
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published