com.badlogic.gdx.physics.bullet.collision.btBroadphaseInterface 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;
import com.badlogic.gdx.physics.bullet.BulletBase;
/**
* @author xpenatan
*/
public class btBroadphaseInterface extends BulletBase {
public static btBroadphaseInterface WRAPPER_GEN_01 = new btBroadphaseInterface(false);
public btBroadphaseInterface(boolean cMemoryOwn) {
}
public btBroadphaseInterface() {
}
public btOverlappingPairCache getOverlappingPairCache() {
int pointer = getOverlappingPairCacheNATIVE((int) cPointer);
btOverlappingPairCache.WRAPPER_GEN_01.setPointer(pointer);
return btOverlappingPairCache.WRAPPER_GEN_01;
}
@org.teavm.jso.JSBody(params = {"addr"}, script = "var jsObj = Bullet.wrapPointer(addr, Bullet.btBroadphaseInterface);var returnedJSObj = jsObj.getOverlappingPairCache();return Bullet.getPointer(returnedJSObj);")
private static native int getOverlappingPairCacheNATIVE(int addr);
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy