Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Ablesons
three.js
提交
d7a82b34
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,发现更多精彩内容 >>
提交
d7a82b34
编写于
7月 03, 2011
作者:
A
alteredq
浏览文件
操作
浏览文件
下载
差异文件
Merge remote-tracking branch 'remotes/chriskillpack/rename-fpcamera' into dev
上级
280a28df
07d54a4d
变更
12
隐藏空白更改
内联
并排
Showing
12 changed file
with
17 addition
and
17 deletion
+17
-17
examples/canvas_sandbox.html
examples/canvas_sandbox.html
+1
-1
examples/misc_sound.html
examples/misc_sound.html
+1
-1
examples/misc_ubiquity_test.html
examples/misc_ubiquity_test.html
+1
-1
examples/webgl_geometry_dynamic.html
examples/webgl_geometry_dynamic.html
+1
-1
examples/webgl_geometry_minecraft.html
examples/webgl_geometry_minecraft.html
+1
-1
examples/webgl_geometry_minecraft_ao.html
examples/webgl_geometry_minecraft_ao.html
+1
-1
examples/webgl_geometry_terrain.html
examples/webgl_geometry_terrain.html
+1
-1
examples/webgl_geometry_terrain_fog.html
examples/webgl_geometry_terrain_fog.html
+1
-1
examples/webgl_sandbox.html
examples/webgl_sandbox.html
+1
-1
src/extras/cameras/FirstPersonCamera.js
src/extras/cameras/FirstPersonCamera.js
+5
-5
src/extras/cameras/QuakeCamera.js
src/extras/cameras/QuakeCamera.js
+2
-2
utils/build.py
utils/build.py
+1
-1
未找到文件。
examples/canvas_sandbox.html
浏览文件 @
d7a82b34
...
...
@@ -90,7 +90,7 @@
<script
type=
"text/javascript"
src=
"../src/extras/ShaderUtils.js"
></script>
<script
type=
"text/javascript"
src=
"../src/extras/animation/AnimationHandler.js"
></script>
<script
type=
"text/javascript"
src=
"../src/extras/animation/Animation.js"
></script>
<script
type=
"text/javascript"
src=
"../src/extras/cameras/F
P
Camera.js"
></script>
<script
type=
"text/javascript"
src=
"../src/extras/cameras/F
irstPerson
Camera.js"
></script>
<script
type=
"text/javascript"
src=
"../src/extras/cameras/PathCamera.js"
></script>
<script
type=
"text/javascript"
src=
"../src/extras/cameras/FlyCamera.js"
></script>
<script
type=
"text/javascript"
src=
"../src/extras/cameras/RollCamera.js"
></script>
...
...
examples/misc_sound.html
浏览文件 @
d7a82b34
...
...
@@ -70,7 +70,7 @@
scene
=
new
THREE
.
Scene
();
scene
.
fog
=
new
THREE
.
FogExp2
(
0x000000
,
0.0035
);
camera
=
new
THREE
.
F
P
Camera
(
{
camera
=
new
THREE
.
F
irstPerson
Camera
(
{
fov
:
50
,
aspect
:
window
.
innerWidth
/
window
.
innerHeight
,
near
:
1
,
far
:
10000
,
movementSpeed
:
70
,
lookSpeed
:
0.05
,
noFly
:
true
,
lookVertical
:
false
}
);
...
...
examples/misc_ubiquity_test.html
浏览文件 @
d7a82b34
...
...
@@ -91,7 +91,7 @@
<script
type=
"text/javascript"
src=
"../src/extras/ShaderUtils.js"
></script>
<script
type=
"text/javascript"
src=
"../src/extras/animation/AnimationHandler.js"
></script>
<script
type=
"text/javascript"
src=
"../src/extras/animation/Animation.js"
></script>
<script
type=
"text/javascript"
src=
"../src/extras/cameras/F
P
Camera.js"
></script>
<script
type=
"text/javascript"
src=
"../src/extras/cameras/F
irstPerson
Camera.js"
></script>
<script
type=
"text/javascript"
src=
"../src/extras/cameras/PathCamera.js"
></script>
<script
type=
"text/javascript"
src=
"../src/extras/cameras/FlyCamera.js"
></script>
<script
type=
"text/javascript"
src=
"../src/extras/cameras/RollCamera.js"
></script>
...
...
examples/webgl_geometry_dynamic.html
浏览文件 @
d7a82b34
...
...
@@ -70,7 +70,7 @@
container
=
document
.
getElementById
(
'
container
'
);
camera
=
new
THREE
.
F
P
Camera
(
{
camera
=
new
THREE
.
F
irstPerson
Camera
(
{
fov
:
60
,
aspect
:
window
.
innerWidth
/
window
.
innerHeight
,
near
:
1
,
far
:
20000
,
movementSpeed
:
500
,
lookSpeed
:
0.1
,
noFly
:
false
,
lookVertical
:
true
...
...
examples/webgl_geometry_minecraft.html
浏览文件 @
d7a82b34
...
...
@@ -75,7 +75,7 @@
container
=
document
.
getElementById
(
'
container
'
);
camera
=
new
THREE
.
F
P
Camera
(
{
camera
=
new
THREE
.
F
irstPerson
Camera
(
{
fov
:
60
,
aspect
:
window
.
innerWidth
/
window
.
innerHeight
,
near
:
1
,
far
:
20000
,
movementSpeed
:
1000
,
lookSpeed
:
0.125
,
noFly
:
false
,
lookVertical
:
true
...
...
examples/webgl_geometry_minecraft_ao.html
浏览文件 @
d7a82b34
...
...
@@ -83,7 +83,7 @@
container
=
document
.
getElementById
(
'
container
'
);
camera
=
new
THREE
.
F
P
Camera
(
{
camera
=
new
THREE
.
F
irstPerson
Camera
(
{
fov
:
50
,
aspect
:
window
.
innerWidth
/
window
.
innerHeight
,
near
:
1
,
far
:
20000
,
constrainVertical
:
true
,
verticalMin
:
1.1
,
verticalMax
:
2.2
,
...
...
examples/webgl_geometry_terrain.html
浏览文件 @
d7a82b34
...
...
@@ -67,7 +67,7 @@
container
=
document
.
getElementById
(
'
container
'
);
camera
=
new
THREE
.
F
P
Camera
(
{
camera
=
new
THREE
.
F
irstPerson
Camera
(
{
fov
:
60
,
aspect
:
window
.
innerWidth
/
window
.
innerHeight
,
near
:
1
,
far
:
20000
,
movementSpeed
:
1000
,
lookSpeed
:
0.1
,
noFly
:
false
,
lookVertical
:
true
...
...
examples/webgl_geometry_terrain_fog.html
浏览文件 @
d7a82b34
...
...
@@ -66,7 +66,7 @@
container
=
document
.
getElementById
(
'
container
'
);
camera
=
new
THREE
.
F
P
Camera
(
{
camera
=
new
THREE
.
F
irstPerson
Camera
(
{
fov
:
60
,
aspect
:
window
.
innerWidth
/
window
.
innerHeight
,
near
:
1
,
far
:
10000
,
movementSpeed
:
150
,
lookSpeed
:
0.1
,
noFly
:
false
,
lookVertical
:
true
...
...
examples/webgl_sandbox.html
浏览文件 @
d7a82b34
...
...
@@ -109,7 +109,7 @@
<script
type=
"text/javascript"
src=
"../src/extras/ShaderUtils.js"
></script>
<script
type=
"text/javascript"
src=
"../src/extras/animation/AnimationHandler.js"
></script>
<script
type=
"text/javascript"
src=
"../src/extras/animation/Animation.js"
></script>
<script
type=
"text/javascript"
src=
"../src/extras/cameras/F
P
Camera.js"
></script>
<script
type=
"text/javascript"
src=
"../src/extras/cameras/F
irstPerson
Camera.js"
></script>
<script
type=
"text/javascript"
src=
"../src/extras/cameras/PathCamera.js"
></script>
<script
type=
"text/javascript"
src=
"../src/extras/cameras/FlyCamera.js"
></script>
<script
type=
"text/javascript"
src=
"../src/extras/cameras/RollCamera.js"
></script>
...
...
src/extras/cameras/F
P
Camera.js
→
src/extras/cameras/F
irstPerson
Camera.js
浏览文件 @
d7a82b34
...
...
@@ -30,7 +30,7 @@
* }
*/
THREE
.
F
P
Camera
=
function
(
parameters
)
{
THREE
.
F
irstPerson
Camera
=
function
(
parameters
)
{
THREE
.
Camera
.
call
(
this
,
parameters
.
fov
,
parameters
.
aspect
,
parameters
.
near
,
parameters
.
far
,
parameters
.
target
);
...
...
@@ -307,12 +307,12 @@ THREE.FPCamera = function ( parameters ) {
};
THREE
.
F
P
Camera
.
prototype
=
new
THREE
.
Camera
();
THREE
.
F
PCamera
.
prototype
.
constructor
=
THREE
.
FP
Camera
;
THREE
.
F
P
Camera
.
prototype
.
supr
=
THREE
.
Camera
.
prototype
;
THREE
.
F
irstPerson
Camera
.
prototype
=
new
THREE
.
Camera
();
THREE
.
F
irstPersonCamera
.
prototype
.
constructor
=
THREE
.
FirstPerson
Camera
;
THREE
.
F
irstPerson
Camera
.
prototype
.
supr
=
THREE
.
Camera
.
prototype
;
THREE
.
F
P
Camera
.
prototype
.
translate
=
function
(
distance
,
axis
)
{
THREE
.
F
irstPerson
Camera
.
prototype
.
translate
=
function
(
distance
,
axis
)
{
this
.
matrix
.
rotateAxis
(
axis
);
...
...
src/extras/cameras/QuakeCamera.js
浏览文件 @
d7a82b34
/**
* @author chriskillpack / http://chriskillpack.com/
*
* QuakeCamera has been renamed F
P
Camera. This property exists for backwards
* QuakeCamera has been renamed F
irstPerson
Camera. This property exists for backwards
* compatibility only.
*/
THREE
.
QuakeCamera
=
THREE
.
F
P
Camera
;
THREE
.
QuakeCamera
=
THREE
.
F
irstPerson
Camera
;
utils/build.py
浏览文件 @
d7a82b34
...
...
@@ -89,7 +89,7 @@ EXTRAS_FILES = [
'extras/ShaderUtils.js'
,
'extras/animation/AnimationHandler.js'
,
'extras/animation/Animation.js'
,
'extras/cameras/F
P
Camera.js'
,
'extras/cameras/F
irstPerson
Camera.js'
,
'extras/cameras/PathCamera.js'
,
'extras/cameras/FlyCamera.js'
,
'extras/cameras/RollCamera.js'
,
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录