Lines Matching full:world
47 public static class World {
130 World mWorld;
133 HashMap<Integer, World.Vec> mFingers = new HashMap<Integer, World.Vec>();
134 World.Body mBody;
135 World.Vec mGrabSpot;
202 mWorld = new World();
204 mBody = new World.Body(mass, new World.Vec(200,200));
221 mBody.applyImpulse(new World.Vec(400000, -200000));
227 mBody.applyForce(new World.Vec(0, mass * World.GRAVITY));
231 World.Vec finger = mFingers.get(mGrabbedPointer);
237 World.Vec newPos = finger.add(mGrabSpot);
245 World.Vec finger = mFingers.get(i);
246 World.Vec springForce = finger.sub(mBody.p);
253 mBody.v = new World.Vec(0,0);
343 new World.Vec(event.getX(i), event.getY(i)));
401 World.Vec v = mFingers.get(id);
424 for (World.Vec f : mBody.forces) {