test_3d: correct arguments order.

This commit is contained in:
ChunEon Park 2015-04-03 23:50:37 +09:00
parent fd2e9b2758
commit 8a61be1d3b
1 changed files with 2 additions and 2 deletions

View File

@ -91,7 +91,7 @@ static void
_cube_pos(Cube *c,
Evas_Coord x, Evas_Coord y, Evas_Coord z,
double dx, double dy, double dz,
Evas_Coord cx, Evas_Coord cy, Evas_Coord foc, Evas_Coord z0)
Evas_Coord cx, Evas_Coord cy, Evas_Coord z0, Evas_Coord foc)
{
Evas_Map *m;
int i, j, order[6], sorted;
@ -118,7 +118,7 @@ _cube_pos(Cube *c,
evas_map_util_3d_lighting(m, -1000, -1000, -1000,
255, 255, 255,
20, 20, 20);
evas_map_util_3d_perspective(m, cx, cy, foc, z0);
evas_map_util_3d_perspective(m, cx, cy, z0, foc);
if (evas_map_util_clockwise_get(m))
{
evas_object_map_enable_set(c->side[i].o, EINA_TRUE);