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.math.Vector3;
12 import com.badlogic.gdx.math.Quaternion;
13 import com.badlogic.gdx.math.Matrix3;
14 import com.badlogic.gdx.math.Matrix4;
16 public class GdxCollisionObjectBridge extends BulletBase {
17 private long swigCPtr;
19 protected GdxCollisionObjectBridge(final String className, long cPtr, boolean cMemoryOwn) {
20 super(className, cPtr, cMemoryOwn);
24 protected GdxCollisionObjectBridge(long cPtr, boolean cMemoryOwn) {
25 this("GdxCollisionObjectBridge", cPtr, cMemoryOwn);
29 public static long getCPtr(GdxCollisionObjectBridge obj) {
30 return (obj == null) ? 0 : obj.swigCPtr;
34 protected void finalize() throws Throwable {
40 @Override protected synchronized void delete() {
44 gdxBulletJNI.delete_GdxCollisionObjectBridge(swigCPtr);
51 public void setUserValue(int value) {
52 gdxBulletJNI.GdxCollisionObjectBridge_userValue_set(swigCPtr, this, value);
55 public int getUserValue() {
56 return gdxBulletJNI.GdxCollisionObjectBridge_userValue_get(swigCPtr, this);
59 public void setContactCallbackFlag(int value) {
60 gdxBulletJNI.GdxCollisionObjectBridge_contactCallbackFlag_set(swigCPtr, this, value);
63 public int getContactCallbackFlag() {
64 return gdxBulletJNI.GdxCollisionObjectBridge_contactCallbackFlag_get(swigCPtr, this);
67 public void setContactCallbackFilter(int value) {
68 gdxBulletJNI.GdxCollisionObjectBridge_contactCallbackFilter_set(swigCPtr, this, value);
71 public int getContactCallbackFilter() {
72 return gdxBulletJNI.GdxCollisionObjectBridge_contactCallbackFilter_get(swigCPtr, this);
75 public GdxCollisionObjectBridge() {
76 this(gdxBulletJNI.new_GdxCollisionObjectBridge(), true);