File tree 2 files changed +4
-4
lines changed
crates/bevy_debug_draw/src
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -190,7 +190,7 @@ impl DebugDraw {
190
190
191
191
/// Take the positions and colors data from `self` and overwrite the `mesh`'s vertex positions and colors.
192
192
#[ inline]
193
- pub fn update_mesh ( & mut self , mesh : & mut Mesh ) {
193
+ pub ( crate ) fn update_mesh ( & mut self , mesh : & mut Mesh ) {
194
194
mesh. insert_attribute ( Mesh :: ATTRIBUTE_POSITION , mem:: take ( & mut self . positions ) ) ;
195
195
mesh. insert_attribute ( Mesh :: ATTRIBUTE_COLOR , mem:: take ( & mut self . colors ) ) ;
196
196
}
Original file line number Diff line number Diff line change @@ -24,9 +24,9 @@ use bevy_sprite::Mesh2dHandle;
24
24
pub mod debug_draw;
25
25
26
26
#[ cfg( feature = "bevy_sprite" ) ]
27
- pub mod pipeline_2d;
27
+ mod pipeline_2d;
28
28
#[ cfg( feature = "bevy_pbr" ) ]
29
- pub mod pipeline_3d;
29
+ mod pipeline_3d;
30
30
31
31
use crate :: debug_draw:: DebugDraw ;
32
32
@@ -36,7 +36,7 @@ pub mod prelude {
36
36
pub use crate :: { debug_draw:: DebugDraw , DebugDrawConfig , DebugDrawPlugin } ;
37
37
}
38
38
39
- pub const SHADER_HANDLE : HandleUntyped =
39
+ const SHADER_HANDLE : HandleUntyped =
40
40
HandleUntyped :: weak_from_u64 ( Shader :: TYPE_UUID , 7414812689238026784 ) ;
41
41
42
42
pub struct DebugDrawPlugin ;
You can’t perform that action at this time.
0 commit comments