summaryrefslogtreecommitdiff
path: root/maths.h
diff options
context:
space:
mode:
authorquou <quou@disroot.org>2024-07-15 21:07:48 +1000
committerquou <quou@disroot.org>2024-07-15 21:07:48 +1000
commit680cab5cf1778958e7257f19957ac2b5d46d45dc (patch)
tree9e52a98d2661b1b59eac8c9d0976f4566cd88b09 /maths.h
parent1ae53e77cd45416e42b6edcbe0973556a4021b0c (diff)
Update persp and ndc2clip to be more consistent with other maths functions.
Diffstat (limited to 'maths.h')
-rw-r--r--maths.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/maths.h b/maths.h
index 6d33c6f..af2a027 100644
--- a/maths.h
+++ b/maths.h
@@ -41,7 +41,7 @@ int* mtx_apply(const int* m, int* v);
int* vec_cpy(int* d, const int* s, int c);
int* vec_ref(int* d, const int* i, const int* n, int c);
int vec_dot(const int* a, const int* b, int d);
-void persp(int* v, int asp);
-void ndc2clip(int* c, int* p);
+int* persp(int* v, int asp);
+int* ndc2clip(const int* c, int* p);
#endif