From 02a0b4c01a60b1dd7cba5cf893b4414a4c0fb13a Mon Sep 17 00:00:00 2001 From: Merwan Achibet Date: Mon, 26 Aug 2024 16:14:15 +0200 Subject: [PATCH] jhg --- Cargo.toml | 3 +++ src/components/sprite3d.rs | 4 +++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 9279754..911a345 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -30,6 +30,9 @@ rand = "0.8.5" # > cargo test --features integration-tests integration-tests = [] +[profile.test] +inherits = "release" + [[bench]] name = "basic" harness = false diff --git a/src/components/sprite3d.rs b/src/components/sprite3d.rs index 171a125..11135e3 100644 --- a/src/components/sprite3d.rs +++ b/src/components/sprite3d.rs @@ -72,12 +72,14 @@ pub struct Sprite3DBundle { /// ``` /// # use bevy::prelude::*; /// # use bevy_spritesheet_animation::prelude::*; +/// # fn f(mut commands: Commands, texture: Handle, atlas_layout: Handle) { /// 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 {