Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
车家大少爷
three.js
提交
ae175e61
T
three.js
项目概览
车家大少爷
/
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,发现更多精彩内容 >>
提交
ae175e61
编写于
4月 19, 2013
作者:
M
Mr.doob
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Doc and examples updates.
上级
74e73a39
变更
10
隐藏空白更改
内联
并排
Showing
10 changed file
with
7 addition
and
141 deletion
+7
-141
docs/58/api/core/Object3D.html
docs/58/api/core/Object3D.html
+0
-18
docs/58/api/math/Matrix3.html
docs/58/api/math/Matrix3.html
+0
-8
docs/58/api/math/Matrix4.html
docs/58/api/math/Matrix4.html
+0
-108
examples/canvas_particles_sprites.html
examples/canvas_particles_sprites.html
+1
-1
examples/webgl_loader_vtk.html
examples/webgl_loader_vtk.html
+1
-1
examples/webgl_materials_skin.html
examples/webgl_materials_skin.html
+1
-1
examples/webgl_particles_shapes.html
examples/webgl_particles_shapes.html
+1
-1
examples/webgl_postprocessing_advanced.html
examples/webgl_postprocessing_advanced.html
+1
-1
examples/webgl_postprocessing_godrays.html
examples/webgl_postprocessing_godrays.html
+1
-1
examples/webgl_sprites.html
examples/webgl_sprites.html
+1
-1
未找到文件。
docs/58/api/core/Object3D.html
浏览文件 @
ae175e61
...
...
@@ -139,15 +139,6 @@
This updates the position, rotation and scale with the matrix.
</div>
<h3>
.translate( [page:Float distance], [page:Vector3 axis] )
</h3>
<div>
distance - Distance.
<br
/>
axis - Translation direction.
</div>
<div>
Translates object along arbitrary *axis* by *distance*.
</div>
<h3>
.translateX( [page:Float distance] )
</h3>
<div>
distance - Distance.
<br
/>
...
...
@@ -220,15 +211,6 @@
Executes the callback on this object and all descendants.
</div>
<h3>
.getChildByName( [page:String name], [page:Boolean recursive] )
</h3>
<div>
name - Object name.
<br
/>
recursive - Whether check in the objects's children.
</div>
<div>
Gets first child with name matching the argument. Searches whole subgraph recursively if *recursive* is true.
</div>
<h3>
.getDescendants( [page:Array array] )
</h3>
<div>
array - optional argument that returns the the array with descendants.
<br
/>
...
...
docs/58/api/math/Matrix3.html
浏览文件 @
ae175e61
...
...
@@ -67,14 +67,6 @@
todo
</div>
<h3>
.multiplyVector3([page:todo vector]) [page:todo]
</h3>
<div>
vector -- todo
</div>
<div>
todo
</div>
<h3>
.multiplyVector3Array([page:todo a]) [page:todo]
</h3>
<div>
a -- todo
...
...
docs/58/api/math/Matrix4.html
浏览文件 @
ae175e61
...
...
@@ -99,16 +99,6 @@
Multiplies this matrix by *s*.
</div>
<h3>
.multiplyVector3( [page:Vector3 v] ) [page:Vector3]
</h3>
<div>
Applies this matrix to *v*.
</div>
<h3>
.multiplyVector4( [page:Vector4 v] ) [page:Vector4]
</h3>
<div>
Applies this matrix to *v*.
</div>
<h3>
.determinant() [page:Float]
</h3>
<div>
Computes determinant of this matrix.
<br
/>
...
...
@@ -135,12 +125,6 @@
Sets the position component for this matrix from vector *v*.
</div>
<h3>
.getPosition() [page:Vector3]
</h3>
<div>
Returns position component from this matrix.
<br
/>
Note: this method returns a reference to the internal class vector, make a copy or clone it if you don't use it right away.
</div>
<h3>
.getInverse( [page:Matrix4 m] ) [page:Matrix4]
</h3>
<div>
Sets this matrix to the inverse of matrix *m*.
<br
/>
...
...
@@ -247,90 +231,6 @@
Clones this matrix.
</div>
<h3>
.compose([page:todo position], [page:todo quaternion], [page:todo scale]) [page:todo]
</h3>
<div>
position -- todo
<br
/>
quaternion -- todo
<br
/>
scale -- todo
</div>
<div>
todo
</div>
<h3>
.rotateAxis([page:todo v]) [page:todo]
</h3>
<div>
v -- todo
</div>
<div>
todo
</div>
<h3>
.setRotationFromEuler([page:todo v], [page:todo order]) [page:todo]
</h3>
<div>
v -- todo
<br
/>
order -- todo
</div>
<div>
todo
</div>
<h3>
.crossVector([page:todo vector]) [page:todo]
</h3>
<div>
vector -- todo
</div>
<div>
todo
</div>
<h3>
.rotateByAxis([page:todo axis], [page:todo angle]) [page:todo]
</h3>
<div>
axis -- todo
<br
/>
angle -- todo
</div>
<div>
todo
</div>
<h3>
.setRotationFromQuaternion([page:todo q]) [page:todo]
</h3>
<div>
q -- todo
</div>
<div>
todo
</div>
<h3>
.extractPosition([page:todo m]) [page:todo]
</h3>
<div>
m -- todo
</div>
<div>
todo
</div>
<h3>
.rotateX([page:todo angle]) [page:todo]
</h3>
<div>
angle -- todo
</div>
<div>
todo
</div>
<h3>
.rotateY([page:todo angle]) [page:todo]
</h3>
<div>
angle -- todo
</div>
<div>
todo
</div>
<h3>
.rotateZ([page:todo angle]) [page:todo]
</h3>
<div>
angle -- todo
</div>
<div>
todo
</div>
<h3>
.multiplyVector3Array([page:todo a]) [page:todo]
</h3>
<div>
a -- todo
...
...
@@ -344,14 +244,6 @@
todo
</div>
<h3>
.translate([page:todo v]) [page:todo]
</h3>
<div>
v -- todo
</div>
<div>
todo
</div>
<h2>
Source
</h2>
[link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]
...
...
examples/canvas_particles_sprites.html
浏览文件 @
ae175e61
...
...
@@ -59,7 +59,7 @@
renderer
=
new
THREE
.
CanvasRenderer
();
renderer
.
setSize
(
window
.
innerWidth
,
window
.
innerHeight
);
renderer
.
sortElements
=
false
;
renderer
.
setClearColor
Hex
(
0x0000ff
,
0.25
);
renderer
.
setClearColor
(
0x0000ff
,
0.25
);
container
.
appendChild
(
renderer
.
domElement
);
stats
=
new
Stats
();
...
...
examples/webgl_loader_vtk.html
浏览文件 @
ae175e61
...
...
@@ -100,7 +100,7 @@
// renderer
renderer
=
new
THREE
.
WebGLRenderer
(
{
antialias
:
false
}
);
renderer
.
setClearColor
Hex
(
0x000000
,
1
);
renderer
.
setClearColor
(
0x000000
,
1
);
renderer
.
setSize
(
window
.
innerWidth
,
window
.
innerHeight
);
container
=
document
.
createElement
(
'
div
'
);
...
...
examples/webgl_materials_skin.html
浏览文件 @
ae175e61
...
...
@@ -158,7 +158,7 @@
renderer
=
new
THREE
.
WebGLRenderer
(
{
antialias
:
false
}
);
renderer
.
setSize
(
window
.
innerWidth
,
window
.
innerHeight
);
renderer
.
setClearColor
Hex
(
0x050505
,
1
);
renderer
.
setClearColor
(
0x050505
,
1
);
renderer
.
autoClear
=
false
;
container
.
appendChild
(
renderer
.
domElement
);
...
...
examples/webgl_particles_shapes.html
浏览文件 @
ae175e61
...
...
@@ -490,7 +490,7 @@
renderer
=
new
THREE
.
WebGLRenderer
();
renderer
.
setSize
(
window
.
innerWidth
,
window
.
innerHeight
);
renderer
.
setClearColor
Hex
(
0x000000
,
1
);
renderer
.
setClearColor
(
0x000000
,
1
);
container
.
appendChild
(
renderer
.
domElement
);
...
...
examples/webgl_postprocessing_advanced.html
浏览文件 @
ae175e61
...
...
@@ -137,7 +137,7 @@
renderer
=
new
THREE
.
WebGLRenderer
(
{
antialias
:
false
}
);
renderer
.
setSize
(
width
,
height
);
renderer
.
setClearColor
Hex
(
0x000000
,
1
);
renderer
.
setClearColor
(
0x000000
,
1
);
renderer
.
autoClear
=
false
;
//
...
...
examples/webgl_postprocessing_godrays.html
浏览文件 @
ae175e61
...
...
@@ -135,7 +135,7 @@
renderer
.
sortObjects
=
false
;
renderer
.
autoClear
=
false
;
renderer
.
setClearColor
Hex
(
bgColor
,
1
);
renderer
.
setClearColor
(
bgColor
,
1
);
renderer
.
domElement
.
style
.
position
=
'
absolute
'
;
renderer
.
domElement
.
style
.
top
=
margin
+
"
px
"
;
...
...
examples/webgl_sprites.html
浏览文件 @
ae175e61
...
...
@@ -127,7 +127,7 @@
// renderer
renderer
=
new
THREE
.
WebGLRenderer
();
renderer
.
setClearColor
Hex
(
0x000000
,
1
);
renderer
.
setClearColor
(
0x000000
,
1
);
renderer
.
setSize
(
window
.
innerWidth
,
window
.
innerHeight
);
container
.
appendChild
(
renderer
.
domElement
);
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录