feat: enable clippy nursery and fix

This commit is contained in:
2026-02-15 12:47:52 +01:00
parent ca0c3ab892
commit b50c5c2a41
10 changed files with 36 additions and 27 deletions
+1 -1
View File
@@ -19,6 +19,6 @@ pub fn cubic_in_out(t: f32) -> f32 {
if t < 0.5 {
4.0 * t * t * t
} else {
1.0 - (-2.0 * t + 2.0).powi(3) / 2.0
1.0 - (-2.0f32).mul_add(t, 2.0).powi(3) / 2.0
}
}