-
-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Math/Quaternion] Optimized the quaternion/vector multiplication
- It allows a speedup of about 1.5x: https://quick-bench.com/q/S9_OOHC7hm0uthazzIKUqyBrLZE - Clang reports a speedup of 3x, but the assembly for the initial case is worse than GCC's - It is based off https://fgiesen.wordpress.com/2019/02/09/rotating-a-single-vector-using-a-quaternion/
- Loading branch information
Showing
3 changed files
with
12 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters