fix typos
This commit is contained in:
parent
823b7a5008
commit
aad28da6a4
2 changed files with 2 additions and 2 deletions
|
@ -58,7 +58,7 @@ usage:
|
||||||
offsets are sorted in ascending distance from the center (the 0,0 point).
|
offsets are sorted in ascending distance from the center (the 0,0 point).
|
||||||
|
|
||||||
the order of equal distances is undefined.
|
the order of equal distances is undefined.
|
||||||
this probably doesn't matter matter,
|
this doesn't matter much in practice,
|
||||||
considering the algorithm handles non-circular
|
considering the algorithm handles non-circular
|
||||||
neighborhoods just fine — more on that later.
|
neighborhoods just fine — more on that later.
|
||||||
|
|
||||||
|
|
|
@ -305,7 +305,7 @@ static void run(Resynth_state *s, Parameters parameters) {
|
||||||
|
|
||||||
const int data_area = sb_count(s->data_points);
|
const int data_area = sb_count(s->data_points);
|
||||||
|
|
||||||
// shuffle data points in-place
|
// shuffle the data points in-place.
|
||||||
for (int i = 0; i < data_area; i++) {
|
for (int i = 0; i < data_area; i++) {
|
||||||
// (we could use a better random function here)
|
// (we could use a better random function here)
|
||||||
int j = rand() % data_area;
|
int j = rand() % data_area;
|
||||||
|
|
Loading…
Add table
Reference in a new issue