This commit is contained in:
Tyler Hallada 2019-04-07 02:26:42 -04:00
parent 3d0a2ae342
commit f5a032c222

View File

@ -182,10 +182,7 @@ impl Polyhedron {
}
}
fn add_position(
&mut self,
vertex: Vector3<f32>,
) -> usize {
fn add_position(&mut self, vertex: Vector3<f32>) -> usize {
let vertex_key = (
(vertex.x * VERT_CACHE_PRECISION).round() as i32,
(vertex.y * VERT_CACHE_PRECISION).round() as i32,