I was critically damp once. It was okay.
This commit is contained in:
@@ -607,7 +607,7 @@ void LLSnapshotLivePreview::draw()
|
||||
{
|
||||
if (mFlashAlpha < 1.f)
|
||||
{
|
||||
mFlashAlpha = lerp(mFlashAlpha, 1.f, LLCriticalDamp::getInterpolant(0.02f));
|
||||
mFlashAlpha = lerp(mFlashAlpha, 1.f, LLSmoothInterpolation::getInterpolant(0.02f));
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -616,7 +616,7 @@ void LLSnapshotLivePreview::draw()
|
||||
}
|
||||
else
|
||||
{
|
||||
mFlashAlpha = lerp(mFlashAlpha, 0.f, LLCriticalDamp::getInterpolant(0.15f));
|
||||
mFlashAlpha = lerp(mFlashAlpha, 0.f, LLSmoothInterpolation::getInterpolant(0.15f));
|
||||
}
|
||||
|
||||
if (mShineCountdown > 0)
|
||||
|
||||
Reference in New Issue
Block a user