Commit 5615349d authored by Will Schroeder's avatar Will Schroeder
Browse files

ENH: New interpolation function interface.

parent 4f446ffe
...@@ -450,7 +450,7 @@ void vlVolumeRenderer::TraceOneRay(float p1World[4],float p2World[4], ...@@ -450,7 +450,7 @@ void vlVolumeRenderer::TraceOneRay(float p1World[4],float p2World[4],
{ {
pcoords[i] = (hitPosition[i] - index[i]); pcoords[i] = (hitPosition[i] - index[i]);
} }
cell.ShapeFunctions(pcoords,sf); cell.InterpolationFunctions(pcoords,sf);
sf[0] = sf[0] =
sf[0]*scalars->GetScalar(index[0] + index[1]*dimensions[0] + sf[0]*scalars->GetScalar(index[0] + index[1]*dimensions[0] +
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment