Changeset 540 for branches/cpp-ode/src/libmmpong/netgame_ode_pong.h
- Timestamp:
- 02/28/10 22:45:14 (6 months ago)
- Files:
-
- 1 modified
-
branches/cpp-ode/src/libmmpong/netgame_ode_pong.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/cpp-ode/src/libmmpong/netgame_ode_pong.h
r538 r540 55 55 barbot=srv_ent_create<ODEBox>(); 56 56 bartop->geom.setLengths(2.0,0.05,0.05); 57 bartop-> setPosition(0.0, 1.05, 0.0);57 bartop->geom.setPosition(0.0, 1.05, 0.0); 58 58 barbot->geom.setLengths(2.0,0.05,0.05); 59 barbot-> setPosition(0.0, -1.05, 0.0);59 barbot->geom.setPosition(0.0, -1.05, 0.0); 60 60 61 61 boost::shared_ptr<ODESphere> 62 62 ball=srv_ent_create<ODESphere>(); 63 63 ball->geom.setRadius(0.025); 64 ball->setLinearVel(-0.1, 0.0, 0.0); 64 65 }; 65 66 virtual void srv_con_start(NetCon::pointer con);
