cleanup
This commit is contained in:
parent
54a1f64e60
commit
2836b2926d
@ -1,11 +1,11 @@
|
||||
use std::{f32::consts::PI, time::Duration};
|
||||
|
||||
use bevy::prelude::*;
|
||||
use bevy_inspector_egui::{egui::plot::Orientation, Inspectable, RegisterInspectable};
|
||||
use bevy_prototype_lyon::{entity::ShapeBundle, prelude::*};
|
||||
use bevy_inspector_egui::{Inspectable, RegisterInspectable};
|
||||
use bevy_prototype_lyon::prelude::*;
|
||||
use bevy_tweening::{
|
||||
lens::{TransformPositionLens, TransformRotateXLens, TransformRotateZLens, TransformScaleLens},
|
||||
Animator, EaseFunction, Lens, Sequence, Tween, Tweenable, TweeningPlugin, TweeningType,
|
||||
lens::{TransformPositionLens, TransformRotateZLens},
|
||||
Animator, EaseFunction, Sequence, Tween, TweeningPlugin, TweeningType,
|
||||
};
|
||||
|
||||
use crate::turtle_shapes;
|
||||
@ -159,10 +159,6 @@ enum TurtleCommand {
|
||||
Circle,
|
||||
}
|
||||
|
||||
struct TurtleMoveLens {
|
||||
start: Vec3,
|
||||
end: Vec3,
|
||||
}
|
||||
fn setup(mut commands: Commands) {
|
||||
let animator = Animator::new(Tween::new(
|
||||
// Use a quadratic easing on both endpoints.
|
||||
|
Loading…
Reference in New Issue
Block a user