diff options
author | David Walter Seikel | 2014-05-02 00:14:10 +1000 |
---|---|---|
committer | David Walter Seikel | 2014-05-02 00:14:10 +1000 |
commit | d34f51d1af3ac70bae7442e65a2ec14473b1b524 (patch) | |
tree | 65f28e79a0158b22e65cd787e2de1e01ac226b1b /src/GuiLua | |
parent | Use Elm images instead of Evas images for the Evas_3d, and make the backgroun... (diff) | |
download | SledjHamr-d34f51d1af3ac70bae7442e65a2ec14473b1b524.zip SledjHamr-d34f51d1af3ac70bae7442e65a2ec14473b1b524.tar.gz SledjHamr-d34f51d1af3ac70bae7442e65a2ec14473b1b524.tar.bz2 SledjHamr-d34f51d1af3ac70bae7442e65a2ec14473b1b524.tar.xz |
Move the cube to be more visible.
Diffstat (limited to 'src/GuiLua')
-rw-r--r-- | src/GuiLua/GuiLua.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/GuiLua/GuiLua.c b/src/GuiLua/GuiLua.c index 192c698..db8d567 100644 --- a/src/GuiLua/GuiLua.c +++ b/src/GuiLua/GuiLua.c | |||
@@ -400,7 +400,10 @@ _mesh_setup(globals *ourGlobals, Scene_Data *scene) | |||
400 | ); | 400 | ); |
401 | scene->mesh_node = evas_3d_node_add(ourGlobals->evas, EVAS_3D_NODE_TYPE_MESH); | 401 | scene->mesh_node = evas_3d_node_add(ourGlobals->evas, EVAS_3D_NODE_TYPE_MESH); |
402 | eo_do(scene->root_node, evas_3d_node_member_add(scene->mesh_node)); | 402 | eo_do(scene->root_node, evas_3d_node_member_add(scene->mesh_node)); |
403 | eo_do(scene->mesh_node, evas_3d_node_mesh_add(scene->mesh)); | 403 | eo_do(scene->mesh_node, |
404 | evas_3d_node_position_set(40.0, 3.5, 23.0), | ||
405 | evas_3d_node_mesh_add(scene->mesh) | ||
406 | ); | ||
404 | 407 | ||
405 | 408 | ||
406 | // Setup an MD2 mesh. | 409 | // Setup an MD2 mesh. |