From 4a293e5c18d1060cc9c057535d8e446b329cb5b1 Mon Sep 17 00:00:00 2001 From: SeanOMik Date: Fri, 8 Mar 2024 00:42:02 -0500 Subject: [PATCH] cleanup some simple compiler warnings --- lyra-game/src/render/render_job.rs | 2 -- lyra-game/src/render/renderer.rs | 2 +- lyra-game/src/render/transform_buffer_storage.rs | 1 - 3 files changed, 1 insertion(+), 4 deletions(-) diff --git a/lyra-game/src/render/render_job.rs b/lyra-game/src/render/render_job.rs index 945149b..90809b8 100755 --- a/lyra-game/src/render/render_job.rs +++ b/lyra-game/src/render/render_job.rs @@ -1,7 +1,5 @@ use lyra_ecs::Entity; -use crate::math::Transform; - pub struct RenderJob { pub entity: Entity, pub shader_id: u64, diff --git a/lyra-game/src/render/renderer.rs b/lyra-game/src/render/renderer.rs index fd6f9bb..dda0383 100755 --- a/lyra-game/src/render/renderer.rs +++ b/lyra-game/src/render/renderer.rs @@ -10,7 +10,7 @@ use lyra_ecs::{Entity, Tick}; use lyra_ecs::query::{Entities, TickOf}; use lyra_ecs::World; use lyra_resource::gltf::GltfScene; -use tracing::{debug, debug_span, warn}; +use tracing::{debug, warn}; use uuid::Uuid; use wgpu::{BindGroupLayout, Limits}; use wgpu::util::DeviceExt; diff --git a/lyra-game/src/render/transform_buffer_storage.rs b/lyra-game/src/render/transform_buffer_storage.rs index eadc547..4223df5 100644 --- a/lyra-game/src/render/transform_buffer_storage.rs +++ b/lyra-game/src/render/transform_buffer_storage.rs @@ -1,6 +1,5 @@ use std::{collections::{VecDeque, HashMap}, num::NonZeroU64}; -use lyra_ecs::Entity; use uuid::Uuid; use wgpu::Limits;