chore: remove warnings on web version

This commit is contained in:
2026-09-25 08:12:02 +02:00
parent 73570fdab8
commit a092be84b0
2 changed files with 3 additions and 0 deletions
+1
View File
@@ -201,6 +201,7 @@ pub fn interpolate_view(from: &ViewState, to: &ViewState, t: f64) -> ViewState {
ViewState::with_center(center_re, center_im, half_height)
}
#[cfg(not(target_arch = "wasm32"))]
pub fn interpolate_f64(from: f64, to: f64, t: f64) -> f64 {
from + (to - from) * t
}