Add comment to use of nextafterf.
This commit is contained in:
parent
824e4bc51f
commit
e06fb383a3
@ -302,6 +302,7 @@ fn queue_outline(
|
|||||||
let pipeline = pipelines
|
let pipeline = pipelines
|
||||||
.specialize(&mut pipeline_cache, &outline_pipeline, key, &mesh.layout)
|
.specialize(&mut pipeline_cache, &outline_pipeline, key, &mesh.layout)
|
||||||
.unwrap();
|
.unwrap();
|
||||||
|
// Increase distance to just behind the non-outline mesh
|
||||||
let distance = nextafterf(
|
let distance = nextafterf(
|
||||||
inverse_view_row_2.dot(mesh_uniform.transform.col(3)),
|
inverse_view_row_2.dot(mesh_uniform.transform.col(3)),
|
||||||
f32::NEG_INFINITY,
|
f32::NEG_INFINITY,
|
||||||
|
Loading…
Reference in New Issue
Block a user