diff options
| author | wwylele <wwylele@gmail.com> | 2017-07-11 20:08:56 +0300 |
|---|---|---|
| committer | wwylele <wwylele@gmail.com> | 2017-07-11 20:08:56 +0300 |
| commit | acdf5035bec4b2d6338534a2e5f691b7ec90947f (patch) | |
| tree | c1f4beceaf37c60bd4dc6f4b736b155e6285c1b1 /src/common | |
| parent | 837642011d7398e9cc574b8e9cc4c220e1ba6df1 (diff) | |
vector_math: remove dead template parameter
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 49ae87f6d1..6e2a5ad601 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); } |
