examples: remove some warnings
ci/woodpecker/push/debug Pipeline failed Details

This commit is contained in:
SeanOMik 2024-04-27 19:45:59 -04:00
parent d1f1e03cbb
commit 669cc7590c
Signed by: SeanOMik
GPG Key ID: FEC9E2FC15235964
1 changed files with 11 additions and 11 deletions

View File

@ -1,20 +1,20 @@
use std::ptr::NonNull;
use lyra_engine::{ use lyra_engine::{
assets::{gltf::Gltf, ResourceManager}, ecs::{ assets::{gltf::Gltf, ResourceManager},
query::{Res, ResMut, View}, game::Game,
system::{BatchedSystem, Criteria, CriteriaSchedule, IntoSystem}, input::{
World,
}, game::Game, input::{
Action, ActionHandler, ActionKind, ActionMapping, ActionMappingId, ActionSource, Action, ActionHandler, ActionKind, ActionMapping, ActionMappingId, ActionSource,
InputActionPlugin, KeyCode, LayoutId, MouseAxis, MouseInput, InputActionPlugin, KeyCode, LayoutId, MouseAxis, MouseInput,
}, lua::{LuaScript, LuaScriptingPlugin}, math::{self, Transform, Vec3}, render::light::directional::DirectionalLight, scene::{ },
lua::{LuaScript, LuaScriptingPlugin},
math::{self, Transform, Vec3},
render::light::directional::DirectionalLight,
scene::{
CameraComponent, FreeFlyCamera, FreeFlyCameraPlugin, WorldTransform, CameraComponent, FreeFlyCamera, FreeFlyCameraPlugin, WorldTransform,
ACTLBL_LOOK_LEFT_RIGHT, ACTLBL_LOOK_ROLL, ACTLBL_LOOK_UP_DOWN, ACTLBL_LOOK_LEFT_RIGHT, ACTLBL_LOOK_ROLL, ACTLBL_LOOK_UP_DOWN,
ACTLBL_MOVE_FORWARD_BACKWARD, ACTLBL_MOVE_LEFT_RIGHT, ACTLBL_MOVE_UP_DOWN, ACTLBL_MOVE_FORWARD_BACKWARD, ACTLBL_MOVE_LEFT_RIGHT, ACTLBL_MOVE_UP_DOWN,
}, DeltaTime, Script, ScriptList },
Script, ScriptList,
}; };
use tracing::info;
#[async_std::main] #[async_std::main]
async fn main() { async fn main() {
@ -148,4 +148,4 @@ fn setup_script_plugin(game: &mut Game) {
let script = Script::new("test.lua", script); let script = Script::new("test.lua", script);
let scripts = ScriptList::new(vec![script]); let scripts = ScriptList::new(vec![script]);
world.spawn((scripts,)); world.spawn((scripts,));
} }