forked from enlightenment/efl
test_3d: correct arguments order.
This commit is contained in:
parent
fd2e9b2758
commit
8a61be1d3b
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue