summaryrefslogtreecommitdiff
path: root/src/common/vector_math.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* input_common: Add property to invert an axis buttonGravatar Narr the Reg2023-05-051-1/+1
|
* yuzu: Add motion preview to controller inputGravatar Narr the Reg2023-05-051-0/+14
|
* Move to Clang Format 15Gravatar Levi Behunin2023-01-291-11/+5
| | | | | | Depends on https://github.com/yuzu-emu/build-environments/pull/69 clang-15 primary run
* chore: add missing SPDX tagsGravatar Andrea Pappacoda2022-04-281-29/+3
| | | | Follow-up to 99ceb03a1cfcf35968cab589ea188a8c406cda52
* general: Update style to clang-format-12Gravatar ameerj2021-09-241-2/+2
|
* input_common/CMakeLists: Make some warnings errorsGravatar Lioncash2020-10-151-9/+66
| | | | | Makes the input_common code warnings consistent with the rest of the codebase.
* common: Make use of [[nodiscard]] where applicableGravatar Lioncash2020-08-151-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.
* common/vector_math: Move Vec[x] types into the Common namespaceGravatar Lioncash2019-02-261-2/+2
| | | | | These types are within the common library, so they should be using the Common namespace.
* vector_math: Use variable template version of is_signed in Vec classesGravatar Lioncash2018-08-081-3/+3
| | | | Same behavior, less code
* vector_math: Remove unimplemented function prototypesGravatar Lioncash2018-08-071-23/+0
|
* vector_math: Make functions constexpr where applicableGravatar Lioncash2018-08-071-154/+179
|
* vector_math: Convert typedefs to type aliasesGravatar Lioncash2018-08-071-3/+3
|
* vector_math: Ensure members are always initializedGravatar Lioncash2018-05-011-9/+9
| | | | Ensures that values are always in a well-defined state.
* vector_math: Remove AsArray() and Write() functions from Vec[2,3,4]Gravatar Lioncash2018-04-191-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).
* Fixed type conversion ambiguityGravatar Huw Pascoe2017-09-301-9/+3
|
* Disable unary operator- on Math::Vec2/Vec3/Vec4 for unsigned types.Gravatar Subv2017-09-271-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
* vector_math: remove dead template parameterGravatar wwylele2017-07-111-1/+1
|
* vector_math: remove broken SFINAE stuffGravatar wwylele2017-07-111-3/+2
| | | | this was originally added to eliminate warnings on MSVC, but it doesn't work for custom types.
* SwRasterizer: Flip the vertex quaternions before clipping (if necessary).Gravatar Subv2017-07-111-1/+1
|
* pica/swrasterizer: implement procedural textureGravatar wwylele2017-05-201-0/+10
|
* vector math: add implementation of Length and NormalizeGravatar wwylele2016-12-261-0/+19
|
* Common: Remove dangerous Vec[234] array constructorsGravatar Yuri Kunde Schlesner2016-09-291-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.
* Manually tweak source formatting and then re-run clang-formatGravatar Yuri Kunde Schlesner2016-09-181-12/+6
|
* Sources: Run clang-format on everything.Gravatar Emmanuel Gil Peyrot2016-09-181-325/+382
|
* vector_math: Add missing member in Vec4's SetZero functionGravatar Lioncash2016-03-181-1/+4
|
* fix failure on gcc and clangGravatar wwylele2015-11-121-3/+3
|
* disable unary minus when the type is not signedGravatar wwylele2015-11-121-0/+4
| | | | silent warning C4146 on msvc
* Move video_core/math.h to common/vector_math.hGravatar archshift2015-05-301-0/+640
The file only contained vector manipulation code, and such widely-useable code doesn't belong in video_core.