Searched refs:dscale (Results 1 – 4 of 4) sorted by relevance
67 double dscale = 1.0f / sqrt(xx * xx + yy * yy + zz * zz); in normalize() local68 fX = x * dscale; in normalize()69 fY = y * dscale; in normalize()70 fZ = z * dscale; in normalize()
168 double dscale = length / sqrt(xx * xx + yy * yy); in setLength() local169 fX = x * dscale; in setLength()170 fY = y * dscale; in setLength()
745 double dscale = fRadius / sqrt(xx * xx + yy * yy); in setRayPts() local746 dxy->fX = SkDoubleToScalar(xx * dscale); in setRayPts()747 dxy->fY = SkDoubleToScalar(yy * dscale); in setRayPts()
115 double dscale; in lp_const_scale() local119 dscale = (double)llscale; in lp_const_scale()120 assert((unsigned long long)dscale == llscale); in lp_const_scale()122 return dscale; in lp_const_scale()312 double dscale = lp_const_scale(type); in lp_build_const_elem() local314 elem = LLVMConstInt(elem_type, round(val*dscale), 0); in lp_build_const_elem()