File tree Expand file tree Collapse file tree 3 files changed +10
-3
lines changed Expand file tree Collapse file tree 3 files changed +10
-3
lines changed Original file line number Diff line number Diff line change 2
2
3
3
## Unreleased
4
4
5
+ ### Modified
6
+
7
+ - Update from rapier ` 0.21 ` to rapier ` 0.22 ` ,
8
+ see [ rapier's changelog] ( https://github.com/dimforge/rapier/blob/master/CHANGELOG.md ) .
9
+
5
10
### Added
6
11
7
12
- Added a ` TriMeshFlags ` parameter for ` ComputedColliderShape ` ,
Original file line number Diff line number Diff line change @@ -9,6 +9,6 @@ edition = "2021"
9
9
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
10
10
11
11
[dependencies ]
12
- rapier3d = { features = [" profiler" ], version = " 0.21 " }
13
- bevy_rapier3d = { version = " 0.27.0-rc.1 " , path = " ../bevy_rapier3d" }
14
- bevy = { version = " 0.14.0-rc.3 " , default-features = false }
12
+ rapier3d = { features = [" profiler" ], version = " 0.22 " }
13
+ bevy_rapier3d = { version = " 0.27" , path = " ../bevy_rapier3d" }
14
+ bevy = { version = " 0.14" , default-features = false }
Original file line number Diff line number Diff line change @@ -37,6 +37,7 @@ macro_rules! impl_ref_methods(
37
37
///
38
38
/// The normal points such that it is collinear to `AB × AC` (where `×` denotes the cross
39
39
/// product).
40
+ #[ cfg( feature = "dim3" ) ]
40
41
#[ inline]
41
42
pub fn normal( & self ) -> Option <Vect > {
42
43
self . raw. normal( ) . map( |n| ( * n) . into( ) )
@@ -46,6 +47,7 @@ macro_rules! impl_ref_methods(
46
47
///
47
48
/// The vector points such that it is collinear to `AB × AC` (where `×` denotes the cross
48
49
/// product).
50
+ #[ cfg( feature = "dim3" ) ]
49
51
#[ inline]
50
52
pub fn scaled_normal( & self ) -> Vect {
51
53
self . raw. scaled_normal( ) . into( )
You can’t perform that action at this time.
0 commit comments