openframeworks / openframeworks/openFrameworks
Missing shortcut to grab an ofMatrix4x4 with the rotation from an ofQuaternion
Open
Nobody has claimed this yet.
core
feature
prelim-analysis
section-3D
- Dominant language
- C++
- Stars
- 10.4k
- Forks
- 2.6k
- Avg merge
- 1d 21h
- Merged PRs (30d)
- 9
Description
Save a line of code by returning an ofMatrix4x4 from get() if no ofMatrix4x4& is passed in.
https://github.com/andreasmuller/openFrameworks/commit/2536a4677686d30c52fa9f5e3791e23d5196d3bd
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 by locating the ofQuaternion get() entry point and the ofMatrix4x4 type, then compare the requested API with commit 2536a4677686d30c52fa9f5e3791e23d5196d3bd. Confirm the expected behavior when no ofMatrix4x4& argument is supplied and check existing matrix/quaternion tests or examples. Done means the shortcut is available and existing behavior remains intact.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- computer-graphics
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100