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 22
33## Unreleased
44
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+
510### Added
611
712- Added a ` TriMeshFlags ` parameter for ` ComputedColliderShape ` ,
Original file line number Diff line number Diff line change @@ -9,6 +9,6 @@ edition = "2021"
99# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
1010
1111[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(
3737 ///
3838 /// The normal points such that it is collinear to `AB × AC` (where `×` denotes the cross
3939 /// product).
40+ #[ cfg( feature = "dim3" ) ]
4041 #[ inline]
4142 pub fn normal( & self ) -> Option <Vect > {
4243 self . raw. normal( ) . map( |n| ( * n) . into( ) )
@@ -46,6 +47,7 @@ macro_rules! impl_ref_methods(
4647 ///
4748 /// The vector points such that it is collinear to `AB × AC` (where `×` denotes the cross
4849 /// product).
50+ #[ cfg( feature = "dim3" ) ]
4951 #[ inline]
5052 pub fn scaled_normal( & self ) -> Vect {
5153 self . raw. scaled_normal( ) . into( )
You can’t perform that action at this time.
0 commit comments