Skip to content

Commit

Permalink
jhg
Browse files Browse the repository at this point in the history
  • Loading branch information
merwaaan committed Aug 26, 2024
1 parent 0ca717e commit 02a0b4c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
3 changes: 3 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ rand = "0.8.5"
# > cargo test --features integration-tests
integration-tests = []

[profile.test]
inherits = "release"

[[bench]]
name = "basic"
harness = false
4 changes: 3 additions & 1 deletion src/components/sprite3d.rs
Original file line number Diff line number Diff line change
Expand Up @@ -72,12 +72,14 @@ pub struct Sprite3DBundle {
/// ```
/// # use bevy::prelude::*;
/// # use bevy_spritesheet_animation::prelude::*;
/// # fn f(mut commands: Commands, texture: Handle<Image>, atlas_layout: Handle<TextureAtlasLayout>) {
/// commands.spawn(
/// Sprite3DBuilder::from_image(texture.clone())
/// .with_atlas(atlas_layout_handle)
/// .with_atlas(atlas_layout)
/// .with_anchor(Anchor::BottomRight)
/// .build()
/// );
/// # }
/// ```
#[derive(Clone)]
pub struct Sprite3DBuilder {
Expand Down

0 comments on commit 02a0b4c

Please sign in to comment.