Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2023-01-30 | Move to Clang Format 15 | Levi Behunin | 1 | -11/+5 | |
Depends on https://github.com/yuzu-emu/build-environments/pull/69 clang-15 primary run | |||||
2022-04-28 | chore: add missing SPDX tags | Andrea Pappacoda | 1 | -29/+3 | |
Follow-up to 99ceb03a1cfcf35968cab589ea188a8c406cda52 | |||||
2021-09-24 | general: Update style to clang-format-12 | ameerj | 1 | -2/+2 | |
2020-10-16 | input_common/CMakeLists: Make some warnings errors | Lioncash | 1 | -9/+66 | |
Makes the input_common code warnings consistent with the rest of the codebase. | |||||
2020-08-15 | common: Make use of [[nodiscard]] where applicable | Lioncash | 1 | -101/+103 | |
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-27 | common/vector_math: Move Vec[x] types into the Common namespace | Lioncash | 1 | -2/+2 | |
These types are within the common library, so they should be using the Common namespace. | |||||
2018-08-08 | vector_math: Use variable template version of is_signed in Vec classes | Lioncash | 1 | -3/+3 | |
Same behavior, less code | |||||
2018-08-08 | vector_math: Remove unimplemented function prototypes | Lioncash | 1 | -23/+0 | |
2018-08-08 | vector_math: Make functions constexpr where applicable | Lioncash | 1 | -154/+179 | |
2018-08-08 | vector_math: Convert typedefs to type aliases | Lioncash | 1 | -3/+3 | |
2018-05-02 | vector_math: Ensure members are always initialized | Lioncash | 1 | -9/+9 | |
Ensures that values are always in a well-defined state. | |||||
2018-04-20 | vector_math: Remove AsArray() and Write() functions from Vec[2,3,4] | Lioncash | 1 | -30/+0 | |
These are all unused and the Write() ones should arguably not even be in the interface. There are better ways to provide this if we ever need it (like iterators). | |||||
2017-09-30 | Fixed type conversion ambiguity | Huw Pascoe | 1 | -9/+3 | |
2017-09-27 | Disable unary operator- on Math::Vec2/Vec3/Vec4 for unsigned types. | Subv | 1 | -4/+8 | |
It is unlikely we will ever use this without first doing a Cast to a signed type. Fixes 9 "unary minus operator applied to unsigned type, result still unsigned" warnings on MSVC2017.3 | |||||
2017-07-11 | vector_math: remove dead template parameter | wwylele | 1 | -1/+1 | |
2017-07-11 | vector_math: remove broken SFINAE stuff | wwylele | 1 | -3/+2 | |
this was originally added to eliminate warnings on MSVC, but it doesn't work for custom types. | |||||
2017-07-11 | SwRasterizer: Flip the vertex quaternions before clipping (if necessary). | Subv | 1 | -1/+1 | |
2017-05-20 | pica/swrasterizer: implement procedural texture | wwylele | 1 | -0/+10 | |
2016-12-26 | vector math: add implementation of Length and Normalize | wwylele | 1 | -0/+19 | |
2016-09-30 | Common: Remove dangerous Vec[234] array constructors | Yuri Kunde Schlesner | 1 | -3/+0 | |
They're not currently used, and it's easy to accidentally pass a single pointer argument to them, causing an out-of-bounds read. | |||||
2016-09-19 | Manually tweak source formatting and then re-run clang-format | Yuri Kunde Schlesner | 1 | -12/+6 | |
2016-09-18 | Sources: Run clang-format on everything. | Emmanuel Gil Peyrot | 1 | -325/+382 | |
2016-03-18 | vector_math: Add missing member in Vec4's SetZero function | Lioncash | 1 | -1/+4 | |
2015-11-12 | fix failure on gcc and clang | wwylele | 1 | -3/+3 | |
2015-11-12 | disable unary minus when the type is not signed | wwylele | 1 | -0/+4 | |
silent warning C4146 on msvc | |||||
2015-05-30 | Move video_core/math.h to common/vector_math.h | archshift | 1 | -0/+0 | |
The file only contained vector manipulation code, and such widely-useable code doesn't belong in video_core. | |||||
2015-05-29 | Remove every trailing whitespace from the project (but externals). | Emmanuel Gil Peyrot | 1 | -1/+1 | |
2015-02-16 | VideoCore: Fix a typo in Vec4 MakeVec(T, Vec3<T>), where the second argument was Vec2<T> instead. | Emmanuel Gil Peyrot | 1 | -1/+1 | |
2015-02-05 | VideoCore: Added same-component swizzlers to math utility functions. | bunnei | 1 | -16/+35 | |
2014-12-21 | License change | purpasmart96 | 1 | -1/+1 | |
2014-08-25 | Math: Warning fixes. | Tony Wasserka | 1 | -14/+23 | |
2014-08-25 | Pica/Math: Improved the design of the Vec2/Vec3/Vec4 classes and simplified rasterizer code accordingly. | Tony Wasserka | 1 | -81/+115 | |
- Swizzlers now return const objects so that things like "first_vec4.xyz() = some_vec3" now will fail to compile (ideally we should support some vector holding references to make this actually work). - The methods "InsertBeforeX/Y/Z" and "Append" have been replaced by more versions of MakeVec, which now also supports building new vectors from vectors. - Vector library now follows C++ type promotion rules (hence, the result of Vec2<u8> with another Vec2<u8> is now a Vec2<int>). | |||||
2014-08-12 | Video core: Add utility class for vector operations. | Tony Wasserka | 1 | -0/+578 | |
I wrote most of this for ppsspp, so I hold full copyright over it. In addition to the original release in ppsspp, this provides functionality to easily extend e.g. two-dimensional vectors to three-dimensional vectors. |