File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
crates/bevy_debug_draw/src Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -190,7 +190,7 @@ impl DebugDraw {
190190
191191 /// Take the positions and colors data from `self` and overwrite the `mesh`'s vertex positions and colors.
192192 #[ inline]
193- pub fn update_mesh ( & mut self , mesh : & mut Mesh ) {
193+ pub ( crate ) fn update_mesh ( & mut self , mesh : & mut Mesh ) {
194194 mesh. insert_attribute ( Mesh :: ATTRIBUTE_POSITION , mem:: take ( & mut self . positions ) ) ;
195195 mesh. insert_attribute ( Mesh :: ATTRIBUTE_COLOR , mem:: take ( & mut self . colors ) ) ;
196196 }
Original file line number Diff line number Diff line change @@ -24,9 +24,9 @@ use bevy_sprite::Mesh2dHandle;
2424pub mod debug_draw;
2525
2626#[ cfg( feature = "bevy_sprite" ) ]
27- pub mod pipeline_2d;
27+ mod pipeline_2d;
2828#[ cfg( feature = "bevy_pbr" ) ]
29- pub mod pipeline_3d;
29+ mod pipeline_3d;
3030
3131use crate :: debug_draw:: DebugDraw ;
3232
@@ -36,7 +36,7 @@ pub mod prelude {
3636 pub use crate :: { debug_draw:: DebugDraw , DebugDrawConfig , DebugDrawPlugin } ;
3737}
3838
39- pub const SHADER_HANDLE : HandleUntyped =
39+ const SHADER_HANDLE : HandleUntyped =
4040 HandleUntyped :: weak_from_u64 ( Shader :: TYPE_UUID , 7414812689238026784 ) ;
4141
4242pub struct DebugDrawPlugin ;
You can’t perform that action at this time.
0 commit comments