hand bigger
This commit is contained in:
@@ -213,7 +213,7 @@ fn on_resize_system(
|
|||||||
fn flashlight_base_transform(window_width: f32, window_height: f32) -> BaseTransform {
|
fn flashlight_base_transform(window_width: f32, window_height: f32) -> BaseTransform {
|
||||||
let window_size = Vec2::new(window_width, window_height);
|
let window_size = Vec2::new(window_width, window_height);
|
||||||
let sprite_size = Vec2::new(404.0, 404.0);
|
let sprite_size = Vec2::new(404.0, 404.0);
|
||||||
let scale = window_width / 2400.0;
|
let scale = window_width / 2200.0;
|
||||||
let world_size = sprite_size * scale;
|
let world_size = sprite_size * scale;
|
||||||
let xoffset = window_size.x / 4.0 - 40.0;
|
let xoffset = window_size.x / 4.0 - 40.0;
|
||||||
let yoffset = 15.0;
|
let yoffset = 15.0;
|
||||||
|
|||||||
Reference in New Issue
Block a user