summaryrefslogtreecommitdiff
path: root/src/qcommon/common.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/qcommon/common.c')
-rw-r--r--src/qcommon/common.c31
1 files changed, 0 insertions, 31 deletions
diff --git a/src/qcommon/common.c b/src/qcommon/common.c
index 5589b384..01183da0 100644
--- a/src/qcommon/common.c
+++ b/src/qcommon/common.c
@@ -3108,37 +3108,6 @@ void Com_Shutdown (void) {
}
-//------------------------------------------------------------------------
-
-
-/*
-=====================
-Q_acos
-
-the msvc acos doesn't always return a value between -PI and PI:
-
-int i;
-i = 1065353246;
-acos(*(float*) &i) == -1.#IND0
-
- This should go in q_math but it is too late to add new traps
- to game and ui
-=====================
-*/
-float Q_acos(float c) {
- float angle;
-
- angle = acos(c);
-
- if (angle > M_PI) {
- return (float)M_PI;
- }
- if (angle < -M_PI) {
- return (float)M_PI;
- }
- return angle;
-}
-
/*
===========================================
command line completion