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:
@@ -538,8 +538,8 @@ void LLManip::renderTickValue(const LLVector3& pos, F32 value, const std::string
|
||||
|
||||
std::string val_string;
|
||||
std::string fraction_string;
|
||||
F32 val_to_print = llmath::llround(value, 0.001f);
|
||||
S32 fractional_portion = llmath::llround(fmodf(llabs(val_to_print), 1.f) * 100.f);
|
||||
F32 val_to_print = ll_round(value, 0.001f);
|
||||
S32 fractional_portion = ll_round(fmodf(llabs(val_to_print), 1.f) * 100.f);
|
||||
if (val_to_print < 0.f)
|
||||
{
|
||||
if (fractional_portion == 0)
|
||||
|
||||
Reference in New Issue
Block a user