Skip to content

Commit a6ff6c6

Browse files
authored
Docs: Enhance FAQ with input validation question. (#24116)
* Docs: Enhance FAQ with input validation question. * Docs: Fix typo.
1 parent 3ca98fb commit a6ff6c6

File tree

5 files changed

+27
-2
lines changed

5 files changed

+27
-2
lines changed

docs/manual/ar/introduction/FAQ.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,5 +52,10 @@ <h2>لماذا جزء من نموذجي غير مرئي؟</h2>
5252

5353
<code>material.side = THREE.DoubleSide</code>
5454
</p>
55+
56+
<h2>Why does three.js sometimes return strange results for invalid inputs?</h2>
57+
<p>
58+
For performance reasons, three.js doesn't validate inputs in most cases. It's your app's responsibility to make sure that all inputs are valid.
59+
</p>
5560
</body>
5661
</html>

docs/manual/en/introduction/FAQ.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,5 +51,10 @@ <h2>Why is part of my object invisible?</h2>
5151
This could be because of face culling. Faces have an orientation that decides which side is which. And the culling removes the backside in normal circumstances. To see if this is your problem, change the material side to THREE.DoubleSide.
5252
<code>material.side = THREE.DoubleSide</code>
5353
</p>
54+
55+
<h2>Why does three.js sometimes return strange results for invalid inputs?</h2>
56+
<p>
57+
For performance reasons, three.js doesn't validate inputs in most cases. It's your app's responsibility to make sure that all inputs are valid.
58+
</p>
5459
</body>
5560
</html>

docs/manual/ja/introduction/FAQ.html

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,11 @@ <h2>オブジェクトの一部が非表示になる原因はなんですか?<
5454
これはface cullingが原因かもしれません。Faceにはどちらの面かを決める向きがあります。 そして、cullingは通常の状況では裏面を削除します。 これが問題となって非表示になっているかどうかを確認するには、 マテリアルの面をTHREE.DoubleSideに変更してください。
5555
<code>material.side = THREE.DoubleSide</code>
5656
</p>
57+
58+
<h2>Why does three.js sometimes return strange results for invalid inputs?</h2>
59+
<p>
60+
For performance reasons, three.js doesn't validate inputs in most cases. It's your app's responsibility to make sure that all inputs are valid.
61+
</p>
5762
</body>
5863

59-
</html>
64+
</html>

docs/manual/ko/introduction/FAQ.html

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,5 +50,10 @@ <h2>왜 오브젝트 일부가 안 보일까요?</h2>
5050
이는 페이스 컬링 문제일 수 있습니다. 각 면들은 어느 방향이 어느 방향인지에 대한 정보를 가지고 있습니다. 그리고 컬링은 일반적으로 뒷편의 면을 제거해 버립니다. 이 문제가 의심된다면 재질의 면을 THREE.DoubleSide로 변경해 보세요.
5151
<code>material.side = THREE.DoubleSide</code>
5252
</p>
53+
54+
<h2>Why does three.js sometimes return strange results for invalid inputs?</h2>
55+
<p>
56+
For performance reasons, three.js doesn't validate inputs in most cases. It's your app's responsibility to make sure that all inputs are valid.
57+
</p>
5358
</body>
54-
</html>
59+
</html>

docs/manual/zh/introduction/FAQ.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,5 +49,10 @@ <h2>为什么我的物体的一部分是不可见的?</h2>
4949
在正常情况下,渲染时会将背面进行剔除。要查看这是不是你所遇到的问题,请将material的side更改为THREE.DoubleSide。
5050
<code>material.side = THREE.DoubleSide</code>
5151
</p>
52+
53+
<h2>Why does three.js sometimes return strange results for invalid inputs?</h2>
54+
<p>
55+
For performance reasons, three.js doesn't validate inputs in most cases. It's your app's responsibility to make sure that all inputs are valid.
56+
</p>
5257
</body>
5358
</html>

0 commit comments

Comments
 (0)