Browse Source

vector_math: remove dead template parameter

wwylele 9 năm trước cách đây
mục cha
commit
fe44e843fe
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/common/vector_math.h

+ 1 - 1
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);
     }