This commit is contained in:
2020-08-06 21:17:34 -07:00
parent 0f760878da
commit 781a7430bb
2 changed files with 24 additions and 25 deletions

View File

@@ -10,8 +10,8 @@ use winit::event::{DeviceEvent, MouseButton, ElementState, Event, WindowEvent};
pub struct Sprite {
verts: VertexType,
position: (f32, f32),
size: (f32, f32),
pub position: (f32, f32),
pub size: (f32, f32),
depth: f32,
texture_handle: Arc<CanvasTextureHandle>,
}