All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.badlogic.gdx.physics.bullet.collision.btBroadphaseInterface Maven / Gradle / Ivy

There is a newer version: 1.0.0-b6
Show newest version
/*-------------------------------------------------------
 * 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