Skip to content

Commit 2ac4182

Browse files
author
태재영
committed
fix: #375
1 parent faf9272 commit 2ac4182

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

webgl/lessons/ko/webgl-3d-geometry-lathe.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -793,7 +793,7 @@ O^2일 경우 최대 3억 번의 반복이 발생합니다.
793793
<p>
794794
나머지 연산 덕분에 <code>endAngle</code>이 <code>Math.PI * 2</code>일 때 <code>angle</code>은 0이 되고 이는 <code>startAngle</code>과 동일합니다
795795
경계선이 없어졌네요.
796-
문제가 해결습니다!
796+
문제가 해결되었습니다!
797797
</p>
798798
<p>
799799
그래도 여전히 <code>distance</code>를 0.001로 <code>divisions</code>를 60으로 설정하면 mesh를 다시 계산하는 데 거의 1초가 걸립니다.

webgl/lessons/webgl-3d-geometry-lathe.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -824,7 +824,7 @@ And the new code like this
824824
<pre class="prettyprint">
825825
const angle = lerp(startAngle, endAngle, u) % (Math.PI * 2);
826826
</pre>
827-
<p>Because of the module the <code>angle</code> when <code>endAngle</code> is <code>Math.PI * 2</code> becomes 0
827+
<p>Because of the modulo the <code>angle</code> when <code>endAngle</code> is <code>Math.PI * 2</code> becomes 0
828828
and so it's the same as the start. The seam went away. Problem solved!</p>
829829
<p>Still, even with the change if you set <code>distance</code> to 0.001
830830
and <code>divisions</code> to 60 it takes nearly a second on my machine to recompute the mesh. While

0 commit comments

Comments
 (0)