openframeworks / openframeworks/openFrameworks
Base ofAppBaseWindow::orientation on 3 rotation axes
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 10.4k
- Forks
- 2.6k
- Avg merge
- 1d 21h
- Merged PRs (30d)
- 9
Description
ofAppBaseWindow::orientation is a very basic interface but it does not justice to the rotation axes modern devices can actually output (iOS, Android, Laptops). It would be better to expose the axes and have the base implementation for the orientation based on the z-axis.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the ofAppBaseWindow::orientation interface and trace its base implementation and platform-specific callers for iOS, Android, and laptops. Define the exposed rotation axes and verify that the base orientation is derived from the z-axis; the affected platform implementations should still report their device orientation consistently.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- desktop-dev, mobile-dev, operating-systems
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100