diff options
| author | 2017-06-11 11:55:35 -0500 | |
|---|---|---|
| committer | 2017-07-11 19:39:15 +0300 | |
| commit | 73566ff7a990cdfe8d8f023997b57942dc785fc4 (patch) | |
| tree | ba42cbed66eeb4cd08012181f774a8633b9c2120 /src/common/vector_math.h | |
| parent | SwRasterizer: Corrected the light LUT lookups. (diff) | |
| download | yuzu-73566ff7a990cdfe8d8f023997b57942dc785fc4.tar.gz yuzu-73566ff7a990cdfe8d8f023997b57942dc785fc4.tar.xz yuzu-73566ff7a990cdfe8d8f023997b57942dc785fc4.zip | |
SwRasterizer: Flip the vertex quaternions before clipping (if necessary).
Diffstat (limited to 'src/common/vector_math.h')
| -rw-r--r-- | src/common/vector_math.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/vector_math.h b/src/common/vector_math.h index c7a461a1e..d0fe0e405 100644 --- a/src/common/vector_math.h +++ b/src/common/vector_math.h | |||
| @@ -462,7 +462,7 @@ public: | |||
| 462 | z -= other.z; | 462 | z -= other.z; |
| 463 | w -= other.w; | 463 | w -= other.w; |
| 464 | } | 464 | } |
| 465 | template <typename Q = T, class = typename std::enable_if<std::is_signed<Q>::value>::type> | 465 | template <typename Q = T> |
| 466 | Vec4<decltype(-T{})> operator-() const { | 466 | Vec4<decltype(-T{})> operator-() const { |
| 467 | return MakeVec(-x, -y, -z, -w); | 467 | return MakeVec(-x, -y, -z, -w); |
| 468 | } | 468 | } |