From 8e684dc0c76708e3174f005aebcaabc144b85500 Mon Sep 17 00:00:00 2001 From: chai Date: Thu, 5 Dec 2019 09:21:26 +0800 Subject: =?UTF-8?q?*=E8=83=8C=E9=9D=A2=E5=89=94=E9=99=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/math/math.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/math/math.h') 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); -- cgit v1.1-26-g67d0