diff options
| author | Steven Fuller <relnev@icculus.org> | 2001-08-18 01:04:24 +0000 |
|---|---|---|
| committer | Patryk Obara <dreamer.tan@gmail.com> | 2019-08-20 02:22:36 +0200 |
| commit | c12ec5ff7e430a9885c3edba0f5ff1875f0b6b6a (patch) | |
| tree | 97f2be9e8a281a9364112caf273841670cd76fa7 /src/mathline.c | |
| parent | c7f0dd737a14348f8c0a015b8367f8eef479aff3 (diff) | |
Removed/disabled some unused code.
Readded second pass specular drawing.
Fixed particle drawing (lights had mysteriously stopped showing up for a
while).
Diffstat (limited to 'src/mathline.c')
| -rw-r--r-- | src/mathline.c | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/src/mathline.c b/src/mathline.c index ceffbc9..cd45967 100644 --- a/src/mathline.c +++ b/src/mathline.c @@ -636,32 +636,6 @@ __asm__("fld fti_fptmp \n\t" #endif } -#if 0 -int FloatToInt(float fptmp) -{ -#if 1 - fti_fptmp = fptmp; -/* - _asm - { - fld fptmp - fistp itmp - } -*/ -__asm__("fld fti_fptmp \n\t" - "fistp fti_itmp \n\t" - : - : - : "memory", "cc" - ); - - return fti_itmp; -#else - return fptmp; -#endif -} -#endif - void TranslatePoint(float *source, float *dest, float *matrix) { // fprintf(stderr, "TranslatePoint(%f, %f, %f)\n"); |
