Routines to support line rendering

This commit is contained in:
Jack Andersen
2016-02-17 16:40:58 -10:00
parent b4ed5b78dc
commit a857250ccf
3 changed files with 15 additions and 1 deletions

View File

@@ -134,7 +134,6 @@ double sqrtD(double val)
p.v *= (1.5f - (x * p.v * p.v));
p.v *= (1.5f - (x * p.v * p.v));
q = p.v;
#endif
static const double half = 0.5;
static const double three = 3.0;
@@ -155,6 +154,7 @@ double sqrtD(double val)
sq = -((val * three) - sq);
sq = q * sq;
q = val * sq;
#endif
return q;
}