このサイトは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行の削除
分割表示
差分オプション
統計情報を表示
Patchファイルをダウンロード
Diffファイルをダウンロード
+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;
}
書き込み
プレビュー
読み込み中…
キャンセル
保存