Added unproject

Broken and buggy font stuff
Fixed some typos
Fixed draw rect not using dim properly
This commit is contained in:
2025-10-05 21:11:18 +01:00
parent 5cabf845b6
commit eb3c81cd04
11 changed files with 349 additions and 22 deletions

View File

@@ -25,6 +25,12 @@ function void G_PipelinesLoad(G_State *game);
function void G_CalculateCamera(G_Camera *camera, F32 aspect);
// Assumes 'calculate' has been called
function V3f G_CameraUnprojectAt(G_Camera *camera, V2f clip, F32 z);
function V3f G_CameraUnproject(G_Camera *camera, V2f clip);
function R3f G_CameraBounds(G_Camera *camera);
#include "aabb.h"
#include "player.h"
#include "nav.h"