#2791 Rename misspelled "principalNumber" in TensorResultPartMgr

This commit is contained in:
Gaute Lindkvist 2018-05-03 14:48:06 +02:00
parent 7903a62cc5
commit fba437f595
2 changed files with 3 additions and 3 deletions

View File

@ -420,7 +420,7 @@ void RivTensorResultPartMgr::createOneColorPerPrincipalTextureCoords(cvf::Vec2fA
{
for (size_t vxIdx = 0; vxIdx < 5; ++vxIdx)
{
cvf::Vec2f texCoord = mapper->mapToTextureCoord(tensor.princialNumber);
cvf::Vec2f texCoord = mapper->mapToTextureCoord(tensor.principalNumber);
textureCoords->add(texCoord);
}
}

View File

@ -61,14 +61,14 @@ private:
, result(result)
, faceNormal(faceNormal)
, isPressure(isPressure)
, princialNumber(princial)
, principalNumber(princial)
, principalValue(principalValue) {};
cvf::Vec3f vertex;
cvf::Vec3f result;
cvf::Vec3f faceNormal;
bool isPressure;
int princialNumber;
int principalNumber;
float principalValue;
};