Skip to content

Commit

Permalink
Remove new
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuajbouw committed Dec 2, 2020
1 parent ae284f0 commit 3623da2
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions crates/bevy_sprite/src/texture_atlas_builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,6 @@ impl Default for TextureAtlasBuilder {
pub type TextureAtlasBuilderResult<T> = Result<T, TextureAtlasBuilderError>;

impl TextureAtlasBuilder {
/// Constructs a new texture atlas builder.
pub fn new() -> Self {
Self::default()
}

/// Sets the initial size of the atlas in pixels.
pub fn initial_size(mut self, size: Vec2) -> Self {
self.initial_size = size;
Expand Down

0 comments on commit 3623da2

Please sign in to comment.