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