1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * Do not make changes to this file unless you know what you are doing--modify
6 * the SWIG interface file instead.
7 * ----------------------------------------------------------------------------- */
9 package com.badlogic.gdx.physics.bullet;
11 import com.badlogic.gdx.utils.SharedLibraryLoader;
12 import com.badlogic.gdx.math.Vector3;
13 import com.badlogic.gdx.math.Quaternion;
14 import com.badlogic.gdx.math.Matrix3;
16 public class btGjkConvexCast extends btConvexCast {
17 private long swigCPtr;
19 public btGjkConvexCast(long cPtr, boolean cMemoryOwn) {
20 super(gdxBulletJNI.btGjkConvexCast_SWIGUpcast(cPtr), cMemoryOwn);
24 public static long getCPtr(btGjkConvexCast obj) {
25 return (obj == null) ? 0 : obj.swigCPtr;
28 protected void finalize() {
32 public synchronized void delete() {
36 gdxBulletJNI.delete_btGjkConvexCast(swigCPtr);
44 new SharedLibraryLoader().load("gdx-bullet");
47 public btGjkConvexCast(btConvexShape convexA, btConvexShape convexB, SWIGTYPE_p_btSimplexSolverInterface simplexSolver) {
48 this(gdxBulletJNI.new_btGjkConvexCast(btConvexShape.getCPtr(convexA), convexA, btConvexShape.getCPtr(convexB), convexB, SWIGTYPE_p_btSimplexSolverInterface.getCPtr(simplexSolver)), true);