This website works better with JavaScript.
首頁
說明
登入
lolengine
/
lol
镜像来自
https://github.com/lolengine/lol
關註
1
收藏
0
複製
0
程式碼
問題管理
0
版本發佈
0
Wiki
Activity
瀏覽代碼
core: fix a bug in vector casts; vec2 -> vec3 promotion for instance would
forget to zero the 3rd coordinate.
legacy
Sam Hocevar
sam
13 年之前
父節點
b71ed99d8e
當前提交
28bda9a25b
共有
1 個文件被更改
,包括
2 次插入
和
0 次删除
分割檢視
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-0
src/matrix.h
+ 2
- 0
src/matrix.h
查看文件
@@ -66,6 +66,8 @@ namespace lol
Vec##dest<T> ret; \
for (int n = 0; n < elems && n < dest; n++) \
ret[n] = (*this)[n]; \
for (int n = elems; n < dest; n++) \
ret[n] = 0; \
return ret; \
}
Write
Preview
Loading…
取消
儲存