Optimization pass.

This commit is contained in:
Shyotl
2018-08-07 01:09:53 -05:00
parent 71f3002717
commit d11899561b
25 changed files with 108 additions and 104 deletions

View File

@@ -559,7 +559,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 = ll_round(sides / ang_scale); // Total number of sides all around
S32 total_sides = ll_pos_round(sides / ang_scale); // Total number of sides all around
if (total_sides < 8)
{