使用 JavaScript能使本网站更好的工作。
首页
帮助
登录
lolengine
/
lol
镜像自地址
https://github.com/lolengine/lol
关注
1
点赞
0
派生
0
代码
工单
0
版本发布
0
百科
动态
浏览代码
matrix: p_matrix tiny cleanup
undefined
Guillaume Bittoun
Sam Hocevar
<sam@hocevar.net>
10 年前
父节点
c30c60671b
当前提交
3279f3fe84
共有
1 个文件被更改
,包括
1 次插入
和
7 次删除
分列视图
Diff 选项
显示统计
下载 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;
}
撰写
预览
正在加载...
取消
保存