From 0ac39709f754c51efd5979f7cfe6a6f9bd2da8f5 Mon Sep 17 00:00:00 2001 From: div0 Date: Sat, 7 Nov 2009 19:45:52 +0000 Subject: [PATCH] comment fixes git-svn-id: svn://svn.icculus.org/nexuiz/trunk@8229 f962a42d-fe04-0410-a3ab-8c8b0445ebaa --- data/qcsrc/common/mathlib.qc | 6 ------ data/qcsrc/common/mathlib.qh | 3 +++ 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/data/qcsrc/common/mathlib.qc b/data/qcsrc/common/mathlib.qc index 103aa76d5..b6575183b 100644 --- a/data/qcsrc/common/mathlib.qc +++ b/data/qcsrc/common/mathlib.qc @@ -165,8 +165,6 @@ float hypot(float x, float y) { return sqrt(x*x + y*y); } -//float pow(float x, float y); -//float sqrt(float x, float y); float erf(float x) { @@ -211,14 +209,10 @@ float tgamma(float x) return exp(v_x) * v_y; } -//float ceil(float x); -//float floor(float x); float nearbyint(float x) { return rint(x); } -//float rint(float x); -//float round(float x); float trunc(float x) { return (x>=0) ? floor(x) : ceil(x); diff --git a/data/qcsrc/common/mathlib.qh b/data/qcsrc/common/mathlib.qh index de309dbdf..190da0634 100644 --- a/data/qcsrc/common/mathlib.qh +++ b/data/qcsrc/common/mathlib.qh @@ -22,6 +22,9 @@ SOFTWARE. // +// The commented-out functions need no implementation because DarkPlaces offers +// them as builtins. They are listed here anyway for completeness sake. + #define int float #define FP_NAN 0 -- 2.39.2