#1040 Switch a and b when computing fracture geometry

This commit is contained in:
Magne Sjaastad 2017-01-24 15:11:20 +01:00
parent 7e78d8f1ae
commit b035212712

View File

@ -126,8 +126,8 @@ void RimEllipseFractureTemplate::fractureGeometry(std::vector<cvf::Vec3f>* nodeC
{
RigEllipsisTesselator tesselator(20);
float a = height / 2.0f;
float b = halfLength;
float a = halfLength;
float b = height / 2.0f;
tesselator.tesselateEllipsis(a, b, polygonIndices, nodeCoords);
}