示例#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;
 }