Enable compressed texture. Also minor cleanup.
This commit is contained in:
@@ -517,8 +517,6 @@ S32 LLProfile::getNumNGonPoints(const LLProfileParams& params, S32 sides, F32 of
|
||||
t += t_step;
|
||||
}
|
||||
|
||||
t_fraction = (end - (t - t_step))*sides;
|
||||
|
||||
// Find the fraction that we need to add to the end point.
|
||||
t_fraction = (end - (t - t_step))*sides;
|
||||
if (t_fraction > 0.0001f)
|
||||
@@ -613,8 +611,6 @@ void LLProfile::genNGon(const LLProfileParams& params, S32 sides, F32 offset, F3
|
||||
ang += ang_step;
|
||||
}
|
||||
|
||||
t_fraction = (end - (t - t_step))*sides;
|
||||
|
||||
// pt1 is the first point on the fractional face
|
||||
// pt2 is the end point on the fractional face
|
||||
pt2.set(cos(ang)*scale,sin(ang)*scale,t);
|
||||
|
||||
Reference in New Issue
Block a user