239abc51ed4d8d88ce7ee403df">Vec3d</a> pos;</div>
<div class="line">    pos[0] = u_vert * vert_0[0] + v_vert * vert_1[0] + w_vert * vert_2[0];</div>
<div class="line">    pos[1] = u_vert * vert_0[1] + v_vert * vert_1[1] + w_vert * vert_2[1];</div>
<div class="line">    pos[2] = u_vert * vert_0[2] + v_vert * vert_1[2] + w_vert * vert_2[2];</div>
<div class="line">    Math::Normalize(&amp;pos);</div>
<div class="line"> </div>
<div class="line">    <span class="keyword">auto</span> dist_pp = dist_min + uniform_