From: Enlightenment C. <no...@cv...> - 2006-11-27 21:02:49
|
Enlightenment CVS committal Author : rephorm Project : e17 Module : proto Dir : e17/proto/e_phys/src/lib Modified Files: e_phys_force.c Log Message: ! =================================================================== RCS file: /cvs/e/e17/proto/e_phys/src/lib/e_phys_force.c,v retrieving revision 1.2 retrieving revision 1.3 diff -u -3 -r1.2 -r1.3 --- e_phys_force.c 17 Sep 2006 22:59:16 -0000 1.2 +++ e_phys_force.c 27 Nov 2006 21:02:42 -0000 1.3 @@ -130,7 +130,6 @@ static void e_phys_force_collision_apply(E_Phys_Force *force) { - E_Phys_Force_Collision *coll = (E_Phys_Force_Collision *)force; Evas_List *l, *l2; float x11, x12, x21, x22; float y11, y12, y21, y22; @@ -325,6 +324,8 @@ f->const_force = force; f->force_func = NULL; f->is_acceleration = is_acceleration; + + return f; } @@ -343,6 +344,8 @@ e_phys_force_init(E_PHYS_FORCE(f), world, e_phys_force_uniform_apply, NULL); f->force_func = force_func; f->is_acceleration = is_acceleration; + + return f; } static void |