ソースを参照

math: fix a refactoring blunder.

undefined
Sam Hocevar 10年前
コミット
acef0b216f
1個のファイルの変更1行の追加1行の削除
  1. +1
    -1
      src/lol/math/noise/simplex.h

+ 1
- 1
src/lol/math/noise/simplex.h ファイルの表示

@@ -96,7 +96,7 @@ protected:
for (int i = 0; i < N; ++i)
for (int j = i + 1; j < N; ++j)
if (pos[traversal_order[i]] < pos[traversal_order[j]])
traversal_order.swap(i, j);
std::swap(traversal_order[i], traversal_order[j]);


/* Get the position in world coordinates, too */


読み込み中…
キャンセル
保存