*** empty log message ***

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@690 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
Lee Salzman
2006-11-16 18:02:41 +00:00
parent 3f9b7af2ac
commit b697f9adeb
7 changed files with 16 additions and 19 deletions
+1 -1
View File
@@ -20,7 +20,7 @@ float smoothednoise(int x, int y, int seed)
float interpolate(float a, float b, float x)
{
float ft = x*3.1415927f;
float f = (1.0f-(float)cos(ft))*0.5f;
float f = (1.0f-cosf(ft))*0.5f;
return a*(1-f)+b*f;
}