Cleanup: style

This commit is contained in:
2018-11-28 11:18:09 +11:00
parent 37b882982a
commit 36da85ebeb
5 changed files with 9 additions and 9 deletions

View File

@@ -706,7 +706,7 @@ static float particle_key_weight(const ParticleData *particle, int strand, float
int index = (int)interp;
interp -= floorf(interp); /* Time between 2 edit key */
float s1 = hkeys[index].weight;
float s2 = hkeys[index+1].weight;
float s2 = hkeys[index + 1].weight;
return s1 + interp * (s2 - s1);
}
}