Skip to content

Commit 19df099

Browse files
authored
update an inline documentation
1 parent a27a039 commit 19df099

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/data/examples/zh-Hans/08_Math/07_additivewave.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ function calcWave() {
4848
for (let j = 0; j < maxwaves; j++) {
4949
let x = theta;
5050
for (let i = 0; i < yvalues.length; i++) {
51-
// 每一个其他的波是余弦,而不是正弦
51+
// 接下来的所有波都是余弦,而非正弦
5252
if (j % 2 === 0) yvalues[i] += sin(x) * amplitude[j];
5353
else yvalues[i] += cos(x) * amplitude[j];
5454
x += dx[j];

0 commit comments

Comments
 (0)