summaryrefslogtreecommitdiff
path: root/src/math/math.h
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2019-12-05 09:21:26 +0800
committerchai <chaifix@163.com>2019-12-05 09:21:26 +0800
commit8e684dc0c76708e3174f005aebcaabc144b85500 (patch)
treed7803e49ee1fdb5575128114d19499787f870c00 /src/math/math.h
parent2e82e2ddd0852b8063a3d6645366f53ee844e273 (diff)
*背面剔除
Diffstat (limited to 'src/math/math.h')
-rw-r--r--src/math/math.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/math/math.h b/src/math/math.h
index 4498920..90c7521 100644
--- a/src/math/math.h
+++ b/src/math/math.h
@@ -211,6 +211,7 @@ void mat4_zero(Mat4* out);
void mat4_setidentity(Mat4* out);
void mat4_setfrustum(float l, float r, float b, float t, float n, float f, Mat4* out);
void mat4_setperspective(float fov, float aspect, float near, float far, Mat4* out);
+void mat4_setortho(float l, float r, float b, float t, float n, float f, Mat4* out);
void mat4_setscale(float kx, float ky, float kz, Mat4* out);
void mat4_setposition(float x, float y, float z, Mat4* out);
void mat4_setrotatez(float angle, Mat4* out);