Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Ablesons
three.js
提交
2e89cf6d
T
three.js
项目概览
Ablesons
/
three.js
与 Fork 源项目一致
从无法访问的项目Fork
通知
2
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
T
three.js
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
2e89cf6d
编写于
12月 02, 2012
作者:
B
Ben Houston
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
pull out test suite constants into their own script.
上级
fe2020a8
变更
9
显示空白变更内容
内联
并排
Showing
9 changed file
with
17 addition
and
55 deletion
+17
-55
test/core/Box2.js
test/core/Box2.js
+0
-11
test/core/Box3.js
test/core/Box3.js
+0
-11
test/core/Constants.js
test/core/Constants.js
+15
-0
test/core/Plane.js
test/core/Plane.js
+0
-9
test/core/Sphere.js
test/core/Sphere.js
+1
-9
test/core/Vector2.js
test/core/Vector2.js
+0
-5
test/core/Vector3.js
test/core/Vector3.js
+0
-5
test/core/Vector4.js
test/core/Vector4.js
+0
-5
test/testsuite.html
test/testsuite.html
+1
-0
未找到文件。
test/core/Box2.js
浏览文件 @
2e89cf6d
...
...
@@ -2,17 +2,6 @@
* @author bhouston / http://exocortex.com
*/
var
x
=
2
;
var
y
=
3
;
var
z
=
4
;
var
w
=
5
;
var
negInf
=
new
THREE
.
Vector3
(
-
Infinity
,
-
Infinity
);
var
posInf
=
new
THREE
.
Vector3
(
Infinity
,
Infinity
);
var
zero
=
new
THREE
.
Vector3
();
var
one
=
new
THREE
.
Vector3
(
1
,
1
,
1
);
module
(
"
Box2
"
);
test
(
"
constructor
"
,
function
()
{
...
...
test/core/Box3.js
浏览文件 @
2e89cf6d
...
...
@@ -2,17 +2,6 @@
* @author bhouston / http://exocortex.com
*/
var
x
=
2
;
var
y
=
3
;
var
z
=
4
;
var
w
=
5
;
var
negInf
=
new
THREE
.
Vector3
(
-
Infinity
,
-
Infinity
,
-
Infinity
);
var
posInf
=
new
THREE
.
Vector3
(
Infinity
,
Infinity
,
Infinity
);
var
zero
=
new
THREE
.
Vector3
();
var
one
=
new
THREE
.
Vector3
(
1
,
1
,
1
);
module
(
"
Box3
"
);
test
(
"
constructor
"
,
function
()
{
...
...
test/core/Constants.js
0 → 100644
浏览文件 @
2e89cf6d
/**
* @author bhouston / http://exocortex.com
*/
var
x
=
2
;
var
y
=
3
;
var
z
=
4
;
var
w
=
5
;
var
negInf
=
new
THREE
.
Vector3
(
-
Infinity
,
-
Infinity
);
var
posInf
=
new
THREE
.
Vector3
(
Infinity
,
Infinity
);
var
zero
=
new
THREE
.
Vector3
();
var
one
=
new
THREE
.
Vector3
(
1
,
1
,
1
);
var
two
=
new
THREE
.
Vector3
(
1
,
1
,
1
);
test/core/Plane.js
浏览文件 @
2e89cf6d
...
...
@@ -2,15 +2,6 @@
* @author bhouston / http://exocortex.com
*/
x
=
2
;
y
=
3
;
z
=
4
;
w
=
5
;
zero
=
new
THREE
.
Vector3
();
one
=
new
THREE
.
Vector3
(
1
,
1
,
1
);
two
=
new
THREE
.
Vector3
(
1
,
1
,
1
);
module
(
"
Plane
"
);
test
(
"
constructor
"
,
function
()
{
...
...
test/core/Sphere.js
浏览文件 @
2e89cf6d
...
...
@@ -2,14 +2,6 @@
* @author bhouston / http://exocortex.com
*/
var
x
=
2
;
var
y
=
3
;
var
z
=
4
;
var
w
=
5
;
var
zero
=
new
THREE
.
Vector3
();
var
one
=
new
THREE
.
Vector3
(
1
,
1
,
1
);
module
(
"
Sphere
"
);
test
(
"
constructor
"
,
function
()
{
...
...
@@ -37,7 +29,7 @@ test( "copy", function() {
});
test
(
"
set
"
,
function
()
{
var
a
=
new
THREE
.
Vector3
();
var
a
=
new
THREE
.
Sphere
();
ok
(
a
.
center
.
equals
(
zero
),
"
Passed!
"
);
ok
(
a
.
radius
==
0
,
"
Passed!
"
);
...
...
test/core/Vector2.js
浏览文件 @
2e89cf6d
...
...
@@ -2,11 +2,6 @@
* @author bhouston / http://exocortex.com
*/
var
x
=
2
;
var
y
=
3
;
var
z
=
4
;
var
w
=
5
;
module
(
"
Vector2
"
);
test
(
"
constructor
"
,
function
()
{
...
...
test/core/Vector3.js
浏览文件 @
2e89cf6d
...
...
@@ -2,11 +2,6 @@
* @author bhouston / http://exocortex.com
*/
var
x
=
2
;
var
y
=
3
;
var
z
=
4
;
var
w
=
5
;
module
(
"
Vector3
"
);
test
(
"
constructor
"
,
function
()
{
...
...
test/core/Vector4.js
浏览文件 @
2e89cf6d
...
...
@@ -2,11 +2,6 @@
* @author bhouston / http://exocortex.com
*/
var
x
=
2
;
var
y
=
3
;
var
z
=
4
;
var
w
=
5
;
module
(
"
Vector4
"
);
test
(
"
constructor
"
,
function
()
{
...
...
test/testsuite.html
浏览文件 @
2e89cf6d
...
...
@@ -9,6 +9,7 @@
<div
id=
"qunit"
></div>
<script
src=
"../build/three.min.js"
></script>
<script
src=
"qunit/qunit-1.10.0.js"
></script>
<script
src=
"core/Constants.js"
></script>
<script
src=
"core/Vector2.js"
></script>
<script
src=
"core/Vector3.js"
></script>
<script
src=
"core/Vector4.js"
></script>
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录