Use CFading where possible

This commit is contained in:
Flamefire committed 2014-03-14 18:15:12 +01:00
1 parent 23364c3bcb
commit 790eda4e15
10 files changed
+119 -202

No files matched your search

+2
View File
@@ -34,6 +34,8 @@ namespace VocaluxeLib
/// <param name="duration">Duration of the fading in seconds</param>
public CFading(float fromValue, float toValue, float duration)
{
if (duration < 0)
duration = 0;
_FromValue = fromValue;
_ToValue = toValue;
_Duration = duration * 1000f;