diff options
Diffstat (limited to 'app.h')
| -rw-r--r-- | app.h | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -14,7 +14,9 @@ typedef enum { } AppFlag; typedef struct { - int w, h; + RenderTexture scr_tex; + Rect scr_rec; + int w, h, rw, rh; f32 frame_time_ms; AppMode mode; AppFlag flags; @@ -23,6 +25,8 @@ typedef struct { extern App app; +Ray app_screen_ray(Vec2 position, Camera camera); +Vec2 app_world_to_screen(Vec3 position, Camera camera); void app_notify(cstr title, cstr msg); #endif |
