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;
15 public class btGEN_List {
16 private long swigCPtr;
17 protected boolean swigCMemOwn;
19 protected btGEN_List(long cPtr, boolean cMemoryOwn) {
20 swigCMemOwn = cMemoryOwn;
24 public static long getCPtr(btGEN_List obj) {
25 return (obj == null) ? 0 : obj.swigCPtr;
28 protected void finalize() {
32 public synchronized void delete() {
36 gdxBulletJNI.delete_btGEN_List(swigCPtr);
43 this(gdxBulletJNI.new_btGEN_List(), true);
46 public btGEN_Link getHead() {
47 long cPtr = gdxBulletJNI.btGEN_List_getHead(swigCPtr, this);
48 return (cPtr == 0) ? null : new btGEN_Link(cPtr, false);
51 public btGEN_Link getTail() {
52 long cPtr = gdxBulletJNI.btGEN_List_getTail(swigCPtr, this);
53 return (cPtr == 0) ? null : new btGEN_Link(cPtr, false);
56 public void addHead(btGEN_Link link) {
57 gdxBulletJNI.btGEN_List_addHead(swigCPtr, this, btGEN_Link.getCPtr(link), link);
60 public void addTail(btGEN_Link link) {
61 gdxBulletJNI.btGEN_List_addTail(swigCPtr, this, btGEN_Link.getCPtr(link), link);