From e849a07762a2feb3f124a08d50adeed52f085d5b Mon Sep 17 00:00:00 2001 From: chai Date: Sat, 11 Jul 2020 00:29:49 +0800 Subject: =?UTF-8?q?*=E5=8A=A0internal=E5=89=8D=E7=BC=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/example/02_cube/02_cube.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/example/02_cube/02_cube.c') diff --git a/src/example/02_cube/02_cube.c b/src/example/02_cube/02_cube.c index 7e0840e..3479619 100644 --- a/src/example/02_cube/02_cube.c +++ b/src/example/02_cube/02_cube.c @@ -52,11 +52,11 @@ void ondrawcube(void*data) { for (int i = 0; i < 8; ++i) { Vec4 v = { verts[i].x, verts[i].y ,verts[i].z ,1 }, temp; - mat4_mulvec4(&m, &v, &temp); + internal_mat4_mulvec4(&m, &v, &temp); temp.x /= temp.w; temp.y /= temp.w; temp.z /= temp.w; - //vec4_print(&temp); + //internal_vec4_print(&temp); proj[i].x = temp.x; proj[i].y = temp.y; } -- cgit v1.1-26-g67d0