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:
@@ -560,7 +560,7 @@ void LLProfile::genNGon(const LLProfileParams& params, S32 sides, F32 offset, F3
|
||||
|
||||
// Scale to have size "match" scale. Compensates to get object to generally fill bounding box.
|
||||
|
||||
S32 total_sides = llmath::llround(sides / ang_scale); // Total number of sides all around
|
||||
S32 total_sides = ll_round(sides / ang_scale); // Total number of sides all around
|
||||
|
||||
if (total_sides < 8)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user