Explorar el Código

math: fix a refactoring blunder.

undefined
Sam Hocevar hace 10 años
padre
commit
acef0b216f
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      src/lol/math/noise/simplex.h

+ 1
- 1
src/lol/math/noise/simplex.h Ver fichero

@@ -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 */


Cargando…
Cancelar
Guardar