Este site funciona melhor com JavaScript.
Página inicial
Ajuda
Acessar
lolengine
/
lol
espelhamento de
https://github.com/lolengine/lol
Observar
1
Favorito
0
Fork
0
Código
Issues
0
Versões
0
Wiki
Atividade
Ver código fonte
matrix: p_matrix tiny cleanup
undefined
Guillaume Bittoun
Sam Hocevar
<sam@hocevar.net>
10 anos atrás
pai
c30c60671b
commit
3279f3fe84
1 arquivos alterados
com
1 adições
e
7 exclusões
Visão dividida
Opções de diferenças
Mostrar estatísticas
Baixar arquivo de patch
Baixar arquivo de diferenças
+1
-7
src/lol/math/matrix.h
+ 1
- 7
src/lol/math/matrix.h
Ver arquivo
@@ -592,13 +592,7 @@ mat_t<T, N, N> p_matrix(mat_t<T, N, N> const & m)
for (int j = 0 ; j < N ; ++j)
{
while (j < N && used[j])
++j;
if (j >= N)
break;
if (index_max == -1 || m[i][j] > m[i][index_max])
if (!used[j] && (index_max == -1 || m[i][j] > m[i][index_max]))
index_max = j;
}
Escrever
Pré-visualização
Carregando…
Cancelar
Salvar