Skip to content

Commit

Permalink
Copy the rotation
Browse files Browse the repository at this point in the history
  • Loading branch information
pbutti committed Jan 29, 2025
1 parent d42caaa commit e6050dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Plugins/GeoModel/src/detail/GeoBoxConverter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ Acts::detail::GeoBoxConverter::operator()(const PVConstLink& geoPV,
// Create the surface transform
Transform3 transform = Transform3::Identity();
transform.translation() = unitLength * absTransform.translation();
auto rotation = absTransform.rotation();
RotationMatrix3 rotation = absTransform.rotation();
// Get the half lengths
std::vector<double> halfLengths = {geoBox.getXHalfLength(),
geoBox.getYHalfLength(),
Expand Down

0 comments on commit e6050dc

Please sign in to comment.