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

callcatcher: unused ImpATan2

üst 4c24f23d
......@@ -207,26 +207,4 @@ static sal_uInt16 ImpATanx2( const Fix& rX, const Fix& rY )
return phi0+phi;
}
/**************************************************************************
|*
|* ImpATan2()
|*
|* Beschreibung ATAN-Funktion fuer FixPoint-Berechnungen
|*
**************************************************************************/
sal_uInt16 ImpATan2( const short x, const short y )
{
Fix rRad = ImpSqrt(sal_uLong(long(x)*x+long(y)*y));
if ( !rRad.x )
return 0;
Fix fx = x;
fx.DivBig( rRad ); // Normiere auf Einheitskreis
Fix fy = y;
fy.DivBig( rRad );
return ImpATanx2( fx, fy );
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
......@@ -215,7 +215,6 @@ inline FixCpx operator/ ( const FixCpx& a, const FixCpx& b )
Fix ImpMultBig2( const Fix& a, const Fix& b );
sal_uInt16 ImpSqrt( sal_uLong nRadi );
sal_uInt16 ImpATan2( const short x, const short y );
FixCpx ImpExPI( sal_uInt16 nPhi );
#endif // _MCVMATH_HXX
......
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