Migrated to bevy 0.12

This commit is contained in:
Bram Buurlage 2023-11-05 14:46:23 +01:00
parent c9f877a4b1
commit d1ddf7d547
4 changed files with 9 additions and 4 deletions

View File

@ -14,3 +14,6 @@
# Version 0.4.0
- Migrated to bevy 0.11
# Version 0.5.0
- Migrated to beyv 0.12

View File

@ -1,6 +1,6 @@
[package]
name = "bevy_mod_inverse_kinematics"
version = "0.4.0"
version = "0.5.0"
authors = ["Bram Buurlage <brambuurlage@gmail.com>"]
edition = "2021"
categories = ["game-engines", "graphics", "rendering"]
@ -10,4 +10,4 @@ keywords = ["gamedev", "graphics", "bevy", "animation"]
license = "MIT OR Apache-2.0"
[dependencies]
bevy = "0.11"
bevy = "0.12"

View File

@ -16,6 +16,8 @@ I intend to track the latest releases of Bevy.
| 0.8.1 | 0.1 |
| 0.9.0 | 0.2 |
| 0.10.0 | 0.3 |
| 0.11.x | 0.4 |
| 0.12.x | 0.5 |
## Examples

View File

@ -185,7 +185,7 @@ fn manually_target(
) {
let (camera, transform) = camera_query.single();
if let Some(event) = cursor.iter().last() {
if let Some(event) = cursor.read().last() {
let view = transform.compute_matrix();
let viewport_rect = camera.logical_viewport_rect().unwrap();
let viewport_size = viewport_rect.size();