dsound: Remove unused function

Andrew Talbot Andrew.Talbot at talbotville.com
Mon Jan 8 14:31:00 CST 2007


Changelog:
    dsound: Remove unused function.

diff -urN a/dlls/dsound/sound3d.c b/dlls/dsound/sound3d.c
--- a/dlls/dsound/sound3d.c	2006-11-13 17:34:34.000000000 +0000
+++ b/dlls/dsound/sound3d.c	2007-01-08 20:24:22.000000000 +0000
@@ -105,15 +105,6 @@
 	return newangle;
 }
 
-/* conversion between degrees and radians */
-static inline D3DVALUE DegToRad (D3DVALUE angle)
-{
-	D3DVALUE newangle;
-	newangle = angle * (2*M_PI/360);
-	TRACE("%f deg = %f rad\n", angle, newangle);
-	return newangle;
-}
-
 /* angle between vectors - deg version */
 static inline D3DVALUE AngleBetweenVectorsDeg (LPD3DVECTOR a, LPD3DVECTOR b)
 {



More information about the wine-patches mailing list