style cleanup: assignment & indentation.

This commit is contained in:
Campbell Barton
2012-06-09 18:56:12 +00:00
parent c6cffe98fa
commit 2c1abe1f58
32 changed files with 500 additions and 484 deletions

View File

@@ -84,9 +84,9 @@ __device uint phash(int kx, int ky, int kz, int3 p)
__device float floorfrac(float x, int* i)
{
float f = floorf(x);
*i = (int)f;
return x - f;
float f = floorf(x);
*i = (int)f;
return x - f;
}
__device float fade(float t)
@@ -96,7 +96,7 @@ __device float fade(float t)
__device float nerp(float t, float a, float b)
{
return (1.0f - t) * a + t * b;
return (1.0f - t) * a + t * b;
}
__device float grad(int hash, float x, float y, float z)