--Code Change

-Fix compiler warnings in XmlToEmber
This commit is contained in:
Seth Troisi
2022-02-13 00:30:56 -08:00
parent ee7ca7065e
commit 344c8c6457
10 changed files with 22 additions and 30 deletions

View File

@ -3608,7 +3608,6 @@ public:
}
T tempx, tempy;
T boost = 1;//Boost is the separation distance between the two planes.
T sumX, sumY;
if (m_VarType == eVariationType::VARTYPE_REG)
@ -3629,6 +3628,7 @@ public:
//Creating Z factors relative to the planes. These will be added, whereas x and y will be assigned.
//Original does += z *, so using z on the right side of = is intentional.
if (m_MajPlane == 2)
//Boost is the separation distance between the two planes.
helper.Out.z = helper.In.z * T(0.5) * m_ZLift + (posNeg * m_Boost);
else
helper.Out.z = helper.In.z * T(0.5) * m_ZLift;