All your codebase are belong to us.
This commit is contained in:
@@ -397,7 +397,7 @@ void LLViewerPartGroup::updateParticles(const F32 lastdt)
|
||||
}
|
||||
|
||||
// Do glow interpolation
|
||||
part->mGlow.mV[3] = (U8) llround(lerp(part->mStartGlow, part->mEndGlow, frac)*255.f);
|
||||
part->mGlow.mV[3] = (U8) llmath::llround(lerp(part->mStartGlow, part->mEndGlow, frac)*255.f);
|
||||
|
||||
// Set the last update time to now.
|
||||
part->mLastUpdateTime = cur_time;
|
||||
|
||||
Reference in New Issue
Block a user