Minor edits

master
Mark 2024-01-30 17:05:03 -08:00
parent 2c54824619
commit ca15dcae34
Signed by: Mark
GPG Key ID: C6D63995FE72FD80
2 changed files with 2 additions and 1 deletions

2
assets

@ -1 +1 @@
Subproject commit 481c1071a5c08124535daef78d746f6ec58c056e
Subproject commit df96cae3dec9e5dce1ee0f1d59b1dbb90add8db8

View File

@ -7,6 +7,7 @@ fn anchor(
dim: vec2<f32>, // Sprite dimensions (width, height)
) -> vec2<f32> {
// TODO: remove, do in ui rust lib
var trans: vec2<f32> = vec2(0.0, 0.0);
let window_dim = (
vec2(global_data.window_size_w, global_data.window_size_h) /