Beispiel #1
0
 public Vector2f getGravity() {
   jniGetGravity(addr, tmpGravity);
   gravity.x = tmpGravity[0];
   gravity.y = tmpGravity[1];
   return gravity;
 }
Beispiel #2
0
 public Vector2f getAnchorB() {
   jniGetAnchorB(addr, tmp);
   anchorB.x = tmp[0];
   anchorB.y = tmp[1];
   return anchorB;
 }
Beispiel #3
0
 public Vector2f getReactionForce(float inv_dt) {
   jniGetReactionForce(addr, inv_dt, tmp);
   reactionForce.x = tmp[0];
   reactionForce.y = tmp[1];
   return reactionForce;
 }
Beispiel #4
0
 public Vector2f getAnchorA() {
   jniGetAnchorA(addr, tmp);
   anchorA.x = tmp[0];
   anchorA.y = tmp[1];
   return anchorA;
 }