This website works better with JavaScript.
Почетна
Помоћ
Пријавите Се
lolengine
/
lol
огледало од
https://github.com/lolengine/lol
Прати
1
Волим
0
Креирај огранак
0
Код
Дискусије
0
Издања
0
Вики
Activity
Преглед изворни кода
core: fix a bug in vector casts; vec2 -> vec3 promotion for instance would
forget to zero the 3rd coordinate.
legacy
Sam Hocevar
sam
пре 13 година
родитељ
b71ed99d8e
комит
28bda9a25b
1 измењених фајлова
са
2 додато
и
0 уклоњено
Подељен поглед
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-0
src/matrix.h
+ 2
- 0
src/matrix.h
Прегледај датотеку
@@ -66,6 +66,8 @@ namespace lol
Vec##dest<T> ret; \
for (int n = 0; n < elems && n < dest; n++) \
ret[n] = (*this)[n]; \
for (int n = elems; n < dest; n++) \
ret[n] = 0; \
return ret; \
}
Write
Preview
Loading…
Откажи
Сачувај