Unity-Technologies / Unity-Technologies/Unity.Mathematics
64 Bit Quaternion Request
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 1.4k
- Forks
- 159
- PR merge metrics
- No merged PRs in 30d
Description
Currently I need to store 64-bit rotations in a double3 or a custom double-precision quaternion. However, it would be helpful for this library to include a double-precision quaternion to be able to rely on first-party code from Unity.
64-bit quaternions are helpful to remove camera jitter when a camera needs to focus on something far away or when rotating very large objects. This has even been admitted by Unity itself since a talk given by Unity about Cinemachine where camera rotations were stored as a double precision to solve this exact issue.
Please add a double-precision quaternion and the nice extension methods to work with the other types.
Contributor guide
No contributing guide indexed for this repository
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 surveying the library's existing quaternion and vector types, along with their extension methods, to determine the expected API shape for a double-precision counterpart. Done should include a double-precision quaternion and extension methods that interoperate with the other types; the issue does not name specific files or tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp, unity
- Domain
- computer-graphics, game-dev
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100