Fix type conversion warnings

This commit is contained in:
2019-01-11 00:33:29 -08:00
parent 5cca3a9fb1
commit c5a64e2336
3 changed files with 5 additions and 5 deletions

View File

@@ -35,7 +35,7 @@ namespace kraken {
float SmoothStep(float a, float b, float t)
{
float d = (3.0 * t * t - 2.0 * t * t * t);
float d = (3.0f * t * t - 2.0f * t * t * t);
return a * (1.0f - d) + b * d;
}