More implementation of the spreadsheet output.

This commit is contained in:
Collin Kidder
2015-09-17 19:27:38 -04:00
parent 89ca64e301
commit 705a7802d7
2 changed files with 69 additions and 8 deletions
+6
View File
@@ -104,6 +104,12 @@ public:
}
return builder;
}
//simple linear interpolation between value1 and value2. sample point is 0.0 to 1.0
static double Lerp(double value1, double value2, double samplePoint)
{
return (value1 * (1.0 - samplePoint)) + (value2 * samplePoint);
}
};
#endif // UTILITY_H