Removed/disabled some unused code.

Readded second pass specular drawing.

Fixed particle drawing (lights had mysteriously stopped showing up for a
while).
This commit is contained in:
Steven Fuller 2001-08-18 01:04:24 +00:00 committed by Patryk Obara
parent c7f0dd737a
commit c12ec5ff7e
10 changed files with 163 additions and 394 deletions

View file

@ -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");