rustfmt
This commit is contained in:
parent
3d0a2ae342
commit
f5a032c222
@ -182,10 +182,7 @@ impl Polyhedron {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
fn add_position(
|
fn add_position(&mut self, vertex: Vector3<f32>) -> usize {
|
||||||
&mut self,
|
|
||||||
vertex: Vector3<f32>,
|
|
||||||
) -> usize {
|
|
||||||
let vertex_key = (
|
let vertex_key = (
|
||||||
(vertex.x * VERT_CACHE_PRECISION).round() as i32,
|
(vertex.x * VERT_CACHE_PRECISION).round() as i32,
|
||||||
(vertex.y * VERT_CACHE_PRECISION).round() as i32,
|
(vertex.y * VERT_CACHE_PRECISION).round() as i32,
|
||||||
|
Loading…
Reference in New Issue
Block a user