Add a rendering system using temporary images #61

Merged
CoCo_Sol merged 26 commits from renderer into main 2024-03-05 18:08:56 +00:00
Showing only changes of commit 07b0d63442 - Show all commits

View file

@ -114,7 +114,7 @@ fn scale_system(
return; return;
} }
let future_scale = event.y.mul_add(scale_speed.0, projection.scale); let future_scale = event.y.mul_add(-scale_speed.0, projection.scale);
if min_scale.0 < future_scale && future_scale < max_scale.0 { if min_scale.0 < future_scale && future_scale < max_scale.0 {
projection.scale = future_scale; projection.scale = future_scale;
} }