com.badlogic.gdx.physics.bullet.dynamics.btActionInterface Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of gdx-bullet-teavm Show documentation
Show all versions of gdx-bullet-teavm Show documentation
Tool to generate libgdx to javascript using teaVM
/*-------------------------------------------------------
* This file was generated by JParser
*
* Do not make changes to this file
*-------------------------------------------------------*/
package com.badlogic.gdx.physics.bullet.dynamics;
import com.badlogic.gdx.physics.bullet.BulletBase;
import com.badlogic.gdx.physics.bullet.collision.btCollisionWorld;
import com.badlogic.gdx.physics.bullet.linearmath.btIDebugDraw;
/**
* @author xpenatan
*/
public class btActionInterface extends BulletBase {
public static btActionInterface WRAPPER_GEN_01 = new btActionInterface(false);
public btActionInterface(boolean cMemoryOwn) {
}
public btActionInterface() {
}
public void updateAction(btCollisionWorld collisionWorld, float deltaTimeStep) {
updateActionNATIVE((int) cPointer, (int) collisionWorld.getCPointer(), deltaTimeStep);
}
@org.teavm.jso.JSBody(params = {"addr", "collisionWorldAddr", "deltaTimeStep"}, script = "var jsObj = Bullet.wrapPointer(addr, Bullet.btActionInterface);jsObj.updateAction(collisionWorldAddr, deltaTimeStep);")
private static native void updateActionNATIVE(int addr, int collisionWorldAddr, float deltaTimeStep);
public void debugDraw(btIDebugDraw debugDrawer) {
debugDrawNATIVE((int) cPointer, (int) debugDrawer.getCPointer());
}
@org.teavm.jso.JSBody(params = {"addr", "debugDrawerAddr"}, script = "var jsObj = Bullet.wrapPointer(addr, Bullet.btActionInterface);jsObj.debugDraw(debugDrawerAddr);")
private static native void debugDrawNATIVE(int addr, int debugDrawerAddr);
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy