Commit 6ce27f6d authored by Carson Brownlee's avatar Carson Brownlee
Browse files

fixing missing bracket in renderer

parent 6510b63f
Pipeline #171299 passed with stage
......@@ -305,7 +305,7 @@ OSPGeometricModel RenderAsCylinders(std::vector<osp::vec3f>& vertices,
{
const double avg =
(*scaleArray->GetTuple(indexArray[i]) + *scaleArray->GetTuple(indexArray[i])) * 0.5;
const float r = static_cast<float>(MapThroughPWF(avg, scaleFunction));
const double r = MapThroughPWF(avg, scaleFunction);
const osp::vec3f& v = vertices[indexArray[i]];
// linear not supported for variable radii, must use curve type with
// 4 instead of 2 control points
......
Markdown is supported
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