diff options
author | sanine <sanine.not@pm.me> | 2022-09-27 00:10:42 -0500 |
---|---|---|
committer | sanine <sanine.not@pm.me> | 2022-09-27 00:10:42 -0500 |
commit | 0745aeb35bee22f52b812869cf77995ff1ba373b (patch) | |
tree | 2b15d2eb93f6f87ee5bf045a084bc3ab52d97146 /src/import/import_mesh.test.c | |
parent | 59b70e473e994d3efaa33f7a9e1e934fb3a8ca8b (diff) |
implement scene loading
Diffstat (limited to 'src/import/import_mesh.test.c')
-rw-r--r-- | src/import/import_mesh.test.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/import/import_mesh.test.c b/src/import/import_mesh.test.c index 07400fd..fdbfbf0 100644 --- a/src/import/import_mesh.test.c +++ b/src/import/import_mesh.test.c @@ -152,7 +152,7 @@ void test_push_mesh() /* push */ int top_before = lua_gettop(L); - push_mesh(L, mesh); + push_mesh(L, &mesh); int meshtbl = lua_gettop(L); /* check output */ @@ -186,7 +186,7 @@ void test_push_mesh_faces() /* push */ int top_before = lua_gettop(L); - push_mesh(L, mesh); + push_mesh(L, &mesh); int meshtbl = lua_gettop(L); /* check output */ @@ -220,7 +220,7 @@ void test_push_mesh_normals() /* push */ int top_before = lua_gettop(L); - push_mesh(L, mesh); + push_mesh(L, &mesh); int meshtbl = lua_gettop(L); /* check output */ @@ -254,7 +254,7 @@ void test_push_mesh_tangents() /* push */ int top_before = lua_gettop(L); - push_mesh(L, mesh); + push_mesh(L, &mesh); int meshtbl = lua_gettop(L); /* check output */ @@ -289,7 +289,7 @@ void test_push_mesh_uvs() /* push */ int top_before = lua_gettop(L); - push_mesh(L, mesh); + push_mesh(L, &mesh); int meshtbl = lua_gettop(L); /* check output */ |