本網站在啟用 JavaScript 的情況下可以運作的更好。
首頁
說明
登入
lolengine
/
lol
镜像来自
https://github.com/lolengine/lol
關注
1
收藏
0
複製
0
程式碼
問題
0
版本發佈
0
Wiki
活動
瀏覽代碼
matrix: p_matrix tiny cleanup
undefined
Guillaume Bittoun
Sam Hocevar
<sam@hocevar.net>
10 年之前
父節點
c30c60671b
當前提交
3279f3fe84
共有
1 個檔案被更改
,包括
1 行新增
和
7 行删除
分割檢視
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-7
src/lol/math/matrix.h
+ 1
- 7
src/lol/math/matrix.h
查看文件
@@ -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;
}
Write
Preview
Loading…
取消
儲存