Modified SDK for GCC 4.2

This commit is contained in:
Scott Ehlert committed 2008-09-15 02:50:57 -05:00
1 parent 86f3bc8a60
commit 7ff7f366d5
696 files changed
+23423 -22634

No files matched your search

+10 -2
View File
@@ -83,6 +83,9 @@ void LightDesc_t::ComputeLightAtPoints( const FourVectors &pos, const FourVector
case MATERIAL_LIGHT_DIRECTIONAL:
ComputeLightAtPointsForDirectional( pos, normal, color, DoHalfLambert );
return;
default:
return;
}
fltx4 dist2 = delta*delta;
@@ -154,8 +157,9 @@ void LightDesc_t::ComputeLightAtPoints( const FourVectors &pos, const FourVector
strength=AndSIMD(OutsideMask,strength);
}
break;
default:
break;
}
strength=MulSIMD(strength,falloff);
color.x=AddSIMD(color.x,MulSIMD(strength,ReplicateX4(m_Color.x)));
@@ -179,6 +183,9 @@ void LightDesc_t::ComputeNonincidenceLightAtPoints( const FourVectors &pos, Four
case MATERIAL_LIGHT_DIRECTIONAL:
return;
default:
return;
}
fltx4 dist2 = delta*delta;
@@ -247,7 +254,8 @@ void LightDesc_t::ComputeNonincidenceLightAtPoints( const FourVectors &pos, Four
}
break;
default:
break;
}
strength=MulSIMD(strength,falloff);
color.x=AddSIMD(color.x,MulSIMD(strength,ReplicateX4(m_Color.x)));