wasm f32_pow, f64_pow, lots of changes to math, ui animations start

This commit is contained in:
Krzosa Karol
2025-01-22 17:59:30 +01:00
parent b20a507834
commit de35c4a705
19 changed files with 775 additions and 544 deletions

View File

@@ -130,7 +130,7 @@ fn_wasm_export b32 wasm_update(f64 time, f32 width, f32 height, f32 dpr) {
wasm_frame.window_size = (v2f32_t){width, height};
wasm_frame.dpr = wasm_dpr;
wasm_frame.mouse_pos = wasm_frame.last_event->mouse_pos;
wasm_frame.delta = wasm_delta_time;
wasm_frame.delta = wasm_delta_time / 1000.0;
wasm_frame.frame = wasm_frame_counter;
b32 animating = app_update(&wasm_frame);