/[enigma]/enigma/src/lua.cc
ViewVC logotype

Diff of /enigma/src/lua.cc

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.7 by mhawlisch, Wed Feb 19 14:09:21 2003 UTC revision 1.8 by dheck, Thu Mar 13 18:07:39 2003 UTC
# Line 271  find_data_file(lua_State *L) Line 271  find_data_file(lua_State *L)
271  static int  static int
272  add_constant_force(lua_State *L)  add_constant_force(lua_State *L)
273  {  {
274      px::V3 v;      px::V2 v;
275      v[0] = lua_tonumber(L, 1);      v[0] = lua_tonumber(L, 1);
276      v[1] = lua_tonumber(L, 2);      v[1] = lua_tonumber(L, 2);
     v[2] = 0;  
277      world::AddForceField(new world::ConstantForce(v));      world::AddForceField(new world::ConstantForce(v));
278      return 0;      return 0;
279  }  }

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.8

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26