This website works better with JavaScript.
Home
Help
Sign In
lolengine
/
lol
mirror of
https://github.com/lolengine/lol
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
0
Wiki
Activity
Browse Source
simplex_interpolator: bug fix
undefined
Guillaume Bittoun
Sam Hocevar
<sam@hocevar.net>
10 years ago
parent
fee0a6f8e7
commit
1cd86f9f24
1 changed files
with
2 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-1
src/lol/math/simplex_interpolator.h
+ 2
- 1
src/lol/math/simplex_interpolator.h
View File
@@ -121,7 +121,8 @@ protected:
vec_t<T, N> result;
for (int i = 0 ; i < N ; ++i)
result[i] = dot(base_inverse[i], position);
for (int j = 0 ; j < N ; ++j)
result[i] += this->base_inverse[j][i] * position[j];
return result;
}
Write
Preview
Loading…
Cancel
Save