Migrated to bevy 0.12
This commit is contained in:
parent
c9f877a4b1
commit
d1ddf7d547
@ -14,3 +14,6 @@
|
||||
|
||||
# Version 0.4.0
|
||||
- Migrated to bevy 0.11
|
||||
|
||||
# Version 0.5.0
|
||||
- Migrated to beyv 0.12
|
||||
|
@ -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"
|
||||
|
@ -1,5 +1,5 @@
|
||||
# Inverse kinematics for Bevy
|
||||
|
||||
|
||||
[![crates.io](https://img.shields.io/crates/v/bevy_mod_inverse_kinematics)](https://crates.io/crates/bevy_mod_inverse_kinematics)
|
||||
[![docs.rs](https://docs.rs/bevy_mod_inverse_kinematics/badge.svg)](https://docs.rs/bevy_mod_inverse_kinematics)
|
||||
|
||||
@ -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
|
||||
|
||||
|
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user