summaryrefslogtreecommitdiff
path: root/src/example/02_cube/02_cube.c
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2020-07-11 00:29:49 +0800
committerchai <chaifix@163.com>2020-07-11 00:29:49 +0800
commite849a07762a2feb3f124a08d50adeed52f085d5b (patch)
tree69207f80cf3372c6d5801d006966888f219e2a19 /src/example/02_cube/02_cube.c
parent44e6647ab365a9261c904be839e356c06a545907 (diff)
*加internal前缀
Diffstat (limited to 'src/example/02_cube/02_cube.c')
-rw-r--r--src/example/02_cube/02_cube.c4
1 files changed, 2 insertions, 2 deletions
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;
}