Cleanup: Make format
This commit is contained in:
@@ -61,7 +61,7 @@ static float3 direction_bisect(const float3 &pos,
|
||||
if (norm < 2e-7) { /* Approximately < sin(1e-5) */
|
||||
return other_dir;
|
||||
}
|
||||
/* Compute using the cross product, as catastrophic cancellation occurs in `tangent`
|
||||
/* Compute using the cross product, as catastrophic cancellation occurs in `tangent`
|
||||
* when the sum approaches 0, leading to significant numerical errors (see #146332).
|
||||
*/
|
||||
const float3 binormal = math::cross(other_dir, prev_dir);
|
||||
|
||||
Reference in New Issue
Block a user