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

com.badlogic.gdx.physics.bullet.collision.btDbvtBroadphase 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;

/**
 * @author xpenatan
 */
public class btDbvtBroadphase extends btBroadphaseInterface {

    public static btDbvtBroadphase WRAPPER_GEN_01 = new btDbvtBroadphase(false);

    public btDbvtBroadphase() {
        initObject(createNative(), true);
    }

    @Override
    protected void deleteNative() {
        deleteNative((int) cPointer);
    }

    @org.teavm.jso.JSBody(script = "var jsObj = new Bullet.btDbvtBroadphase(); return Bullet.getPointer(jsObj);")
    private static native int createNative();

    @org.teavm.jso.JSBody(params = {"addr"}, script = "var jsObj = Bullet.wrapPointer(addr, Bullet.btDbvtBroadphase); Bullet.destroy(jsObj);")
    private static native void deleteNative(int addr);

    public btDbvtBroadphase(boolean cMemoryOwn) {
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy