Lines Matching refs:n_norm
16 double s[3], sina, cosa, ss, t, dis[3], dist, n_norm, v_norm, nv_sign; in find_surface_point() local
28 n_norm = sqrt(n_f[0] * n_f[0] + n_f[1] * n_f[1] + n_f[2] * n_f[2]); in find_surface_point()
29 if (fabs(n_norm) > EPSILON) { in find_surface_point()
30 for (j = 0; j < 3; j++) n_f[j] /= n_norm; in find_surface_point()
135 double v_f[3], t, n_norm, v_norm, nv_sign; in find_point_depth() local
146 n_norm = sqrt(n_f[0] * n_f[0] + n_f[1] * n_f[1] + n_f[2] * n_f[2]); in find_point_depth()
147 if (fabs(n_norm) > EPSILON) { in find_point_depth()
148 for (j = 0; j < 3; j++) n_f[j] /= n_norm; in find_point_depth()
185 double v_f[3], t, n_norm, v_norm, nv_sign; in find2_point_depth() local
196 n_norm = sqrt(n_f[0] * n_f[0] + n_f[1] * n_f[1] + n_f[2] * n_f[2]); in find2_point_depth()
197 if (fabs(n_norm) > EPSILON) { in find2_point_depth()
198 for (j = 0; j < 3; j++) n_f[j] /= n_norm; in find2_point_depth()