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 btGEN_List {
17 private long swigCPtr;
18 protected boolean swigCMemOwn;
20 protected btGEN_List(long cPtr, boolean cMemoryOwn) {
21 swigCMemOwn = cMemoryOwn;
25 public static long getCPtr(btGEN_List obj) {
26 return (obj == null) ? 0 : obj.swigCPtr;
29 protected void finalize() {
33 public synchronized void delete() {
37 gdxBulletJNI.delete_btGEN_List(swigCPtr);
44 this(gdxBulletJNI.new_btGEN_List(), true);
47 public btGEN_Link getHead() {
48 long cPtr = gdxBulletJNI.btGEN_List_getHead(swigCPtr, this);
49 return (cPtr == 0) ? null : new btGEN_Link(cPtr, false);
52 public btGEN_Link getTail() {
53 long cPtr = gdxBulletJNI.btGEN_List_getTail(swigCPtr, this);
54 return (cPtr == 0) ? null : new btGEN_Link(cPtr, false);
57 public void addHead(btGEN_Link link) {
58 gdxBulletJNI.btGEN_List_addHead(swigCPtr, this, btGEN_Link.getCPtr(link), link);
61 public void addTail(btGEN_Link link) {
62 gdxBulletJNI.btGEN_List_addTail(swigCPtr, this, btGEN_Link.getCPtr(link), link);