diff --git a/src/lol/math/vector.h b/src/lol/math/vector.h index 60ab8905..ca59b8fd 100644 --- a/src/lol/math/vector.h +++ b/src/lol/math/vector.h @@ -1300,6 +1300,12 @@ extern Quat slerp(Quat const &qa, Quat const &qb, T f); for (size_t n = 0; n < sizeof(a) / sizeof(type); n++) \ ret[n] = -a[n]; \ return ret; \ + } \ + \ + tprefix \ + inline tname operator +(tname const &a) \ + { \ + return a; \ } #define LOL_UNARY_FUNS(tname, tprefix, type) \