made far into a u16

This commit is contained in:
Reonu
2021-07-02 21:26:34 +01:00
parent 8c9e2a48ef
commit 55dfe128bc
3 changed files with 4 additions and 4 deletions

View File

@@ -79,7 +79,7 @@ init_graph_node_ortho_projection(struct AllocOnlyPool *pool, struct GraphNodeOrt
*/
struct GraphNodePerspective *init_graph_node_perspective(struct AllocOnlyPool *pool,
struct GraphNodePerspective *graphNode,
f32 fov, s16 near, s16 far,
f32 fov, s16 near, u16 far,
GraphNodeFunc nodeFunc, s32 unused) {
if (pool != NULL) {
graphNode = alloc_only_pool_alloc(pool, sizeof(struct GraphNodePerspective));