diff options
author | wwylele <wwylele@gmail.com> | 2017-07-11 19:08:56 +0200 |
---|---|---|
committer | wwylele <wwylele@gmail.com> | 2017-07-11 19:08:56 +0200 |
commit | fe44e843fe1e300491d3bcd9072948407a86e7e1 (patch) | |
tree | c1f4beceaf37c60bd4dc6f4b736b155e6285c1b1 /src/common | |
parent | SwRasterizer/Lighting: pass lighting state as parameter (diff) | |
download | yuzu-fe44e843fe1e300491d3bcd9072948407a86e7e1.tar yuzu-fe44e843fe1e300491d3bcd9072948407a86e7e1.tar.gz yuzu-fe44e843fe1e300491d3bcd9072948407a86e7e1.tar.bz2 yuzu-fe44e843fe1e300491d3bcd9072948407a86e7e1.tar.lz yuzu-fe44e843fe1e300491d3bcd9072948407a86e7e1.tar.xz yuzu-fe44e843fe1e300491d3bcd9072948407a86e7e1.tar.zst yuzu-fe44e843fe1e300491d3bcd9072948407a86e7e1.zip |
Diffstat (limited to 'src/common')
-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 49ae87f6d..6e2a5ad60 100644 --- a/src/common/vector_math.h +++ b/src/common/vector_math.h @@ -461,7 +461,7 @@ public: z -= other.z; w -= other.w; } - template <typename Q = T> + Vec4<decltype(-T{})> operator-() const { return MakeVec(-x, -y, -z, -w); } |