summaryrefslogtreecommitdiff
path: root/src/mesa/main/imports.c
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2010-05-05 08:36:20 -0700
committerEric Anholt <eric@anholt.net>2010-05-13 13:02:09 -0700
commit165694ad65374ff4330bd80acb398fe0428ba2e6 (patch)
treef74edc1cddd7f3a53ef2fd2cd7adbe229fa9be7f /src/mesa/main/imports.c
parentfef303bc94f2fb15a068563ac8abfb1765bde035 (diff)
mesa: Remove no-op wrappers around trig functions.
Diffstat (limited to 'src/mesa/main/imports.c')
-rw-r--r--src/mesa/main/imports.c35
1 files changed, 0 insertions, 35 deletions
diff --git a/src/mesa/main/imports.c b/src/mesa/main/imports.c
index 1c4b219188..25080db40c 100644
--- a/src/mesa/main/imports.c
+++ b/src/mesa/main/imports.c
@@ -243,41 +243,6 @@ _mesa_memset16( unsigned short *dst, unsigned short val, size_t n )
/** \name Math */
/*@{*/
-/** Wrapper around sin() */
-double
-_mesa_sin(double a)
-{
- return sin(a);
-}
-
-/** Single precision wrapper around sin() */
-float
-_mesa_sinf(float a)
-{
- return (float) sin((double) a);
-}
-
-/** Wrapper around cos() */
-double
-_mesa_cos(double a)
-{
- return cos(a);
-}
-
-/** Single precision wrapper around asin() */
-float
-_mesa_asinf(float x)
-{
- return (float) asin((double) x);
-}
-
-/** Single precision wrapper around atan() */
-float
-_mesa_atanf(float x)
-{
- return (float) atan((double) x);
-}
-
/** Wrapper around sqrt() */
double
_mesa_sqrtd(double x)