Skip to content

Commit

Permalink
Fault Reactivation: flip Y axis in local model coordinates.
Browse files Browse the repository at this point in the history
  • Loading branch information
jonjenssen committed Dec 14, 2023
1 parent 1fab743 commit 10eb2cb
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,8 @@ void RigFaultReactivationModelGenerator::setupLocalCoordinateTransform()
{
auto [xNormal, yNormal] = modelLocalNormalsXY();

yNormal = -1.0 * yNormal;

m_localCoordTransform = cvf::Mat4d::fromCoordSystemAxes( &xNormal, &yNormal, &cvf::Vec3d::Z_AXIS );
cvf::Vec3d center = m_startPosition * -1.0;
center.z() = 0.0;
Expand Down

0 comments on commit 10eb2cb

Please sign in to comment.