Minor edits
parent
2c54824619
commit
ca15dcae34
2
assets
2
assets
|
@ -1 +1 @@
|
||||||
Subproject commit 481c1071a5c08124535daef78d746f6ec58c056e
|
Subproject commit df96cae3dec9e5dce1ee0f1d59b1dbb90add8db8
|
|
@ -7,6 +7,7 @@ fn anchor(
|
||||||
dim: vec2<f32>, // Sprite dimensions (width, height)
|
dim: vec2<f32>, // Sprite dimensions (width, height)
|
||||||
) -> vec2<f32> {
|
) -> vec2<f32> {
|
||||||
|
|
||||||
|
// TODO: remove, do in ui rust lib
|
||||||
var trans: vec2<f32> = vec2(0.0, 0.0);
|
var trans: vec2<f32> = vec2(0.0, 0.0);
|
||||||
let window_dim = (
|
let window_dim = (
|
||||||
vec2(global_data.window_size_w, global_data.window_size_h) /
|
vec2(global_data.window_size_w, global_data.window_size_h) /
|
||||||
|
|
Loading…
Reference in New Issue