Skip to content

Commit

Permalink
blueprint: Remove ActsScalar
Browse files Browse the repository at this point in the history
  • Loading branch information
paulgessinger committed Dec 2, 2024
1 parent 1313d95 commit a2ccf2c
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions Core/src/Geometry/LayerBlueprintNode.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -59,16 +59,16 @@ void LayerBlueprintNode::buildVolume(const Extent& extent,
switch (m_layerType) {
case Cylinder:
case Disc: {
ActsScalar minR = extent.min(binR);
ActsScalar maxR = extent.max(binR);
ActsScalar hlZ = extent.interval(binZ) / 2.0;
double minR = extent.min(binR);
double maxR = extent.max(binR);
double hlZ = extent.interval(binZ) / 2.0;
bounds = std::make_shared<CylinderVolumeBounds>(minR, maxR, hlZ);
break;
}
case Plane: {
ActsScalar hlX = extent.interval(binX) / 2.0;
ActsScalar hlY = extent.interval(binY) / 2.0;
ActsScalar hlZ = extent.interval(binZ) / 2.0;
double hlX = extent.interval(binX) / 2.0;
double hlY = extent.interval(binY) / 2.0;
double hlZ = extent.interval(binZ) / 2.0;
bounds = std::make_shared<CuboidVolumeBounds>(hlX, hlY, hlZ);
break;
}
Expand Down

0 comments on commit a2ccf2c

Please sign in to comment.