Sync llcommon with Alchemy a bit.
llmath::llround->ll_round LL_ICC->LL_INTELC Add llpredicate Add LL_CPP11 macro Remove llhash Update llinitparam, llsd and all relatives of it.
This commit is contained in:
@@ -267,7 +267,7 @@ std::string LLWLAnimator::timeToString(F32 curTime)
|
||||
// get hours and minutes
|
||||
hours = (S32) (24.0 * curTime);
|
||||
curTime -= ((F32) hours / 24.0f);
|
||||
min = llmath::llround(24.0f * 60.0f * curTime);
|
||||
min = ll_round(24.0f * 60.0f * curTime);
|
||||
|
||||
// handle case where it's 60
|
||||
if(min == 60)
|
||||
|
||||
Reference in New Issue
Block a user