correction to sim flockfev

This commit is contained in:
vivek-shankar 2017-05-11 22:18:50 -04:00
parent 1b408b9dc3
commit a99b889b16
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@ function lj_magnitude(dist, target, epsilon) {
# Neighbor data to LJ interaction vector
function lj_vector(rid, data) {
return math.vec2.newp(lj_magnitude(data.distance, TARGET, EPSILON), data.azimuth)
}cd sr
}
# Accumulator of neighbor LJ interactions
function lj_sum(rid, data, accum) {