float C = pow(dp.x, 2) + pow(dp.y, 2) - sq_radius1;. float det = pow(B, 2) - A * C;. float sqrt_det = sqrt(abs(det));. float2 t = (B + float2(sqrt_det, ...
確定! 回上一頁