使用 JavaScript能使本网站更好的工作。
首页
帮助
登录
lolengine
/
lol
镜像自地址
https://github.com/lolengine/lol
关注
1
点赞
0
派生
0
代码
工单
0
版本发布
0
百科
动态
浏览代码
core: don't explicitly use std:: prefix when the platform may not
recognise it.
legacy
Sam Hocevar
sam
14 年前
父节点
e6c6f59327
当前提交
00625f76e9
共有
2 个文件被更改
,包括
4 次插入
和
2 次删除
分列视图
Diff 选项
显示统计
下载 Patch 文件
下载 Diff 文件
+2
-1
src/matrix.h
+2
-1
src/numeric.h
+ 2
- 1
src/matrix.h
查看文件
@@ -113,7 +113,8 @@ namespace lol
\
inline float len() const \
{ \
return std::sqrtf((float)sqlen()); \
using namespace std; \
return sqrtf((float)sqlen()); \
}
template <typename T> struct Vec2;
+ 2
- 1
src/numeric.h
查看文件
@@ -26,7 +26,8 @@ namespace lol
/* Random float value */
static inline float RandF()
{
return (float)std::rand() / RAND_MAX;
using namespace std;
return (float)rand() / RAND_MAX;
}
static inline float RandF(float val)
撰写
预览
正在加载...
取消
保存