summaryrefslogtreecommitdiff
path: root/src/example/02_cube/02_cube.c
diff options
context:
space:
mode:
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;
}