Przeglądaj źródła

build: fix minor build issues with Clang.

legacy
Sam Hocevar sam 12 lat temu
rodzic
commit
b2e00f113c
1 zmienionych plików z 2 dodań i 2 usunięć
  1. +2
    -2
      src/lol/math/vector.h

+ 2
- 2
src/lol/math/vector.h Wyświetl plik

@@ -1203,9 +1203,9 @@ extern Quat<T> slerp(Quat<T> const &qa, Quat<T> const &qb, T f);
} \ } \
\ \
tprefix \ tprefix \
inline double length(tname<type> const &a) \
inline type length(tname<type> const &a) \
{ \ { \
return sqrt((double)sqlength(a)); \
return (type)sqrt((double)sqlength(a)); \
} \ } \
\ \
tprefix \ tprefix \


Ładowanie…
Anuluj
Zapisz