Skip to content

Commit 08397c7

Browse files
Merge pull request #1 from mrdoob/dev
Getting updates
2 parents 6671b86 + 908de67 commit 08397c7

File tree

216 files changed

+10844
-7948
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

216 files changed

+10844
-7948
lines changed

build/three.js

Lines changed: 3868 additions & 3943 deletions
Large diffs are not rendered by default.

build/three.min.js

Lines changed: 993 additions & 981 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build/three.module.js

Lines changed: 1500 additions & 1518 deletions
Large diffs are not rendered by default.

docs/api/en/renderers/WebGLCubeRenderTarget.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ <h3>[name]([param:Number size], [param:Object options])</h3>
4242
[page:Number anisotropy] - default is *1*. See [page:Texture.anistropy]<br />
4343
[page:Constant encoding] - default is [page:Textures LinearEncoding]. <br />
4444
[page:Boolean depthBuffer] - default is *true*. Set this to false if you don't need it. <br />
45-
[page:Boolean stencilBuffer] - default is *true*. Set this to false if you don't need it.<br /><br />
45+
[page:Boolean stencilBuffer] - default is *false*. Set this to true if you need it.<br /><br />
4646

4747
Creates a new [name]
4848
</p>

docs/api/en/renderers/WebGLRenderTarget.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ <h3>[name]([param:Number width], [param:Number height], [param:Object options])<
4141
[page:Number anisotropy] - default is *1*. See [page:Texture.anisotropy]<br />
4242
[page:Constant encoding] - default is [page:Textures LinearEncoding]. <br />
4343
[page:Boolean depthBuffer] - default is *true*. Set this to false if you don't need it. <br />
44-
[page:Boolean stencilBuffer] - default is *true*. Set this to false if you don't need it.<br /><br />
44+
[page:Boolean stencilBuffer] - default is *false*. Set this to true if you need it.<br /><br />
4545

4646
Creates a new [name]
4747
</p>
@@ -85,7 +85,7 @@ <h3>[property:boolean depthBuffer]</h3>
8585

8686
<h3>[property:boolean stencilBuffer]</h3>
8787
<p>
88-
Renders to the stencil buffer. Default is true.
88+
Renders to the stencil buffer. Default is false.
8989
</p>
9090

9191
<h3>[property:DepthTexture depthTexture]</h3>

docs/api/zh/renderers/WebGLCubeRenderTarget.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ <h3>[name]([param:Number size], [param:Object options])</h3>
3939
[page:Number anisotropy] - 默认是 *1*. 参见[page:Texture.anistropy]<br />
4040
[page:Constant encoding] - 默认是[page:Textures LinearEncoding]. <br />
4141
[page:Boolean depthBuffer] - 默认是*true*.如果不需要就设为false <br />
42-
[page:Boolean stencilBuffer] - 默认是*true*.如果不需要就设为false<br /><br />
42+
[page:Boolean stencilBuffer] - default is *false*. Set this to true if you need it.<br /><br />
4343

4444
创建一个新[name]
4545
</p>

docs/api/zh/renderers/WebGLRenderTarget.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ <h3>[name]([param:Number width], [param:Number height], [param:Object options])<
3737
[page:Number anisotropy] - 默认是*1*. 参见[page:Texture.anistropy]<br />
3838
[page:Constant encoding] - 默认是[page:Textures LinearEncoding]. <br />
3939
[page:Boolean depthBuffer] - 默认是*true*. 如果不需要就设为false <br />
40-
[page:Boolean stencilBuffer] - 默认是*true*. 如果不需要就设为false <br /><br />
40+
[page:Boolean stencilBuffer] - default is *false*. Set this to true if you need it.<br /><br />
4141

4242
创建一个新[name]
4343
</p>
@@ -81,7 +81,7 @@ <h3>[property:boolean depthBuffer]</h3>
8181

8282
<h3>[property:boolean stencilBuffer]</h3>
8383
<p>
84-
渲染到模板缓冲区。默认true.
84+
Renders to the stencil buffer. Default is false.
8585
</p>
8686

8787
<h3>[property:DepthTexture depthTexture]</h3>

docs/index.html

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -204,6 +204,12 @@ <h1><a href="http://threejs.org">three.js</a></h1>
204204
navigation = document.createElement( 'div' );
205205
content.appendChild( navigation );
206206

207+
if ( language === 'ar' ) {
208+
209+
navigation.style.direction = 'rtl';
210+
211+
}
212+
207213
var localList = list[ language ];
208214

209215
for ( var section in localList ) {

docs/list.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -462,6 +462,7 @@ var list = {
462462
},
463463

464464
"ar": {
465+
465466
"الكتيب": {
466467

467468
"البدء": {
@@ -470,10 +471,11 @@ var list = {
470471
"دعم المتصفح": "manual/ar/introduction/Browser-support",
471472
"WebGL فحص توافق": "manual/ar/introduction/WebGL-compatibility-check",
472473
"كيف تدير الأشياء محليًا": "manual/ar/introduction/How-to-run-things-locally",
473-
"Typescript إعدادات": "manual/ar/introduction/Typescript-setup",
474+
"Typescript إعدادات": "manual/ar/introduction/Typescript-setup"
474475
},
475476

476477
},
478+
477479
},
478480

479481
"zh": {

docs/manual/ar/introduction/Browser-support.html

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,13 @@
11
<!DOCTYPE html>
2-
<html lang="en">
2+
<html lang="ar">
33
<head>
44
<meta charset="utf-8">
55
<base href="../../../" />
66
<script src="list.js"></script>
77
<script src="page.js"></script>
88
<link type="text/css" rel="stylesheet" href="page.css" />
9-
<style>
10-
h1,
11-
h2,
12-
h3,
13-
h4,
14-
p,
15-
ul,
16-
table {
17-
direction: rtl !important;
18-
}
19-
</style>
209
</head>
21-
<body>
10+
<body class="rtl">
2211
<h1>([name]) دعم المتصفح</h1>
2312

2413
<h2>نظرة عامة</h2>

0 commit comments

Comments
 (0)