com.badlogic.gdx.physics.bullet.dynamics.btDantzigScratchMemory Maven / Gradle / Ivy
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 3.0.11
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package com.badlogic.gdx.physics.bullet.dynamics;
import com.badlogic.gdx.physics.bullet.BulletBase;
import com.badlogic.gdx.physics.bullet.linearmath.*;
import com.badlogic.gdx.physics.bullet.collision.*;
public class btDantzigScratchMemory extends BulletBase {
private long swigCPtr;
protected btDantzigScratchMemory (final String className, long cPtr, boolean cMemoryOwn) {
super(className, cPtr, cMemoryOwn);
swigCPtr = cPtr;
}
/** Construct a new btDantzigScratchMemory, normally you should not need this constructor it's intended for low-level usage. */
public btDantzigScratchMemory (long cPtr, boolean cMemoryOwn) {
this("btDantzigScratchMemory", cPtr, cMemoryOwn);
construct();
}
@Override
protected void reset (long cPtr, boolean cMemoryOwn) {
if (!destroyed) destroy();
super.reset(swigCPtr = cPtr, cMemoryOwn);
}
public static long getCPtr (btDantzigScratchMemory obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
@Override
protected void finalize () throws Throwable {
if (!destroyed) destroy();
super.finalize();
}
@Override
protected synchronized void delete () {
if (swigCPtr != 0) {
if (swigCMemOwn) {
swigCMemOwn = false;
DynamicsJNI.delete_btDantzigScratchMemory(swigCPtr);
}
swigCPtr = 0;
}
super.delete();
}
public void setScratch (btScalarArray value) {
DynamicsJNI.btDantzigScratchMemory_scratch_set(swigCPtr, this, btScalarArray.getCPtr(value), value);
}
public btScalarArray getScratch () {
long cPtr = DynamicsJNI.btDantzigScratchMemory_scratch_get(swigCPtr, this);
return (cPtr == 0) ? null : new btScalarArray(cPtr, false);
}
public void setL (btScalarArray value) {
DynamicsJNI.btDantzigScratchMemory_L_set(swigCPtr, this, btScalarArray.getCPtr(value), value);
}
public btScalarArray getL () {
long cPtr = DynamicsJNI.btDantzigScratchMemory_L_get(swigCPtr, this);
return (cPtr == 0) ? null : new btScalarArray(cPtr, false);
}
public void setD (btScalarArray value) {
DynamicsJNI.btDantzigScratchMemory_d_set(swigCPtr, this, btScalarArray.getCPtr(value), value);
}
public btScalarArray getD () {
long cPtr = DynamicsJNI.btDantzigScratchMemory_d_get(swigCPtr, this);
return (cPtr == 0) ? null : new btScalarArray(cPtr, false);
}
public void setDelta_w (btScalarArray value) {
DynamicsJNI.btDantzigScratchMemory_delta_w_set(swigCPtr, this, btScalarArray.getCPtr(value), value);
}
public btScalarArray getDelta_w () {
long cPtr = DynamicsJNI.btDantzigScratchMemory_delta_w_get(swigCPtr, this);
return (cPtr == 0) ? null : new btScalarArray(cPtr, false);
}
public void setDelta_x (btScalarArray value) {
DynamicsJNI.btDantzigScratchMemory_delta_x_set(swigCPtr, this, btScalarArray.getCPtr(value), value);
}
public btScalarArray getDelta_x () {
long cPtr = DynamicsJNI.btDantzigScratchMemory_delta_x_get(swigCPtr, this);
return (cPtr == 0) ? null : new btScalarArray(cPtr, false);
}
public void setDell (btScalarArray value) {
DynamicsJNI.btDantzigScratchMemory_Dell_set(swigCPtr, this, btScalarArray.getCPtr(value), value);
}
public btScalarArray getDell () {
long cPtr = DynamicsJNI.btDantzigScratchMemory_Dell_get(swigCPtr, this);
return (cPtr == 0) ? null : new btScalarArray(cPtr, false);
}
public void setEll (btScalarArray value) {
DynamicsJNI.btDantzigScratchMemory_ell_set(swigCPtr, this, btScalarArray.getCPtr(value), value);
}
public btScalarArray getEll () {
long cPtr = DynamicsJNI.btDantzigScratchMemory_ell_get(swigCPtr, this);
return (cPtr == 0) ? null : new btScalarArray(cPtr, false);
}
public void setArows (SWIGTYPE_p_btAlignedObjectArrayT_float_p_t value) {
DynamicsJNI.btDantzigScratchMemory_Arows_set(swigCPtr, this, SWIGTYPE_p_btAlignedObjectArrayT_float_p_t.getCPtr(value));
}
public SWIGTYPE_p_btAlignedObjectArrayT_float_p_t getArows () {
long cPtr = DynamicsJNI.btDantzigScratchMemory_Arows_get(swigCPtr, this);
return (cPtr == 0) ? null : new SWIGTYPE_p_btAlignedObjectArrayT_float_p_t(cPtr, false);
}
public void setP (SWIGTYPE_p_btAlignedObjectArrayT_int_t value) {
DynamicsJNI.btDantzigScratchMemory_p_set(swigCPtr, this, SWIGTYPE_p_btAlignedObjectArrayT_int_t.getCPtr(value));
}
public SWIGTYPE_p_btAlignedObjectArrayT_int_t getP () {
long cPtr = DynamicsJNI.btDantzigScratchMemory_p_get(swigCPtr, this);
return (cPtr == 0) ? null : new SWIGTYPE_p_btAlignedObjectArrayT_int_t(cPtr, false);
}
public void setC (SWIGTYPE_p_btAlignedObjectArrayT_int_t value) {
DynamicsJNI.btDantzigScratchMemory_C_set(swigCPtr, this, SWIGTYPE_p_btAlignedObjectArrayT_int_t.getCPtr(value));
}
public SWIGTYPE_p_btAlignedObjectArrayT_int_t getC () {
long cPtr = DynamicsJNI.btDantzigScratchMemory_C_get(swigCPtr, this);
return (cPtr == 0) ? null : new SWIGTYPE_p_btAlignedObjectArrayT_int_t(cPtr, false);
}
public void setState (SWIGTYPE_p_btAlignedObjectArrayT_bool_t value) {
DynamicsJNI.btDantzigScratchMemory_state_set(swigCPtr, this, SWIGTYPE_p_btAlignedObjectArrayT_bool_t.getCPtr(value));
}
public SWIGTYPE_p_btAlignedObjectArrayT_bool_t getState () {
long cPtr = DynamicsJNI.btDantzigScratchMemory_state_get(swigCPtr, this);
return (cPtr == 0) ? null : new SWIGTYPE_p_btAlignedObjectArrayT_bool_t(cPtr, false);
}
public btDantzigScratchMemory () {
this(DynamicsJNI.new_btDantzigScratchMemory(), true);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy