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:
@@ -812,7 +812,7 @@ void LLDrawable::updateDistance(LLCamera& camera, bool force_update)
|
||||
}
|
||||
|
||||
pos -= camera.getOrigin();
|
||||
mDistanceWRTCamera = llmath::llround(pos.magVec(), 0.01f);
|
||||
mDistanceWRTCamera = ll_round(pos.magVec(), 0.01f);
|
||||
mVObjp->updateLOD();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user