com.badlogic.gdx.physics.bullet.collision.btConvexInternalShape 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.linearmath.btVector3;
import com.badlogic.gdx.math.Vector3;
/**
* @author xpenatan
*/
public class btConvexInternalShape extends btConvexShape {
public static btConvexInternalShape WRAPPER_GEN_01 = new btConvexInternalShape(false);
public btConvexInternalShape(boolean cMemoryOwn) {
}
public btConvexInternalShape() {
}
public void setImplicitShapeDimensions(btVector3 dimensions) {
setImplicitShapeDimensionsNATIVE((int) cPointer, (int) dimensions.getCPointer());
}
@org.teavm.jso.JSBody(params = {"addr", "dimensionsAddr"}, script = "var jsObj = Bullet.wrapPointer(addr, Bullet.btConvexInternalShape);jsObj.setImplicitShapeDimensions(dimensionsAddr);")
private static native void setImplicitShapeDimensionsNATIVE(int addr, int dimensionsAddr);
public void setImplicitShapeDimensions(Vector3 dimensionsGDX) {
btVector3.convert(dimensionsGDX, btVector3.TEMP_0);
btVector3 dimensions = btVector3.TEMP_0;
setImplicitShapeDimensionsNATIVE((int) cPointer, (int) dimensions.getCPointer());
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy