summaryrefslogtreecommitdiffstats
path: root/src/common/quaternion.h (unfollow)
Commit message (Collapse)AuthorFilesLines
2020-08-15common: Make use of [[nodiscard]] where applicableLioncash1-7/+8
Now that clang-format makes [[nodiscard]] attributes format sensibly, we can apply them to several functions within the common library to allow the compiler to complain about any misuses of the functions.
2019-02-27common/vector_math: Move Vec[x] types into the Common namespaceLioncash1-3/+3
These types are within the common library, so they should be using the Common namespace.
2019-02-27common/quaternion: Move Quaternion into the Common namespaceLioncash1-2/+2
Quaternion is within the common library, so it should be using the Common namespace.
2018-12-21common/quaternion: Ensure that w is always initializedLioncash1-1/+1
Previously xyz was always being zero initialized due to its constructor, but w wasn't. Ensures that we always have a deterministic initial state.
2018-01-21Format: Run the new clang format on everythingJames Rowe1-1/+1
2017-07-11SwRasterizer: Corrected the light LUT lookups.Subv1-0/+5
2016-12-26Common: add Quaternionwwylele1-0/+44