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