Bringing minor improvements from Cubiquity's PolyVox into the main branch.

This commit is contained in:
David Williams
2012-12-29 17:02:07 +00:00
parent ed614802fe
commit 50c9934376
2 changed files with 3 additions and 3 deletions

View File

@ -36,7 +36,7 @@ namespace PolyVox
assert((x >= 0.0f) && (x <= 1.0f));
//Interpolate along X
Type v0_1 = v0 + x * (v1 - v0);
Type v0_1 = (v1 - v0) * x + v0;
return v0_1;
}