diff --git a/src/model.rs b/src/model.rs index 6031965..f87b6b8 100755 --- a/src/model.rs +++ b/src/model.rs @@ -734,11 +734,6 @@ impl MDL { } fn read_byte_float4(cursor: &mut Cursor) -> Option<[f32; 4]> { - // TODO: hmmm - fn round(x: f32) -> f32 { - (x * 100.0).round() / 100.0 - } - Some([ (f32::from(cursor.read_le::().ok()?) / 255.0), (f32::from(cursor.read_le::().ok()?) / 255.0),