Skip to content

Commit 416585f

Browse files
committed
visibility
1 parent ba1a515 commit 416585f

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

crates/bevy_debug_draw/src/debug_draw.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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
}

crates/bevy_debug_draw/src/lib.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@ use bevy_sprite::Mesh2dHandle;
2424
pub 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

3131
use 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

4242
pub struct DebugDrawPlugin;

0 commit comments

Comments
 (0)