🎉 Improve performace for zoom and pan with wasm render

This commit is contained in:
Alejandro Alonso 2024-11-19 08:58:35 +01:00
parent 7b57509d2d
commit ec8799d806
5 changed files with 84 additions and 14 deletions

View file

@ -1,6 +1,9 @@
#[derive(Debug, Clone, Copy)]
pub(crate) struct View
{
pub x: f32,
pub y: f32,
pub zoom: f32,
pub width: f32,
pub height: f32,
}