bevy
bevy 0.11 camera2d zoom and pan with touchpad on macos
```rust use bevy::prelude::*; use bevy::{input::mouse::MouseWheel, render::camera::ScalingMode}; use bevy::input::touchpad::TouchpadMagnify; use bevy: ......
bevy cursor to world
![](https://img2023.cnblogs.com/blog/342816/202308/342816-20230802162445233-237827897.gif) # 代码 ```rust //! bevy version: 0.11 //! Spawn a ball on the ......