Kaydet (Commit) 45c2c027 authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#983561 Arguments in wrong order

and

coverity#983562 Arguments in wrong order

Change-Id: Ia9e95c8c5dbbf0a12ac06162e4fc3ff5e568f035
üst 092e10a5
......@@ -220,12 +220,12 @@ namespace basegfx
return aRetval;
}
// helper for getting the 3D Point from given cartesian coordiantes. fVer is defined from
// [F_PI2 .. -F_PI2], fHor from [0.0 .. F_2PI]
inline B3DPoint getPointFromCartesian(double fVer, double fHor)
// helper for getting the 3D Point from given cartesian coordiantes. fHor is defined from
// [F_PI2 .. -F_PI2], fVer from [0.0 .. F_2PI]
inline B3DPoint getPointFromCartesian(double fHor, double fVer)
{
const double fCosHor(cos(fHor));
return B3DPoint(fCosHor * cos(fVer), sin(fHor), fCosHor * -sin(fVer));
const double fCosVer(cos(fVer));
return B3DPoint(fCosVer * cos(fHor), sin(fVer), fCosVer * -sin(fHor));
}
B3DPolyPolygon createUnitSpherePolyPolygon(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment