Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docs: Clean up. #24126

Merged
merged 1 commit into from
May 25, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/manual/ar/introduction/Creating-a-scene.html
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ <h2>إنشاء مشهد</h2>
</p>

<code>
const geometry = new THREE.BoxGeometry();
const geometry = new THREE.BoxGeometry( 1, 1, 1 );
const material = new THREE.MeshBasicMaterial( { color: 0x00ff00 } );
const cube = new THREE.Mesh( geometry, material );
scene.add( cube );
Expand Down Expand Up @@ -242,7 +242,7 @@ <h2>النتيجة</h2>
renderer.setSize( window.innerWidth, window.innerHeight );
document.body.appendChild( renderer.domElement );

const geometry = new THREE.BoxGeometry();
const geometry = new THREE.BoxGeometry( 1, 1, 1 );
const material = new THREE.MeshBasicMaterial( { color: 0x00ff00 } );
const cube = new THREE.Mesh( geometry, material );
scene.add( cube );
Expand Down
4 changes: 2 additions & 2 deletions docs/manual/ja/introduction/Creating-a-scene.html
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ <h2>シーンの作成</h2>
<p><em>"それはそれとして、冒頭で言っていたキューブはどこにあるの?"</em> いますぐ追加しましょう。</p>

<code>
const geometry = new THREE.BoxGeometry();
const geometry = new THREE.BoxGeometry( 1, 1, 1 );
const material = new THREE.MeshBasicMaterial( { color: 0x00ff00 } );
const cube = new THREE.Mesh( geometry, material );
scene.add( cube );
Expand Down Expand Up @@ -137,7 +137,7 @@ <h2>成果</h2>
renderer.setSize( window.innerWidth, window.innerHeight );
document.body.appendChild( renderer.domElement );

const geometry = new THREE.BoxGeometry();
const geometry = new THREE.BoxGeometry( 1, 1, 1 );
const material = new THREE.MeshBasicMaterial( { color: 0x00ff00 } );
const cube = new THREE.Mesh( geometry, material );
scene.add( cube );
Expand Down
4 changes: 2 additions & 2 deletions docs/manual/ko/introduction/Creating-a-scene.html
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ <h2>Scene 만들기</h2>
<p><em>"그건 그렇고, 아까 말했던 큐브는 어디에 있죠?"</em> 바로 추가해 봅시다.</p>

<code>
const geometry = new THREE.BoxGeometry();
const geometry = new THREE.BoxGeometry( 1, 1, 1 );
const material = new THREE.MeshBasicMaterial( { color: 0x00ff00 } );
const cube = new THREE.Mesh( geometry, material );
scene.add( cube );
Expand Down Expand Up @@ -140,7 +140,7 @@ <h2>결과 화면</h2>
renderer.setSize( window.innerWidth, window.innerHeight );
document.body.appendChild( renderer.domElement );

const geometry = new THREE.BoxGeometry();
const geometry = new THREE.BoxGeometry( 1, 1, 1 );
const material = new THREE.MeshBasicMaterial( { color: 0x00ff00 } );
const cube = new THREE.Mesh( geometry, material );
scene.add( cube );
Expand Down
4 changes: 2 additions & 2 deletions docs/manual/zh/introduction/Creating-a-scene.html
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ <h2>创建一个场景</h2>
<p><em>“嗯,看起来很不错,那你说的那个立方体在哪儿?”</em>接下来,我们就来添加立方体。</p>

<code>
const geometry = new THREE.BoxGeometry();
const geometry = new THREE.BoxGeometry( 1, 1, 1 );
const material = new THREE.MeshBasicMaterial( { color: 0x00ff00 } );
const cube = new THREE.Mesh( geometry, material );
scene.add( cube );
Expand Down Expand Up @@ -138,7 +138,7 @@ <h2>结果</h2>
renderer.setSize( window.innerWidth, window.innerHeight );
document.body.appendChild( renderer.domElement );

const geometry = new THREE.BoxGeometry();
const geometry = new THREE.BoxGeometry( 1, 1, 1 );
const material = new THREE.MeshBasicMaterial( { color: 0x00ff00 } );
const cube = new THREE.Mesh( geometry, material );
scene.add( cube );
Expand Down