com.badlogic.gdx.physics.bullet.collision.btCollisionDispatcher 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.collision;
/**
* @author xpenatan
*/
public class btCollisionDispatcher extends btDispatcher {
public static btCollisionDispatcher WRAPPER_GEN_01 = new btCollisionDispatcher(false);
public btCollisionDispatcher(btCollisionConfiguration config) {
initObject(createNative((int) config.getCPointer()), true);
}
@org.teavm.jso.JSBody(params = {"addr"}, script = "var otherJSObj = Bullet.wrapPointer(addr, Bullet.btCollisionConfiguration); var jsObj = new Bullet.btCollisionDispatcher(otherJSObj); return Bullet.getPointer(jsObj);")
private static native int createNative(int addr);
@Override
protected void deleteNative() {
deleteNative((int) cPointer);
}
@org.teavm.jso.JSBody(params = {"addr"}, script = "var jsObj = Bullet.wrapPointer(addr, Bullet.btCollisionDispatcher); Bullet.destroy(jsObj);")
private static native void deleteNative(int addr);
public btCollisionDispatcher(boolean cMemoryOwn) {
}
public btCollisionDispatcher() {
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy