repo_name
stringclasses 5
values | pr_number
int64 1.52k
15.5k
| pr_title
stringlengths 8
143
| pr_description
stringlengths 0
10.2k
| author
stringlengths 3
18
| date_created
unknown | date_merged
unknown | previous_commit
stringlengths 40
40
| pr_commit
stringlengths 40
40
| query
stringlengths 11
10.2k
| filepath
stringlengths 6
220
| before_content
stringlengths 0
597M
| after_content
stringlengths 0
597M
| label
int64 -1
1
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
libgdx/libgdx | 7,276 | Fixed scene2d.ui layout for fractional positions and sizes. | When "rounding" for UI layout, floor x/y and ceil width/height.
For example if a label has a fractional width like 123.4, rounding a Container's width gives 123 and the label won't fit.
Table already does this, so I'm pretty sure it's the right thing to do in all other layouts. If others can please check this doesn't negatively affect their apps, that would be great! | NathanSweet | "2023-11-10T17:05:20Z" | "2023-11-13T03:27:53Z" | 5368811323eb4ac9c9167a73fc6910e42fcb425d | 8e3b2ef2af2e1c1765b3441cb15cfbeddf4046fa | Fixed scene2d.ui layout for fractional positions and sizes.. When "rounding" for UI layout, floor x/y and ceil width/height.
For example if a label has a fractional width like 123.4, rounding a Container's width gives 123 and the label won't fit.
Table already does this, so I'm pretty sure it's the right thing to do in all other layouts. If others can please check this doesn't negatively affect their apps, that would be great! | ./gdx/src/com/badlogic/gdx/graphics/g3d/particles/values/MeshSpawnShapeValue.java | /*******************************************************************************
* Copyright 2011 See AUTHORS file.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
******************************************************************************/
package com.badlogic.gdx.graphics.g3d.particles.values;
import com.badlogic.gdx.assets.AssetDescriptor;
import com.badlogic.gdx.assets.AssetManager;
import com.badlogic.gdx.graphics.Mesh;
import com.badlogic.gdx.graphics.VertexAttributes.Usage;
import com.badlogic.gdx.graphics.g3d.Model;
import com.badlogic.gdx.graphics.g3d.particles.ResourceData;
import com.badlogic.gdx.graphics.g3d.particles.ResourceData.SaveData;
import com.badlogic.gdx.math.MathUtils;
import com.badlogic.gdx.math.Vector3;
import com.badlogic.gdx.utils.GdxRuntimeException;
/** The base class of all the {@link ParticleValue} values which spawn a particle on a mesh shape.
* @author Inferno */
public abstract class MeshSpawnShapeValue extends SpawnShapeValue {
public static class Triangle {
float x1, y1, z1, x2, y2, z2, x3, y3, z3;
public Triangle (float x1, float y1, float z1, float x2, float y2, float z2, float x3, float y3, float z3) {
this.x1 = x1;
this.y1 = y1;
this.z1 = z1;
this.x2 = x2;
this.y2 = y2;
this.z2 = z2;
this.x3 = x3;
this.y3 = y3;
this.z3 = z3;
}
public static Vector3 pick (float x1, float y1, float z1, float x2, float y2, float z2, float x3, float y3, float z3,
Vector3 vector) {
float a = MathUtils.random(), b = MathUtils.random();
return vector.set(x1 + a * (x2 - x1) + b * (x3 - x1), y1 + a * (y2 - y1) + b * (y3 - y1),
z1 + a * (z2 - z1) + b * (z3 - z1));
}
public Vector3 pick (Vector3 vector) {
float a = MathUtils.random(), b = MathUtils.random();
return vector.set(x1 + a * (x2 - x1) + b * (x3 - x1), y1 + a * (y2 - y1) + b * (y3 - y1),
z1 + a * (z2 - z1) + b * (z3 - z1));
}
}
protected Mesh mesh;
/** the model this mesh belongs to. It can be null, but this means the mesh will not be able to be serialized correctly. */
protected Model model;
public MeshSpawnShapeValue (MeshSpawnShapeValue value) {
super(value);
}
public MeshSpawnShapeValue () {
}
@Override
public void load (ParticleValue value) {
super.load(value);
MeshSpawnShapeValue spawnShapeValue = (MeshSpawnShapeValue)value;
setMesh(spawnShapeValue.mesh, spawnShapeValue.model);
}
public void setMesh (Mesh mesh, Model model) {
if (mesh.getVertexAttribute(Usage.Position) == null)
throw new GdxRuntimeException("Mesh vertices must have Usage.Position");
this.model = model;
this.mesh = mesh;
}
public void setMesh (Mesh mesh) {
this.setMesh(mesh, null);
}
@Override
public void save (AssetManager manager, ResourceData data) {
if (model != null) {
SaveData saveData = data.createSaveData();
saveData.saveAsset(manager.getAssetFileName(model), Model.class);
saveData.save("index", model.meshes.indexOf(mesh, true));
}
}
@Override
public void load (AssetManager manager, ResourceData data) {
SaveData saveData = data.getSaveData();
AssetDescriptor descriptor = saveData.loadAsset();
if (descriptor != null) {
Model model = (Model)manager.get(descriptor);
setMesh(model.meshes.get((Integer)saveData.load("index")), model);
}
}
}
| /*******************************************************************************
* Copyright 2011 See AUTHORS file.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
******************************************************************************/
package com.badlogic.gdx.graphics.g3d.particles.values;
import com.badlogic.gdx.assets.AssetDescriptor;
import com.badlogic.gdx.assets.AssetManager;
import com.badlogic.gdx.graphics.Mesh;
import com.badlogic.gdx.graphics.VertexAttributes.Usage;
import com.badlogic.gdx.graphics.g3d.Model;
import com.badlogic.gdx.graphics.g3d.particles.ResourceData;
import com.badlogic.gdx.graphics.g3d.particles.ResourceData.SaveData;
import com.badlogic.gdx.math.MathUtils;
import com.badlogic.gdx.math.Vector3;
import com.badlogic.gdx.utils.GdxRuntimeException;
/** The base class of all the {@link ParticleValue} values which spawn a particle on a mesh shape.
* @author Inferno */
public abstract class MeshSpawnShapeValue extends SpawnShapeValue {
public static class Triangle {
float x1, y1, z1, x2, y2, z2, x3, y3, z3;
public Triangle (float x1, float y1, float z1, float x2, float y2, float z2, float x3, float y3, float z3) {
this.x1 = x1;
this.y1 = y1;
this.z1 = z1;
this.x2 = x2;
this.y2 = y2;
this.z2 = z2;
this.x3 = x3;
this.y3 = y3;
this.z3 = z3;
}
public static Vector3 pick (float x1, float y1, float z1, float x2, float y2, float z2, float x3, float y3, float z3,
Vector3 vector) {
float a = MathUtils.random(), b = MathUtils.random();
return vector.set(x1 + a * (x2 - x1) + b * (x3 - x1), y1 + a * (y2 - y1) + b * (y3 - y1),
z1 + a * (z2 - z1) + b * (z3 - z1));
}
public Vector3 pick (Vector3 vector) {
float a = MathUtils.random(), b = MathUtils.random();
return vector.set(x1 + a * (x2 - x1) + b * (x3 - x1), y1 + a * (y2 - y1) + b * (y3 - y1),
z1 + a * (z2 - z1) + b * (z3 - z1));
}
}
protected Mesh mesh;
/** the model this mesh belongs to. It can be null, but this means the mesh will not be able to be serialized correctly. */
protected Model model;
public MeshSpawnShapeValue (MeshSpawnShapeValue value) {
super(value);
}
public MeshSpawnShapeValue () {
}
@Override
public void load (ParticleValue value) {
super.load(value);
MeshSpawnShapeValue spawnShapeValue = (MeshSpawnShapeValue)value;
setMesh(spawnShapeValue.mesh, spawnShapeValue.model);
}
public void setMesh (Mesh mesh, Model model) {
if (mesh.getVertexAttribute(Usage.Position) == null)
throw new GdxRuntimeException("Mesh vertices must have Usage.Position");
this.model = model;
this.mesh = mesh;
}
public void setMesh (Mesh mesh) {
this.setMesh(mesh, null);
}
@Override
public void save (AssetManager manager, ResourceData data) {
if (model != null) {
SaveData saveData = data.createSaveData();
saveData.saveAsset(manager.getAssetFileName(model), Model.class);
saveData.save("index", model.meshes.indexOf(mesh, true));
}
}
@Override
public void load (AssetManager manager, ResourceData data) {
SaveData saveData = data.getSaveData();
AssetDescriptor descriptor = saveData.loadAsset();
if (descriptor != null) {
Model model = (Model)manager.get(descriptor);
setMesh(model.meshes.get((Integer)saveData.load("index")), model);
}
}
}
| -1 |
libgdx/libgdx | 7,276 | Fixed scene2d.ui layout for fractional positions and sizes. | When "rounding" for UI layout, floor x/y and ceil width/height.
For example if a label has a fractional width like 123.4, rounding a Container's width gives 123 and the label won't fit.
Table already does this, so I'm pretty sure it's the right thing to do in all other layouts. If others can please check this doesn't negatively affect their apps, that would be great! | NathanSweet | "2023-11-10T17:05:20Z" | "2023-11-13T03:27:53Z" | 5368811323eb4ac9c9167a73fc6910e42fcb425d | 8e3b2ef2af2e1c1765b3441cb15cfbeddf4046fa | Fixed scene2d.ui layout for fractional positions and sizes.. When "rounding" for UI layout, floor x/y and ceil width/height.
For example if a label has a fractional width like 123.4, rounding a Container's width gives 123 and the label won't fit.
Table already does this, so I'm pretty sure it's the right thing to do in all other layouts. If others can please check this doesn't negatively affect their apps, that would be great! | ./tests/gdx-tests/src/com/badlogic/gdx/tests/Box2DTestCollection.java | /*******************************************************************************
* Copyright 2011 See AUTHORS file.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
******************************************************************************/
package com.badlogic.gdx.tests;
import com.badlogic.gdx.Application;
import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.InputMultiplexer;
import com.badlogic.gdx.InputProcessor;
import com.badlogic.gdx.input.GestureDetector;
import com.badlogic.gdx.input.GestureDetector.GestureListener;
import com.badlogic.gdx.math.Vector2;
import com.badlogic.gdx.tests.box2d.ApplyForce;
import com.badlogic.gdx.tests.box2d.BodyTypes;
import com.badlogic.gdx.tests.box2d.Box2DTest;
import com.badlogic.gdx.tests.box2d.Bridge;
import com.badlogic.gdx.tests.box2d.Cantilever;
import com.badlogic.gdx.tests.box2d.Chain;
import com.badlogic.gdx.tests.box2d.CharacterCollision;
import com.badlogic.gdx.tests.box2d.CollisionFiltering;
import com.badlogic.gdx.tests.box2d.ContinuousTest;
import com.badlogic.gdx.tests.box2d.ConveyorBelt;
import com.badlogic.gdx.tests.box2d.DebugRendererTest;
import com.badlogic.gdx.tests.box2d.OneSidedPlatform;
import com.badlogic.gdx.tests.box2d.Prismatic;
import com.badlogic.gdx.tests.box2d.Pyramid;
import com.badlogic.gdx.tests.box2d.SimpleTest;
import com.badlogic.gdx.tests.box2d.SphereStack;
import com.badlogic.gdx.tests.box2d.VaryingRestitution;
import com.badlogic.gdx.tests.box2d.VerticalStack;
import com.badlogic.gdx.tests.utils.GdxTest;
public class Box2DTestCollection extends GdxTest implements InputProcessor, GestureListener {
private final Box2DTest[] tests = {new DebugRendererTest(), new CollisionFiltering(), new Chain(), new Bridge(),
new SphereStack(), new Cantilever(), new ApplyForce(), new ContinuousTest(), new Prismatic(), new CharacterCollision(),
new BodyTypes(), new SimpleTest(), new Pyramid(), new OneSidedPlatform(), new VerticalStack(), new VaryingRestitution(),
new ConveyorBelt()};
private int testIndex = 0;
private Application app = null;
@Override
public void render () {
tests[testIndex].render();
}
@Override
public void create () {
if (this.app == null) {
this.app = Gdx.app;
Box2DTest test = tests[testIndex];
test.create();
}
InputMultiplexer multiplexer = new InputMultiplexer();
multiplexer.addProcessor(this);
multiplexer.addProcessor(new GestureDetector(this));
Gdx.input.setInputProcessor(multiplexer);
}
@Override
public void dispose () {
tests[testIndex].dispose();
}
@Override
public boolean keyDown (int keycode) {
tests[testIndex].keyDown(keycode);
return false;
}
@Override
public boolean keyTyped (char character) {
tests[testIndex].keyTyped(character);
return false;
}
@Override
public boolean keyUp (int keycode) {
tests[testIndex].keyUp(keycode);
return false;
}
@Override
public boolean touchDown (int x, int y, int pointer, int button) {
tests[testIndex].touchDown(x, y, pointer, button);
return false;
}
@Override
public boolean touchDragged (int x, int y, int pointer) {
tests[testIndex].touchDragged(x, y, pointer);
return false;
}
@Override
public boolean touchUp (int x, int y, int pointer, int button) {
tests[testIndex].touchUp(x, y, pointer, button);
return false;
}
@Override
public boolean mouseMoved (int x, int y) {
return false;
}
@Override
public boolean scrolled (float amountX, float amountY) {
return false;
}
@Override
public boolean touchDown (float x, float y, int pointer, int button) {
return false;
}
@Override
public boolean tap (float x, float y, int count, int button) {
app.log("TestCollection", "disposing test '" + tests[testIndex].getClass().getName());
tests[testIndex].dispose();
testIndex++;
if (testIndex >= tests.length) testIndex = 0;
Box2DTest test = tests[testIndex];
test.create();
app.log("TestCollection", "created test '" + tests[testIndex].getClass().getName());
return false;
}
@Override
public boolean longPress (float x, float y) {
return false;
}
@Override
public boolean fling (float velocityX, float velocityY, int button) {
return false;
}
@Override
public boolean pan (float x, float y, float deltaX, float deltaY) {
return false;
}
@Override
public boolean panStop (float x, float y, int pointer, int button) {
return false;
}
@Override
public boolean zoom (float originalDistance, float currentDistance) {
return false;
}
@Override
public boolean pinch (Vector2 initialFirstPointer, Vector2 initialSecondPointer, Vector2 firstPointer, Vector2 secondPointer) {
return false;
}
@Override
public void pinchStop () {
}
}
| /*******************************************************************************
* Copyright 2011 See AUTHORS file.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
******************************************************************************/
package com.badlogic.gdx.tests;
import com.badlogic.gdx.Application;
import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.InputMultiplexer;
import com.badlogic.gdx.InputProcessor;
import com.badlogic.gdx.input.GestureDetector;
import com.badlogic.gdx.input.GestureDetector.GestureListener;
import com.badlogic.gdx.math.Vector2;
import com.badlogic.gdx.tests.box2d.ApplyForce;
import com.badlogic.gdx.tests.box2d.BodyTypes;
import com.badlogic.gdx.tests.box2d.Box2DTest;
import com.badlogic.gdx.tests.box2d.Bridge;
import com.badlogic.gdx.tests.box2d.Cantilever;
import com.badlogic.gdx.tests.box2d.Chain;
import com.badlogic.gdx.tests.box2d.CharacterCollision;
import com.badlogic.gdx.tests.box2d.CollisionFiltering;
import com.badlogic.gdx.tests.box2d.ContinuousTest;
import com.badlogic.gdx.tests.box2d.ConveyorBelt;
import com.badlogic.gdx.tests.box2d.DebugRendererTest;
import com.badlogic.gdx.tests.box2d.OneSidedPlatform;
import com.badlogic.gdx.tests.box2d.Prismatic;
import com.badlogic.gdx.tests.box2d.Pyramid;
import com.badlogic.gdx.tests.box2d.SimpleTest;
import com.badlogic.gdx.tests.box2d.SphereStack;
import com.badlogic.gdx.tests.box2d.VaryingRestitution;
import com.badlogic.gdx.tests.box2d.VerticalStack;
import com.badlogic.gdx.tests.utils.GdxTest;
public class Box2DTestCollection extends GdxTest implements InputProcessor, GestureListener {
private final Box2DTest[] tests = {new DebugRendererTest(), new CollisionFiltering(), new Chain(), new Bridge(),
new SphereStack(), new Cantilever(), new ApplyForce(), new ContinuousTest(), new Prismatic(), new CharacterCollision(),
new BodyTypes(), new SimpleTest(), new Pyramid(), new OneSidedPlatform(), new VerticalStack(), new VaryingRestitution(),
new ConveyorBelt()};
private int testIndex = 0;
private Application app = null;
@Override
public void render () {
tests[testIndex].render();
}
@Override
public void create () {
if (this.app == null) {
this.app = Gdx.app;
Box2DTest test = tests[testIndex];
test.create();
}
InputMultiplexer multiplexer = new InputMultiplexer();
multiplexer.addProcessor(this);
multiplexer.addProcessor(new GestureDetector(this));
Gdx.input.setInputProcessor(multiplexer);
}
@Override
public void dispose () {
tests[testIndex].dispose();
}
@Override
public boolean keyDown (int keycode) {
tests[testIndex].keyDown(keycode);
return false;
}
@Override
public boolean keyTyped (char character) {
tests[testIndex].keyTyped(character);
return false;
}
@Override
public boolean keyUp (int keycode) {
tests[testIndex].keyUp(keycode);
return false;
}
@Override
public boolean touchDown (int x, int y, int pointer, int button) {
tests[testIndex].touchDown(x, y, pointer, button);
return false;
}
@Override
public boolean touchDragged (int x, int y, int pointer) {
tests[testIndex].touchDragged(x, y, pointer);
return false;
}
@Override
public boolean touchUp (int x, int y, int pointer, int button) {
tests[testIndex].touchUp(x, y, pointer, button);
return false;
}
@Override
public boolean mouseMoved (int x, int y) {
return false;
}
@Override
public boolean scrolled (float amountX, float amountY) {
return false;
}
@Override
public boolean touchDown (float x, float y, int pointer, int button) {
return false;
}
@Override
public boolean tap (float x, float y, int count, int button) {
app.log("TestCollection", "disposing test '" + tests[testIndex].getClass().getName());
tests[testIndex].dispose();
testIndex++;
if (testIndex >= tests.length) testIndex = 0;
Box2DTest test = tests[testIndex];
test.create();
app.log("TestCollection", "created test '" + tests[testIndex].getClass().getName());
return false;
}
@Override
public boolean longPress (float x, float y) {
return false;
}
@Override
public boolean fling (float velocityX, float velocityY, int button) {
return false;
}
@Override
public boolean pan (float x, float y, float deltaX, float deltaY) {
return false;
}
@Override
public boolean panStop (float x, float y, int pointer, int button) {
return false;
}
@Override
public boolean zoom (float originalDistance, float currentDistance) {
return false;
}
@Override
public boolean pinch (Vector2 initialFirstPointer, Vector2 initialSecondPointer, Vector2 firstPointer, Vector2 secondPointer) {
return false;
}
@Override
public void pinchStop () {
}
}
| -1 |
libgdx/libgdx | 7,276 | Fixed scene2d.ui layout for fractional positions and sizes. | When "rounding" for UI layout, floor x/y and ceil width/height.
For example if a label has a fractional width like 123.4, rounding a Container's width gives 123 and the label won't fit.
Table already does this, so I'm pretty sure it's the right thing to do in all other layouts. If others can please check this doesn't negatively affect their apps, that would be great! | NathanSweet | "2023-11-10T17:05:20Z" | "2023-11-13T03:27:53Z" | 5368811323eb4ac9c9167a73fc6910e42fcb425d | 8e3b2ef2af2e1c1765b3441cb15cfbeddf4046fa | Fixed scene2d.ui layout for fractional positions and sizes.. When "rounding" for UI layout, floor x/y and ceil width/height.
For example if a label has a fractional width like 123.4, rounding a Container's width gives 123 and the label won't fit.
Table already does this, so I'm pretty sure it's the right thing to do in all other layouts. If others can please check this doesn't negatively affect their apps, that would be great! | ./gdx/src/com/badlogic/gdx/graphics/g3d/particles/values/GradientColorValue.java | /*******************************************************************************
* Copyright 2011 See AUTHORS file.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
******************************************************************************/
package com.badlogic.gdx.graphics.g3d.particles.values;
import com.badlogic.gdx.utils.Json;
import com.badlogic.gdx.utils.JsonValue;
/** Defines a variation of red, green and blue on a given time line.
* @author Inferno */
public class GradientColorValue extends ParticleValue {
static private float[] temp = new float[3];
private float[] colors = {1, 1, 1};
public float[] timeline = {0};
public float[] getTimeline () {
return timeline;
}
public void setTimeline (float[] timeline) {
this.timeline = timeline;
}
public float[] getColors () {
return colors;
}
public void setColors (float[] colors) {
this.colors = colors;
}
public float[] getColor (float percent) {
getColor(percent, temp, 0);
return temp;
}
public void getColor (float percent, float[] out, int index) {
int startIndex = 0, endIndex = -1;
float[] timeline = this.timeline;
int n = timeline.length;
for (int i = 1; i < n; i++) {
float t = timeline[i];
if (t > percent) {
endIndex = i;
break;
}
startIndex = i;
}
float startTime = timeline[startIndex];
startIndex *= 3;
float r1 = colors[startIndex];
float g1 = colors[startIndex + 1];
float b1 = colors[startIndex + 2];
if (endIndex == -1) {
out[index] = r1;
out[index + 1] = g1;
out[index + 2] = b1;
return;
}
float factor = (percent - startTime) / (timeline[endIndex] - startTime);
endIndex *= 3;
out[index] = r1 + (colors[endIndex] - r1) * factor;
out[index + 1] = g1 + (colors[endIndex + 1] - g1) * factor;
out[index + 2] = b1 + (colors[endIndex + 2] - b1) * factor;
}
@Override
public void write (Json json) {
super.write(json);
json.writeValue("colors", colors);
json.writeValue("timeline", timeline);
}
@Override
public void read (Json json, JsonValue jsonData) {
super.read(json, jsonData);
colors = json.readValue("colors", float[].class, jsonData);
timeline = json.readValue("timeline", float[].class, jsonData);
}
public void load (GradientColorValue value) {
super.load(value);
colors = new float[value.colors.length];
System.arraycopy(value.colors, 0, colors, 0, colors.length);
timeline = new float[value.timeline.length];
System.arraycopy(value.timeline, 0, timeline, 0, timeline.length);
}
}
| /*******************************************************************************
* Copyright 2011 See AUTHORS file.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
******************************************************************************/
package com.badlogic.gdx.graphics.g3d.particles.values;
import com.badlogic.gdx.utils.Json;
import com.badlogic.gdx.utils.JsonValue;
/** Defines a variation of red, green and blue on a given time line.
* @author Inferno */
public class GradientColorValue extends ParticleValue {
static private float[] temp = new float[3];
private float[] colors = {1, 1, 1};
public float[] timeline = {0};
public float[] getTimeline () {
return timeline;
}
public void setTimeline (float[] timeline) {
this.timeline = timeline;
}
public float[] getColors () {
return colors;
}
public void setColors (float[] colors) {
this.colors = colors;
}
public float[] getColor (float percent) {
getColor(percent, temp, 0);
return temp;
}
public void getColor (float percent, float[] out, int index) {
int startIndex = 0, endIndex = -1;
float[] timeline = this.timeline;
int n = timeline.length;
for (int i = 1; i < n; i++) {
float t = timeline[i];
if (t > percent) {
endIndex = i;
break;
}
startIndex = i;
}
float startTime = timeline[startIndex];
startIndex *= 3;
float r1 = colors[startIndex];
float g1 = colors[startIndex + 1];
float b1 = colors[startIndex + 2];
if (endIndex == -1) {
out[index] = r1;
out[index + 1] = g1;
out[index + 2] = b1;
return;
}
float factor = (percent - startTime) / (timeline[endIndex] - startTime);
endIndex *= 3;
out[index] = r1 + (colors[endIndex] - r1) * factor;
out[index + 1] = g1 + (colors[endIndex + 1] - g1) * factor;
out[index + 2] = b1 + (colors[endIndex + 2] - b1) * factor;
}
@Override
public void write (Json json) {
super.write(json);
json.writeValue("colors", colors);
json.writeValue("timeline", timeline);
}
@Override
public void read (Json json, JsonValue jsonData) {
super.read(json, jsonData);
colors = json.readValue("colors", float[].class, jsonData);
timeline = json.readValue("timeline", float[].class, jsonData);
}
public void load (GradientColorValue value) {
super.load(value);
colors = new float[value.colors.length];
System.arraycopy(value.colors, 0, colors, 0, colors.length);
timeline = new float[value.timeline.length];
System.arraycopy(value.timeline, 0, timeline, 0, timeline.length);
}
}
| -1 |
libgdx/libgdx | 7,276 | Fixed scene2d.ui layout for fractional positions and sizes. | When "rounding" for UI layout, floor x/y and ceil width/height.
For example if a label has a fractional width like 123.4, rounding a Container's width gives 123 and the label won't fit.
Table already does this, so I'm pretty sure it's the right thing to do in all other layouts. If others can please check this doesn't negatively affect their apps, that would be great! | NathanSweet | "2023-11-10T17:05:20Z" | "2023-11-13T03:27:53Z" | 5368811323eb4ac9c9167a73fc6910e42fcb425d | 8e3b2ef2af2e1c1765b3441cb15cfbeddf4046fa | Fixed scene2d.ui layout for fractional positions and sizes.. When "rounding" for UI layout, floor x/y and ceil width/height.
For example if a label has a fractional width like 123.4, rounding a Container's width gives 123 and the label won't fit.
Table already does this, so I'm pretty sure it's the right thing to do in all other layouts. If others can please check this doesn't negatively affect their apps, that would be great! | ./extensions/gdx-box2d/gdx-box2d-gwt/src/com/badlogic/gdx/physics/box2d/gwt/emu/org/jbox2d/pooling/arrays/IntArray.java | /*******************************************************************************
* Copyright (c) 2013, Daniel Murphy
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following conditions are met:
* * Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* * Redistributions in binary form must reproduce the above copyright notice,
* this list of conditions and the following disclaimer in the documentation
* and/or other materials provided with the distribution.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
* IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
* INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
* NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
* PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
* WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
******************************************************************************/
/**
* Created at 4:14:34 AM Jul 17, 2010
*/
package org.jbox2d.pooling.arrays;
import java.util.HashMap;
/** Not thread safe int[] pooling
* @author Daniel Murphy */
public class IntArray {
private final HashMap<Integer, int[]> map = new HashMap<Integer, int[]>();
public int[] get (int argLength) {
assert (argLength > 0);
if (!map.containsKey(argLength)) {
map.put(argLength, getInitializedArray(argLength));
}
assert (map.get(argLength).length == argLength) : "Array not built of correct length";
return map.get(argLength);
}
protected int[] getInitializedArray (int argLength) {
return new int[argLength];
}
}
| /*******************************************************************************
* Copyright (c) 2013, Daniel Murphy
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following conditions are met:
* * Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* * Redistributions in binary form must reproduce the above copyright notice,
* this list of conditions and the following disclaimer in the documentation
* and/or other materials provided with the distribution.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
* IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
* INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
* NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
* PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
* WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
******************************************************************************/
/**
* Created at 4:14:34 AM Jul 17, 2010
*/
package org.jbox2d.pooling.arrays;
import java.util.HashMap;
/** Not thread safe int[] pooling
* @author Daniel Murphy */
public class IntArray {
private final HashMap<Integer, int[]> map = new HashMap<Integer, int[]>();
public int[] get (int argLength) {
assert (argLength > 0);
if (!map.containsKey(argLength)) {
map.put(argLength, getInitializedArray(argLength));
}
assert (map.get(argLength).length == argLength) : "Array not built of correct length";
return map.get(argLength);
}
protected int[] getInitializedArray (int argLength) {
return new int[argLength];
}
}
| -1 |
libgdx/libgdx | 7,276 | Fixed scene2d.ui layout for fractional positions and sizes. | When "rounding" for UI layout, floor x/y and ceil width/height.
For example if a label has a fractional width like 123.4, rounding a Container's width gives 123 and the label won't fit.
Table already does this, so I'm pretty sure it's the right thing to do in all other layouts. If others can please check this doesn't negatively affect their apps, that would be great! | NathanSweet | "2023-11-10T17:05:20Z" | "2023-11-13T03:27:53Z" | 5368811323eb4ac9c9167a73fc6910e42fcb425d | 8e3b2ef2af2e1c1765b3441cb15cfbeddf4046fa | Fixed scene2d.ui layout for fractional positions and sizes.. When "rounding" for UI layout, floor x/y and ceil width/height.
For example if a label has a fractional width like 123.4, rounding a Container's width gives 123 and the label won't fit.
Table already does this, so I'm pretty sure it's the right thing to do in all other layouts. If others can please check this doesn't negatively affect their apps, that would be great! | ./extensions/gdx-setup/src/com/badlogic/gdx/setup/Executor.java | /*******************************************************************************
* Copyright 2011 See AUTHORS file.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
******************************************************************************/
package com.badlogic.gdx.setup;
import java.io.BufferedReader;
import java.io.File;
import java.io.IOException;
import java.io.InputStreamReader;
public class Executor {
public interface CharCallback {
public void character (char c);
}
/** Execute the Ant script file with the given parameters.
* @return whether the Ant succeeded */
public static boolean execute (File workingDir, String windowsFile, String unixFile, String parameters,
CharCallback callback) {
String exec = workingDir.getAbsolutePath() + "/"
+ (System.getProperty("os.name").contains("Windows") ? windowsFile : unixFile);
String log = "Executing '" + exec + " " + parameters + "'";
for (int i = 0; i < log.length(); i++) {
callback.character(log.charAt(i));
}
callback.character('\n');
String[] params = parameters.split(" ");
String[] commands = new String[params.length + 1];
commands[0] = exec;
for (int i = 0; i < params.length; i++) {
commands[i + 1] = params[i];
}
return startProcess(commands, workingDir, callback);
}
private static boolean startProcess (String[] commands, File directory, final CharCallback callback) {
try {
final Process process = new ProcessBuilder(commands).redirectErrorStream(true).directory(directory).start();
Thread t = new Thread(new Runnable() {
@Override
public void run () {
BufferedReader reader = new BufferedReader(new InputStreamReader(process.getInputStream()), 1);
try {
int c = 0;
while ((c = reader.read()) != -1) {
callback.character((char)c);
}
} catch (IOException e) {
// e.printStackTrace();
}
}
});
t.setDaemon(true);
t.start();
process.waitFor();
t.interrupt();
return process.exitValue() == 0;
} catch (Exception e) {
e.printStackTrace();
return false;
}
}
}
| /*******************************************************************************
* Copyright 2011 See AUTHORS file.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
******************************************************************************/
package com.badlogic.gdx.setup;
import java.io.BufferedReader;
import java.io.File;
import java.io.IOException;
import java.io.InputStreamReader;
public class Executor {
public interface CharCallback {
public void character (char c);
}
/** Execute the Ant script file with the given parameters.
* @return whether the Ant succeeded */
public static boolean execute (File workingDir, String windowsFile, String unixFile, String parameters,
CharCallback callback) {
String exec = workingDir.getAbsolutePath() + "/"
+ (System.getProperty("os.name").contains("Windows") ? windowsFile : unixFile);
String log = "Executing '" + exec + " " + parameters + "'";
for (int i = 0; i < log.length(); i++) {
callback.character(log.charAt(i));
}
callback.character('\n');
String[] params = parameters.split(" ");
String[] commands = new String[params.length + 1];
commands[0] = exec;
for (int i = 0; i < params.length; i++) {
commands[i + 1] = params[i];
}
return startProcess(commands, workingDir, callback);
}
private static boolean startProcess (String[] commands, File directory, final CharCallback callback) {
try {
final Process process = new ProcessBuilder(commands).redirectErrorStream(true).directory(directory).start();
Thread t = new Thread(new Runnable() {
@Override
public void run () {
BufferedReader reader = new BufferedReader(new InputStreamReader(process.getInputStream()), 1);
try {
int c = 0;
while ((c = reader.read()) != -1) {
callback.character((char)c);
}
} catch (IOException e) {
// e.printStackTrace();
}
}
});
t.setDaemon(true);
t.start();
process.waitFor();
t.interrupt();
return process.exitValue() == 0;
} catch (Exception e) {
e.printStackTrace();
return false;
}
}
}
| -1 |
libgdx/libgdx | 7,276 | Fixed scene2d.ui layout for fractional positions and sizes. | When "rounding" for UI layout, floor x/y and ceil width/height.
For example if a label has a fractional width like 123.4, rounding a Container's width gives 123 and the label won't fit.
Table already does this, so I'm pretty sure it's the right thing to do in all other layouts. If others can please check this doesn't negatively affect their apps, that would be great! | NathanSweet | "2023-11-10T17:05:20Z" | "2023-11-13T03:27:53Z" | 5368811323eb4ac9c9167a73fc6910e42fcb425d | 8e3b2ef2af2e1c1765b3441cb15cfbeddf4046fa | Fixed scene2d.ui layout for fractional positions and sizes.. When "rounding" for UI layout, floor x/y and ceil width/height.
For example if a label has a fractional width like 123.4, rounding a Container's width gives 123 and the label won't fit.
Table already does this, so I'm pretty sure it's the right thing to do in all other layouts. If others can please check this doesn't negatively affect their apps, that would be great! | ./backends/gdx-backend-android/src/com/badlogic/gdx/backends/android/AndroidAudioRecorder.java | /*******************************************************************************
* Copyright 2011 See AUTHORS file.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
******************************************************************************/
package com.badlogic.gdx.backends.android;
import android.annotation.SuppressLint;
import android.media.AudioFormat;
import android.media.AudioRecord;
import android.media.MediaRecorder;
import com.badlogic.gdx.audio.AudioRecorder;
import com.badlogic.gdx.utils.GdxRuntimeException;
/** {@link AudioRecorder} implementation for the android system based on AudioRecord
* @author badlogicgames@gmail.com */
public class AndroidAudioRecorder implements AudioRecorder {
/** the audio track we read samples from **/
private AudioRecord recorder;
@SuppressLint("MissingPermission")
public AndroidAudioRecorder (int samplingRate, boolean isMono) {
int channelConfig = isMono ? AudioFormat.CHANNEL_IN_MONO : AudioFormat.CHANNEL_IN_STEREO;
int minBufferSize = AudioRecord.getMinBufferSize(samplingRate, channelConfig, AudioFormat.ENCODING_PCM_16BIT);
recorder = new AudioRecord(MediaRecorder.AudioSource.MIC, samplingRate, channelConfig, AudioFormat.ENCODING_PCM_16BIT,
minBufferSize);
if (recorder.getState() != AudioRecord.STATE_INITIALIZED)
throw new GdxRuntimeException("Unable to initialize AudioRecorder.\nDo you have the RECORD_AUDIO permission?");
recorder.startRecording();
}
@Override
public void dispose () {
recorder.stop();
recorder.release();
}
@Override
public void read (short[] samples, int offset, int numSamples) {
int read = 0;
while (read != numSamples) {
read += recorder.read(samples, offset + read, numSamples - read);
}
}
}
| /*******************************************************************************
* Copyright 2011 See AUTHORS file.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
******************************************************************************/
package com.badlogic.gdx.backends.android;
import android.annotation.SuppressLint;
import android.media.AudioFormat;
import android.media.AudioRecord;
import android.media.MediaRecorder;
import com.badlogic.gdx.audio.AudioRecorder;
import com.badlogic.gdx.utils.GdxRuntimeException;
/** {@link AudioRecorder} implementation for the android system based on AudioRecord
* @author badlogicgames@gmail.com */
public class AndroidAudioRecorder implements AudioRecorder {
/** the audio track we read samples from **/
private AudioRecord recorder;
@SuppressLint("MissingPermission")
public AndroidAudioRecorder (int samplingRate, boolean isMono) {
int channelConfig = isMono ? AudioFormat.CHANNEL_IN_MONO : AudioFormat.CHANNEL_IN_STEREO;
int minBufferSize = AudioRecord.getMinBufferSize(samplingRate, channelConfig, AudioFormat.ENCODING_PCM_16BIT);
recorder = new AudioRecord(MediaRecorder.AudioSource.MIC, samplingRate, channelConfig, AudioFormat.ENCODING_PCM_16BIT,
minBufferSize);
if (recorder.getState() != AudioRecord.STATE_INITIALIZED)
throw new GdxRuntimeException("Unable to initialize AudioRecorder.\nDo you have the RECORD_AUDIO permission?");
recorder.startRecording();
}
@Override
public void dispose () {
recorder.stop();
recorder.release();
}
@Override
public void read (short[] samples, int offset, int numSamples) {
int read = 0;
while (read != numSamples) {
read += recorder.read(samples, offset + read, numSamples - read);
}
}
}
| -1 |
libgdx/libgdx | 7,276 | Fixed scene2d.ui layout for fractional positions and sizes. | When "rounding" for UI layout, floor x/y and ceil width/height.
For example if a label has a fractional width like 123.4, rounding a Container's width gives 123 and the label won't fit.
Table already does this, so I'm pretty sure it's the right thing to do in all other layouts. If others can please check this doesn't negatively affect their apps, that would be great! | NathanSweet | "2023-11-10T17:05:20Z" | "2023-11-13T03:27:53Z" | 5368811323eb4ac9c9167a73fc6910e42fcb425d | 8e3b2ef2af2e1c1765b3441cb15cfbeddf4046fa | Fixed scene2d.ui layout for fractional positions and sizes.. When "rounding" for UI layout, floor x/y and ceil width/height.
For example if a label has a fractional width like 123.4, rounding a Container's width gives 123 and the label won't fit.
Table already does this, so I'm pretty sure it's the right thing to do in all other layouts. If others can please check this doesn't negatively affect their apps, that would be great! | ./tests/gdx-tests/src/com/badlogic/gdx/tests/Bresenham2Test.java | /*******************************************************************************
* Copyright 2011 See AUTHORS file.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
******************************************************************************/
package com.badlogic.gdx.tests;
import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.graphics.Color;
import com.badlogic.gdx.graphics.GL20;
import com.badlogic.gdx.graphics.Pixmap;
import com.badlogic.gdx.graphics.Pixmap.Format;
import com.badlogic.gdx.graphics.Texture;
import com.badlogic.gdx.graphics.g2d.SpriteBatch;
import com.badlogic.gdx.math.Bresenham2;
import com.badlogic.gdx.math.GridPoint2;
import com.badlogic.gdx.tests.utils.GdxTest;
import com.badlogic.gdx.utils.Array;
public class Bresenham2Test extends GdxTest {
SpriteBatch batch;
Texture result;
Pixmap pixmap;
Bresenham2 bresenham;
Array<GridPoint2> line;
int lastX;
int lastY;
/** If any of the green pixels this draws are still visible after Bresenham2's line is drawn, then the implementation in
* Bresenham2 is wrong. <br>
* This is almost exactly taken from http://rosettacode.org/wiki/Bitmap/Bresenham%27s_line_algorithm#Java ; only the Swing/AWT
* code was changed to use Pixmap here. The Rosetta Code version doesn't use pooling for its points, so the algorithm in
* Bresenham2 should be more efficient, but this can be used as a reference implementation that's probably been picked over and
* run many times.
* @param x1 start x
* @param y1 start y
* @param x2 end x
* @param y2 end y */
public void drawRosettaCodeLine (int x1, int y1, int x2, int y2) {
pixmap.setColor(Color.GREEN);
int d = 0;
int dx = Math.abs(x2 - x1);
int dy = Math.abs(y2 - y1);
int dx2 = 2 * dx; // slope scaling factors to
int dy2 = 2 * dy; // avoid floating point
int ix = x1 < x2 ? 1 : -1; // increment direction
int iy = y1 < y2 ? 1 : -1;
int x = x1;
int y = y1;
if (dx >= dy) {
while (true) {
pixmap.drawPixel(x, y);
if (x == x2) break;
x += ix;
d += dy2;
if (d > dx) {
y += iy;
d -= dx2;
}
}
} else {
while (true) {
pixmap.drawPixel(x, y);
if (y == y2) break;
y += iy;
d += dx2;
if (d > dy) {
x += ix;
d -= dy2;
}
}
}
}
@Override
public void create () {
pixmap = new Pixmap(160, 120, Format.RGBA8888);
pixmap.setColor(Color.WHITE);
lastX = -1;
lastY = -1;
drawRosettaCodeLine(79, 59, 80, 60);
bresenham = new Bresenham2();
line = bresenham.line(79, 59, 80, 60);
for (GridPoint2 point : line)
pixmap.drawPixel(point.x, point.y);
result = new Texture(pixmap);
batch = new SpriteBatch();
}
@Override
public void render () {
Gdx.gl.glClear(GL20.GL_COLOR_BUFFER_BIT);
int x = Gdx.input.getX() >> 2, y = Gdx.input.getY() >> 2;
if ((lastX != x || lastY != y) && x >= 0 && x < 160 && y >= 0 && y < 120) {
lastX = x;
lastY = y;
pixmap.setColor(Color.BLACK);
pixmap.fill();
drawRosettaCodeLine(79, 59, x, y);
pixmap.setColor(Color.WHITE);
line = bresenham.line(79, 59, x, y);
for (GridPoint2 point : line)
pixmap.drawPixel(point.x, point.y);
result.draw(pixmap, 0, 0);
}
batch.begin();
batch.draw(result, 0, 0, 640, 480);
batch.end();
}
}
| /*******************************************************************************
* Copyright 2011 See AUTHORS file.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
******************************************************************************/
package com.badlogic.gdx.tests;
import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.graphics.Color;
import com.badlogic.gdx.graphics.GL20;
import com.badlogic.gdx.graphics.Pixmap;
import com.badlogic.gdx.graphics.Pixmap.Format;
import com.badlogic.gdx.graphics.Texture;
import com.badlogic.gdx.graphics.g2d.SpriteBatch;
import com.badlogic.gdx.math.Bresenham2;
import com.badlogic.gdx.math.GridPoint2;
import com.badlogic.gdx.tests.utils.GdxTest;
import com.badlogic.gdx.utils.Array;
public class Bresenham2Test extends GdxTest {
SpriteBatch batch;
Texture result;
Pixmap pixmap;
Bresenham2 bresenham;
Array<GridPoint2> line;
int lastX;
int lastY;
/** If any of the green pixels this draws are still visible after Bresenham2's line is drawn, then the implementation in
* Bresenham2 is wrong. <br>
* This is almost exactly taken from http://rosettacode.org/wiki/Bitmap/Bresenham%27s_line_algorithm#Java ; only the Swing/AWT
* code was changed to use Pixmap here. The Rosetta Code version doesn't use pooling for its points, so the algorithm in
* Bresenham2 should be more efficient, but this can be used as a reference implementation that's probably been picked over and
* run many times.
* @param x1 start x
* @param y1 start y
* @param x2 end x
* @param y2 end y */
public void drawRosettaCodeLine (int x1, int y1, int x2, int y2) {
pixmap.setColor(Color.GREEN);
int d = 0;
int dx = Math.abs(x2 - x1);
int dy = Math.abs(y2 - y1);
int dx2 = 2 * dx; // slope scaling factors to
int dy2 = 2 * dy; // avoid floating point
int ix = x1 < x2 ? 1 : -1; // increment direction
int iy = y1 < y2 ? 1 : -1;
int x = x1;
int y = y1;
if (dx >= dy) {
while (true) {
pixmap.drawPixel(x, y);
if (x == x2) break;
x += ix;
d += dy2;
if (d > dx) {
y += iy;
d -= dx2;
}
}
} else {
while (true) {
pixmap.drawPixel(x, y);
if (y == y2) break;
y += iy;
d += dx2;
if (d > dy) {
x += ix;
d -= dy2;
}
}
}
}
@Override
public void create () {
pixmap = new Pixmap(160, 120, Format.RGBA8888);
pixmap.setColor(Color.WHITE);
lastX = -1;
lastY = -1;
drawRosettaCodeLine(79, 59, 80, 60);
bresenham = new Bresenham2();
line = bresenham.line(79, 59, 80, 60);
for (GridPoint2 point : line)
pixmap.drawPixel(point.x, point.y);
result = new Texture(pixmap);
batch = new SpriteBatch();
}
@Override
public void render () {
Gdx.gl.glClear(GL20.GL_COLOR_BUFFER_BIT);
int x = Gdx.input.getX() >> 2, y = Gdx.input.getY() >> 2;
if ((lastX != x || lastY != y) && x >= 0 && x < 160 && y >= 0 && y < 120) {
lastX = x;
lastY = y;
pixmap.setColor(Color.BLACK);
pixmap.fill();
drawRosettaCodeLine(79, 59, x, y);
pixmap.setColor(Color.WHITE);
line = bresenham.line(79, 59, x, y);
for (GridPoint2 point : line)
pixmap.drawPixel(point.x, point.y);
result.draw(pixmap, 0, 0);
}
batch.begin();
batch.draw(result, 0, 0, 640, 480);
batch.end();
}
}
| -1 |
libgdx/libgdx | 7,276 | Fixed scene2d.ui layout for fractional positions and sizes. | When "rounding" for UI layout, floor x/y and ceil width/height.
For example if a label has a fractional width like 123.4, rounding a Container's width gives 123 and the label won't fit.
Table already does this, so I'm pretty sure it's the right thing to do in all other layouts. If others can please check this doesn't negatively affect their apps, that would be great! | NathanSweet | "2023-11-10T17:05:20Z" | "2023-11-13T03:27:53Z" | 5368811323eb4ac9c9167a73fc6910e42fcb425d | 8e3b2ef2af2e1c1765b3441cb15cfbeddf4046fa | Fixed scene2d.ui layout for fractional positions and sizes.. When "rounding" for UI layout, floor x/y and ceil width/height.
For example if a label has a fractional width like 123.4, rounding a Container's width gives 123 and the label won't fit.
Table already does this, so I'm pretty sure it's the right thing to do in all other layouts. If others can please check this doesn't negatively affect their apps, that would be great! | ./extensions/gdx-tools/src/com/badlogic/gdx/tools/distancefield/DistanceFieldGenerator.java | /*******************************************************************************
* Copyright 2011 See AUTHORS file.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
******************************************************************************/
package com.badlogic.gdx.tools.distancefield;
import java.awt.Color;
import java.awt.image.BufferedImage;
import java.io.File;
import java.io.IOException;
import javax.imageio.ImageIO;
/** Generates a signed distance field image from a binary (black/white) source image.
*
* <p>
* Signed distance fields are used in Team Fortress 2 by Valve to enable sharp rendering of bitmap fonts even at high
* magnifications, using nothing but alpha testing so at no extra runtime cost.
*
* <p>
* The technique is described in the SIGGRAPH 2007 paper "Improved Alpha-Tested Magnification for Vector Textures and Special
* Effects" by Chris Green: <a href="http://www.valvesoftware.com/publications/2007/SIGGRAPH2007_AlphaTestedMagnification.pdf">
* http://www.valvesoftware.com/publications/2007/SIGGRAPH2007_AlphaTestedMagnification.pdf </a>
*
* @author Thomas ten Cate */
public class DistanceFieldGenerator {
private Color color = Color.white;
private int downscale = 1;
private float spread = 1;
/** @see #setColor(Color) */
public Color getColor () {
return color;
}
/** Sets the color to be used for the output image. Its alpha component is ignored. Defaults to white, which is convenient for
* multiplying by a color value at runtime. */
public void setColor (Color color) {
this.color = color;
}
/** @see #setDownscale(int) */
public int getDownscale () {
return downscale;
}
/** Sets the factor by which to downscale the image during processing. The output image will be smaller than the input image by
* this factor, rounded downwards.
*
* <p>
* For greater accuracy, images to be used as input for a distance field are often generated at higher resolution.
*
* @param downscale a positive integer
* @throws IllegalArgumentException if downscale is not positive */
public void setDownscale (int downscale) {
if (downscale <= 0) throw new IllegalArgumentException("downscale must be positive");
this.downscale = downscale;
}
/** @see #setSpread(float) */
public float getSpread () {
return spread;
}
/** Sets the spread of the distance field. The spread is the maximum distance in pixels that we'll scan while for a nearby
* edge. The resulting distance is also normalized by the spread.
*
* @param spread a positive number
* @throws IllegalArgumentException if spread is not positive */
public void setSpread (float spread) {
if (spread <= 0) throw new IllegalArgumentException("spread must be positive");
this.spread = spread;
}
/** Caclulate the squared distance between two points
*
* @param x1 The x coordinate of the first point
* @param y1 The y coordiante of the first point
* @param x2 The x coordinate of the second point
* @param y2 The y coordinate of the second point
* @return The squared distance between the two points */
private static int squareDist (final int x1, final int y1, final int x2, final int y2) {
final int dx = x1 - x2;
final int dy = y1 - y2;
return dx * dx + dy * dy;
}
/** Process the image into a distance field.
*
* The input image should be binary (black/white), but if not, see {@link #isInside(int)}.
*
* The returned image is a factor of {@code upscale} smaller than {@code inImage}. Opaque pixels more than {@link #spread} away
* in the output image from white remain opaque; transparent pixels more than {@link #spread} away in the output image from
* black remain transparent. In between, we get a smooth transition from opaque to transparent, with an alpha value of 0.5 when
* we are exactly on the edge.
*
* @param inImage the image to process.
* @return the distance field image */
public BufferedImage generateDistanceField (BufferedImage inImage) {
final int inWidth = inImage.getWidth();
final int inHeight = inImage.getHeight();
final int outWidth = inWidth / downscale;
final int outHeight = inHeight / downscale;
final BufferedImage outImage = new BufferedImage(outWidth, outHeight, BufferedImage.TYPE_4BYTE_ABGR);
// Note: coordinates reversed to mimic storage of BufferedImage, for memory locality
final boolean[][] bitmap = new boolean[inHeight][inWidth];
for (int y = 0; y < inHeight; ++y) {
for (int x = 0; x < inWidth; ++x) {
bitmap[y][x] = isInside(inImage.getRGB(x, y));
}
}
for (int y = 0; y < outHeight; ++y) {
for (int x = 0; x < outWidth; ++x) {
int centerX = (x * downscale) + (downscale / 2);
int centerY = (y * downscale) + (downscale / 2);
float signedDistance = findSignedDistance(centerX, centerY, bitmap);
outImage.setRGB(x, y, distanceToRGB(signedDistance));
}
}
return outImage;
}
/** Returns {@code true} if the color is considered as the "inside" of the image, {@code false} if considered "outside".
*
* <p>
* Any color with one of its color channels at least 128 <em>and</em> its alpha channel at least 128 is considered "inside". */
private boolean isInside (int rgb) {
return (rgb & 0x808080) != 0 && (rgb & 0x80000000) != 0;
}
/** For a distance as returned by {@link #findSignedDistance}, returns the corresponding "RGB" (really ARGB) color value.
*
* @param signedDistance the signed distance of a pixel
* @return an ARGB color value suitable for {@link BufferedImage#setRGB}. */
private int distanceToRGB (float signedDistance) {
float alpha = 0.5f + 0.5f * (signedDistance / spread);
alpha = Math.min(1, Math.max(0, alpha)); // compensate for rounding errors
int alphaByte = (int)(alpha * 0xFF); // no unsigned byte in Java :(
return (alphaByte << 24) | (color.getRGB() & 0xFFFFFF);
}
/** Returns the signed distance for a given point.
*
* For points "inside", this is the distance to the closest "outside" pixel. For points "outside", this is the
* <em>negative</em> distance to the closest "inside" pixel. If no pixel of different color is found within a radius of
* {@code spread}, returns the {@code -spread} or {@code spread}, respectively.
*
* @param centerX the x coordinate of the center point
* @param centerY the y coordinate of the center point
* @param bitmap the array representation of an image, {@code true} representing "inside"
* @return the signed distance */
private float findSignedDistance (final int centerX, final int centerY, boolean[][] bitmap) {
final int width = bitmap[0].length;
final int height = bitmap.length;
final boolean base = bitmap[centerY][centerX];
final int delta = (int)Math.ceil(spread);
final int startX = Math.max(0, centerX - delta);
final int endX = Math.min(width - 1, centerX + delta);
final int startY = Math.max(0, centerY - delta);
final int endY = Math.min(height - 1, centerY + delta);
int closestSquareDist = delta * delta;
for (int y = startY; y <= endY; ++y) {
for (int x = startX; x <= endX; ++x) {
if (base != bitmap[y][x]) {
final int squareDist = squareDist(centerX, centerY, x, y);
if (squareDist < closestSquareDist) {
closestSquareDist = squareDist;
}
}
}
}
float closestDist = (float)Math.sqrt(closestSquareDist);
return (base ? 1 : -1) * Math.min(closestDist, spread);
}
/** Prints usage information to standard output. */
private static void usage () {
System.out.println("Generates a distance field image from a black and white input image.\n"
+ "The distance field image contains a solid color and stores the distance\n" + "in the alpha channel.\n" + "\n"
+ "The output file format is inferred from the file name.\n" + "\n"
+ "Command line arguments: INFILE OUTFILE [OPTION...]\n" + "\n" + "Possible options:\n"
+ " --color rrggbb color of output image (default: ffffff)\n"
+ " --downscale n downscale by factor of n (default: 1)\n"
+ " --spread n edge scan distance (default: 1)\n");
}
/** Thrown when the command line contained nonsense. */
private static class CommandLineArgumentException extends IllegalArgumentException {
public CommandLineArgumentException (String message) {
super(message);
}
}
/** Main function to run the generator as a standalone program. Run without arguments for usage instructions (or see
* {@link #usage()}).
*
* @param args command line arguments */
public static void main (String[] args) {
try {
run(args);
} catch (CommandLineArgumentException e) {
System.err.println("Error: " + e.getMessage() + "\n");
usage();
System.exit(1);
}
}
/** Runs the program.
* @param args command line arguments
* @throws CommandLineArgumentException if the command line contains an error */
private static void run (String[] args) {
DistanceFieldGenerator generator = new DistanceFieldGenerator();
String inputFile = null;
String outputFile = null;
int i = 0;
try {
for (; i < args.length; ++i) {
String arg = args[i];
if (arg.startsWith("-")) {
if ("--help".equals(arg)) {
usage();
System.exit(0);
} else if ("--color".equals(arg)) {
++i;
generator.setColor(new Color(Integer.parseInt(args[i], 16)));
} else if ("--downscale".equals(arg)) {
++i;
generator.setDownscale(Integer.parseInt(args[i]));
} else if ("--spread".equals(arg)) {
++i;
generator.setSpread(Float.parseFloat(args[i]));
} else {
throw new CommandLineArgumentException("unknown option " + arg);
}
} else {
if (inputFile == null) {
inputFile = arg;
} else if (outputFile == null) {
outputFile = arg;
} else {
throw new CommandLineArgumentException("exactly two file names are expected");
}
}
}
} catch (IndexOutOfBoundsException e) {
throw new CommandLineArgumentException("option " + args[args.length - 1] + " requires an argument");
} catch (NumberFormatException e) {
throw new CommandLineArgumentException(args[i] + " is not a number");
}
if (inputFile == null) {
throw new CommandLineArgumentException("no input file specified");
}
if (outputFile == null) {
throw new CommandLineArgumentException("no output file specified");
}
String outputFormat = outputFile.substring(outputFile.lastIndexOf('.') + 1);
boolean exists;
if (!ImageIO.getImageWritersByFormatName(outputFormat).hasNext()) {
throw new RuntimeException("No image writers found that can handle the format '" + outputFormat + "'");
}
BufferedImage input = null;
try {
input = ImageIO.read(new File(inputFile));
} catch (IOException e) {
System.err.println("Failed to load image: " + e.getMessage());
}
BufferedImage output = generator.generateDistanceField(input);
try {
ImageIO.write(output, outputFormat, new File(outputFile));
} catch (IOException e) {
System.err.println("Failed to write output image: " + e.getMessage());
}
}
}
| /*******************************************************************************
* Copyright 2011 See AUTHORS file.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
******************************************************************************/
package com.badlogic.gdx.tools.distancefield;
import java.awt.Color;
import java.awt.image.BufferedImage;
import java.io.File;
import java.io.IOException;
import javax.imageio.ImageIO;
/** Generates a signed distance field image from a binary (black/white) source image.
*
* <p>
* Signed distance fields are used in Team Fortress 2 by Valve to enable sharp rendering of bitmap fonts even at high
* magnifications, using nothing but alpha testing so at no extra runtime cost.
*
* <p>
* The technique is described in the SIGGRAPH 2007 paper "Improved Alpha-Tested Magnification for Vector Textures and Special
* Effects" by Chris Green: <a href="http://www.valvesoftware.com/publications/2007/SIGGRAPH2007_AlphaTestedMagnification.pdf">
* http://www.valvesoftware.com/publications/2007/SIGGRAPH2007_AlphaTestedMagnification.pdf </a>
*
* @author Thomas ten Cate */
public class DistanceFieldGenerator {
private Color color = Color.white;
private int downscale = 1;
private float spread = 1;
/** @see #setColor(Color) */
public Color getColor () {
return color;
}
/** Sets the color to be used for the output image. Its alpha component is ignored. Defaults to white, which is convenient for
* multiplying by a color value at runtime. */
public void setColor (Color color) {
this.color = color;
}
/** @see #setDownscale(int) */
public int getDownscale () {
return downscale;
}
/** Sets the factor by which to downscale the image during processing. The output image will be smaller than the input image by
* this factor, rounded downwards.
*
* <p>
* For greater accuracy, images to be used as input for a distance field are often generated at higher resolution.
*
* @param downscale a positive integer
* @throws IllegalArgumentException if downscale is not positive */
public void setDownscale (int downscale) {
if (downscale <= 0) throw new IllegalArgumentException("downscale must be positive");
this.downscale = downscale;
}
/** @see #setSpread(float) */
public float getSpread () {
return spread;
}
/** Sets the spread of the distance field. The spread is the maximum distance in pixels that we'll scan while for a nearby
* edge. The resulting distance is also normalized by the spread.
*
* @param spread a positive number
* @throws IllegalArgumentException if spread is not positive */
public void setSpread (float spread) {
if (spread <= 0) throw new IllegalArgumentException("spread must be positive");
this.spread = spread;
}
/** Caclulate the squared distance between two points
*
* @param x1 The x coordinate of the first point
* @param y1 The y coordiante of the first point
* @param x2 The x coordinate of the second point
* @param y2 The y coordinate of the second point
* @return The squared distance between the two points */
private static int squareDist (final int x1, final int y1, final int x2, final int y2) {
final int dx = x1 - x2;
final int dy = y1 - y2;
return dx * dx + dy * dy;
}
/** Process the image into a distance field.
*
* The input image should be binary (black/white), but if not, see {@link #isInside(int)}.
*
* The returned image is a factor of {@code upscale} smaller than {@code inImage}. Opaque pixels more than {@link #spread} away
* in the output image from white remain opaque; transparent pixels more than {@link #spread} away in the output image from
* black remain transparent. In between, we get a smooth transition from opaque to transparent, with an alpha value of 0.5 when
* we are exactly on the edge.
*
* @param inImage the image to process.
* @return the distance field image */
public BufferedImage generateDistanceField (BufferedImage inImage) {
final int inWidth = inImage.getWidth();
final int inHeight = inImage.getHeight();
final int outWidth = inWidth / downscale;
final int outHeight = inHeight / downscale;
final BufferedImage outImage = new BufferedImage(outWidth, outHeight, BufferedImage.TYPE_4BYTE_ABGR);
// Note: coordinates reversed to mimic storage of BufferedImage, for memory locality
final boolean[][] bitmap = new boolean[inHeight][inWidth];
for (int y = 0; y < inHeight; ++y) {
for (int x = 0; x < inWidth; ++x) {
bitmap[y][x] = isInside(inImage.getRGB(x, y));
}
}
for (int y = 0; y < outHeight; ++y) {
for (int x = 0; x < outWidth; ++x) {
int centerX = (x * downscale) + (downscale / 2);
int centerY = (y * downscale) + (downscale / 2);
float signedDistance = findSignedDistance(centerX, centerY, bitmap);
outImage.setRGB(x, y, distanceToRGB(signedDistance));
}
}
return outImage;
}
/** Returns {@code true} if the color is considered as the "inside" of the image, {@code false} if considered "outside".
*
* <p>
* Any color with one of its color channels at least 128 <em>and</em> its alpha channel at least 128 is considered "inside". */
private boolean isInside (int rgb) {
return (rgb & 0x808080) != 0 && (rgb & 0x80000000) != 0;
}
/** For a distance as returned by {@link #findSignedDistance}, returns the corresponding "RGB" (really ARGB) color value.
*
* @param signedDistance the signed distance of a pixel
* @return an ARGB color value suitable for {@link BufferedImage#setRGB}. */
private int distanceToRGB (float signedDistance) {
float alpha = 0.5f + 0.5f * (signedDistance / spread);
alpha = Math.min(1, Math.max(0, alpha)); // compensate for rounding errors
int alphaByte = (int)(alpha * 0xFF); // no unsigned byte in Java :(
return (alphaByte << 24) | (color.getRGB() & 0xFFFFFF);
}
/** Returns the signed distance for a given point.
*
* For points "inside", this is the distance to the closest "outside" pixel. For points "outside", this is the
* <em>negative</em> distance to the closest "inside" pixel. If no pixel of different color is found within a radius of
* {@code spread}, returns the {@code -spread} or {@code spread}, respectively.
*
* @param centerX the x coordinate of the center point
* @param centerY the y coordinate of the center point
* @param bitmap the array representation of an image, {@code true} representing "inside"
* @return the signed distance */
private float findSignedDistance (final int centerX, final int centerY, boolean[][] bitmap) {
final int width = bitmap[0].length;
final int height = bitmap.length;
final boolean base = bitmap[centerY][centerX];
final int delta = (int)Math.ceil(spread);
final int startX = Math.max(0, centerX - delta);
final int endX = Math.min(width - 1, centerX + delta);
final int startY = Math.max(0, centerY - delta);
final int endY = Math.min(height - 1, centerY + delta);
int closestSquareDist = delta * delta;
for (int y = startY; y <= endY; ++y) {
for (int x = startX; x <= endX; ++x) {
if (base != bitmap[y][x]) {
final int squareDist = squareDist(centerX, centerY, x, y);
if (squareDist < closestSquareDist) {
closestSquareDist = squareDist;
}
}
}
}
float closestDist = (float)Math.sqrt(closestSquareDist);
return (base ? 1 : -1) * Math.min(closestDist, spread);
}
/** Prints usage information to standard output. */
private static void usage () {
System.out.println("Generates a distance field image from a black and white input image.\n"
+ "The distance field image contains a solid color and stores the distance\n" + "in the alpha channel.\n" + "\n"
+ "The output file format is inferred from the file name.\n" + "\n"
+ "Command line arguments: INFILE OUTFILE [OPTION...]\n" + "\n" + "Possible options:\n"
+ " --color rrggbb color of output image (default: ffffff)\n"
+ " --downscale n downscale by factor of n (default: 1)\n"
+ " --spread n edge scan distance (default: 1)\n");
}
/** Thrown when the command line contained nonsense. */
private static class CommandLineArgumentException extends IllegalArgumentException {
public CommandLineArgumentException (String message) {
super(message);
}
}
/** Main function to run the generator as a standalone program. Run without arguments for usage instructions (or see
* {@link #usage()}).
*
* @param args command line arguments */
public static void main (String[] args) {
try {
run(args);
} catch (CommandLineArgumentException e) {
System.err.println("Error: " + e.getMessage() + "\n");
usage();
System.exit(1);
}
}
/** Runs the program.
* @param args command line arguments
* @throws CommandLineArgumentException if the command line contains an error */
private static void run (String[] args) {
DistanceFieldGenerator generator = new DistanceFieldGenerator();
String inputFile = null;
String outputFile = null;
int i = 0;
try {
for (; i < args.length; ++i) {
String arg = args[i];
if (arg.startsWith("-")) {
if ("--help".equals(arg)) {
usage();
System.exit(0);
} else if ("--color".equals(arg)) {
++i;
generator.setColor(new Color(Integer.parseInt(args[i], 16)));
} else if ("--downscale".equals(arg)) {
++i;
generator.setDownscale(Integer.parseInt(args[i]));
} else if ("--spread".equals(arg)) {
++i;
generator.setSpread(Float.parseFloat(args[i]));
} else {
throw new CommandLineArgumentException("unknown option " + arg);
}
} else {
if (inputFile == null) {
inputFile = arg;
} else if (outputFile == null) {
outputFile = arg;
} else {
throw new CommandLineArgumentException("exactly two file names are expected");
}
}
}
} catch (IndexOutOfBoundsException e) {
throw new CommandLineArgumentException("option " + args[args.length - 1] + " requires an argument");
} catch (NumberFormatException e) {
throw new CommandLineArgumentException(args[i] + " is not a number");
}
if (inputFile == null) {
throw new CommandLineArgumentException("no input file specified");
}
if (outputFile == null) {
throw new CommandLineArgumentException("no output file specified");
}
String outputFormat = outputFile.substring(outputFile.lastIndexOf('.') + 1);
boolean exists;
if (!ImageIO.getImageWritersByFormatName(outputFormat).hasNext()) {
throw new RuntimeException("No image writers found that can handle the format '" + outputFormat + "'");
}
BufferedImage input = null;
try {
input = ImageIO.read(new File(inputFile));
} catch (IOException e) {
System.err.println("Failed to load image: " + e.getMessage());
}
BufferedImage output = generator.generateDistanceField(input);
try {
ImageIO.write(output, outputFormat, new File(outputFile));
} catch (IOException e) {
System.err.println("Failed to write output image: " + e.getMessage());
}
}
}
| -1 |
libgdx/libgdx | 7,276 | Fixed scene2d.ui layout for fractional positions and sizes. | When "rounding" for UI layout, floor x/y and ceil width/height.
For example if a label has a fractional width like 123.4, rounding a Container's width gives 123 and the label won't fit.
Table already does this, so I'm pretty sure it's the right thing to do in all other layouts. If others can please check this doesn't negatively affect their apps, that would be great! | NathanSweet | "2023-11-10T17:05:20Z" | "2023-11-13T03:27:53Z" | 5368811323eb4ac9c9167a73fc6910e42fcb425d | 8e3b2ef2af2e1c1765b3441cb15cfbeddf4046fa | Fixed scene2d.ui layout for fractional positions and sizes.. When "rounding" for UI layout, floor x/y and ceil width/height.
For example if a label has a fractional width like 123.4, rounding a Container's width gives 123 and the label won't fit.
Table already does this, so I'm pretty sure it's the right thing to do in all other layouts. If others can please check this doesn't negatively affect their apps, that would be great! | ./tests/gdx-tests/src/com/badlogic/gdx/tests/CursorTest.java | /*******************************************************************************
* Copyright 2011 See AUTHORS file.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
******************************************************************************/
package com.badlogic.gdx.tests;
import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.graphics.Color;
import com.badlogic.gdx.graphics.Cursor;
import com.badlogic.gdx.graphics.Pixmap;
import com.badlogic.gdx.graphics.Pixmap.Format;
import com.badlogic.gdx.tests.utils.GdxTest;
import com.badlogic.gdx.utils.ScreenUtils;
/** Simple test case for mouse cursor change Switch between two cursors every frame, a third cursor is used when a mouse button is
* pressed
* @author haedri */
public class CursorTest extends GdxTest {
Cursor cursor1;
Cursor cursor2;
Cursor cursor3;
boolean cursorActive = false;
public void create () {
Pixmap pixmap1 = new Pixmap(Gdx.files.internal("data/bobargb8888-32x32.png"));
cursor1 = Gdx.graphics.newCursor(pixmap1, 16, 16);
Pixmap pixmap2 = new Pixmap(32, 32, Format.RGBA8888);
pixmap2.setColor(Color.RED);
pixmap2.fillCircle(16, 16, 8);
cursor2 = Gdx.graphics.newCursor(pixmap2, 16, 16);
Pixmap pixmap3 = new Pixmap(32, 32, Format.RGBA8888);
pixmap3.setColor(Color.BLUE);
pixmap3.fillCircle(16, 16, 8);
cursor3 = Gdx.graphics.newCursor(pixmap3, 16, 16);
}
public void render () {
// set the clear color and clear the screen.
ScreenUtils.clear(1, 1, 1, 1);
if (Gdx.input.isTouched()) {
Gdx.graphics.setCursor(cursor1);
} else {
cursorActive = !cursorActive;
if (cursorActive) {
Gdx.graphics.setCursor(cursor2);
} else {
Gdx.graphics.setCursor(cursor3);
}
}
}
}
| /*******************************************************************************
* Copyright 2011 See AUTHORS file.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
******************************************************************************/
package com.badlogic.gdx.tests;
import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.graphics.Color;
import com.badlogic.gdx.graphics.Cursor;
import com.badlogic.gdx.graphics.Pixmap;
import com.badlogic.gdx.graphics.Pixmap.Format;
import com.badlogic.gdx.tests.utils.GdxTest;
import com.badlogic.gdx.utils.ScreenUtils;
/** Simple test case for mouse cursor change Switch between two cursors every frame, a third cursor is used when a mouse button is
* pressed
* @author haedri */
public class CursorTest extends GdxTest {
Cursor cursor1;
Cursor cursor2;
Cursor cursor3;
boolean cursorActive = false;
public void create () {
Pixmap pixmap1 = new Pixmap(Gdx.files.internal("data/bobargb8888-32x32.png"));
cursor1 = Gdx.graphics.newCursor(pixmap1, 16, 16);
Pixmap pixmap2 = new Pixmap(32, 32, Format.RGBA8888);
pixmap2.setColor(Color.RED);
pixmap2.fillCircle(16, 16, 8);
cursor2 = Gdx.graphics.newCursor(pixmap2, 16, 16);
Pixmap pixmap3 = new Pixmap(32, 32, Format.RGBA8888);
pixmap3.setColor(Color.BLUE);
pixmap3.fillCircle(16, 16, 8);
cursor3 = Gdx.graphics.newCursor(pixmap3, 16, 16);
}
public void render () {
// set the clear color and clear the screen.
ScreenUtils.clear(1, 1, 1, 1);
if (Gdx.input.isTouched()) {
Gdx.graphics.setCursor(cursor1);
} else {
cursorActive = !cursorActive;
if (cursorActive) {
Gdx.graphics.setCursor(cursor2);
} else {
Gdx.graphics.setCursor(cursor3);
}
}
}
}
| -1 |
libgdx/libgdx | 7,276 | Fixed scene2d.ui layout for fractional positions and sizes. | When "rounding" for UI layout, floor x/y and ceil width/height.
For example if a label has a fractional width like 123.4, rounding a Container's width gives 123 and the label won't fit.
Table already does this, so I'm pretty sure it's the right thing to do in all other layouts. If others can please check this doesn't negatively affect their apps, that would be great! | NathanSweet | "2023-11-10T17:05:20Z" | "2023-11-13T03:27:53Z" | 5368811323eb4ac9c9167a73fc6910e42fcb425d | 8e3b2ef2af2e1c1765b3441cb15cfbeddf4046fa | Fixed scene2d.ui layout for fractional positions and sizes.. When "rounding" for UI layout, floor x/y and ceil width/height.
For example if a label has a fractional width like 123.4, rounding a Container's width gives 123 and the label won't fit.
Table already does this, so I'm pretty sure it's the right thing to do in all other layouts. If others can please check this doesn't negatively affect their apps, that would be great! | ./extensions/gdx-bullet/jni/swig-src/linearmath/com/badlogic/gdx/physics/bullet/linearmath/btIntSortPredicate.java | /* ----------------------------------------------------------------------------
* 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.linearmath;
import com.badlogic.gdx.physics.bullet.BulletBase;
public class btIntSortPredicate extends BulletBase {
private long swigCPtr;
protected btIntSortPredicate (final String className, long cPtr, boolean cMemoryOwn) {
super(className, cPtr, cMemoryOwn);
swigCPtr = cPtr;
}
/** Construct a new btIntSortPredicate, normally you should not need this constructor it's intended for low-level usage. */
public btIntSortPredicate (long cPtr, boolean cMemoryOwn) {
this("btIntSortPredicate", cPtr, cMemoryOwn);
construct();
}
@Override
protected void reset (long cPtr, boolean cMemoryOwn) {
if (!destroyed) destroy();
super.reset(swigCPtr = cPtr, cMemoryOwn);
}
public static long getCPtr (btIntSortPredicate 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;
LinearMathJNI.delete_btIntSortPredicate(swigCPtr);
}
swigCPtr = 0;
}
super.delete();
}
public boolean operatorFunctionCall (int a, int b) {
return LinearMathJNI.btIntSortPredicate_operatorFunctionCall(swigCPtr, this, a, b);
}
public btIntSortPredicate () {
this(LinearMathJNI.new_btIntSortPredicate(), true);
}
}
| /* ----------------------------------------------------------------------------
* 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.linearmath;
import com.badlogic.gdx.physics.bullet.BulletBase;
public class btIntSortPredicate extends BulletBase {
private long swigCPtr;
protected btIntSortPredicate (final String className, long cPtr, boolean cMemoryOwn) {
super(className, cPtr, cMemoryOwn);
swigCPtr = cPtr;
}
/** Construct a new btIntSortPredicate, normally you should not need this constructor it's intended for low-level usage. */
public btIntSortPredicate (long cPtr, boolean cMemoryOwn) {
this("btIntSortPredicate", cPtr, cMemoryOwn);
construct();
}
@Override
protected void reset (long cPtr, boolean cMemoryOwn) {
if (!destroyed) destroy();
super.reset(swigCPtr = cPtr, cMemoryOwn);
}
public static long getCPtr (btIntSortPredicate 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;
LinearMathJNI.delete_btIntSortPredicate(swigCPtr);
}
swigCPtr = 0;
}
super.delete();
}
public boolean operatorFunctionCall (int a, int b) {
return LinearMathJNI.btIntSortPredicate_operatorFunctionCall(swigCPtr, this, a, b);
}
public btIntSortPredicate () {
this(LinearMathJNI.new_btIntSortPredicate(), true);
}
}
| -1 |
libgdx/libgdx | 7,276 | Fixed scene2d.ui layout for fractional positions and sizes. | When "rounding" for UI layout, floor x/y and ceil width/height.
For example if a label has a fractional width like 123.4, rounding a Container's width gives 123 and the label won't fit.
Table already does this, so I'm pretty sure it's the right thing to do in all other layouts. If others can please check this doesn't negatively affect their apps, that would be great! | NathanSweet | "2023-11-10T17:05:20Z" | "2023-11-13T03:27:53Z" | 5368811323eb4ac9c9167a73fc6910e42fcb425d | 8e3b2ef2af2e1c1765b3441cb15cfbeddf4046fa | Fixed scene2d.ui layout for fractional positions and sizes.. When "rounding" for UI layout, floor x/y and ceil width/height.
For example if a label has a fractional width like 123.4, rounding a Container's width gives 123 and the label won't fit.
Table already does this, so I'm pretty sure it's the right thing to do in all other layouts. If others can please check this doesn't negatively affect their apps, that would be great! | ./backends/gdx-backends-gwt/src/com/badlogic/gdx/backends/gwt/emu/java/nio/IntArrayBuffer.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package java.nio;
/** IntArrayBuffer, ReadWriteIntArrayBuffer and ReadOnlyIntArrayBuffer compose the implementation of array based int buffers.
* <p>
* IntArrayBuffer implements all the shared readonly methods and is extended by the other two classes.
* </p>
* <p>
* All methods are marked final for runtime performance.
* </p>
*/
abstract class IntArrayBuffer extends IntBuffer {
protected final int[] backingArray;
protected final int offset;
IntArrayBuffer (int[] array) {
this(array.length, array, 0);
}
IntArrayBuffer (int capacity) {
this(capacity, new int[capacity], 0);
}
IntArrayBuffer (int capacity, int[] backingArray, int offset) {
super(capacity);
this.backingArray = backingArray;
this.offset = offset;
}
public final int get () {
if (position == limit) {
throw new BufferUnderflowException();
}
return backingArray[offset + position++];
}
public final int get (int index) {
if (index < 0 || index >= limit) {
throw new IndexOutOfBoundsException();
}
return backingArray[offset + index];
}
public final IntBuffer get (int[] dest, int off, int len) {
int length = dest.length;
if (off < 0 || len < 0 || (long)len + (long)off > length) {
throw new IndexOutOfBoundsException();
}
if (len > remaining()) {
throw new BufferUnderflowException();
}
System.arraycopy(backingArray, offset + position, dest, off, len);
position += len;
return this;
}
public final boolean isDirect () {
return false;
}
public final ByteOrder order () {
return ByteOrder.nativeOrder();
}
}
| /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package java.nio;
/** IntArrayBuffer, ReadWriteIntArrayBuffer and ReadOnlyIntArrayBuffer compose the implementation of array based int buffers.
* <p>
* IntArrayBuffer implements all the shared readonly methods and is extended by the other two classes.
* </p>
* <p>
* All methods are marked final for runtime performance.
* </p>
*/
abstract class IntArrayBuffer extends IntBuffer {
protected final int[] backingArray;
protected final int offset;
IntArrayBuffer (int[] array) {
this(array.length, array, 0);
}
IntArrayBuffer (int capacity) {
this(capacity, new int[capacity], 0);
}
IntArrayBuffer (int capacity, int[] backingArray, int offset) {
super(capacity);
this.backingArray = backingArray;
this.offset = offset;
}
public final int get () {
if (position == limit) {
throw new BufferUnderflowException();
}
return backingArray[offset + position++];
}
public final int get (int index) {
if (index < 0 || index >= limit) {
throw new IndexOutOfBoundsException();
}
return backingArray[offset + index];
}
public final IntBuffer get (int[] dest, int off, int len) {
int length = dest.length;
if (off < 0 || len < 0 || (long)len + (long)off > length) {
throw new IndexOutOfBoundsException();
}
if (len > remaining()) {
throw new BufferUnderflowException();
}
System.arraycopy(backingArray, offset + position, dest, off, len);
position += len;
return this;
}
public final boolean isDirect () {
return false;
}
public final ByteOrder order () {
return ByteOrder.nativeOrder();
}
}
| -1 |
libgdx/libgdx | 7,276 | Fixed scene2d.ui layout for fractional positions and sizes. | When "rounding" for UI layout, floor x/y and ceil width/height.
For example if a label has a fractional width like 123.4, rounding a Container's width gives 123 and the label won't fit.
Table already does this, so I'm pretty sure it's the right thing to do in all other layouts. If others can please check this doesn't negatively affect their apps, that would be great! | NathanSweet | "2023-11-10T17:05:20Z" | "2023-11-13T03:27:53Z" | 5368811323eb4ac9c9167a73fc6910e42fcb425d | 8e3b2ef2af2e1c1765b3441cb15cfbeddf4046fa | Fixed scene2d.ui layout for fractional positions and sizes.. When "rounding" for UI layout, floor x/y and ceil width/height.
For example if a label has a fractional width like 123.4, rounding a Container's width gives 123 and the label won't fit.
Table already does this, so I'm pretty sure it's the right thing to do in all other layouts. If others can please check this doesn't negatively affect their apps, that would be great! | ./tests/gdx-tests/src/com/badlogic/gdx/tests/SimpleDecalTest.java | /*******************************************************************************
* Copyright 2011 See AUTHORS file.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
******************************************************************************/
package com.badlogic.gdx.tests;
import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.graphics.FPSLogger;
import com.badlogic.gdx.graphics.GL20;
import com.badlogic.gdx.graphics.PerspectiveCamera;
import com.badlogic.gdx.graphics.Texture;
import com.badlogic.gdx.graphics.Color;
import com.badlogic.gdx.graphics.g2d.TextureRegion;
import com.badlogic.gdx.graphics.g3d.decals.CameraGroupStrategy;
import com.badlogic.gdx.graphics.g3d.decals.Decal;
import com.badlogic.gdx.graphics.g3d.decals.DecalBatch;
import com.badlogic.gdx.math.Vector3;
import com.badlogic.gdx.tests.utils.GdxTest;
import com.badlogic.gdx.tests.utils.PerspectiveCamController;
import com.badlogic.gdx.utils.Array;
import com.badlogic.gdx.utils.ScreenUtils;
public class SimpleDecalTest extends GdxTest {
private static final int NUM_DECALS = 3;
DecalBatch batch;
Array<Decal> decals = new Array<Decal>();
PerspectiveCamera camera;
PerspectiveCamController controller;
FPSLogger logger = new FPSLogger();
public void create () {
float width = Gdx.graphics.getWidth();
float height = Gdx.graphics.getHeight();
camera = new PerspectiveCamera(45, Gdx.graphics.getWidth(), Gdx.graphics.getHeight());
camera.near = 1;
camera.far = 300;
camera.position.set(0, 0, 5);
controller = new PerspectiveCamController(camera);
Gdx.input.setInputProcessor(controller);
batch = new DecalBatch(new CameraGroupStrategy(camera));
TextureRegion[] textures = {new TextureRegion(new Texture(Gdx.files.internal("data/egg.png"))),
new TextureRegion(new Texture(Gdx.files.internal("data/sys.png"))),
new TextureRegion(new Texture(Gdx.files.internal("data/badlogic.jpg")))};
Decal decal = Decal.newDecal(1, 1, textures[1]);
decal.setPosition(0, 0, 0);
decals.add(decal);
decal = Decal.newDecal(1, 1, textures[0], true);
decal.setPosition(0.5f, 0.5f, 1);
decals.add(decal);
decal = Decal.newDecal(1, 1, textures[0], true);
decal.setPosition(1, 1, -1);
decals.add(decal);
decal = Decal.newDecal(1, 1, textures[2]);
decal.setPosition(1.5f, 1.5f, -2);
decals.add(decal);
decal = Decal.newDecal(1, 1, textures[1]);
decal.setPosition(2, 2, -1.5f);
decals.add(decal);
}
Vector3 dir = new Vector3();
private boolean billboard = true;
public void render () {
ScreenUtils.clear(Color.DARK_GRAY, true);
Gdx.gl.glEnable(GL20.GL_DEPTH_TEST);
camera.update();
for (int i = 0; i < decals.size; i++) {
Decal decal = decals.get(i);
if (billboard) {
// billboarding for ortho cam :)
// dir.set(-camera.direction.x, -camera.direction.y, -camera.direction.z);
// decal.setRotation(dir, Vector3.Y);
// billboarding for perspective cam
decal.lookAt(camera.position, camera.up);
}
batch.add(decal);
}
batch.flush();
logger.log();
}
@Override
public void dispose () {
batch.dispose();
}
}
| /*******************************************************************************
* Copyright 2011 See AUTHORS file.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
******************************************************************************/
package com.badlogic.gdx.tests;
import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.graphics.FPSLogger;
import com.badlogic.gdx.graphics.GL20;
import com.badlogic.gdx.graphics.PerspectiveCamera;
import com.badlogic.gdx.graphics.Texture;
import com.badlogic.gdx.graphics.Color;
import com.badlogic.gdx.graphics.g2d.TextureRegion;
import com.badlogic.gdx.graphics.g3d.decals.CameraGroupStrategy;
import com.badlogic.gdx.graphics.g3d.decals.Decal;
import com.badlogic.gdx.graphics.g3d.decals.DecalBatch;
import com.badlogic.gdx.math.Vector3;
import com.badlogic.gdx.tests.utils.GdxTest;
import com.badlogic.gdx.tests.utils.PerspectiveCamController;
import com.badlogic.gdx.utils.Array;
import com.badlogic.gdx.utils.ScreenUtils;
public class SimpleDecalTest extends GdxTest {
private static final int NUM_DECALS = 3;
DecalBatch batch;
Array<Decal> decals = new Array<Decal>();
PerspectiveCamera camera;
PerspectiveCamController controller;
FPSLogger logger = new FPSLogger();
public void create () {
float width = Gdx.graphics.getWidth();
float height = Gdx.graphics.getHeight();
camera = new PerspectiveCamera(45, Gdx.graphics.getWidth(), Gdx.graphics.getHeight());
camera.near = 1;
camera.far = 300;
camera.position.set(0, 0, 5);
controller = new PerspectiveCamController(camera);
Gdx.input.setInputProcessor(controller);
batch = new DecalBatch(new CameraGroupStrategy(camera));
TextureRegion[] textures = {new TextureRegion(new Texture(Gdx.files.internal("data/egg.png"))),
new TextureRegion(new Texture(Gdx.files.internal("data/sys.png"))),
new TextureRegion(new Texture(Gdx.files.internal("data/badlogic.jpg")))};
Decal decal = Decal.newDecal(1, 1, textures[1]);
decal.setPosition(0, 0, 0);
decals.add(decal);
decal = Decal.newDecal(1, 1, textures[0], true);
decal.setPosition(0.5f, 0.5f, 1);
decals.add(decal);
decal = Decal.newDecal(1, 1, textures[0], true);
decal.setPosition(1, 1, -1);
decals.add(decal);
decal = Decal.newDecal(1, 1, textures[2]);
decal.setPosition(1.5f, 1.5f, -2);
decals.add(decal);
decal = Decal.newDecal(1, 1, textures[1]);
decal.setPosition(2, 2, -1.5f);
decals.add(decal);
}
Vector3 dir = new Vector3();
private boolean billboard = true;
public void render () {
ScreenUtils.clear(Color.DARK_GRAY, true);
Gdx.gl.glEnable(GL20.GL_DEPTH_TEST);
camera.update();
for (int i = 0; i < decals.size; i++) {
Decal decal = decals.get(i);
if (billboard) {
// billboarding for ortho cam :)
// dir.set(-camera.direction.x, -camera.direction.y, -camera.direction.z);
// decal.setRotation(dir, Vector3.Y);
// billboarding for perspective cam
decal.lookAt(camera.position, camera.up);
}
batch.add(decal);
}
batch.flush();
logger.log();
}
@Override
public void dispose () {
batch.dispose();
}
}
| -1 |
libgdx/libgdx | 7,276 | Fixed scene2d.ui layout for fractional positions and sizes. | When "rounding" for UI layout, floor x/y and ceil width/height.
For example if a label has a fractional width like 123.4, rounding a Container's width gives 123 and the label won't fit.
Table already does this, so I'm pretty sure it's the right thing to do in all other layouts. If others can please check this doesn't negatively affect their apps, that would be great! | NathanSweet | "2023-11-10T17:05:20Z" | "2023-11-13T03:27:53Z" | 5368811323eb4ac9c9167a73fc6910e42fcb425d | 8e3b2ef2af2e1c1765b3441cb15cfbeddf4046fa | Fixed scene2d.ui layout for fractional positions and sizes.. When "rounding" for UI layout, floor x/y and ceil width/height.
For example if a label has a fractional width like 123.4, rounding a Container's width gives 123 and the label won't fit.
Table already does this, so I'm pretty sure it's the right thing to do in all other layouts. If others can please check this doesn't negatively affect their apps, that would be great! | ./tests/gdx-tests/src/com/badlogic/gdx/tests/Gdx2DTest.java | /*******************************************************************************
* Copyright 2011 See AUTHORS file.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
******************************************************************************/
package com.badlogic.gdx.tests;
import java.util.ArrayList;
import java.util.List;
import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.graphics.Color;
import com.badlogic.gdx.graphics.GL20;
import com.badlogic.gdx.graphics.Pixmap.Format;
import com.badlogic.gdx.graphics.Texture;
import com.badlogic.gdx.graphics.g2d.Gdx2DPixmap;
import com.badlogic.gdx.graphics.g2d.Sprite;
import com.badlogic.gdx.graphics.g2d.SpriteBatch;
import com.badlogic.gdx.tests.utils.GdxTest;
import com.badlogic.gdx.utils.ScreenUtils;
public class Gdx2DTest extends GdxTest {
SpriteBatch batch;
List<Sprite> sprites;
Texture textureFromPixmap (Gdx2DPixmap pixmap) {
Texture texture = new Texture(pixmap.getWidth(), pixmap.getHeight(), Format.RGB565);
texture.bind();
Gdx.gl.glTexImage2D(GL20.GL_TEXTURE_2D, 0, pixmap.getGLInternalFormat(), pixmap.getWidth(), pixmap.getHeight(), 0,
pixmap.getGLFormat(), pixmap.getGLType(), pixmap.getPixels());
return texture;
}
void drawToPixmap (Gdx2DPixmap pixmap) {
pixmap.clear(Color.rgba8888(1, 0, 0, 0.1f));
pixmap.setPixel(16, 16, Color.rgba8888(0, 0, 1, 1));
int clearColor = 0;
int pixelColor = 0;
switch (pixmap.getFormat()) {
case Gdx2DPixmap.GDX2D_FORMAT_ALPHA:
clearColor = Color.rgba8888(1, 1, 1, 0.1f);
pixelColor = Color.rgba8888(1, 1, 1, 1);
break;
case Gdx2DPixmap.GDX2D_FORMAT_LUMINANCE_ALPHA:
clearColor = 0x36363619; // Color.rgba8888(1, 1, 1, 0.1f);
pixelColor = 0xffffff12;
break;
case Gdx2DPixmap.GDX2D_FORMAT_RGB565:
clearColor = Color.rgba8888(1, 0, 0, 1);
pixelColor = Color.rgba8888(0, 0, 1, 1);
break;
case Gdx2DPixmap.GDX2D_FORMAT_RGB888:
clearColor = Color.rgba8888(1, 0, 0, 1);
pixelColor = Color.rgba8888(0, 0, 1, 1);
break;
case Gdx2DPixmap.GDX2D_FORMAT_RGBA4444:
clearColor = 0xff000011;
pixelColor = Color.rgba8888(0, 0, 1, 1);
break;
case Gdx2DPixmap.GDX2D_FORMAT_RGBA8888:
clearColor = Color.rgba8888(1, 0, 0, 0.1f);
pixelColor = Color.rgba8888(0, 0, 1, 1);
}
if (pixmap.getPixel(15, 16) != clearColor) throw new RuntimeException("error clear: " + pixmap.getFormatString());
if (pixmap.getPixel(16, 16) != pixelColor) throw new RuntimeException("error pixel: " + pixmap.getFormatString());
pixmap.drawLine(0, 0, 31, 31, Color.rgba8888(1, 1, 1, 1));
pixmap.drawRect(10, 10, 5, 7, Color.rgba8888(1, 1, 0, 0.5f));
pixmap.fillRect(20, 10, 5, 7, Color.rgba8888(0, 1, 1, 0.5f));
pixmap.drawCircle(16, 16, 10, Color.rgba8888(1, 0, 1, 1));
pixmap.fillCircle(16, 16, 6, Color.rgba8888(0, 1, 0, 0.5f));
pixmap.fillTriangle(16, 16, 18, 18, 20, 14, Color.rgba8888(0, 0.5f, 0, 0.5f));
pixmap.drawLine(0, -1, 0, 0, Color.rgba8888(1, 1, 0, 1));
pixmap.drawLine(41, -10, 31, 0, Color.rgba8888(1, 1, 0, 1));
pixmap.drawLine(10, 41, 0, 31, Color.rgba8888(0, 1, 1, 1));
pixmap.drawLine(41, 41, 31, 31, Color.rgba8888(0, 1, 1, 1));
pixmap.drawRect(-10, -10, 20, 20, Color.rgba8888(0, 1, 1, 1));
pixmap.drawRect(21, -10, 20, 20, Color.rgba8888(0, 1, 1, 1));
pixmap.drawRect(-10, 21, 20, 20, Color.rgba8888(0, 1, 1, 1));
pixmap.drawRect(21, 21, 20, 20, Color.rgba8888(0, 1, 1, 1));
pixmap.fillRect(-10, -10, 20, 20, Color.rgba8888(0, 1, 1, 0.5f));
pixmap.fillRect(21, -10, 20, 20, Color.rgba8888(0, 1, 1, 0.5f));
pixmap.fillRect(-10, 21, 20, 20, Color.rgba8888(0, 1, 1, 0.5f));
pixmap.fillRect(21, 21, 20, 20, Color.rgba8888(0, 1, 1, 0.5f));
}
Gdx2DPixmap[] testPixmaps () {
int[] formats = {Gdx2DPixmap.GDX2D_FORMAT_ALPHA, Gdx2DPixmap.GDX2D_FORMAT_LUMINANCE_ALPHA, Gdx2DPixmap.GDX2D_FORMAT_RGB565,
Gdx2DPixmap.GDX2D_FORMAT_RGB888, Gdx2DPixmap.GDX2D_FORMAT_RGBA4444, Gdx2DPixmap.GDX2D_FORMAT_RGBA8888};
Gdx2DPixmap[] pixmaps = new Gdx2DPixmap[formats.length];
for (int i = 0; i < pixmaps.length; i++) {
Gdx2DPixmap pixmap = new Gdx2DPixmap(64, 32, formats[i]);
drawToPixmap(pixmap);
pixmaps[i] = pixmap;
}
return pixmaps;
}
@Override
public void create () {
batch = new SpriteBatch();
sprites = new ArrayList<Sprite>();
Gdx2DPixmap[] pixmaps = testPixmaps();
Gdx2DPixmap composite = new Gdx2DPixmap(512, 256, Gdx2DPixmap.GDX2D_FORMAT_RGBA8888);
composite.clear(0);
composite.setBlend(Gdx2DPixmap.GDX2D_BLEND_NONE);
for (int i = 0; i < pixmaps.length; i++) {
composite.setScale(Gdx2DPixmap.GDX2D_SCALE_NEAREST);
composite.drawPixmap(pixmaps[i], 0, 0, 32, 32, i * 64, 0, 64, 64);
composite.drawPixmap(pixmaps[i], 0, 0, 32, 32, i * 64, 64, 16, 16);
composite.drawPixmap(pixmaps[i], 0, 0, 32, 32, i * 64, 0, 64, 64);
composite.drawPixmap(pixmaps[i], 0, 0, 32, 32, i * 64, 64, 16, 16);
composite.setScale(Gdx2DPixmap.GDX2D_SCALE_LINEAR);
composite.drawPixmap(pixmaps[i], 0, 0, 32, 32, i * 64, 100, 64, 64);
composite.drawPixmap(pixmaps[i], 0, 0, 32, 32, i * 64, 164, 16, 16);
composite.drawPixmap(pixmaps[i], 0, 0, 32, 32, i * 64, 100, 64, 64);
composite.drawPixmap(pixmaps[i], 0, 0, 32, 32, i * 64, 164, 16, 16);
Sprite sprite = new Sprite(textureFromPixmap(pixmaps[i]));
sprite.setPosition(10 + i * 32, 10);
sprites.add(sprite);
}
Sprite sprite = new Sprite(textureFromPixmap(composite));
sprite.setPosition(10, 50);
sprites.add(sprite);
}
@Override
public void render () {
ScreenUtils.clear(0.2f, 0.2f, 0.2f, 1);
batch.begin();
for (int i = 0; i < sprites.size(); i++) {
sprites.get(i).draw(batch);
}
batch.end();
}
}
| /*******************************************************************************
* Copyright 2011 See AUTHORS file.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
******************************************************************************/
package com.badlogic.gdx.tests;
import java.util.ArrayList;
import java.util.List;
import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.graphics.Color;
import com.badlogic.gdx.graphics.GL20;
import com.badlogic.gdx.graphics.Pixmap.Format;
import com.badlogic.gdx.graphics.Texture;
import com.badlogic.gdx.graphics.g2d.Gdx2DPixmap;
import com.badlogic.gdx.graphics.g2d.Sprite;
import com.badlogic.gdx.graphics.g2d.SpriteBatch;
import com.badlogic.gdx.tests.utils.GdxTest;
import com.badlogic.gdx.utils.ScreenUtils;
public class Gdx2DTest extends GdxTest {
SpriteBatch batch;
List<Sprite> sprites;
Texture textureFromPixmap (Gdx2DPixmap pixmap) {
Texture texture = new Texture(pixmap.getWidth(), pixmap.getHeight(), Format.RGB565);
texture.bind();
Gdx.gl.glTexImage2D(GL20.GL_TEXTURE_2D, 0, pixmap.getGLInternalFormat(), pixmap.getWidth(), pixmap.getHeight(), 0,
pixmap.getGLFormat(), pixmap.getGLType(), pixmap.getPixels());
return texture;
}
void drawToPixmap (Gdx2DPixmap pixmap) {
pixmap.clear(Color.rgba8888(1, 0, 0, 0.1f));
pixmap.setPixel(16, 16, Color.rgba8888(0, 0, 1, 1));
int clearColor = 0;
int pixelColor = 0;
switch (pixmap.getFormat()) {
case Gdx2DPixmap.GDX2D_FORMAT_ALPHA:
clearColor = Color.rgba8888(1, 1, 1, 0.1f);
pixelColor = Color.rgba8888(1, 1, 1, 1);
break;
case Gdx2DPixmap.GDX2D_FORMAT_LUMINANCE_ALPHA:
clearColor = 0x36363619; // Color.rgba8888(1, 1, 1, 0.1f);
pixelColor = 0xffffff12;
break;
case Gdx2DPixmap.GDX2D_FORMAT_RGB565:
clearColor = Color.rgba8888(1, 0, 0, 1);
pixelColor = Color.rgba8888(0, 0, 1, 1);
break;
case Gdx2DPixmap.GDX2D_FORMAT_RGB888:
clearColor = Color.rgba8888(1, 0, 0, 1);
pixelColor = Color.rgba8888(0, 0, 1, 1);
break;
case Gdx2DPixmap.GDX2D_FORMAT_RGBA4444:
clearColor = 0xff000011;
pixelColor = Color.rgba8888(0, 0, 1, 1);
break;
case Gdx2DPixmap.GDX2D_FORMAT_RGBA8888:
clearColor = Color.rgba8888(1, 0, 0, 0.1f);
pixelColor = Color.rgba8888(0, 0, 1, 1);
}
if (pixmap.getPixel(15, 16) != clearColor) throw new RuntimeException("error clear: " + pixmap.getFormatString());
if (pixmap.getPixel(16, 16) != pixelColor) throw new RuntimeException("error pixel: " + pixmap.getFormatString());
pixmap.drawLine(0, 0, 31, 31, Color.rgba8888(1, 1, 1, 1));
pixmap.drawRect(10, 10, 5, 7, Color.rgba8888(1, 1, 0, 0.5f));
pixmap.fillRect(20, 10, 5, 7, Color.rgba8888(0, 1, 1, 0.5f));
pixmap.drawCircle(16, 16, 10, Color.rgba8888(1, 0, 1, 1));
pixmap.fillCircle(16, 16, 6, Color.rgba8888(0, 1, 0, 0.5f));
pixmap.fillTriangle(16, 16, 18, 18, 20, 14, Color.rgba8888(0, 0.5f, 0, 0.5f));
pixmap.drawLine(0, -1, 0, 0, Color.rgba8888(1, 1, 0, 1));
pixmap.drawLine(41, -10, 31, 0, Color.rgba8888(1, 1, 0, 1));
pixmap.drawLine(10, 41, 0, 31, Color.rgba8888(0, 1, 1, 1));
pixmap.drawLine(41, 41, 31, 31, Color.rgba8888(0, 1, 1, 1));
pixmap.drawRect(-10, -10, 20, 20, Color.rgba8888(0, 1, 1, 1));
pixmap.drawRect(21, -10, 20, 20, Color.rgba8888(0, 1, 1, 1));
pixmap.drawRect(-10, 21, 20, 20, Color.rgba8888(0, 1, 1, 1));
pixmap.drawRect(21, 21, 20, 20, Color.rgba8888(0, 1, 1, 1));
pixmap.fillRect(-10, -10, 20, 20, Color.rgba8888(0, 1, 1, 0.5f));
pixmap.fillRect(21, -10, 20, 20, Color.rgba8888(0, 1, 1, 0.5f));
pixmap.fillRect(-10, 21, 20, 20, Color.rgba8888(0, 1, 1, 0.5f));
pixmap.fillRect(21, 21, 20, 20, Color.rgba8888(0, 1, 1, 0.5f));
}
Gdx2DPixmap[] testPixmaps () {
int[] formats = {Gdx2DPixmap.GDX2D_FORMAT_ALPHA, Gdx2DPixmap.GDX2D_FORMAT_LUMINANCE_ALPHA, Gdx2DPixmap.GDX2D_FORMAT_RGB565,
Gdx2DPixmap.GDX2D_FORMAT_RGB888, Gdx2DPixmap.GDX2D_FORMAT_RGBA4444, Gdx2DPixmap.GDX2D_FORMAT_RGBA8888};
Gdx2DPixmap[] pixmaps = new Gdx2DPixmap[formats.length];
for (int i = 0; i < pixmaps.length; i++) {
Gdx2DPixmap pixmap = new Gdx2DPixmap(64, 32, formats[i]);
drawToPixmap(pixmap);
pixmaps[i] = pixmap;
}
return pixmaps;
}
@Override
public void create () {
batch = new SpriteBatch();
sprites = new ArrayList<Sprite>();
Gdx2DPixmap[] pixmaps = testPixmaps();
Gdx2DPixmap composite = new Gdx2DPixmap(512, 256, Gdx2DPixmap.GDX2D_FORMAT_RGBA8888);
composite.clear(0);
composite.setBlend(Gdx2DPixmap.GDX2D_BLEND_NONE);
for (int i = 0; i < pixmaps.length; i++) {
composite.setScale(Gdx2DPixmap.GDX2D_SCALE_NEAREST);
composite.drawPixmap(pixmaps[i], 0, 0, 32, 32, i * 64, 0, 64, 64);
composite.drawPixmap(pixmaps[i], 0, 0, 32, 32, i * 64, 64, 16, 16);
composite.drawPixmap(pixmaps[i], 0, 0, 32, 32, i * 64, 0, 64, 64);
composite.drawPixmap(pixmaps[i], 0, 0, 32, 32, i * 64, 64, 16, 16);
composite.setScale(Gdx2DPixmap.GDX2D_SCALE_LINEAR);
composite.drawPixmap(pixmaps[i], 0, 0, 32, 32, i * 64, 100, 64, 64);
composite.drawPixmap(pixmaps[i], 0, 0, 32, 32, i * 64, 164, 16, 16);
composite.drawPixmap(pixmaps[i], 0, 0, 32, 32, i * 64, 100, 64, 64);
composite.drawPixmap(pixmaps[i], 0, 0, 32, 32, i * 64, 164, 16, 16);
Sprite sprite = new Sprite(textureFromPixmap(pixmaps[i]));
sprite.setPosition(10 + i * 32, 10);
sprites.add(sprite);
}
Sprite sprite = new Sprite(textureFromPixmap(composite));
sprite.setPosition(10, 50);
sprites.add(sprite);
}
@Override
public void render () {
ScreenUtils.clear(0.2f, 0.2f, 0.2f, 1);
batch.begin();
for (int i = 0; i < sprites.size(); i++) {
sprites.get(i).draw(batch);
}
batch.end();
}
}
| -1 |
libgdx/libgdx | 7,276 | Fixed scene2d.ui layout for fractional positions and sizes. | When "rounding" for UI layout, floor x/y and ceil width/height.
For example if a label has a fractional width like 123.4, rounding a Container's width gives 123 and the label won't fit.
Table already does this, so I'm pretty sure it's the right thing to do in all other layouts. If others can please check this doesn't negatively affect their apps, that would be great! | NathanSweet | "2023-11-10T17:05:20Z" | "2023-11-13T03:27:53Z" | 5368811323eb4ac9c9167a73fc6910e42fcb425d | 8e3b2ef2af2e1c1765b3441cb15cfbeddf4046fa | Fixed scene2d.ui layout for fractional positions and sizes.. When "rounding" for UI layout, floor x/y and ceil width/height.
For example if a label has a fractional width like 123.4, rounding a Container's width gives 123 and the label won't fit.
Table already does this, so I'm pretty sure it's the right thing to do in all other layouts. If others can please check this doesn't negatively affect their apps, that would be great! | ./extensions/gdx-bullet/jni/swig-src/collision/com/badlogic/gdx/physics/bullet/collision/btGimBvhDataArray.java | /* ----------------------------------------------------------------------------
* 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.collision;
import com.badlogic.gdx.physics.bullet.BulletBase;
import com.badlogic.gdx.physics.bullet.linearmath.*;
public class btGimBvhDataArray extends BulletBase {
private long swigCPtr;
protected btGimBvhDataArray (final String className, long cPtr, boolean cMemoryOwn) {
super(className, cPtr, cMemoryOwn);
swigCPtr = cPtr;
}
/** Construct a new btGimBvhDataArray, normally you should not need this constructor it's intended for low-level usage. */
public btGimBvhDataArray (long cPtr, boolean cMemoryOwn) {
this("btGimBvhDataArray", cPtr, cMemoryOwn);
construct();
}
@Override
protected void reset (long cPtr, boolean cMemoryOwn) {
if (!destroyed) destroy();
super.reset(swigCPtr = cPtr, cMemoryOwn);
}
public static long getCPtr (btGimBvhDataArray 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;
CollisionJNI.delete_btGimBvhDataArray(swigCPtr);
}
swigCPtr = 0;
}
super.delete();
}
public btGimBvhDataArray operatorAssignment (btGimBvhDataArray other) {
return new btGimBvhDataArray(
CollisionJNI.btGimBvhDataArray_operatorAssignment(swigCPtr, this, btGimBvhDataArray.getCPtr(other), other), false);
}
public btGimBvhDataArray () {
this(CollisionJNI.new_btGimBvhDataArray__SWIG_0(), true);
}
public btGimBvhDataArray (btGimBvhDataArray otherArray) {
this(CollisionJNI.new_btGimBvhDataArray__SWIG_1(btGimBvhDataArray.getCPtr(otherArray), otherArray), true);
}
public int size () {
return CollisionJNI.btGimBvhDataArray_size(swigCPtr, this);
}
public GIM_BVH_DATA atConst (int n) {
return new GIM_BVH_DATA(CollisionJNI.btGimBvhDataArray_atConst(swigCPtr, this, n), false);
}
public GIM_BVH_DATA at (int n) {
return new GIM_BVH_DATA(CollisionJNI.btGimBvhDataArray_at(swigCPtr, this, n), false);
}
public GIM_BVH_DATA operatorSubscriptConst (int n) {
return new GIM_BVH_DATA(CollisionJNI.btGimBvhDataArray_operatorSubscriptConst(swigCPtr, this, n), false);
}
public GIM_BVH_DATA operatorSubscript (int n) {
return new GIM_BVH_DATA(CollisionJNI.btGimBvhDataArray_operatorSubscript(swigCPtr, this, n), false);
}
public void clear () {
CollisionJNI.btGimBvhDataArray_clear(swigCPtr, this);
}
public void pop_back () {
CollisionJNI.btGimBvhDataArray_pop_back(swigCPtr, this);
}
public void resizeNoInitialize (int newsize) {
CollisionJNI.btGimBvhDataArray_resizeNoInitialize(swigCPtr, this, newsize);
}
public void resize (int newsize, GIM_BVH_DATA fillData) {
CollisionJNI.btGimBvhDataArray_resize__SWIG_0(swigCPtr, this, newsize, GIM_BVH_DATA.getCPtr(fillData), fillData);
}
public void resize (int newsize) {
CollisionJNI.btGimBvhDataArray_resize__SWIG_1(swigCPtr, this, newsize);
}
public GIM_BVH_DATA expandNonInitializing () {
return new GIM_BVH_DATA(CollisionJNI.btGimBvhDataArray_expandNonInitializing(swigCPtr, this), false);
}
public GIM_BVH_DATA expand (GIM_BVH_DATA fillValue) {
return new GIM_BVH_DATA(
CollisionJNI.btGimBvhDataArray_expand__SWIG_0(swigCPtr, this, GIM_BVH_DATA.getCPtr(fillValue), fillValue), false);
}
public GIM_BVH_DATA expand () {
return new GIM_BVH_DATA(CollisionJNI.btGimBvhDataArray_expand__SWIG_1(swigCPtr, this), false);
}
public void push_back (GIM_BVH_DATA _Val) {
CollisionJNI.btGimBvhDataArray_push_back(swigCPtr, this, GIM_BVH_DATA.getCPtr(_Val), _Val);
}
public int capacity () {
return CollisionJNI.btGimBvhDataArray_capacity(swigCPtr, this);
}
public void reserve (int _Count) {
CollisionJNI.btGimBvhDataArray_reserve(swigCPtr, this, _Count);
}
static public class less extends BulletBase {
private long swigCPtr;
protected less (final String className, long cPtr, boolean cMemoryOwn) {
super(className, cPtr, cMemoryOwn);
swigCPtr = cPtr;
}
/** Construct a new less, normally you should not need this constructor it's intended for low-level usage. */
public less (long cPtr, boolean cMemoryOwn) {
this("less", cPtr, cMemoryOwn);
construct();
}
@Override
protected void reset (long cPtr, boolean cMemoryOwn) {
if (!destroyed) destroy();
super.reset(swigCPtr = cPtr, cMemoryOwn);
}
public static long getCPtr (less 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;
CollisionJNI.delete_btGimBvhDataArray_less(swigCPtr);
}
swigCPtr = 0;
}
super.delete();
}
public less () {
this(CollisionJNI.new_btGimBvhDataArray_less(), true);
}
}
public void swap (int index0, int index1) {
CollisionJNI.btGimBvhDataArray_swap(swigCPtr, this, index0, index1);
}
public void removeAtIndex (int index) {
CollisionJNI.btGimBvhDataArray_removeAtIndex(swigCPtr, this, index);
}
public void initializeFromBuffer (long buffer, int size, int capacity) {
CollisionJNI.btGimBvhDataArray_initializeFromBuffer(swigCPtr, this, buffer, size, capacity);
}
public void copyFromArray (btGimBvhDataArray otherArray) {
CollisionJNI.btGimBvhDataArray_copyFromArray(swigCPtr, this, btGimBvhDataArray.getCPtr(otherArray), otherArray);
}
}
| /* ----------------------------------------------------------------------------
* 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.collision;
import com.badlogic.gdx.physics.bullet.BulletBase;
import com.badlogic.gdx.physics.bullet.linearmath.*;
public class btGimBvhDataArray extends BulletBase {
private long swigCPtr;
protected btGimBvhDataArray (final String className, long cPtr, boolean cMemoryOwn) {
super(className, cPtr, cMemoryOwn);
swigCPtr = cPtr;
}
/** Construct a new btGimBvhDataArray, normally you should not need this constructor it's intended for low-level usage. */
public btGimBvhDataArray (long cPtr, boolean cMemoryOwn) {
this("btGimBvhDataArray", cPtr, cMemoryOwn);
construct();
}
@Override
protected void reset (long cPtr, boolean cMemoryOwn) {
if (!destroyed) destroy();
super.reset(swigCPtr = cPtr, cMemoryOwn);
}
public static long getCPtr (btGimBvhDataArray 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;
CollisionJNI.delete_btGimBvhDataArray(swigCPtr);
}
swigCPtr = 0;
}
super.delete();
}
public btGimBvhDataArray operatorAssignment (btGimBvhDataArray other) {
return new btGimBvhDataArray(
CollisionJNI.btGimBvhDataArray_operatorAssignment(swigCPtr, this, btGimBvhDataArray.getCPtr(other), other), false);
}
public btGimBvhDataArray () {
this(CollisionJNI.new_btGimBvhDataArray__SWIG_0(), true);
}
public btGimBvhDataArray (btGimBvhDataArray otherArray) {
this(CollisionJNI.new_btGimBvhDataArray__SWIG_1(btGimBvhDataArray.getCPtr(otherArray), otherArray), true);
}
public int size () {
return CollisionJNI.btGimBvhDataArray_size(swigCPtr, this);
}
public GIM_BVH_DATA atConst (int n) {
return new GIM_BVH_DATA(CollisionJNI.btGimBvhDataArray_atConst(swigCPtr, this, n), false);
}
public GIM_BVH_DATA at (int n) {
return new GIM_BVH_DATA(CollisionJNI.btGimBvhDataArray_at(swigCPtr, this, n), false);
}
public GIM_BVH_DATA operatorSubscriptConst (int n) {
return new GIM_BVH_DATA(CollisionJNI.btGimBvhDataArray_operatorSubscriptConst(swigCPtr, this, n), false);
}
public GIM_BVH_DATA operatorSubscript (int n) {
return new GIM_BVH_DATA(CollisionJNI.btGimBvhDataArray_operatorSubscript(swigCPtr, this, n), false);
}
public void clear () {
CollisionJNI.btGimBvhDataArray_clear(swigCPtr, this);
}
public void pop_back () {
CollisionJNI.btGimBvhDataArray_pop_back(swigCPtr, this);
}
public void resizeNoInitialize (int newsize) {
CollisionJNI.btGimBvhDataArray_resizeNoInitialize(swigCPtr, this, newsize);
}
public void resize (int newsize, GIM_BVH_DATA fillData) {
CollisionJNI.btGimBvhDataArray_resize__SWIG_0(swigCPtr, this, newsize, GIM_BVH_DATA.getCPtr(fillData), fillData);
}
public void resize (int newsize) {
CollisionJNI.btGimBvhDataArray_resize__SWIG_1(swigCPtr, this, newsize);
}
public GIM_BVH_DATA expandNonInitializing () {
return new GIM_BVH_DATA(CollisionJNI.btGimBvhDataArray_expandNonInitializing(swigCPtr, this), false);
}
public GIM_BVH_DATA expand (GIM_BVH_DATA fillValue) {
return new GIM_BVH_DATA(
CollisionJNI.btGimBvhDataArray_expand__SWIG_0(swigCPtr, this, GIM_BVH_DATA.getCPtr(fillValue), fillValue), false);
}
public GIM_BVH_DATA expand () {
return new GIM_BVH_DATA(CollisionJNI.btGimBvhDataArray_expand__SWIG_1(swigCPtr, this), false);
}
public void push_back (GIM_BVH_DATA _Val) {
CollisionJNI.btGimBvhDataArray_push_back(swigCPtr, this, GIM_BVH_DATA.getCPtr(_Val), _Val);
}
public int capacity () {
return CollisionJNI.btGimBvhDataArray_capacity(swigCPtr, this);
}
public void reserve (int _Count) {
CollisionJNI.btGimBvhDataArray_reserve(swigCPtr, this, _Count);
}
static public class less extends BulletBase {
private long swigCPtr;
protected less (final String className, long cPtr, boolean cMemoryOwn) {
super(className, cPtr, cMemoryOwn);
swigCPtr = cPtr;
}
/** Construct a new less, normally you should not need this constructor it's intended for low-level usage. */
public less (long cPtr, boolean cMemoryOwn) {
this("less", cPtr, cMemoryOwn);
construct();
}
@Override
protected void reset (long cPtr, boolean cMemoryOwn) {
if (!destroyed) destroy();
super.reset(swigCPtr = cPtr, cMemoryOwn);
}
public static long getCPtr (less 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;
CollisionJNI.delete_btGimBvhDataArray_less(swigCPtr);
}
swigCPtr = 0;
}
super.delete();
}
public less () {
this(CollisionJNI.new_btGimBvhDataArray_less(), true);
}
}
public void swap (int index0, int index1) {
CollisionJNI.btGimBvhDataArray_swap(swigCPtr, this, index0, index1);
}
public void removeAtIndex (int index) {
CollisionJNI.btGimBvhDataArray_removeAtIndex(swigCPtr, this, index);
}
public void initializeFromBuffer (long buffer, int size, int capacity) {
CollisionJNI.btGimBvhDataArray_initializeFromBuffer(swigCPtr, this, buffer, size, capacity);
}
public void copyFromArray (btGimBvhDataArray otherArray) {
CollisionJNI.btGimBvhDataArray_copyFromArray(swigCPtr, this, btGimBvhDataArray.getCPtr(otherArray), otherArray);
}
}
| -1 |
libgdx/libgdx | 7,276 | Fixed scene2d.ui layout for fractional positions and sizes. | When "rounding" for UI layout, floor x/y and ceil width/height.
For example if a label has a fractional width like 123.4, rounding a Container's width gives 123 and the label won't fit.
Table already does this, so I'm pretty sure it's the right thing to do in all other layouts. If others can please check this doesn't negatively affect their apps, that would be great! | NathanSweet | "2023-11-10T17:05:20Z" | "2023-11-13T03:27:53Z" | 5368811323eb4ac9c9167a73fc6910e42fcb425d | 8e3b2ef2af2e1c1765b3441cb15cfbeddf4046fa | Fixed scene2d.ui layout for fractional positions and sizes.. When "rounding" for UI layout, floor x/y and ceil width/height.
For example if a label has a fractional width like 123.4, rounding a Container's width gives 123 and the label won't fit.
Table already does this, so I'm pretty sure it's the right thing to do in all other layouts. If others can please check this doesn't negatively affect their apps, that would be great! | ./extensions/gdx-setup/res/com/badlogic/gdx/setup/resources/ios/Info.plist.xml | <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>en</string>
<key>CFBundleDisplayName</key>
<string>${app.name}</string>
<key>CFBundleExecutable</key>
<string>${app.executable}</string>
<key>CFBundleIdentifier</key>
<string>${app.id}</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>${app.name}</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>${app.version}</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>${app.build}</string>
<key>LSRequiresIPhoneOS</key>
<true/>
<key>UIViewControllerBasedStatusBarAppearance</key>
<false/>
<key>UIStatusBarHidden</key>
<true/>
<key>MinimumOSVersion</key>
<string>11.0</string>
<key>UIDeviceFamily</key>
<array>
<integer>1</integer>
<integer>2</integer>
</array>
<key>UIRequiredDeviceCapabilities</key>
<array>
<string>opengles-2</string>
</array>
<key>UISupportedInterfaceOrientations</key>
<array>
<string>UIInterfaceOrientationPortrait</string>
<string>UIInterfaceOrientationPortraitUpsideDown</string>
<string>UIInterfaceOrientationLandscapeLeft</string>
<string>UIInterfaceOrientationLandscapeRight</string>
</array>
<key>UILaunchStoryboardName</key>
<string>LaunchScreen</string>
<key>CFBundleIconName</key>
<string>AppIcon</string>
</dict>
</plist>
| <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>en</string>
<key>CFBundleDisplayName</key>
<string>${app.name}</string>
<key>CFBundleExecutable</key>
<string>${app.executable}</string>
<key>CFBundleIdentifier</key>
<string>${app.id}</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>${app.name}</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>${app.version}</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>${app.build}</string>
<key>LSRequiresIPhoneOS</key>
<true/>
<key>UIViewControllerBasedStatusBarAppearance</key>
<false/>
<key>UIStatusBarHidden</key>
<true/>
<key>MinimumOSVersion</key>
<string>11.0</string>
<key>UIDeviceFamily</key>
<array>
<integer>1</integer>
<integer>2</integer>
</array>
<key>UIRequiredDeviceCapabilities</key>
<array>
<string>opengles-2</string>
</array>
<key>UISupportedInterfaceOrientations</key>
<array>
<string>UIInterfaceOrientationPortrait</string>
<string>UIInterfaceOrientationPortraitUpsideDown</string>
<string>UIInterfaceOrientationLandscapeLeft</string>
<string>UIInterfaceOrientationLandscapeRight</string>
</array>
<key>UILaunchStoryboardName</key>
<string>LaunchScreen</string>
<key>CFBundleIconName</key>
<string>AppIcon</string>
</dict>
</plist>
| -1 |
libgdx/libgdx | 7,276 | Fixed scene2d.ui layout for fractional positions and sizes. | When "rounding" for UI layout, floor x/y and ceil width/height.
For example if a label has a fractional width like 123.4, rounding a Container's width gives 123 and the label won't fit.
Table already does this, so I'm pretty sure it's the right thing to do in all other layouts. If others can please check this doesn't negatively affect their apps, that would be great! | NathanSweet | "2023-11-10T17:05:20Z" | "2023-11-13T03:27:53Z" | 5368811323eb4ac9c9167a73fc6910e42fcb425d | 8e3b2ef2af2e1c1765b3441cb15cfbeddf4046fa | Fixed scene2d.ui layout for fractional positions and sizes.. When "rounding" for UI layout, floor x/y and ceil width/height.
For example if a label has a fractional width like 123.4, rounding a Container's width gives 123 and the label won't fit.
Table already does this, so I'm pretty sure it's the right thing to do in all other layouts. If others can please check this doesn't negatively affect their apps, that would be great! | ./extensions/gdx-bullet/jni/swig-src/collision/com/badlogic/gdx/physics/bullet/collision/btSphereSphereCollisionAlgorithm.java | /* ----------------------------------------------------------------------------
* 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.collision;
import com.badlogic.gdx.physics.bullet.linearmath.*;
public class btSphereSphereCollisionAlgorithm extends btActivatingCollisionAlgorithm {
private long swigCPtr;
protected btSphereSphereCollisionAlgorithm (final String className, long cPtr, boolean cMemoryOwn) {
super(className, CollisionJNI.btSphereSphereCollisionAlgorithm_SWIGUpcast(cPtr), cMemoryOwn);
swigCPtr = cPtr;
}
/** Construct a new btSphereSphereCollisionAlgorithm, normally you should not need this constructor it's intended for low-level
* usage. */
public btSphereSphereCollisionAlgorithm (long cPtr, boolean cMemoryOwn) {
this("btSphereSphereCollisionAlgorithm", cPtr, cMemoryOwn);
construct();
}
@Override
protected void reset (long cPtr, boolean cMemoryOwn) {
if (!destroyed) destroy();
super.reset(CollisionJNI.btSphereSphereCollisionAlgorithm_SWIGUpcast(swigCPtr = cPtr), cMemoryOwn);
}
public static long getCPtr (btSphereSphereCollisionAlgorithm 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;
CollisionJNI.delete_btSphereSphereCollisionAlgorithm(swigCPtr);
}
swigCPtr = 0;
}
super.delete();
}
public btSphereSphereCollisionAlgorithm (btPersistentManifold mf, btCollisionAlgorithmConstructionInfo ci,
btCollisionObjectWrapper col0Wrap, btCollisionObjectWrapper col1Wrap) {
this(CollisionJNI.new_btSphereSphereCollisionAlgorithm__SWIG_0(btPersistentManifold.getCPtr(mf), mf,
btCollisionAlgorithmConstructionInfo.getCPtr(ci), ci, btCollisionObjectWrapper.getCPtr(col0Wrap), col0Wrap,
btCollisionObjectWrapper.getCPtr(col1Wrap), col1Wrap), true);
}
public btSphereSphereCollisionAlgorithm (btCollisionAlgorithmConstructionInfo ci) {
this(CollisionJNI.new_btSphereSphereCollisionAlgorithm__SWIG_1(btCollisionAlgorithmConstructionInfo.getCPtr(ci), ci), true);
}
static public class CreateFunc extends btCollisionAlgorithmCreateFunc {
private long swigCPtr;
protected CreateFunc (final String className, long cPtr, boolean cMemoryOwn) {
super(className, CollisionJNI.btSphereSphereCollisionAlgorithm_CreateFunc_SWIGUpcast(cPtr), cMemoryOwn);
swigCPtr = cPtr;
}
/** Construct a new CreateFunc, normally you should not need this constructor it's intended for low-level usage. */
public CreateFunc (long cPtr, boolean cMemoryOwn) {
this("CreateFunc", cPtr, cMemoryOwn);
construct();
}
@Override
protected void reset (long cPtr, boolean cMemoryOwn) {
if (!destroyed) destroy();
super.reset(CollisionJNI.btSphereSphereCollisionAlgorithm_CreateFunc_SWIGUpcast(swigCPtr = cPtr), cMemoryOwn);
}
public static long getCPtr (CreateFunc 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;
CollisionJNI.delete_btSphereSphereCollisionAlgorithm_CreateFunc(swigCPtr);
}
swigCPtr = 0;
}
super.delete();
}
public CreateFunc () {
this(CollisionJNI.new_btSphereSphereCollisionAlgorithm_CreateFunc(), true);
}
}
}
| /* ----------------------------------------------------------------------------
* 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.collision;
import com.badlogic.gdx.physics.bullet.linearmath.*;
public class btSphereSphereCollisionAlgorithm extends btActivatingCollisionAlgorithm {
private long swigCPtr;
protected btSphereSphereCollisionAlgorithm (final String className, long cPtr, boolean cMemoryOwn) {
super(className, CollisionJNI.btSphereSphereCollisionAlgorithm_SWIGUpcast(cPtr), cMemoryOwn);
swigCPtr = cPtr;
}
/** Construct a new btSphereSphereCollisionAlgorithm, normally you should not need this constructor it's intended for low-level
* usage. */
public btSphereSphereCollisionAlgorithm (long cPtr, boolean cMemoryOwn) {
this("btSphereSphereCollisionAlgorithm", cPtr, cMemoryOwn);
construct();
}
@Override
protected void reset (long cPtr, boolean cMemoryOwn) {
if (!destroyed) destroy();
super.reset(CollisionJNI.btSphereSphereCollisionAlgorithm_SWIGUpcast(swigCPtr = cPtr), cMemoryOwn);
}
public static long getCPtr (btSphereSphereCollisionAlgorithm 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;
CollisionJNI.delete_btSphereSphereCollisionAlgorithm(swigCPtr);
}
swigCPtr = 0;
}
super.delete();
}
public btSphereSphereCollisionAlgorithm (btPersistentManifold mf, btCollisionAlgorithmConstructionInfo ci,
btCollisionObjectWrapper col0Wrap, btCollisionObjectWrapper col1Wrap) {
this(CollisionJNI.new_btSphereSphereCollisionAlgorithm__SWIG_0(btPersistentManifold.getCPtr(mf), mf,
btCollisionAlgorithmConstructionInfo.getCPtr(ci), ci, btCollisionObjectWrapper.getCPtr(col0Wrap), col0Wrap,
btCollisionObjectWrapper.getCPtr(col1Wrap), col1Wrap), true);
}
public btSphereSphereCollisionAlgorithm (btCollisionAlgorithmConstructionInfo ci) {
this(CollisionJNI.new_btSphereSphereCollisionAlgorithm__SWIG_1(btCollisionAlgorithmConstructionInfo.getCPtr(ci), ci), true);
}
static public class CreateFunc extends btCollisionAlgorithmCreateFunc {
private long swigCPtr;
protected CreateFunc (final String className, long cPtr, boolean cMemoryOwn) {
super(className, CollisionJNI.btSphereSphereCollisionAlgorithm_CreateFunc_SWIGUpcast(cPtr), cMemoryOwn);
swigCPtr = cPtr;
}
/** Construct a new CreateFunc, normally you should not need this constructor it's intended for low-level usage. */
public CreateFunc (long cPtr, boolean cMemoryOwn) {
this("CreateFunc", cPtr, cMemoryOwn);
construct();
}
@Override
protected void reset (long cPtr, boolean cMemoryOwn) {
if (!destroyed) destroy();
super.reset(CollisionJNI.btSphereSphereCollisionAlgorithm_CreateFunc_SWIGUpcast(swigCPtr = cPtr), cMemoryOwn);
}
public static long getCPtr (CreateFunc 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;
CollisionJNI.delete_btSphereSphereCollisionAlgorithm_CreateFunc(swigCPtr);
}
swigCPtr = 0;
}
super.delete();
}
public CreateFunc () {
this(CollisionJNI.new_btSphereSphereCollisionAlgorithm_CreateFunc(), true);
}
}
}
| -1 |
libgdx/libgdx | 7,276 | Fixed scene2d.ui layout for fractional positions and sizes. | When "rounding" for UI layout, floor x/y and ceil width/height.
For example if a label has a fractional width like 123.4, rounding a Container's width gives 123 and the label won't fit.
Table already does this, so I'm pretty sure it's the right thing to do in all other layouts. If others can please check this doesn't negatively affect their apps, that would be great! | NathanSweet | "2023-11-10T17:05:20Z" | "2023-11-13T03:27:53Z" | 5368811323eb4ac9c9167a73fc6910e42fcb425d | 8e3b2ef2af2e1c1765b3441cb15cfbeddf4046fa | Fixed scene2d.ui layout for fractional positions and sizes.. When "rounding" for UI layout, floor x/y and ceil width/height.
For example if a label has a fractional width like 123.4, rounding a Container's width gives 123 and the label won't fit.
Table already does this, so I'm pretty sure it's the right thing to do in all other layouts. If others can please check this doesn't negatively affect their apps, that would be great! | ./gdx/src/com/badlogic/gdx/graphics/g3d/RenderableProvider.java | /*******************************************************************************
* Copyright 2011 See AUTHORS file.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
******************************************************************************/
package com.badlogic.gdx.graphics.g3d;
import com.badlogic.gdx.utils.Array;
import com.badlogic.gdx.utils.Pool;
/** Returns a list of {@link Renderable} instances to be rendered by a {@link ModelBatch}.
* @author badlogic */
public interface RenderableProvider {
/** Returns {@link Renderable} instances. Renderables are obtained from the provided {@link Pool} and added to the provided
* array. The Renderables obtained using {@link Pool#obtain()} will later be put back into the pool, do not store them
* internally. The resulting array can be rendered via a {@link ModelBatch}.
* @param renderables the output array
* @param pool the pool to obtain Renderables from */
public void getRenderables (Array<Renderable> renderables, Pool<Renderable> pool);
}
| /*******************************************************************************
* Copyright 2011 See AUTHORS file.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
******************************************************************************/
package com.badlogic.gdx.graphics.g3d;
import com.badlogic.gdx.utils.Array;
import com.badlogic.gdx.utils.Pool;
/** Returns a list of {@link Renderable} instances to be rendered by a {@link ModelBatch}.
* @author badlogic */
public interface RenderableProvider {
/** Returns {@link Renderable} instances. Renderables are obtained from the provided {@link Pool} and added to the provided
* array. The Renderables obtained using {@link Pool#obtain()} will later be put back into the pool, do not store them
* internally. The resulting array can be rendered via a {@link ModelBatch}.
* @param renderables the output array
* @param pool the pool to obtain Renderables from */
public void getRenderables (Array<Renderable> renderables, Pool<Renderable> pool);
}
| -1 |
libgdx/libgdx | 7,276 | Fixed scene2d.ui layout for fractional positions and sizes. | When "rounding" for UI layout, floor x/y and ceil width/height.
For example if a label has a fractional width like 123.4, rounding a Container's width gives 123 and the label won't fit.
Table already does this, so I'm pretty sure it's the right thing to do in all other layouts. If others can please check this doesn't negatively affect their apps, that would be great! | NathanSweet | "2023-11-10T17:05:20Z" | "2023-11-13T03:27:53Z" | 5368811323eb4ac9c9167a73fc6910e42fcb425d | 8e3b2ef2af2e1c1765b3441cb15cfbeddf4046fa | Fixed scene2d.ui layout for fractional positions and sizes.. When "rounding" for UI layout, floor x/y and ceil width/height.
For example if a label has a fractional width like 123.4, rounding a Container's width gives 123 and the label won't fit.
Table already does this, so I'm pretty sure it's the right thing to do in all other layouts. If others can please check this doesn't negatively affect their apps, that would be great! | ./extensions/gdx-box2d/gdx-box2d-gwt/src/com/badlogic/gdx/physics/box2d/gwt/emu/org/jbox2d/common/RaycastResult.java | /*******************************************************************************
* Copyright (c) 2013, Daniel Murphy
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following conditions are met:
* * Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* * Redistributions in binary form must reproduce the above copyright notice,
* this list of conditions and the following disclaimer in the documentation
* and/or other materials provided with the distribution.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
* IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
* INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
* NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
* PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
* WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
******************************************************************************/
package org.jbox2d.common;
// updated to rev 100
public class RaycastResult {
public float lambda = 0.0f;
public final Vec2 normal = new Vec2();
public RaycastResult set (RaycastResult argOther) {
lambda = argOther.lambda;
normal.set(argOther.normal);
return this;
}
}
| /*******************************************************************************
* Copyright (c) 2013, Daniel Murphy
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following conditions are met:
* * Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* * Redistributions in binary form must reproduce the above copyright notice,
* this list of conditions and the following disclaimer in the documentation
* and/or other materials provided with the distribution.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
* IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
* INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
* NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
* PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
* WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
******************************************************************************/
package org.jbox2d.common;
// updated to rev 100
public class RaycastResult {
public float lambda = 0.0f;
public final Vec2 normal = new Vec2();
public RaycastResult set (RaycastResult argOther) {
lambda = argOther.lambda;
normal.set(argOther.normal);
return this;
}
}
| -1 |
libgdx/libgdx | 7,276 | Fixed scene2d.ui layout for fractional positions and sizes. | When "rounding" for UI layout, floor x/y and ceil width/height.
For example if a label has a fractional width like 123.4, rounding a Container's width gives 123 and the label won't fit.
Table already does this, so I'm pretty sure it's the right thing to do in all other layouts. If others can please check this doesn't negatively affect their apps, that would be great! | NathanSweet | "2023-11-10T17:05:20Z" | "2023-11-13T03:27:53Z" | 5368811323eb4ac9c9167a73fc6910e42fcb425d | 8e3b2ef2af2e1c1765b3441cb15cfbeddf4046fa | Fixed scene2d.ui layout for fractional positions and sizes.. When "rounding" for UI layout, floor x/y and ceil width/height.
For example if a label has a fractional width like 123.4, rounding a Container's width gives 123 and the label won't fit.
Table already does this, so I'm pretty sure it's the right thing to do in all other layouts. If others can please check this doesn't negatively affect their apps, that would be great! | ./backends/gdx-backend-robovm/src/com/badlogic/gdx/backends/iosrobovm/IOSInput.java |
package com.badlogic.gdx.backends.iosrobovm;
import com.badlogic.gdx.Input;
import org.robovm.apple.uikit.UIKey;
public interface IOSInput extends Input {
/** Initializes peripherals (such as compass or accelerometer) */
void setupPeripherals ();
/** Records touch events */
void onTouch (long touches);
/** Process all touch events that have been registered on #onTouch(). */
void processEvents ();
boolean onKey (UIKey key, boolean down);
}
|
package com.badlogic.gdx.backends.iosrobovm;
import com.badlogic.gdx.Input;
import org.robovm.apple.uikit.UIKey;
public interface IOSInput extends Input {
/** Initializes peripherals (such as compass or accelerometer) */
void setupPeripherals ();
/** Records touch events */
void onTouch (long touches);
/** Process all touch events that have been registered on #onTouch(). */
void processEvents ();
boolean onKey (UIKey key, boolean down);
}
| -1 |
libgdx/libgdx | 7,276 | Fixed scene2d.ui layout for fractional positions and sizes. | When "rounding" for UI layout, floor x/y and ceil width/height.
For example if a label has a fractional width like 123.4, rounding a Container's width gives 123 and the label won't fit.
Table already does this, so I'm pretty sure it's the right thing to do in all other layouts. If others can please check this doesn't negatively affect their apps, that would be great! | NathanSweet | "2023-11-10T17:05:20Z" | "2023-11-13T03:27:53Z" | 5368811323eb4ac9c9167a73fc6910e42fcb425d | 8e3b2ef2af2e1c1765b3441cb15cfbeddf4046fa | Fixed scene2d.ui layout for fractional positions and sizes.. When "rounding" for UI layout, floor x/y and ceil width/height.
For example if a label has a fractional width like 123.4, rounding a Container's width gives 123 and the label won't fit.
Table already does this, so I'm pretty sure it's the right thing to do in all other layouts. If others can please check this doesn't negatively affect their apps, that would be great! | ./extensions/gdx-bullet/jni/swig-src/softbody/com/badlogic/gdx/physics/bullet/softbody/SoftbodyConstants.java | /* ----------------------------------------------------------------------------
* 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.softbody;
import com.badlogic.gdx.physics.bullet.linearmath.*;
import com.badlogic.gdx.physics.bullet.collision.*;
import com.badlogic.gdx.physics.bullet.dynamics.*;
public interface SoftbodyConstants {
public final static String btSoftBodyDataName = "btSoftBodyFloatData";
}
| /* ----------------------------------------------------------------------------
* 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.softbody;
import com.badlogic.gdx.physics.bullet.linearmath.*;
import com.badlogic.gdx.physics.bullet.collision.*;
import com.badlogic.gdx.physics.bullet.dynamics.*;
public interface SoftbodyConstants {
public final static String btSoftBodyDataName = "btSoftBodyFloatData";
}
| -1 |
libgdx/libgdx | 7,276 | Fixed scene2d.ui layout for fractional positions and sizes. | When "rounding" for UI layout, floor x/y and ceil width/height.
For example if a label has a fractional width like 123.4, rounding a Container's width gives 123 and the label won't fit.
Table already does this, so I'm pretty sure it's the right thing to do in all other layouts. If others can please check this doesn't negatively affect their apps, that would be great! | NathanSweet | "2023-11-10T17:05:20Z" | "2023-11-13T03:27:53Z" | 5368811323eb4ac9c9167a73fc6910e42fcb425d | 8e3b2ef2af2e1c1765b3441cb15cfbeddf4046fa | Fixed scene2d.ui layout for fractional positions and sizes.. When "rounding" for UI layout, floor x/y and ceil width/height.
For example if a label has a fractional width like 123.4, rounding a Container's width gives 123 and the label won't fit.
Table already does this, so I'm pretty sure it's the right thing to do in all other layouts. If others can please check this doesn't negatively affect their apps, that would be great! | ./tests/gdx-tests-android/assets/data/g3d/materials/leather_diffuse_02.png | PNG
IHDR ?1 pHYs
OiCCPPhotoshop ICC profile xڝSgTS=BKKoR RB&*! J!QEEȠQ,
!{kּ>H3Q5B.@
$p d!s# ~<<+" x M0B\t8K @zB @F&S `cb P- `' { [! eD h; VE X0 fK9 - 0IWfH 0Q) { `##x FW<+* x<$9E[-qWW.(I+6aa@.y24 x6_-"bbϫp@ t~,/;m%h^uf@ Wp~<<EJB[aW}g_Wl~<$2]GLϒ bG"IbX*QqD2"B)%d,>5 j>{-]cK'Xt o(hw?G% fIq ^D$.Tʳ? D*A,`6B$BB
dr`)B(Ͱ*`/@4Qhp.U=pa( Aa!ڈbX#!H$ ɈQ"K5H1RT UH=r9\F; 2G1Q=C7Fdt1r=6Ыhڏ>C03l0.B8, c˱"VcϱwE 6wB aAHXLXNH $4 7 Q'"K&b21XH,#/{C7$C2'ITFnR#,4H#dk9, +ȅ3![
b@qS(RjJ4e2AURݨT5ZBRQ4u9̓IKhhitݕNWGw
Ljg(gwLӋT071oUX**|
J&*/TުUUT^S}FU3S ԖUPSSg;goT?~YYLOCQ_ cx,!k
u5&|v*=9C3J3WRf?qtN (~))4L1e\kXHQG6EYAJ'\'GgSSݧ
M=:.kDwn^Loy}/TmGX$<5qo</QC]@Caaᄑ<FFi\$mmƣ&&!&KMMRM);L;L֙͢5=12כ߷`ZxZ,eIZYnZ9YXUZ]F%ֻNNgðɶۮm}agbgŮ}}=
Z~sr:V:ޚΜ?}/gX3)iSGggsK.>.ȽJtq]zۯ6iܟ4)Y3sCQ?0k߬~OCOg#/c/Wװwa>>r><72Y_7ȷOo_C#dz %gA[z|!?:eAAA!h쐭!ΑiP~aa~'W?pX15wCsDDDޛg1O9-J5*>.j<74?.fYXXIlK9.*6nl{/]py.,:@LN8A*%w%
yg"/6шC\*NH*Mz쑼5y$3,幄'L
Lݛ:v m2=:1qB!Mggfvˬen/kY-
BTZ(*geWf͉9+̳ې7ᒶKW-X潬j9<qy
+V<*mOW~&zMk^ʂkU
}]OX/Yߵa>(xoʿܔĹdff-[n
ڴ
VE/(ۻC<e;?TTTT6ݵan{4[>ɾUUMfeI?m]Nmq#=TR+Gw-
6
U#pDy
:v{vg/jBFS[b[O>zG4<YyJTiӓgό}~.`ۢ{cjotE;;\tWW:_mt<Oǻ\kz{f7y՞9=ݽzo~r'˻w'O_@AC݇?[jwGCˆ
8>99?rCd&ˮ/~јѡm|x31^VwwO| (hSЧc3- cHRM z% u0 ` : o_F zIDATx|i%K6W($ r~nd Rq
GP߈#VD3D\#fĎh+bG#v ~z=>?*"FDK#D/ZϿzΊE~oy>F_~i<9"VDG_r{>|~W{Hȿz?~yx%ulKIy"bF)!}Jyg~-Gϓ~F穖CZS>Ow||wlyYo?tF\~}ߺƳ&ﳨϷ}J)sgϧ8By<?p._[]CFZΟX˿g9A]ϯO.K:~?Y6̚}Mpz˯?ϻXc\*6Ix0[c,;|Ӱ=_qx>|_2 y:U'v>DBV_6߾e8}?Mn|l-.pxr
z<?d gVyV3ϭ.
n<[x<қ]s~F۳T\MN
gߒ}*z?~~b9rtӦ<GWi䀹:/~g~Gn%J=səZ[kD9ދt*Uh}]+oSv)0?|s}zj)&&ϐrx?[L952oȓr3T9ySJ*Q~nrT7YWd7^z59ޕY#{Ĕ=T,Ӑ_/G#?y./]Zg-coQ-N!da,Q*+,R~?B~OYSuO`ꑖ|w9駬~J\r4y![8X*N疿ÛT}|ʊZ*/+XvVYZis;lUV~?ߋ֒_rzm~{_ز\&xJiuiUo
z
CM/9˫IGۚk[{7AmЖEm?N-cNW$ gwR\\
9K<HZ){uT_6ҥFʯٲs6{:v)B*]`z"ZW,%;S}pDZ;b}_3ljrˌ!ME8-]ռX{ ~-Ֆ1w<mOmRbac(u8 ) ݝ0N!S;:*y3?,|%\jV[*^M[j/iuv?kQ=+oy%-CPH~K0Œ\I=\z<+=eޝy?oxzGU<C֨ѐdz^E,Co6Ij|wl*HKSQ5Zw9n.oB:,|ƿJys+X-\1[.6Y=46r59J?D!o9/iB^$Ԟ>uǨr7QQTg==ꒃ=Vi<Kek_W4]n7RW9lnϳ7>o!zv|>be*{5lafv?I]Va{iQ9f}d@~iQ<ۢW-+pX"xQ/9zgnQXj7fS5ق];
ny/ɑMݫ9m.-͆zS_ثXPݲU7BWM&:^&)[jʂO{->d͆,YU#HR>Ivqn"<X>zGJ%f(l43fYx7v\^M,R_K6?M;~H+_aVcH)mkns=ZdyImʹ[*C lY۽oH!Y,SۦmXz :mu]B:\jtWyC
9x,6!Y:82NR
_Xd,9𦔰mkr٩T}S62[E?,-@3 ' 'Ro]wmCaɽϔ=kn*Ws3H=n-e}>4o<[hJ><]R!+m9غdVmQ7Gx[jTu\x'K1jH$_t
Jiў9xũ/6<j\۩r.8ITTezl_Όgd]G/ Ni.ZQjSֱaH]~g2]i_seٚv"ò._v
.ԃQlڽd-4'P7iWNb3ma_ }s+rT5y*4ӀIj HfS6n+VJ:t:SE>K}+KFu:!ߕtsPZz~g2_</.RTXoϧ iPyh6fyCd`Q_"b<霅_Ϗ겻nN?<)d6겞ޥyHSJkhDʧaԴ%֯w{ɔj>|1NpU[۬>D5S_p*KT63DnR]^};zjR[w9
lNՊtB+6YKND KT.*RiWu0btօ 25Ln>
*=܃C=;zN[|0LLI<TTlJj6<+"DGU|T-+|%rЫw Q1)_uuO܉jb&^|ʁ!GVޅP`{B^6
{JEd>ɔ{>I[+2o2TlޱG)
?įTy[44
.B
*lu~8DƏIL?xY3 ).f*jG%)VHyַy0!nlH KvH٠'Y5*Qh(y²-GN}qc4+EP&lI0L[.*ET5[}b4Y4mV>t *lb S
Gu,^/c#dV֦V.naC*Kïq ݸA{>a
, 1H#z,RUn$-*{Xn0^'&H!0BJj/A9+l֖$.< `o|D0NӍ0V2Q@ S-i{èzT<[:{OoN+QJH;Nʣ|,Ԉ5BEf|!}hgT;x^ykt@m3 !IIzFn*-ƛ/Tj'/b;~Q`dCjW2;T쯓X`ҭny:}R$Pn}bC0% oH/)o̻Xxm3(lG!m}eJ$ڄGDTAب 3M@g}:ڵ9^TJDH7:N;?]ծMQh56"fzLHb*ϲV&tFM\ L#>ڋtN'JAdU;2Q=ւmߐ7rNgi\/ɥ0ƎY7MFU*1Qio*GfQ;%6< ᕅ3Me\$)y "WG,oJlmF^]*q@ɔC#d/Bn5L&H:iprںPabҐ6!
CE8`&ŴSI\,sZm(
MtIPY-vIQ~I7\:rT-Y1FgXNzC=F7?g`HY%8k25ApE9ޅ!Zlm}?T !ūIH G.T8LLօl<M0Ƴ0/`euxd([L7ys0+_S#6[6~JJa!}{rwz5!dX5^fMMPHAB塻cfL9T}!(ċ̤VX/V ŹmpQ3)KD-tć)/,k7M6&AvWHnaʤb eVHÐHl.&h.ɡM@~1ь1z'&4fhi&ĩبq(Y: .|JQ5btHXKɛ8ۦRl%Lc/?bB366rBrРNĝ
ZVN:g-FAqQ44NL%&P/}rrg`zPilI~i+Z=z6lAefJ:Po8Cj<)
:jR;lޥ7]?ԔMCCVfP".Ezy<̊%X%Fwp5Zh,]K*ZJSI=M^jaM5ngA T(D6Ô 6VؔOk+BzaJȋV.&OӂbN.^oט hRPzulc;bID*UBvKMmFڥ}/5n톇8Yld Ii0[,8#C.K-"*q2ݺr:;㏕4~ e]|ÃxQΐ/1>Jgn
ӯۆ2]#
wzuH;̹6ջ|;'#q x&tIrUE[F4B-dYK'ʊ;fsUYߧ9ʍWX/L*W$.ln0
dnɵP]~Xo-bdmG8/r˨aJo'm5m]6MdK-KjtP -3\w$ĥ7Z{wFfNϛ@RJ-tIV
7[K tr61XukɰHeTB@>K"<gYn.*PbvICh-@E1fGMǥe^C}V>JBbr"(UlƐP!h΄KN;*C
y109PoTq{t}X tNTNRsEEBHKD卜.%e}`FɢߢC2p5:MTCG*~yg!ǍIM+?Օ:T]^%sV>?/ʞ0y`iaH3<!Wl̪Da#Q=Ռ
kpJ2HPiȰ3ġ%^E&\)ZrdZE'ۼaĤe
,u(*ў2FrA97Zb-JAܵ
Fxs9OaVީ٤n++JD/lr"Ue4:qKŵ8NS '\pPNF>]
¬0UmDOrYTYpiޔh7)!EllSG@{¶~4I~<1i%[TO"6{"1}Mg~_'ES}ct.=Qs|)]NEeuD|/!FfH^06商5BSy}xĉ?/8*TÉ,*WMI0?~2vV[J%bxb"A43JHX7:͌mcPW8{2,[j4P]6Y|/I'^ښ&ZHڝ`z0&p|M'Wj^,S37Up`<NY<Z6?fh܁iqYO<Uy.|C
Z,)$(UKiøЄT+ȫVh\ECd:z!Jò9'荔eFx+H+8v5
WR 2Z; Ǧ
#M]qo^ق/6\ښ$_or"MRw_cj2MA"47>;fW)OYM:nvU_e5zTmT"ͽT?B/^%N`͚As6fB+h.ݥL'
Hh:d!xTR2.uXY
ݿ!}S"N:Ne[,
GQduTO*,'/ $Dyd G57}f*$ǥ2Xsdv*d"ߺaȄk҃1xb5ur57nLWEY;<R~v
mW{!H&Dt3h7g1^.˜c-vN *`)w*+mc6BS.Xb"ZID\|u
8xxV)ÖguR1XQfPXVܓc|P<m9-&cMMB]1AʅN*ErKѩ:'IUa>iҷu9,5 M`vt?ՆD!)&A%, SKb\F]r]2[OPEMEs5)ļU&}#T[>ۦxOLW! bP7!0b|gsf P9E]n!tf"9MB>"Z o"nGCmbx68)&Su'H*ZB T*BF"
t[tcOlai҄M̗/eNkZ}4m5=!M`tvF-YM2dRp+]vr,< o]-|&Y'#ao0xq #d˗N|os;q
)K
5f&6u).y_6Eʣk6GAisR//u{5XYSN[[&C ܟ~rj[e)5kR-K{WͲ;gtj҃}Դ?ݧWNg&eN$NLj!_L7)Vn(xRxpmx$il[⓫Mt`p=\䮻
i.] vocwIG
X6'*eMwa,)Z-<
THIj, ^*}.3->O46Ib[V-6٦e;)&A4I83 P{f,xВ:uߥn~R\yNk
iGD̢\wyN|$Rԙpq2ܤ`j9ҡaX?}q* T#jl[ߎoDHMa2t#yf Y5r绞09g-ZO閽5钢2Q7 6h^$$99
ʧdR:䖡f
/*a=w6:f)s&0No('4O,$E"Z|O;>o=cKיkYOEvqtJ?4h0N>EiGW}w7ٲ
B7s(&rq&
4̂͜I?TcGS\뗔UlϪ<Ylh3~[n.&Qb lS4K]Z}
X|p+j8i+|ArzťWKͦZ.u؍ecm)-EM1"\#)pfs͔bcU88kVZm}j7gB"메<dX F&t$qx9=D;ڿpٯR"+fq7Te2FSnU*QIHOH-!l)7>οVm#d{Eo3ma)
;%sʺxj+")<h+J\x}(5mfytVb!1GQhˌߨk4M+jVMZE )79'.J\:˵һ?YJȨZVt|\̖"2U3*jb(-C%yy&R3TLUՂ͘`n
°v"TeԴ(F-_Rq]
Y[!cnrI4ʌ]MDqjTuΎP>fR'~`?*1**u6rZ6Z&&d<;
7ЊYn/S Qʯg.٩߿q+yR"PMFX)#&߰sWK
:dS(oذfGH-r L1Hw"|typpbQ$~DeK=H|r(M.Z1 !i՛3r.lӈ:9juBSI`B'yٷ])u9xy
>56DzGUC{#)';uZny]8?&6`wgX]O.r(twy,A`k19َ'4^)˯+g(AQ6Xd1U^O:bᾤF/K&%(h4ߤ&Q?yr5.
MR'%tԛov4EUHPҰ]\jM*F _H#@S\k'ɫ?S]@\FJdA.\9-֢
[)jX-B$ Xr,b&|͞Dדv-ȷ[
JR6jgpIu6,
Z,؛BdX@L<mI"a˾H=)4C9+mnS˒XIS)Ġm4$lFaMm돧dUj@UJ>pnVtmQ*ɿ9%D9Ki2T
<@vF'cBnڃy+tWt^Y6mVBaKB>LjBsĒI_b we,+K%7IdF䮒,:M"w]7O9&BT?8zEpv v˪[
mx xLXvXox&rT;>(dO]跘̙;?ga3E VϠ|N/N-!yjuY11o8zߦ\F"RsA˃{=e8uj2C*kLV"AUYA`)C(O)kZ*dI>Sa{+,70v]OQE˜q<!Q#sN
4KmMF%f4U.]+-V"x'ΙD#di[OP-6;+4m8)rcΓArⰰyMCRRTiH!t}:e%U35X'¤h'BX0-JepڐFv[%d)ES>6{",XhFńWj#t'8!t>eoH[6b7*~'.BJJKadA+k--f<`9h,oW3\F2p3-9]W,:C)]}]/nӄIڷKK\}PP)%%.{IJS&%eMp(F18z5hS@?`F&Ajg{$q>@Q,9?o&xE2Hb -U
7R*mӷ|Mȧs)nf a(=fUEKi*-u>W*z)Jƛ\b`j{bQl5y/os&62(l"5L!tdR)<:L>H*>LSxu"iǪ%dF%IV7c-Pb0g]!:]y4U6?c6&ZX&[$>n6K/w#ղ$ۤεIS@$/tC0ˉu
uU$Ja[kT:h8XXe9&9a'J'BT^Ԉ7־NѩϨDO^GXaAqۤjzbmUPE_/o*2x<ZaYTyiݔ] K
li+y"u*=wm&XlSMH!:dv2tЦrY,I\W̃"ZG-[I:Ao~YSQdclyC2ŒYZmK^j1^G3tLh3cRNy}Oy@桃AנE▪&`KIp<}BM~>كyd_D3'oS*[զț3hQMB^r
j(",0'jv9ͦ7md30OA3dw[PIй%> kWvnCUyZӞLAO:tS{1Y6\?5
]m7:Ci!ZlոLIa0arʣ~ItSjTސn[.:M-4*GR?^^~F_%{[wid\Wj30-l_B]hBB[c2泛{x+jPUZn$QWm\ToNm)A2 9ǧ4,f4jt?"c$$1'amM hFCb,&FJLKDDG]T>m+'h.4f>Vny%4r'Лa!fTڿ|179(]9JCJWJmAbiEN3R<}/BM-m2:mK&9vLR5iFo{=e$ا
CHhXy|
u- !>pg1H{ڶͼ+c*SMI.rzX6BdjЉD~ɵS!,qn^NIl7y Sp/1H6LaDB3e&6A4"}0.rprhglBC]ÿxn.i2?Q3žx=NY7R
n0NɈ#CAIͷHT#?7p'osS,'
~\ەZ W%'L67 qN@6smʷ B P=CԴzf<҅OJOP&f2F:bFuSI
G+osS\*t]lz+RW^ +ۦnUL%Q^PeeX1K3u"x-4Sb_E!{#%uz. WRS^(~IZ
ni24nfTi+[2.j=+LJ}2("i6ڿ4?lۯb<,E4)ɤ0$B}2d6(M"zh!WhQ&$.3)0k^osfm.+[PFl8=xo~&t|CN<x| rԷĠN6kv'}R++{ÇF]J
f~)$)ER%dq?=wb]k
fLgԊoPհ1HYspet.yjNߊ \;N
T/bH@*5ܕ-Jc!T=Mf!l&2sRuvۋboC*t7zy Pr&Ki_vDi7CI}֍Vɷ9KO]
$jfؖa2OI,7-cSc3I#}mF)o߶(3IIwIy 4;3
ӚB^N1GP"JHy*ir3
zV4)+cmFe|![AuILI!JzRZľvritJNi=w߭u6k~b(SB>/.oU{: qbYo#L4Oini#%L~bd;-N?4Nq
SZ^dʆPEN|,v41EtSŚܧo*paWF;oOs{Fܝ:dک-
wŅYw
5MʱnB.:mMi5lܜ5v(QzьShMl4yoYx8j8Ćeg˲ TӍ)V&\&Eܓ:?Ȕ¸(B;$u !d/)v|\n)7!ry-TИ|?+d':j|0+VnnjIWFT
c7FXEP"+U&"yJhDr45Yzx~DhQM:S9gOA|߯T~UC$h<Y0zu|H+\xEحF+sez
tOٓb7.1b! DiYAPʪR9;ņ:Ȧt!d`ͳ̊\lc`
KjHFur`'X4g <g0ɏ^Z!
ag/IpC[-ƟMHd͎{J
| A
6KTAs+K&uXj*?.95?k]gr<6H+STɸ~OElj: 9b ZZu7Uh%7iAMC]v{ro5N͋+IQ|;4H?<iS8ec%0K(&RϓZڷ\Nu6I3djL~N}`AxZmb*q|=oJٲ
绛J_\w0,߉Oru$sdDPŴC,@5\ˆ$h(`\6Vu"ӓUfS"7IeؤFii:S<Ǯ6c)sf?&DiwK)t.)&Zd&l1"edQi4&,[4s
<HhCW
ѡrXMmVT^NA`ʲ0AIA ]1Յ/NmmVH=gnV5UG9|R-&M̴+d&J)}SiGe_:MaWN&iK*DXTZ|]؋1YNfnDҺW'f0YѻqfhpѓVd("Y!]~!A`mi4l-eEsCRRz:='AL`[]nnLߜpbߖh8>ܖv_x+4J*$E$OSiT)2Zp'5emIR*oFl~aټT0(L .VV7SQǂ{N4bM:j^)Io& *gj~%]Ȧ#_װ)foJSg7QﲡNZOlc6[3Lˆn:'<{Ӷm'G&IvTÚim"|L}}o=bSYnӶrdQ 9ʴyK^cUگqA}/|10}y(ɂxTԧ&f4oxWGby+-^)oW7U_I"^%lI4'.*m&[:1/0yNRD0/6?q|P}|}qB_מ?xN
9-nZNAH3),E&d:QkOk,4?۲oV$j2DIΙo^4}ӭQN8,ޡ3?iݐqVh[?LKEd
'&Ch;MU).,ʐGhhb';!o1?e;`)6JF&;p~nй7STqҎF}nI>f!)MeW0i7I^,uV jrfCaAoXkǾdme2kliWV-lb&UsG
tT-%mQc9z{Ah1+Roeq!*7nnA?#hK>^,DbiIS[f4ُ
m5[<i9Kl"El0
YY2+ôR&Ms^HËϝ6@pmsn$m%A+U8-N)Doy,_v|McrBR9s6M)YL@a;o9WLam5\+YhCC/c͓*VYTb%鶎<F^qr64LPuGw|b쾈*&/\*$1XNɆZ ]<bh
,P*Oi'Lxe=L8:7zWH /C1Q++ďS&VLz-G4fhh,Q A|3)ɻgQ<IS}F>M{SR&@Iy`oI.E . %<JN|71 M32ߛ#ŇxVO^S`)W?N8Ӫ#0{XBᗽ//WthJ%uezEyz8^vt]me|7Mpi
{FnoWvj]Nf7
.fiŔ4
6}Br"}5b[LOvMf7FYlӚY풿y~x{5S6sԯG6*6Ea'YMt5huŢkXb>:Lte,s:5iەϛ/c.-0&b0PXeMu"cŦ[tmR+_v<2B
gI?caLrZTV[&| Ǩ\
Md-9UڿGčKxy5Q=cV(AsTT WWSPL]ҒRǵԯյ&oT,Z+h/RZTMWO0|I:yoYDgRU؝$- arO%e
in2 wWaIal2a:TO/)T,RT
IsIqr/g[H'`~`?=(\"P8U7U3Y%$}*5zzƃVBǐwd{ɦ<PlJoW($Kp>Neo$2o$;-hHu^)2ZxW*K9.Dӧu;@jn0P"Izgn}R-xI~J#i=eۿYK1/f-E"28~O
vG=ɚ.
$A}QLD]&QD:m&͟I;KWY<
jTQ*a\>+Y0%Foe&
..j@",*k(KsuZC3B&7;Ac<,0tS1ɨ)
L_˭!|}BQVTA6WKf_3<*+[Ð0)iy~r
=f5O
'*~kmizBd"#ȧbr^f;3]geb=P'vCoM,9bL1T'\o'p~"G`ezK~ptfjBj}/2.&0|[ʔQD_mC]%%>S|qr$_R`z4u2勤r(}}~+oz70;WjjL|KR0<8<:-8w
լ7uoxp 7JW;dӌ:z@G{zl-˩<}`MuD< \P6'Lu~ɤlc<&@SVSEN
7I
sPKO3t.IG/i)"tTm-Ք^VɻdfZre$?b(oӔ`,5)+ق˓j]p"Bnju_XR$p@e%y{tJ/m:s|(qZc}>VZq-"ɥ D˗\-u.yuKxE}PZɕcy,b=l:[/,r껷8mJBg)ڐx (Vi~)^! LQetAVJAeWELQ٤kczݪHob7せrFBW*gyR@+w IM&
=}ԀO'2ͨ"]Kn4j$/y?*n&,XOro'"}Z,HPPzEMl 0L#BK4WsIaM]Eݭ2B³ߪTňXRo,{ŜS&@%oN,|DJR̪:Ðt՚,xT&WLnRlN6C 3dO$ɉRΚMr}b_MPDͪ/=i^N¥#Mb<94*QOe]&ŪJ2bu1f9Mt:7'x2/<#[pm{*ϊI^ *3uZv<n]dl㵩MBeZY&Zl6ʠCkC/]@iYjri(?btJ!٥qW)cl+.af:mze.hRvMW#T!6P]$J~eBR|f6Uh6i'-ͱZCHGA*R
M+y%\
ʪe)3!\r1*&8yfl
"Eo>y"viqڤyAAbVP϶^ac/]:'tc6f1\뢄h3
p/sKlnbYrak>T(Ոo8$LCd'/c|(M#*q"i&;vz&D
u~Q1M|Ns%=\2 ΕZ'g^&2u8-~4L4D-Rwy>[::[Qe1U:iJ@7TrR8RPIm%Q'M^N˝E1-5]sHc^m<u(o:!1H0pkl&^M{${T
i.t4)TR}ߔVva8ǣnYLlF\I!j"2hL}R<<Ö"mEXZ-ش|7ɮ72!>'Ke\F
ZcAUN
awu{0<=uN
!|1˓Բ/IAs_G(kɞ2u ShXɖ\":S(7ah.D ˴U,GilbڛKM2ZLHٝj$Bin&,ioۓ䝓z0^0?WcȨn$$|++:-2J I&̇vۙz'w?F}\D]xEM-3tMF
bmsS|'rcѥB^_O7W4ZjI`"|3er]Q27K4\).4.}̲[ÞT*V %l-B{71݉^
]Tjy
$;h $HeY<*%U,d *`, /WTF%(YC %uĊ-dd%1wj7ekr"LCZE{<9/.sԩ|F˴5oHBvAIβЋnsL茦~HxKrSjQT_:8LZoS9+G$}|3 hĹ*鼒ovem MY2S|P)
j~aద wKѐ
T_N$=^K[fS`Xh-X+t2bYɕXuAwHZ 6T4+f0W%~K]Oz"AɌۈ'uJ7ս*:h.9NM.
PSs
hu7OtiMeۄ99Ի~GcIub<=h6li~m,]8}[MćʖS#w)T5RHe%FAUwߒ0p/tAI}zՓth~i_ StjzS·d0߫9܀ɵrh1,aBMSgle8kE2T
iEWRwcD/>>ml_fe
7"U^haV[,TߝzYjejl*4UAӸJq/ޝ
L=-6[8UZ~1`&O)/;4n)kFf҃bXIRk5m;Iu(-,ӺBU7.a0.kP-Rg.x[˛Jnŭ,/h?ό
MpUDeZ屒,/â:Yy'z*R&^d֍S\o69n?WRLLhGp0]en?J7ü4)Hܺq;HU(ffѪF3^6*`4a)QY *;N&D&78$YT4yV-&.]d%_p)W&caNS&'JtLJTTM0#amAX1I4MT
c!Ƚ#6VRKV^Up˗Q':ךUje%bD(-i/V")ifh|xniju,O?o}Ul/1YiBLArb-_9/0ٜCC9[/jqGSW2(t,XUORhZ0Jj[N%Lam6KR;7'i.Xȭtа1H("0̖R?]H$SR Lw=@HhibFѷ1$e^ ˔ |xQh; ^ft/{Miۑf#܇9%/ͧPoߠަARvN<Us3*}ZMw[L?Lz`H%N>f8YU"e\ ƇT~SE/.Nڕ^ڤv҇2oVrnjRY^5?)U!E回sMM
Af462Nc)XFՊkgYTm) eHRlH}_&SC_^JDMPb'CAş0.\F)b0ͳG
~.jmLVaV`P67a.<hMB!Oy)6M,
DˊL\'n>5)^|/hҘhj5Z&8QbPݹY+wNF)/ltf4]Fߌ<z{ON3iHx_aCV+mᲠ әH?t)Y*@CB՚\_C~o
K<tm%fU1(XÔē+G["N}߅|uA7iR043h'C`dtFnfe\eOvSjhz*ܗ0o QI2Bi࢟h?\){r|,.6
k$H،:k0;u/,dY@ ~uQ7EYMKLo{_̛2bh]sN )i?0<{V/~5k(ZROf.Zi8 N
5fgYUPyh2C!a Q`LHcab٬6@"L1zl|db[+s$&^y.vW|Nm6!>p߅4џҥ
ɶ J,}Ŏ TM7<4謙fCpEv!Er5U1ɖ1ڿ</.s$
I^ϚM?FOdj\W<<MJ.Eۢ.q},Y*D7!IfJ"»HT9ȹEeQzN5MbnGL2iןؤ}OJ)&9M>PGv'ȭc&}doha=C!THY\ei|SwcaTY"['Sk|vAi^hF܌s.c
N鶗;."<9d.1G@oq-|QQri/eiu/qK;?l^[=d!ѫMGMaH"G*]S/!0OU|> ږ|d^RI*QRjQlU bzIP,,Gi5Oia95jKxm^*!r?l:{GCV6diDal`|g/eD+sS '@sѸ>~ԦhnSc"ף32٦l>K:'GT0Y$DH-~2J%W^)sbU^zߗ3c!%g-&7FjqJ0>dIɠ~ݫV ̓Q$HXBTa6#1JENRՆ*]'nyayӷ1ɏ^h&wAKEɒgGD?8٤uT
ԫ-~'ī{_c'[lD/Y'?5&A)ۣ?GW&Ot
.T-ҋIHS!Kڰ7vɏч'Zq+y7 ۬qWKQe%mbei7nTL(6ltsL6](hq.H|V8iO"Վ2++Aa*JZ&eUedKkGg!w@pI䎠TR͢
KafZ<:*aݳْMUeS`ЄW%6_I..hea;>rpYCi$Gs+i[kryLf^$ޖ]
L*2&q6'fL`[on'p$fVO]
L! 2ԿI^\-+2gC/V9
S_3ߦG6ErOпʼ)6_騻8z)<)-^OewEF
N9o) p%}.VAE%RimB.yw9
So=[<5"WYmu/l<E*SG-*aqSMUrg˩ilM~}ۈ%Kw),y;1/qgroqѬe$ё_5$'T>T]59F'E_m[7gXԏaM: y70WnaNABasC֜ASd*YNxdZ\yٙ$ (Lxl67b>*>5Za8I\{I*{jԥVI!dqeXN>\yxBXIL4IuRߝC&SC
Va5v4qgwG6}I!Φ7[rvC\%5ƪWH&r uw&rzM|0H6MtnP&O)9dMA>nTBs˃w-?/E䷸Y&w0ƿS=5~c< {t4-Mg[TTadGe2E=6_H~AJb\3RtUjErPLE]NA[-oQ s0aĠ.L<ғ\ڛWÜd5ӌHa:|2J:IjEK$*T QO
I<_6LP"-GPEؿ~BA&B+YmJ*5rbkkjΡۖ[WOȰ{Z*.
!
Z;f~ T;&q
gY;_nr +yOP]x*XD!p*ÁMYsz bs3'
V~ؔkp_'TX|K1äDVc~3RVdDd WGJ┪ .h)ut(kTiUynNQ,`j۠muw X/MWR{f f;C&BNMR̦wP*埧G1Y(&}UlTZ4++Kۘ\j;lll)~C/6U %[,-bhS82/YPҷ8U%Tnכ`KSiu)
]Z`'Uէ:~jNB]\#+i7FA*"zjG9&Z[-<ÌSN[3٧i_1/ˡFZu.=zQN4Ldy{F94ZeU0;qR¶.b[rRK%V(h8}ZHoQn|CJo\E^vcbzqCI%1IMc~"c4P5ZmrJi*B'+f hd ąrݻu&)oJ~N%>Mc 喥R#xEOS&bv1'^S:..ny'E-z0$O%wɭpV9vΒ<AFag2o4@K*] c8T,CCU7vN!k]bkM^L߿4JXZ5eN#ݯJ{PI38}S:)h~L?FH}
6pKf# dKVJozTD!(*ifki2X؝ݰͦ!!5؛%1g mkn^s?mQv*ӵh擡TS"Y'[jr"8MVnIqR68B@X&vmZ=cuw]f0b-G7OIm bH\/+/E]VjdMW*)wP2˛bP"UVԛM_"{+h6s+E(dD0rɜu20HZD+q³ٸTH
lJ0gG(I>Wi=U-Ѥ
g[c1ؚ$(4Vr=!"ZlXUr
>>bI=
+/ԦA^}FU>Y0W43~XO'(H)XN[HM0cSqhy]1XCtx&EKǔDZr6am|#@I;aqpS?
ql-~.E~d:T(//+[٤IuNB |"da荒%o1"hi)6$sVMY*L7Imb~yk6H`A14'5j0);ZwU,d9n&DM`:B7*M!F,RmSKԕP=e^E4{Ы=L#_?mC\^Ϊ6粕_*NHRɘW&k.@ga#@xK䦕II'LbLEfaU5en
e](o}q>ԋk:Qf_FA]Caw*;~N"B!^1I`bJ-T$8rnJ6R_Y<6xl3q& *6+emZ`NAv9MɬxsH\N\N1m\C 5ЙtЫS͐\5Ii!VOV'$GJY-uMKYUTx<+IF9Kh{|VT^0)"Pq^Ȁ:g9c",3],RI1F:ڐºrx7(7xH}6M)>D.%h)ҥظl'`.`a~gK{TG/&e);-% .
>+Mn~%wBrt[Jd'Qy"6)n/uN
ҧ
*
'$u|0Oub#5 urϝeIRNq
b6k۪iY8d`h[ЖaGfO0BTOsL?e
6VTqw<eFZ4?T(JTCQ ?-I)
[F㛝~^?ݔw
52s'жC.T%2!2H^u̅)lU͒Yh!%bP~3GHJD1e|V$\WɽP&2N|LzKž6Qn
RqגSV4-&.zoGT9&IPp8IQKr="bi4VHݲR6g]?sPBĉ~
0"NKd4zo$rp¡ya!edJS'0j>'v(
\J4"A<t-3e.LMA0i4pLЇ\0kfõ7@he\+|_ct4'~JEX%su}/Ε;b@VllA{
KHwkDVDP'3]<.&}͊!QI["o-79&:陝NYYBa:PG'*S~?K.M&6lrڪD.XT}ggKqL5';σ%̂3Ri8+KXիJ,ޚw^2owq1B/&_TTXSe TswUɐxqz\-x*j^eT;_<[3n6UeqW8(.y&.@5Apˇ[ nrQYheO^wpMesf\O]Rݦf=MpI0`ܝکΦB۹_pi6=
Q5qU!zNho
Cϗ낓N#.mR;yêeYt[4!.6FK]J蟅f;+#KJ2!ȋL$ZиRAISTjK0IF-Ӌ tDn+8vZ*i'C/cǽ(g);eSZ[:$:^c
6wDH;] O)s̊k܁bW&uԷӌ!ƑmBdO:2C1Q$o6^7nPt:LpPF6jMCbq*lBY}cE͘`eU
RJKwnp6o[eB"x>5S/~+a6af035LJyHeijD34QO0&viɊ&}4-'Jre%cojbă$uGN'wB5LJB)P,+ɔy\8ksڃr7tAmvܜ,Oԩi<jՔkՔw(妙d<ɤI2 b{<My`&t8Ia4m--fKƩ[1ecȔ$ڄA)'we!Q5.fd}n*BH)JO%ZT˼yYVVM^=_f5#)CV?.
v6@a0<i gjD
O%^:FG5s/'|_DGtLlI?CNfN/B@Hfdf"6?ߌL2X-w.͑s3ܞ}}ҝ iFֲT4ętΛ0Kd"-1/6% -2=m>P<ЍyJ$=0~a#7hr( ߡ˥Z}XE72K=M[tf&LQ\+!{YLa,Ky|DC"_FUL<Ba*NkG99X_eARoS7s~WV8kSy%F^̓'x2oK%_F>(*F) ]mڰV@*7Z$n+3&%rNjbld^*l]͋'-|is9X qaM?ٟUO~S|L9):"dwUŴEĎDE4x]STUfZ-2za oN{T|:Ka/˺5n`]_TBUKEO1IOEׇف|ٲVxgq$뾉ukS!>nv7)Cd)&4̃I~<٣iSho*]bT6Ul 贒!jF.*\Gw|tJSOU} c#n#Vf:N;V[HU
!2jDa%IuLd
9)aM7kT['+e1_evy]!c)!.?b֤%kw͕*92FOX$یPH1Wk(mrT6=TϪtces.=AMzNmi6Y]"-dVr.J^A шʔ-8S_JLx(\l+Ǩ㶐v.X&nT QQaYY6D2$m
RS5Fe俧 yp Ya1)BXINQo*4R)RrÄW< Dc'SjvVl5~ӛ2MW VHۯTEOc3>k%XŢY
/`(['{-S6xU`UII쯛_m%ξ8)%
ۤtLSxPKNCs@br$WTri2) 5
#fXbҾjO-bi'EoZMՈU7פ/*u^3-ʨy":\<aMvW ӑe:(MW^tMmhcd|K<H9QSTYøv˵;,Aݡ'];6IT܂k DKY(a4
MNc%iaܼ\mF9N!`UA<Ba~g.l7aE_V$9esN\!fK,$?
%FUta֦4N.=>T
LtT`5 EmRx20~@)<I*)Y؛qŔ7q2SG/hҒ־QR
<AI NAөH
q_9f=;ns~zqȚx_68u>hǴMV
=W%X_VXjZ]\YUuԓ:зj1k*ԫl_!-{/"efĢi{sAtoz!.Ah82re%)٤%Y1}S" NcP4OWZj0nSN^ '2l>X0Im!mK7Nb%59'7ZPyM%J7Qjt,6*Ɓ Si)aߛmb-t2+~WDV+x m4H>
YJӷnb&oa˕SaN/UDi,Ř)zf_|
lo^-ܝ
u>jr%uQR^c&Tk!^Mժ$h4Hd63^ߴHmF@ [1k .D:Duz\TMVL:T:mzT.Sd(E7,9D4to$m0V2'0;Fl4TNĝr4Ǚ,^!*.-5r'Ǥ)xM fQ,NIÓm"0w4ѐ9lew,ie0V\J5eܶ;9~eΦ=MQcGNڈWO˒tsP䖱{gPcɷޤLSdt_ՠJ9,1)<+wQLAPZר(]Oe>_y^ U3)hE\'825.<Ǣɲu/Iyi?d+UR'
M+~lZ&]Kv^-b%xV~0
)Մc+.Z݄5d&f5m"˪_]ä.tWoB_=:8ۺ ^UdκyUV8A)%b9
\4q-/>,
3hHf
ue.DBIalMz2EGE"9 q&{
JaxFaZEl3ĜǸpՓߧloa>V&Ww?_HiɤdhNpirͶ0bӣeWEu<}S,n$X}&%/nq/KzNeâiUE&Ji17Gء售Sa)BPmV@NSe)'.N@6]aHB4srNb~*NVb
C[aRZsTrgҞZ!Esj_;J:ͨk->/睕f]dOKϴ0@39VچnU^[eΛ}̓Ojp&/eSo#&&EcnPEPMK,8fNmEjƯE2&?g4m|I䕬Iedڊl%U$PRHO9Lv=(X'nZ5FG`i8 %Sxs$I9v*D3@3y7`IPQ,MyrLa-);ba}6Zx>7oZWO|aI3^$g^.*dw6,f>'>l
\0LⷮXr-c$K`
zҳp%Ŕ2$aNL"(MyP&SСdZD=R'~Y9Cb #HcN.!>Oi
֦,Kx)c#Z<Y}Qvrrfq
ҽkwT1/y;?((ky`AcMrx!tJ z*S^iyN_4ܬ5]fDM /7gCőP0NDaЕ|xa㪰)#,AytM,t枨YhRZ_J]% ^ˋl4TWU!)$%ߵrUJ_VKvg2[_BOb2Iw)gAKwj}Su>|̢SP7rNj7;Gya;6l Of)$[cs_TP۲T%at|%]TeB{d4CUP Wm`5h):DZztKme'{ @b2~zZ5XЀd, -3UlgcW5/S>m6tTKNr&I:)UKfTbNu1Q?P?2u!xQwKӌBZ8enaCvXuC'/VwmySS̎<`emn
7)h[1YRY`W[EbLgG*4=HI{.Y.XĪjwo/T?OҲ_| BW]yMsiN^kJfPJ0-OO^4Z&%3e)/!O-_2r&SK
#$F{L#7M#7̓SDH5IEr{uܢ>o t6_%4YXmn4iw ~Φfr}I!0fA'_ml
73CE>""r,
y")tQWȶFnnH1L$7A'q&
!x5I/pMYW%L12V6fLiX%֯LT o}dCLXdP
*Nb1ہČPu;QQC&8!fVJQsU`-~ M`i=hHՔ
:jZ[.Gw9}z!(-dp4m6P9E/'ߖad枴#iΣ";M@JYnh7e6*Lk{sPUdn=^2DRA/L2i|Y;}jX\q`Ê!-Ƒw`a1ԍHjJRyq^[;ll<U6vMEqx3$b90Jx[ޗtDTa-RfѨs!ܫ'MxɋVVA=z2 -oexmGzc-!P8*%z6d)Y-7ϔ`:Ӥ}I@Ȣk|eUm.T/UwvuEu͔`6~f$߿UD;y.bshuTJ.zrVa1ȕW8XKt$֤+qJ^NS1-?-ii.9VSU;#yXFF_
Ab9y]+waZ-C#^|RY/5bDATj̝*of
&>ɔ9ҤkF9œ69Dyd?S+xulcоAn/!tYayOF)y&nMXwa|"Ce@4ܾaY^j_)qIA̲mYdљ`ئ>An6iP M$`Ѧ`8O3eq}j?;"iY-p-ܶS9lpTW%b%b2hN48E,ߙh9}ʾrP͇|ʎ:0mwGwᣞi9-DOB<e츂pg%& xH߄L7Yt!Mϔg*&ki>+hy5>F)T/MŚMVR`'8OIFIPa9KORE3j4S{Ëmt̞r{4Ju
i26pUMdIhĔ/FeF#E"V{2I=[K3¶9ۻNLĪtr6's%Lub)29$Ik,6)Vln.\ XFTN!ʉ]W썧E:TNdUZII*-&oAWl2m)/fˣt'pTYm*WCsڽ,2)~T,ɜt`6t%vC`Zʶا@eҺJ0$ۇ/_-**yL3&[UHӲì
⤴fZ'K/-q\a)uMY2Қ28:</rljp<5N~R-0.-I*|o ..#At1.䱎'`oD)},[E$)pnw#X ]&\'
-6OBX=%^0oݪ p1ParYka1'bͯ$_MXҼybl`,Tfq_S?2Mȷa,DgJyO4*xZe٦Ro!RY5ĊI-Y9MЊSl,iCuٲTRmZ<
N?1A&c3ƢMBSqZ5p,}Ԟ<{a&"TcdJiNS.W6 -6Oe3ʻ(E-udYʤ*<j&WNN Zu`Iʚ]Rzr=˽9אw9 ?2SK0Y<*NY/DV1bOtr`szK'Y$l.:hm=&\nY)
d՚&t<j{՞_m$wE7FOnj<m|+ڲA/
6㛩:N2)'BK,'.nLۚ̓j:?y
%IO
6OkՠMBߎwɊ/hlvj&v2ǸfߏjPG*u_3
8j?ɤDCH%2<OLlxm zNԨl PҔfMe)D*}WC[p=֔h0YRW$l.;tKIoUWy]ըbo*oTۉ10bej
*
֫$Nn*`[XN܄h5R|*$%JxƗfN8 I Kh<]?c]Ls۴Hr4ud6j6SgRɞ'Y
fwٴ.텨M&j;5۸z{tوK\&@h)=vkLR;ye=٠ӾLdZ'좸)9ɥ#YYDYi0L~U=Y-C:E6i-+
0Bj>R*'d<i`#ȼ|L=Yɇ&b4|1M)%7X쎮Z1Êi *6}W~o,9&o-<?V/`\ݢJ}ȓQFl.lO8⇿?D}oyrJ/wj˲iһeQBc)My2)L??|x-
@{xwaBBrHj\J?BNN>õ+unNu2!ddXI9vQT^%R:T]*36B?aҐmovӜsaJi'*8BIfX͢
BVGrW(~ęuPi"b$mIVJKTu=]7Lke,5)UH9]ɸb7)pf&Bg?H^(={=qAyc
4jU]@(zq[ZحSJmFmQ6sU"YzP)}φY8iiV/~R$6^{{l
&,\PNeAhܿ8Ҋ2mBt&ߋQY8n
)[v}.T
`HĀX2#0oڼܚaZy83|}9ޕ%YAabmo>ӃJ&ad%4[FNfwqPxܔ.
)7mu2Ϧų
+,:SRC2B,S<2odw4߅فotڇariKE,28_44DbPkוT͘~>
.x2oK1BÌ0$!k!V..]Z֊>N۴&^/I1S-2U09*B!M
y^k6H&{c7q+$k9NE4tI6e~`T+Ѫһ+8E3R]!.!N#W%e\
6đtƴ)Jr|Nz.,cw/u%[=X6QhYnCΛq^jϕE8
_K״;$kMX:r1]p6yV&_^
SF[ypnETmfr##A.=B>2fYT),u QAxVfϷdcӵU*.tgK`SE{Ih+=Y,SZpb@uыɝ=oBWK~>zVJ"6nɶ
[6F=,HK Q4Z4spT.Yt9:ɞUM<m[Jo$KƳ劔[a]u<x6.:Wm9*zMLѫ,%@CMRa3@3hݣIc4bJPaJEڦr%^L5Xn0m>'\ت$1v}fÁXW䐵m_!z*K^T\,1JQxE o<fyiIjϕCt㦑jarN5-b\#nAX# f)"h_4!Mr0IHkݔzܬ&%Wj0)i\:ͼiLdV+bFfI2BeQ2°ha:)u|1;ӤweXi~`1=$M뵗SبLr8.t-hL} ":蛐<!1D}mQ$L}F%mz{F If
Ͷ8hibewy4P䴳x|}o7U.
4_|zOLIDv tLࡳLVK'6K%ݭ?[/PߖBRɪr{m&Û$ߝTfoBz$-z%RMUjn0֊ӏ%)'qٛ9ngO
0%fS/a#_7'S!yPd:OmTr{fyق@%}ɂ%W(lISIY$1{㐮9`GC}`*@r|fLDfZFnaв>"?jѩ/:,S)t[tIHurR(
ԦODyɝ{
SelO ?0*GhDJa^TjJ5>B7bw2ӑbK0+4}XrNy4l7D-A3۳%:ئWyVs<8N67+ɋ'E" ..z|W4Njeh5-P[P&[WzSN44@yʪi]\%! B4LQkK?`fN7zpbɨ'+t_m@WsfތkLDbFz2itFIJnbNdӓWDRT5
^閸:ˌD"HL͚fz#,؍hX:a<$u'I
"K\'(#U4op.S]oV0wOiRHh.<EmIV',dʹ8S ^}aJm)#=ie|rCNFEXQ9!6IĄfٙ\h|W8:l2ϩK>E˨)\c^H4r)[.!T2ۂy
N6gL3izb.D? f IENDB` | PNG
IHDR ?1 pHYs
OiCCPPhotoshop ICC profile xڝSgTS=BKKoR RB&*! J!QEEȠQ,
!{kּ>H3Q5B.@
$p d!s# ~<<+" x M0B\t8K @zB @F&S `cb P- `' { [! eD h; VE X0 fK9 - 0IWfH 0Q) { `##x FW<+* x<$9E[-qWW.(I+6aa@.y24 x6_-"bbϫp@ t~,/;m%h^uf@ Wp~<<EJB[aW}g_Wl~<$2]GLϒ bG"IbX*QqD2"B)%d,>5 j>{-]cK'Xt o(hw?G% fIq ^D$.Tʳ? D*A,`6B$BB
dr`)B(Ͱ*`/@4Qhp.U=pa( Aa!ڈbX#!H$ ɈQ"K5H1RT UH=r9\F; 2G1Q=C7Fdt1r=6Ыhڏ>C03l0.B8, c˱"VcϱwE 6wB aAHXLXNH $4 7 Q'"K&b21XH,#/{C7$C2'ITFnR#,4H#dk9, +ȅ3![
b@qS(RjJ4e2AURݨT5ZBRQ4u9̓IKhhitݕNWGw
Ljg(gwLӋT071oUX**|
J&*/TުUUT^S}FU3S ԖUPSSg;goT?~YYLOCQ_ cx,!k
u5&|v*=9C3J3WRf?qtN (~))4L1e\kXHQG6EYAJ'\'GgSSݧ
M=:.kDwn^Loy}/TmGX$<5qo</QC]@Caaᄑ<FFi\$mmƣ&&!&KMMRM);L;L֙͢5=12כ߷`ZxZ,eIZYnZ9YXUZ]F%ֻNNgðɶۮm}agbgŮ}}=
Z~sr:V:ޚΜ?}/gX3)iSGggsK.>.ȽJtq]zۯ6iܟ4)Y3sCQ?0k߬~OCOg#/c/Wװwa>>r><72Y_7ȷOo_C#dz %gA[z|!?:eAAA!h쐭!ΑiP~aa~'W?pX15wCsDDDޛg1O9-J5*>.j<74?.fYXXIlK9.*6nl{/]py.,:@LN8A*%w%
yg"/6шC\*NH*Mz쑼5y$3,幄'L
Lݛ:v m2=:1qB!Mggfvˬen/kY-
BTZ(*geWf͉9+̳ې7ᒶKW-X潬j9<qy
+V<*mOW~&zMk^ʂkU
}]OX/Yߵa>(xoʿܔĹdff-[n
ڴ
VE/(ۻC<e;?TTTT6ݵan{4[>ɾUUMfeI?m]Nmq#=TR+Gw-
6
U#pDy
:v{vg/jBFS[b[O>zG4<YyJTiӓgό}~.`ۢ{cjotE;;\tWW:_mt<Oǻ\kz{f7y՞9=ݽzo~r'˻w'O_@AC݇?[jwGCˆ
8>99?rCd&ˮ/~јѡm|x31^VwwO| (hSЧc3- cHRM z% u0 ` : o_F zIDATx|i%K6W($ r~nd Rq
GP߈#VD3D\#fĎh+bG#v ~z=>?*"FDK#D/ZϿzΊE~oy>F_~i<9"VDG_r{>|~W{Hȿz?~yx%ulKIy"bF)!}Jyg~-Gϓ~F穖CZS>Ow||wlyYo?tF\~}ߺƳ&ﳨϷ}J)sgϧ8By<?p._[]CFZΟX˿g9A]ϯO.K:~?Y6̚}Mpz˯?ϻXc\*6Ix0[c,;|Ӱ=_qx>|_2 y:U'v>DBV_6߾e8}?Mn|l-.pxr
z<?d gVyV3ϭ.
n<[x<қ]s~F۳T\MN
gߒ}*z?~~b9rtӦ<GWi䀹:/~g~Gn%J=səZ[kD9ދt*Uh}]+oSv)0?|s}zj)&&ϐrx?[L952oȓr3T9ySJ*Q~nrT7YWd7^z59ޕY#{Ĕ=T,Ӑ_/G#?y./]Zg-coQ-N!da,Q*+,R~?B~OYSuO`ꑖ|w9駬~J\r4y![8X*N疿ÛT}|ʊZ*/+XvVYZis;lUV~?ߋ֒_rzm~{_ز\&xJiuiUo
z
CM/9˫IGۚk[{7AmЖEm?N-cNW$ gwR\\
9K<HZ){uT_6ҥFʯٲs6{:v)B*]`z"ZW,%;S}pDZ;b}_3ljrˌ!ME8-]ռX{ ~-Ֆ1w<mOmRbac(u8 ) ݝ0N!S;:*y3?,|%\jV[*^M[j/iuv?kQ=+oy%-CPH~K0Œ\I=\z<+=eޝy?oxzGU<C֨ѐdz^E,Co6Ij|wl*HKSQ5Zw9n.oB:,|ƿJys+X-\1[.6Y=46r59J?D!o9/iB^$Ԟ>uǨr7QQTg==ꒃ=Vi<Kek_W4]n7RW9lnϳ7>o!zv|>be*{5lafv?I]Va{iQ9f}d@~iQ<ۢW-+pX"xQ/9zgnQXj7fS5ق];
ny/ɑMݫ9m.-͆zS_ثXPݲU7BWM&:^&)[jʂO{->d͆,YU#HR>Ivqn"<X>zGJ%f(l43fYx7v\^M,R_K6?M;~H+_aVcH)mkns=ZdyImʹ[*C lY۽oH!Y,SۦmXz :mu]B:\jtWyC
9x,6!Y:82NR
_Xd,9𦔰mkr٩T}S62[E?,-@3 ' 'Ro]wmCaɽϔ=kn*Ws3H=n-e}>4o<[hJ><]R!+m9غdVmQ7Gx[jTu\x'K1jH$_t
Jiў9xũ/6<j\۩r.8ITTezl_Όgd]G/ Ni.ZQjSֱaH]~g2]i_seٚv"ò._v
.ԃQlڽd-4'P7iWNb3ma_ }s+rT5y*4ӀIj HfS6n+VJ:t:SE>K}+KFu:!ߕtsPZz~g2_</.RTXoϧ iPyh6fyCd`Q_"b<霅_Ϗ겻nN?<)d6겞ޥyHSJkhDʧaԴ%֯w{ɔj>|1NpU[۬>D5S_p*KT63DnR]^};zjR[w9
lNՊtB+6YKND KT.*RiWu0btօ 25Ln>
*=܃C=;zN[|0LLI<TTlJj6<+"DGU|T-+|%rЫw Q1)_uuO܉jb&^|ʁ!GVޅP`{B^6
{JEd>ɔ{>I[+2o2TlޱG)
?įTy[44
.B
*lu~8DƏIL?xY3 ).f*jG%)VHyַy0!nlH KvH٠'Y5*Qh(y²-GN}qc4+EP&lI0L[.*ET5[}b4Y4mV>t *lb S
Gu,^/c#dV֦V.naC*Kïq ݸA{>a
, 1H#z,RUn$-*{Xn0^'&H!0BJj/A9+l֖$.< `o|D0NӍ0V2Q@ S-i{èzT<[:{OoN+QJH;Nʣ|,Ԉ5BEf|!}hgT;x^ykt@m3 !IIzFn*-ƛ/Tj'/b;~Q`dCjW2;T쯓X`ҭny:}R$Pn}bC0% oH/)o̻Xxm3(lG!m}eJ$ڄGDTAب 3M@g}:ڵ9^TJDH7:N;?]ծMQh56"fzLHb*ϲV&tFM\ L#>ڋtN'JAdU;2Q=ւmߐ7rNgi\/ɥ0ƎY7MFU*1Qio*GfQ;%6< ᕅ3Me\$)y "WG,oJlmF^]*q@ɔC#d/Bn5L&H:iprںPabҐ6!
CE8`&ŴSI\,sZm(
MtIPY-vIQ~I7\:rT-Y1FgXNzC=F7?g`HY%8k25ApE9ޅ!Zlm}?T !ūIH G.T8LLօl<M0Ƴ0/`euxd([L7ys0+_S#6[6~JJa!}{rwz5!dX5^fMMPHAB塻cfL9T}!(ċ̤VX/V ŹmpQ3)KD-tć)/,k7M6&AvWHnaʤb eVHÐHl.&h.ɡM@~1ь1z'&4fhi&ĩبq(Y: .|JQ5btHXKɛ8ۦRl%Lc/?bB366rBrРNĝ
ZVN:g-FAqQ44NL%&P/}rrg`zPilI~i+Z=z6lAefJ:Po8Cj<)
:jR;lޥ7]?ԔMCCVfP".Ezy<̊%X%Fwp5Zh,]K*ZJSI=M^jaM5ngA T(D6Ô 6VؔOk+BzaJȋV.&OӂbN.^oט hRPzulc;bID*UBvKMmFڥ}/5n톇8Yld Ii0[,8#C.K-"*q2ݺr:;㏕4~ e]|ÃxQΐ/1>Jgn
ӯۆ2]#
wzuH;̹6ջ|;'#q x&tIrUE[F4B-dYK'ʊ;fsUYߧ9ʍWX/L*W$.ln0
dnɵP]~Xo-bdmG8/r˨aJo'm5m]6MdK-KjtP -3\w$ĥ7Z{wFfNϛ@RJ-tIV
7[K tr61XukɰHeTB@>K"<gYn.*PbvICh-@E1fGMǥe^C}V>JBbr"(UlƐP!h΄KN;*C
y109PoTq{t}X tNTNRsEEBHKD卜.%e}`FɢߢC2p5:MTCG*~yg!ǍIM+?Օ:T]^%sV>?/ʞ0y`iaH3<!Wl̪Da#Q=Ռ
kpJ2HPiȰ3ġ%^E&\)ZrdZE'ۼaĤe
,u(*ў2FrA97Zb-JAܵ
Fxs9OaVީ٤n++JD/lr"Ue4:qKŵ8NS '\pPNF>]
¬0UmDOrYTYpiޔh7)!EllSG@{¶~4I~<1i%[TO"6{"1}Mg~_'ES}ct.=Qs|)]NEeuD|/!FfH^06商5BSy}xĉ?/8*TÉ,*WMI0?~2vV[J%bxb"A43JHX7:͌mcPW8{2,[j4P]6Y|/I'^ښ&ZHڝ`z0&p|M'Wj^,S37Up`<NY<Z6?fh܁iqYO<Uy.|C
Z,)$(UKiøЄT+ȫVh\ECd:z!Jò9'荔eFx+H+8v5
WR 2Z; Ǧ
#M]qo^ق/6\ښ$_or"MRw_cj2MA"47>;fW)OYM:nvU_e5zTmT"ͽT?B/^%N`͚As6fB+h.ݥL'
Hh:d!xTR2.uXY
ݿ!}S"N:Ne[,
GQduTO*,'/ $Dyd G57}f*$ǥ2Xsdv*d"ߺaȄk҃1xb5ur57nLWEY;<R~v
mW{!H&Dt3h7g1^.˜c-vN *`)w*+mc6BS.Xb"ZID\|u
8xxV)ÖguR1XQfPXVܓc|P<m9-&cMMB]1AʅN*ErKѩ:'IUa>iҷu9,5 M`vt?ՆD!)&A%, SKb\F]r]2[OPEMEs5)ļU&}#T[>ۦxOLW! bP7!0b|gsf P9E]n!tf"9MB>"Z o"nGCmbx68)&Su'H*ZB T*BF"
t[tcOlai҄M̗/eNkZ}4m5=!M`tvF-YM2dRp+]vr,< o]-|&Y'#ao0xq #d˗N|os;q
)K
5f&6u).y_6Eʣk6GAisR//u{5XYSN[[&C ܟ~rj[e)5kR-K{WͲ;gtj҃}Դ?ݧWNg&eN$NLj!_L7)Vn(xRxpmx$il[⓫Mt`p=\䮻
i.] vocwIG
X6'*eMwa,)Z-<
THIj, ^*}.3->O46Ib[V-6٦e;)&A4I83 P{f,xВ:uߥn~R\yNk
iGD̢\wyN|$Rԙpq2ܤ`j9ҡaX?}q* T#jl[ߎoDHMa2t#yf Y5r绞09g-ZO閽5钢2Q7 6h^$$99
ʧdR:䖡f
/*a=w6:f)s&0No('4O,$E"Z|O;>o=cKיkYOEvqtJ?4h0N>EiGW}w7ٲ
B7s(&rq&
4̂͜I?TcGS\뗔UlϪ<Ylh3~[n.&Qb lS4K]Z}
X|p+j8i+|ArzťWKͦZ.u؍ecm)-EM1"\#)pfs͔bcU88kVZm}j7gB"메<dX F&t$qx9=D;ڿpٯR"+fq7Te2FSnU*QIHOH-!l)7>οVm#d{Eo3ma)
;%sʺxj+")<h+J\x}(5mfytVb!1GQhˌߨk4M+jVMZE )79'.J\:˵һ?YJȨZVt|\̖"2U3*jb(-C%yy&R3TLUՂ͘`n
°v"TeԴ(F-_Rq]
Y[!cnrI4ʌ]MDqjTuΎP>fR'~`?*1**u6rZ6Z&&d<;
7ЊYn/S Qʯg.٩߿q+yR"PMFX)#&߰sWK
:dS(oذfGH-r L1Hw"|typpbQ$~DeK=H|r(M.Z1 !i՛3r.lӈ:9juBSI`B'yٷ])u9xy
>56DzGUC{#)';uZny]8?&6`wgX]O.r(twy,A`k19َ'4^)˯+g(AQ6Xd1U^O:bᾤF/K&%(h4ߤ&Q?yr5.
MR'%tԛov4EUHPҰ]\jM*F _H#@S\k'ɫ?S]@\FJdA.\9-֢
[)jX-B$ Xr,b&|͞Dדv-ȷ[
JR6jgpIu6,
Z,؛BdX@L<mI"a˾H=)4C9+mnS˒XIS)Ġm4$lFaMm돧dUj@UJ>pnVtmQ*ɿ9%D9Ki2T
<@vF'cBnڃy+tWt^Y6mVBaKB>LjBsĒI_b we,+K%7IdF䮒,:M"w]7O9&BT?8zEpv v˪[
mx xLXvXox&rT;>(dO]跘̙;?ga3E VϠ|N/N-!yjuY11o8zߦ\F"RsA˃{=e8uj2C*kLV"AUYA`)C(O)kZ*dI>Sa{+,70v]OQE˜q<!Q#sN
4KmMF%f4U.]+-V"x'ΙD#di[OP-6;+4m8)rcΓArⰰyMCRRTiH!t}:e%U35X'¤h'BX0-JepڐFv[%d)ES>6{",XhFńWj#t'8!t>eoH[6b7*~'.BJJKadA+k--f<`9h,oW3\F2p3-9]W,:C)]}]/nӄIڷKK\}PP)%%.{IJS&%eMp(F18z5hS@?`F&Ajg{$q>@Q,9?o&xE2Hb -U
7R*mӷ|Mȧs)nf a(=fUEKi*-u>W*z)Jƛ\b`j{bQl5y/os&62(l"5L!tdR)<:L>H*>LSxu"iǪ%dF%IV7c-Pb0g]!:]y4U6?c6&ZX&[$>n6K/w#ղ$ۤεIS@$/tC0ˉu
uU$Ja[kT:h8XXe9&9a'J'BT^Ԉ7־NѩϨDO^GXaAqۤjzbmUPE_/o*2x<ZaYTyiݔ] K
li+y"u*=wm&XlSMH!:dv2tЦrY,I\W̃"ZG-[I:Ao~YSQdclyC2ŒYZmK^j1^G3tLh3cRNy}Oy@桃AנE▪&`KIp<}BM~>كyd_D3'oS*[զț3hQMB^r
j(",0'jv9ͦ7md30OA3dw[PIй%> kWvnCUyZӞLAO:tS{1Y6\?5
]m7:Ci!ZlոLIa0arʣ~ItSjTސn[.:M-4*GR?^^~F_%{[wid\Wj30-l_B]hBB[c2泛{x+jPUZn$QWm\ToNm)A2 9ǧ4,f4jt?"c$$1'amM hFCb,&FJLKDDG]T>m+'h.4f>Vny%4r'Лa!fTڿ|179(]9JCJWJmAbiEN3R<}/BM-m2:mK&9vLR5iFo{=e$ا
CHhXy|
u- !>pg1H{ڶͼ+c*SMI.rzX6BdjЉD~ɵS!,qn^NIl7y Sp/1H6LaDB3e&6A4"}0.rprhglBC]ÿxn.i2?Q3žx=NY7R
n0NɈ#CAIͷHT#?7p'osS,'
~\ەZ W%'L67 qN@6smʷ B P=CԴzf<҅OJOP&f2F:bFuSI
G+osS\*t]lz+RW^ +ۦnUL%Q^PeeX1K3u"x-4Sb_E!{#%uz. WRS^(~IZ
ni24nfTi+[2.j=+LJ}2("i6ڿ4?lۯb<,E4)ɤ0$B}2d6(M"zh!WhQ&$.3)0k^osfm.+[PFl8=xo~&t|CN<x| rԷĠN6kv'}R++{ÇF]J
f~)$)ER%dq?=wb]k
fLgԊoPհ1HYspet.yjNߊ \;N
T/bH@*5ܕ-Jc!T=Mf!l&2sRuvۋboC*t7zy Pr&Ki_vDi7CI}֍Vɷ9KO]
$jfؖa2OI,7-cSc3I#}mF)o߶(3IIwIy 4;3
ӚB^N1GP"JHy*ir3
zV4)+cmFe|![AuILI!JzRZľvritJNi=w߭u6k~b(SB>/.oU{: qbYo#L4Oini#%L~bd;-N?4Nq
SZ^dʆPEN|,v41EtSŚܧo*paWF;oOs{Fܝ:dک-
wŅYw
5MʱnB.:mMi5lܜ5v(QzьShMl4yoYx8j8Ćeg˲ TӍ)V&\&Eܓ:?Ȕ¸(B;$u !d/)v|\n)7!ry-TИ|?+d':j|0+VnnjIWFT
c7FXEP"+U&"yJhDr45Yzx~DhQM:S9gOA|߯T~UC$h<Y0zu|H+\xEحF+sez
tOٓb7.1b! DiYAPʪR9;ņ:Ȧt!d`ͳ̊\lc`
KjHFur`'X4g <g0ɏ^Z!
ag/IpC[-ƟMHd͎{J
| A
6KTAs+K&uXj*?.95?k]gr<6H+STɸ~OElj: 9b ZZu7Uh%7iAMC]v{ro5N͋+IQ|;4H?<iS8ec%0K(&RϓZڷ\Nu6I3djL~N}`AxZmb*q|=oJٲ
绛J_\w0,߉Oru$sdDPŴC,@5\ˆ$h(`\6Vu"ӓUfS"7IeؤFii:S<Ǯ6c)sf?&DiwK)t.)&Zd&l1"edQi4&,[4s
<HhCW
ѡrXMmVT^NA`ʲ0AIA ]1Յ/NmmVH=gnV5UG9|R-&M̴+d&J)}SiGe_:MaWN&iK*DXTZ|]؋1YNfnDҺW'f0YѻqfhpѓVd("Y!]~!A`mi4l-eEsCRRz:='AL`[]nnLߜpbߖh8>ܖv_x+4J*$E$OSiT)2Zp'5emIR*oFl~aټT0(L .VV7SQǂ{N4bM:j^)Io& *gj~%]Ȧ#_װ)foJSg7QﲡNZOlc6[3Lˆn:'<{Ӷm'G&IvTÚim"|L}}o=bSYnӶrdQ 9ʴyK^cUگqA}/|10}y(ɂxTԧ&f4oxWGby+-^)oW7U_I"^%lI4'.*m&[:1/0yNRD0/6?q|P}|}qB_מ?xN
9-nZNAH3),E&d:QkOk,4?۲oV$j2DIΙo^4}ӭQN8,ޡ3?iݐqVh[?LKEd
'&Ch;MU).,ʐGhhb';!o1?e;`)6JF&;p~nй7STqҎF}nI>f!)MeW0i7I^,uV jrfCaAoXkǾdme2kliWV-lb&UsG
tT-%mQc9z{Ah1+Roeq!*7nnA?#hK>^,DbiIS[f4ُ
m5[<i9Kl"El0
YY2+ôR&Ms^HËϝ6@pmsn$m%A+U8-N)Doy,_v|McrBR9s6M)YL@a;o9WLam5\+YhCC/c͓*VYTb%鶎<F^qr64LPuGw|b쾈*&/\*$1XNɆZ ]<bh
,P*Oi'Lxe=L8:7zWH /C1Q++ďS&VLz-G4fhh,Q A|3)ɻgQ<IS}F>M{SR&@Iy`oI.E . %<JN|71 M32ߛ#ŇxVO^S`)W?N8Ӫ#0{XBᗽ//WthJ%uezEyz8^vt]me|7Mpi
{FnoWvj]Nf7
.fiŔ4
6}Br"}5b[LOvMf7FYlӚY풿y~x{5S6sԯG6*6Ea'YMt5huŢkXb>:Lte,s:5iەϛ/c.-0&b0PXeMu"cŦ[tmR+_v<2B
gI?caLrZTV[&| Ǩ\
Md-9UڿGčKxy5Q=cV(AsTT WWSPL]ҒRǵԯյ&oT,Z+h/RZTMWO0|I:yoYDgRU؝$- arO%e
in2 wWaIal2a:TO/)T,RT
IsIqr/g[H'`~`?=(\"P8U7U3Y%$}*5zzƃVBǐwd{ɦ<PlJoW($Kp>Neo$2o$;-hHu^)2ZxW*K9.Dӧu;@jn0P"Izgn}R-xI~J#i=eۿYK1/f-E"28~O
vG=ɚ.
$A}QLD]&QD:m&͟I;KWY<
jTQ*a\>+Y0%Foe&
..j@",*k(KsuZC3B&7;Ac<,0tS1ɨ)
L_˭!|}BQVTA6WKf_3<*+[Ð0)iy~r
=f5O
'*~kmizBd"#ȧbr^f;3]geb=P'vCoM,9bL1T'\o'p~"G`ezK~ptfjBj}/2.&0|[ʔQD_mC]%%>S|qr$_R`z4u2勤r(}}~+oz70;WjjL|KR0<8<:-8w
լ7uoxp 7JW;dӌ:z@G{zl-˩<}`MuD< \P6'Lu~ɤlc<&@SVSEN
7I
sPKO3t.IG/i)"tTm-Ք^VɻdfZre$?b(oӔ`,5)+ق˓j]p"Bnju_XR$p@e%y{tJ/m:s|(qZc}>VZq-"ɥ D˗\-u.yuKxE}PZɕcy,b=l:[/,r껷8mJBg)ڐx (Vi~)^! LQetAVJAeWELQ٤kczݪHob7せrFBW*gyR@+w IM&
=}ԀO'2ͨ"]Kn4j$/y?*n&,XOro'"}Z,HPPzEMl 0L#BK4WsIaM]Eݭ2B³ߪTňXRo,{ŜS&@%oN,|DJR̪:Ðt՚,xT&WLnRlN6C 3dO$ɉRΚMr}b_MPDͪ/=i^N¥#Mb<94*QOe]&ŪJ2bu1f9Mt:7'x2/<#[pm{*ϊI^ *3uZv<n]dl㵩MBeZY&Zl6ʠCkC/]@iYjri(?btJ!٥qW)cl+.af:mze.hRvMW#T!6P]$J~eBR|f6Uh6i'-ͱZCHGA*R
M+y%\
ʪe)3!\r1*&8yfl
"Eo>y"viqڤyAAbVP϶^ac/]:'tc6f1\뢄h3
p/sKlnbYrak>T(Ոo8$LCd'/c|(M#*q"i&;vz&D
u~Q1M|Ns%=\2 ΕZ'g^&2u8-~4L4D-Rwy>[::[Qe1U:iJ@7TrR8RPIm%Q'M^N˝E1-5]sHc^m<u(o:!1H0pkl&^M{${T
i.t4)TR}ߔVva8ǣnYLlF\I!j"2hL}R<<Ö"mEXZ-ش|7ɮ72!>'Ke\F
ZcAUN
awu{0<=uN
!|1˓Բ/IAs_G(kɞ2u ShXɖ\":S(7ah.D ˴U,GilbڛKM2ZLHٝj$Bin&,ioۓ䝓z0^0?WcȨn$$|++:-2J I&̇vۙz'w?F}\D]xEM-3tMF
bmsS|'rcѥB^_O7W4ZjI`"|3er]Q27K4\).4.}̲[ÞT*V %l-B{71݉^
]Tjy
$;h $HeY<*%U,d *`, /WTF%(YC %uĊ-dd%1wj7ekr"LCZE{<9/.sԩ|F˴5oHBvAIβЋnsL茦~HxKrSjQT_:8LZoS9+G$}|3 hĹ*鼒ovem MY2S|P)
j~aద wKѐ
T_N$=^K[fS`Xh-X+t2bYɕXuAwHZ 6T4+f0W%~K]Oz"AɌۈ'uJ7ս*:h.9NM.
PSs
hu7OtiMeۄ99Ի~GcIub<=h6li~m,]8}[MćʖS#w)T5RHe%FAUwߒ0p/tAI}zՓth~i_ StjzS·d0߫9܀ɵrh1,aBMSgle8kE2T
iEWRwcD/>>ml_fe
7"U^haV[,TߝzYjejl*4UAӸJq/ޝ
L=-6[8UZ~1`&O)/;4n)kFf҃bXIRk5m;Iu(-,ӺBU7.a0.kP-Rg.x[˛Jnŭ,/h?ό
MpUDeZ屒,/â:Yy'z*R&^d֍S\o69n?WRLLhGp0]en?J7ü4)Hܺq;HU(ffѪF3^6*`4a)QY *;N&D&78$YT4yV-&.]d%_p)W&caNS&'JtLJTTM0#amAX1I4MT
c!Ƚ#6VRKV^Up˗Q':ךUje%bD(-i/V")ifh|xniju,O?o}Ul/1YiBLArb-_9/0ٜCC9[/jqGSW2(t,XUORhZ0Jj[N%Lam6KR;7'i.Xȭtа1H("0̖R?]H$SR Lw=@HhibFѷ1$e^ ˔ |xQh; ^ft/{Miۑf#܇9%/ͧPoߠަARvN<Us3*}ZMw[L?Lz`H%N>f8YU"e\ ƇT~SE/.Nڕ^ڤv҇2oVrnjRY^5?)U!E回sMM
Af462Nc)XFՊkgYTm) eHRlH}_&SC_^JDMPb'CAş0.\F)b0ͳG
~.jmLVaV`P67a.<hMB!Oy)6M,
DˊL\'n>5)^|/hҘhj5Z&8QbPݹY+wNF)/ltf4]Fߌ<z{ON3iHx_aCV+mᲠ әH?t)Y*@CB՚\_C~o
K<tm%fU1(XÔē+G["N}߅|uA7iR043h'C`dtFnfe\eOvSjhz*ܗ0o QI2Bi࢟h?\){r|,.6
k$H،:k0;u/,dY@ ~uQ7EYMKLo{_̛2bh]sN )i?0<{V/~5k(ZROf.Zi8 N
5fgYUPyh2C!a Q`LHcab٬6@"L1zl|db[+s$&^y.vW|Nm6!>p߅4џҥ
ɶ J,}Ŏ TM7<4謙fCpEv!Er5U1ɖ1ڿ</.s$
I^ϚM?FOdj\W<<MJ.Eۢ.q},Y*D7!IfJ"»HT9ȹEeQzN5MbnGL2iןؤ}OJ)&9M>PGv'ȭc&}doha=C!THY\ei|SwcaTY"['Sk|vAi^hF܌s.c
N鶗;."<9d.1G@oq-|QQri/eiu/qK;?l^[=d!ѫMGMaH"G*]S/!0OU|> ږ|d^RI*QRjQlU bzIP,,Gi5Oia95jKxm^*!r?l:{GCV6diDal`|g/eD+sS '@sѸ>~ԦhnSc"ף32٦l>K:'GT0Y$DH-~2J%W^)sbU^zߗ3c!%g-&7FjqJ0>dIɠ~ݫV ̓Q$HXBTa6#1JENRՆ*]'nyayӷ1ɏ^h&wAKEɒgGD?8٤uT
ԫ-~'ī{_c'[lD/Y'?5&A)ۣ?GW&Ot
.T-ҋIHS!Kڰ7vɏч'Zq+y7 ۬qWKQe%mbei7nTL(6ltsL6](hq.H|V8iO"Վ2++Aa*JZ&eUedKkGg!w@pI䎠TR͢
KafZ<:*aݳْMUeS`ЄW%6_I..hea;>rpYCi$Gs+i[kryLf^$ޖ]
L*2&q6'fL`[on'p$fVO]
L! 2ԿI^\-+2gC/V9
S_3ߦG6ErOпʼ)6_騻8z)<)-^OewEF
N9o) p%}.VAE%RimB.yw9
So=[<5"WYmu/l<E*SG-*aqSMUrg˩ilM~}ۈ%Kw),y;1/qgroqѬe$ё_5$'T>T]59F'E_m[7gXԏaM: y70WnaNABasC֜ASd*YNxdZ\yٙ$ (Lxl67b>*>5Za8I\{I*{jԥVI!dqeXN>\yxBXIL4IuRߝC&SC
Va5v4qgwG6}I!Φ7[rvC\%5ƪWH&r uw&rzM|0H6MtnP&O)9dMA>nTBs˃w-?/E䷸Y&w0ƿS=5~c< {t4-Mg[TTadGe2E=6_H~AJb\3RtUjErPLE]NA[-oQ s0aĠ.L<ғ\ڛWÜd5ӌHa:|2J:IjEK$*T QO
I<_6LP"-GPEؿ~BA&B+YmJ*5rbkkjΡۖ[WOȰ{Z*.
!
Z;f~ T;&q
gY;_nr +yOP]x*XD!p*ÁMYsz bs3'
V~ؔkp_'TX|K1äDVc~3RVdDd WGJ┪ .h)ut(kTiUynNQ,`j۠muw X/MWR{f f;C&BNMR̦wP*埧G1Y(&}UlTZ4++Kۘ\j;lll)~C/6U %[,-bhS82/YPҷ8U%Tnכ`KSiu)
]Z`'Uէ:~jNB]\#+i7FA*"zjG9&Z[-<ÌSN[3٧i_1/ˡFZu.=zQN4Ldy{F94ZeU0;qR¶.b[rRK%V(h8}ZHoQn|CJo\E^vcbzqCI%1IMc~"c4P5ZmrJi*B'+f hd ąrݻu&)oJ~N%>Mc 喥R#xEOS&bv1'^S:..ny'E-z0$O%wɭpV9vΒ<AFag2o4@K*] c8T,CCU7vN!k]bkM^L߿4JXZ5eN#ݯJ{PI38}S:)h~L?FH}
6pKf# dKVJozTD!(*ifki2X؝ݰͦ!!5؛%1g mkn^s?mQv*ӵh擡TS"Y'[jr"8MVnIqR68B@X&vmZ=cuw]f0b-G7OIm bH\/+/E]VjdMW*)wP2˛bP"UVԛM_"{+h6s+E(dD0rɜu20HZD+q³ٸTH
lJ0gG(I>Wi=U-Ѥ
g[c1ؚ$(4Vr=!"ZlXUr
>>bI=
+/ԦA^}FU>Y0W43~XO'(H)XN[HM0cSqhy]1XCtx&EKǔDZr6am|#@I;aqpS?
ql-~.E~d:T(//+[٤IuNB |"da荒%o1"hi)6$sVMY*L7Imb~yk6H`A14'5j0);ZwU,d9n&DM`:B7*M!F,RmSKԕP=e^E4{Ы=L#_?mC\^Ϊ6粕_*NHRɘW&k.@ga#@xK䦕II'LbLEfaU5en
e](o}q>ԋk:Qf_FA]Caw*;~N"B!^1I`bJ-T$8rnJ6R_Y<6xl3q& *6+emZ`NAv9MɬxsH\N\N1m\C 5ЙtЫS͐\5Ii!VOV'$GJY-uMKYUTx<+IF9Kh{|VT^0)"Pq^Ȁ:g9c",3],RI1F:ڐºrx7(7xH}6M)>D.%h)ҥظl'`.`a~gK{TG/&e);-% .
>+Mn~%wBrt[Jd'Qy"6)n/uN
ҧ
*
'$u|0Oub#5 urϝeIRNq
b6k۪iY8d`h[ЖaGfO0BTOsL?e
6VTqw<eFZ4?T(JTCQ ?-I)
[F㛝~^?ݔw
52s'жC.T%2!2H^u̅)lU͒Yh!%bP~3GHJD1e|V$\WɽP&2N|LzKž6Qn
RqגSV4-&.zoGT9&IPp8IQKr="bi4VHݲR6g]?sPBĉ~
0"NKd4zo$rp¡ya!edJS'0j>'v(
\J4"A<t-3e.LMA0i4pLЇ\0kfõ7@he\+|_ct4'~JEX%su}/Ε;b@VllA{
KHwkDVDP'3]<.&}͊!QI["o-79&:陝NYYBa:PG'*S~?K.M&6lrڪD.XT}ggKqL5';σ%̂3Ri8+KXիJ,ޚw^2owq1B/&_TTXSe TswUɐxqz\-x*j^eT;_<[3n6UeqW8(.y&.@5Apˇ[ nrQYheO^wpMesf\O]Rݦf=MpI0`ܝکΦB۹_pi6=
Q5qU!zNho
Cϗ낓N#.mR;yêeYt[4!.6FK]J蟅f;+#KJ2!ȋL$ZиRAISTjK0IF-Ӌ tDn+8vZ*i'C/cǽ(g);eSZ[:$:^c
6wDH;] O)s̊k܁bW&uԷӌ!ƑmBdO:2C1Q$o6^7nPt:LpPF6jMCbq*lBY}cE͘`eU
RJKwnp6o[eB"x>5S/~+a6af035LJyHeijD34QO0&viɊ&}4-'Jre%cojbă$uGN'wB5LJB)P,+ɔy\8ksڃr7tAmvܜ,Oԩi<jՔkՔw(妙d<ɤI2 b{<My`&t8Ia4m--fKƩ[1ecȔ$ڄA)'we!Q5.fd}n*BH)JO%ZT˼yYVVM^=_f5#)CV?.
v6@a0<i gjD
O%^:FG5s/'|_DGtLlI?CNfN/B@Hfdf"6?ߌL2X-w.͑s3ܞ}}ҝ iFֲT4ętΛ0Kd"-1/6% -2=m>P<ЍyJ$=0~a#7hr( ߡ˥Z}XE72K=M[tf&LQ\+!{YLa,Ky|DC"_FUL<Ba*NkG99X_eARoS7s~WV8kSy%F^̓'x2oK%_F>(*F) ]mڰV@*7Z$n+3&%rNjbld^*l]͋'-|is9X qaM?ٟUO~S|L9):"dwUŴEĎDE4x]STUfZ-2za oN{T|:Ka/˺5n`]_TBUKEO1IOEׇف|ٲVxgq$뾉ukS!>nv7)Cd)&4̃I~<٣iSho*]bT6Ul 贒!jF.*\Gw|tJSOU} c#n#Vf:N;V[HU
!2jDa%IuLd
9)aM7kT['+e1_evy]!c)!.?b֤%kw͕*92FOX$یPH1Wk(mrT6=TϪtces.=AMzNmi6Y]"-dVr.J^A шʔ-8S_JLx(\l+Ǩ㶐v.X&nT QQaYY6D2$m
RS5Fe俧 yp Ya1)BXINQo*4R)RrÄW< Dc'SjvVl5~ӛ2MW VHۯTEOc3>k%XŢY
/`(['{-S6xU`UII쯛_m%ξ8)%
ۤtLSxPKNCs@br$WTri2) 5
#fXbҾjO-bi'EoZMՈU7פ/*u^3-ʨy":\<aMvW ӑe:(MW^tMmhcd|K<H9QSTYøv˵;,Aݡ'];6IT܂k DKY(a4
MNc%iaܼ\mF9N!`UA<Ba~g.l7aE_V$9esN\!fK,$?
%FUta֦4N.=>T
LtT`5 EmRx20~@)<I*)Y؛qŔ7q2SG/hҒ־QR
<AI NAөH
q_9f=;ns~zqȚx_68u>hǴMV
=W%X_VXjZ]\YUuԓ:зj1k*ԫl_!-{/"efĢi{sAtoz!.Ah82re%)٤%Y1}S" NcP4OWZj0nSN^ '2l>X0Im!mK7Nb%59'7ZPyM%J7Qjt,6*Ɓ Si)aߛmb-t2+~WDV+x m4H>
YJӷnb&oa˕SaN/UDi,Ř)zf_|
lo^-ܝ
u>jr%uQR^c&Tk!^Mժ$h4Hd63^ߴHmF@ [1k .D:Duz\TMVL:T:mzT.Sd(E7,9D4to$m0V2'0;Fl4TNĝr4Ǚ,^!*.-5r'Ǥ)xM fQ,NIÓm"0w4ѐ9lew,ie0V\J5eܶ;9~eΦ=MQcGNڈWO˒tsP䖱{gPcɷޤLSdt_ՠJ9,1)<+wQLAPZר(]Oe>_y^ U3)hE\'825.<Ǣɲu/Iyi?d+UR'
M+~lZ&]Kv^-b%xV~0
)Մc+.Z݄5d&f5m"˪_]ä.tWoB_=:8ۺ ^UdκyUV8A)%b9
\4q-/>,
3hHf
ue.DBIalMz2EGE"9 q&{
JaxFaZEl3ĜǸpՓߧloa>V&Ww?_HiɤdhNpirͶ0bӣeWEu<}S,n$X}&%/nq/KzNeâiUE&Ji17Gء售Sa)BPmV@NSe)'.N@6]aHB4srNb~*NVb
C[aRZsTrgҞZ!Esj_;J:ͨk->/睕f]dOKϴ0@39VچnU^[eΛ}̓Ojp&/eSo#&&EcnPEPMK,8fNmEjƯE2&?g4m|I䕬Iedڊl%U$PRHO9Lv=(X'nZ5FG`i8 %Sxs$I9v*D3@3y7`IPQ,MyrLa-);ba}6Zx>7oZWO|aI3^$g^.*dw6,f>'>l
\0LⷮXr-c$K`
zҳp%Ŕ2$aNL"(MyP&SСdZD=R'~Y9Cb #HcN.!>Oi
֦,Kx)c#Z<Y}Qvrrfq
ҽkwT1/y;?((ky`AcMrx!tJ z*S^iyN_4ܬ5]fDM /7gCőP0NDaЕ|xa㪰)#,AytM,t枨YhRZ_J]% ^ˋl4TWU!)$%ߵrUJ_VKvg2[_BOb2Iw)gAKwj}Su>|̢SP7rNj7;Gya;6l Of)$[cs_TP۲T%at|%]TeB{d4CUP Wm`5h):DZztKme'{ @b2~zZ5XЀd, -3UlgcW5/S>m6tTKNr&I:)UKfTbNu1Q?P?2u!xQwKӌBZ8enaCvXuC'/VwmySS̎<`emn
7)h[1YRY`W[EbLgG*4=HI{.Y.XĪjwo/T?OҲ_| BW]yMsiN^kJfPJ0-OO^4Z&%3e)/!O-_2r&SK
#$F{L#7M#7̓SDH5IEr{uܢ>o t6_%4YXmn4iw ~Φfr}I!0fA'_ml
73CE>""r,
y")tQWȶFnnH1L$7A'q&
!x5I/pMYW%L12V6fLiX%֯LT o}dCLXdP
*Nb1ہČPu;QQC&8!fVJQsU`-~ M`i=hHՔ
:jZ[.Gw9}z!(-dp4m6P9E/'ߖad枴#iΣ";M@JYnh7e6*Lk{sPUdn=^2DRA/L2i|Y;}jX\q`Ê!-Ƒw`a1ԍHjJRyq^[;ll<U6vMEqx3$b90Jx[ޗtDTa-RfѨs!ܫ'MxɋVVA=z2 -oexmGzc-!P8*%z6d)Y-7ϔ`:Ӥ}I@Ȣk|eUm.T/UwvuEu͔`6~f$߿UD;y.bshuTJ.zrVa1ȕW8XKt$֤+qJ^NS1-?-ii.9VSU;#yXFF_
Ab9y]+waZ-C#^|RY/5bDATj̝*of
&>ɔ9ҤkF9œ69Dyd?S+xulcоAn/!tYayOF)y&nMXwa|"Ce@4ܾaY^j_)qIA̲mYdљ`ئ>An6iP M$`Ѧ`8O3eq}j?;"iY-p-ܶS9lpTW%b%b2hN48E,ߙh9}ʾrP͇|ʎ:0mwGwᣞi9-DOB<e츂pg%& xH߄L7Yt!Mϔg*&ki>+hy5>F)T/MŚMVR`'8OIFIPa9KORE3j4S{Ëmt̞r{4Ju
i26pUMdIhĔ/FeF#E"V{2I=[K3¶9ۻNLĪtr6's%Lub)29$Ik,6)Vln.\ XFTN!ʉ]W썧E:TNdUZII*-&oAWl2m)/fˣt'pTYm*WCsڽ,2)~T,ɜt`6t%vC`Zʶا@eҺJ0$ۇ/_-**yL3&[UHӲì
⤴fZ'K/-q\a)uMY2Қ28:</rljp<5N~R-0.-I*|o ..#At1.䱎'`oD)},[E$)pnw#X ]&\'
-6OBX=%^0oݪ p1ParYka1'bͯ$_MXҼybl`,Tfq_S?2Mȷa,DgJyO4*xZe٦Ro!RY5ĊI-Y9MЊSl,iCuٲTRmZ<
N?1A&c3ƢMBSqZ5p,}Ԟ<{a&"TcdJiNS.W6 -6Oe3ʻ(E-udYʤ*<j&WNN Zu`Iʚ]Rzr=˽9אw9 ?2SK0Y<*NY/DV1bOtr`szK'Y$l.:hm=&\nY)
d՚&t<j{՞_m$wE7FOnj<m|+ڲA/
6㛩:N2)'BK,'.nLۚ̓j:?y
%IO
6OkՠMBߎwɊ/hlvj&v2ǸfߏjPG*u_3
8j?ɤDCH%2<OLlxm zNԨl PҔfMe)D*}WC[p=֔h0YRW$l.;tKIoUWy]ըbo*oTۉ10bej
*
֫$Nn*`[XN܄h5R|*$%JxƗfN8 I Kh<]?c]Ls۴Hr4ud6j6SgRɞ'Y
fwٴ.텨M&j;5۸z{tوK\&@h)=vkLR;ye=٠ӾLdZ'좸)9ɥ#YYDYi0L~U=Y-C:E6i-+
0Bj>R*'d<i`#ȼ|L=Yɇ&b4|1M)%7X쎮Z1Êi *6}W~o,9&o-<?V/`\ݢJ}ȓQFl.lO8⇿?D}oyrJ/wj˲iһeQBc)My2)L??|x-
@{xwaBBrHj\J?BNN>õ+unNu2!ddXI9vQT^%R:T]*36B?aҐmovӜsaJi'*8BIfX͢
BVGrW(~ęuPi"b$mIVJKTu=]7Lke,5)UH9]ɸb7)pf&Bg?H^(={=qAyc
4jU]@(zq[ZحSJmFmQ6sU"YzP)}φY8iiV/~R$6^{{l
&,\PNeAhܿ8Ҋ2mBt&ߋQY8n
)[v}.T
`HĀX2#0oڼܚaZy83|}9ޕ%YAabmo>ӃJ&ad%4[FNfwqPxܔ.
)7mu2Ϧų
+,:SRC2B,S<2odw4߅فotڇariKE,28_44DbPkוT͘~>
.x2oK1BÌ0$!k!V..]Z֊>N۴&^/I1S-2U09*B!M
y^k6H&{c7q+$k9NE4tI6e~`T+Ѫһ+8E3R]!.!N#W%e\
6đtƴ)Jr|Nz.,cw/u%[=X6QhYnCΛq^jϕE8
_K״;$kMX:r1]p6yV&_^
SF[ypnETmfr##A.=B>2fYT),u QAxVfϷdcӵU*.tgK`SE{Ih+=Y,SZpb@uыɝ=oBWK~>zVJ"6nɶ
[6F=,HK Q4Z4spT.Yt9:ɞUM<m[Jo$KƳ劔[a]u<x6.:Wm9*zMLѫ,%@CMRa3@3hݣIc4bJPaJEڦr%^L5Xn0m>'\ت$1v}fÁXW䐵m_!z*K^T\,1JQxE o<fyiIjϕCt㦑jarN5-b\#nAX# f)"h_4!Mr0IHkݔzܬ&%Wj0)i\:ͼiLdV+bFfI2BeQ2°ha:)u|1;ӤweXi~`1=$M뵗SبLr8.t-hL} ":蛐<!1D}mQ$L}F%mz{F If
Ͷ8hibewy4P䴳x|}o7U.
4_|zOLIDv tLࡳLVK'6K%ݭ?[/PߖBRɪr{m&Û$ߝTfoBz$-z%RMUjn0֊ӏ%)'qٛ9ngO
0%fS/a#_7'S!yPd:OmTr{fyق@%}ɂ%W(lISIY$1{㐮9`GC}`*@r|fLDfZFnaв>"?jѩ/:,S)t[tIHurR(
ԦODyɝ{
SelO ?0*GhDJa^TjJ5>B7bw2ӑbK0+4}XrNy4l7D-A3۳%:ئWyVs<8N67+ɋ'E" ..z|W4Njeh5-P[P&[WzSN44@yʪi]\%! B4LQkK?`fN7zpbɨ'+t_m@WsfތkLDbFz2itFIJnbNdӓWDRT5
^閸:ˌD"HL͚fz#,؍hX:a<$u'I
"K\'(#U4op.S]oV0wOiRHh.<EmIV',dʹ8S ^}aJm)#=ie|rCNFEXQ9!6IĄfٙ\h|W8:l2ϩK>E˨)\c^H4r)[.!T2ۂy
N6gL3izb.D? f IENDB` | -1 |
libgdx/libgdx | 7,276 | Fixed scene2d.ui layout for fractional positions and sizes. | When "rounding" for UI layout, floor x/y and ceil width/height.
For example if a label has a fractional width like 123.4, rounding a Container's width gives 123 and the label won't fit.
Table already does this, so I'm pretty sure it's the right thing to do in all other layouts. If others can please check this doesn't negatively affect their apps, that would be great! | NathanSweet | "2023-11-10T17:05:20Z" | "2023-11-13T03:27:53Z" | 5368811323eb4ac9c9167a73fc6910e42fcb425d | 8e3b2ef2af2e1c1765b3441cb15cfbeddf4046fa | Fixed scene2d.ui layout for fractional positions and sizes.. When "rounding" for UI layout, floor x/y and ceil width/height.
For example if a label has a fractional width like 123.4, rounding a Container's width gives 123 and the label won't fit.
Table already does this, so I'm pretty sure it's the right thing to do in all other layouts. If others can please check this doesn't negatively affect their apps, that would be great! | ./tests/gdx-tests-android/assets-raw/skin/default-scroll.9.png | PNG
IHDR Ĵl; pHYs
OiCCPPhotoshop ICC profile xڝSgTS=BKKoR RB&*! J!QEEȠQ,
!{kּ>H3Q5B.@
$p d!s# ~<<+" x M0B\t8K @zB @F&S `cb P- `' { [! eD h; VE X0 fK9 - 0IWfH 0Q) { `##x FW<+* x<$9E[-qWW.(I+6aa@.y24 x6_-"bbϫp@ t~,/;m%h^uf@ Wp~<<EJB[aW}g_Wl~<$2]GLϒ bG"IbX*QqD2"B)%d,>5 j>{-]cK'Xt o(hw?G% fIq ^D$.Tʳ? D*A,`6B$BB
dr`)B(Ͱ*`/@4Qhp.U=pa( Aa!ڈbX#!H$ ɈQ"K5H1RT UH=r9\F; 2G1Q=C7Fdt1r=6Ыhڏ>C03l0.B8, c˱"VcϱwE 6wB aAHXLXNH $4 7 Q'"K&b21XH,#/{C7$C2'ITFnR#,4H#dk9, +ȅ3![
b@qS(RjJ4e2AURݨT5ZBRQ4u9̓IKhhitݕNWGw
Ljg(gwLӋT071oUX**|
J&*/TުUUT^S}FU3S ԖUPSSg;goT?~YYLOCQ_ cx,!k
u5&|v*=9C3J3WRf?qtN (~))4L1e\kXHQG6EYAJ'\'GgSSݧ
M=:.kDwn^Loy}/TmGX$<5qo</QC]@Caaᄑ<FFi\$mmƣ&&!&KMMRM);L;L֙͢5=12כ߷`ZxZ,eIZYnZ9YXUZ]F%ֻNNgðɶۮm}agbgŮ}}=
Z~sr:V:ޚΜ?}/gX3)iSGggsK.>.ȽJtq]zۯ6iܟ4)Y3sCQ?0k߬~OCOg#/c/Wװwa>>r><72Y_7ȷOo_C#dz %gA[z|!?:eAAA!h쐭!ΑiP~aa~'W?pX15wCsDDDޛg1O9-J5*>.j<74?.fYXXIlK9.*6nl{/]py.,:@LN8A*%w%
yg"/6шC\*NH*Mz쑼5y$3,幄'L
Lݛ:v m2=:1qB!Mggfvˬen/kY-
BTZ(*geWf͉9+̳ې7ᒶKW-X潬j9<qy
+V<*mOW~&zMk^ʂkU
}]OX/Yߵa>(xoʿܔĹdff-[n
ڴ
VE/(ۻC<e;?TTTT6ݵan{4[>ɾUUMfeI?m]Nmq#=TR+Gw-
6
U#pDy
:v{vg/jBFS[b[O>zG4<YyJTiӓgό}~.`ۢ{cjotE;;\tWW:_mt<Oǻ\kz{f7y՞9=ݽzo~r'˻w'O_@AC݇?[jwGCˆ
8>99?rCd&ˮ/~јѡm|x31^VwwO| (hSЧc3- cHRM z% u0 ` : o_F MIDATxձ
D?TgaH:P[?`EDV
6l
~vFk\ IVl IENDB` | PNG
IHDR Ĵl; pHYs
OiCCPPhotoshop ICC profile xڝSgTS=BKKoR RB&*! J!QEEȠQ,
!{kּ>H3Q5B.@
$p d!s# ~<<+" x M0B\t8K @zB @F&S `cb P- `' { [! eD h; VE X0 fK9 - 0IWfH 0Q) { `##x FW<+* x<$9E[-qWW.(I+6aa@.y24 x6_-"bbϫp@ t~,/;m%h^uf@ Wp~<<EJB[aW}g_Wl~<$2]GLϒ bG"IbX*QqD2"B)%d,>5 j>{-]cK'Xt o(hw?G% fIq ^D$.Tʳ? D*A,`6B$BB
dr`)B(Ͱ*`/@4Qhp.U=pa( Aa!ڈbX#!H$ ɈQ"K5H1RT UH=r9\F; 2G1Q=C7Fdt1r=6Ыhڏ>C03l0.B8, c˱"VcϱwE 6wB aAHXLXNH $4 7 Q'"K&b21XH,#/{C7$C2'ITFnR#,4H#dk9, +ȅ3![
b@qS(RjJ4e2AURݨT5ZBRQ4u9̓IKhhitݕNWGw
Ljg(gwLӋT071oUX**|
J&*/TުUUT^S}FU3S ԖUPSSg;goT?~YYLOCQ_ cx,!k
u5&|v*=9C3J3WRf?qtN (~))4L1e\kXHQG6EYAJ'\'GgSSݧ
M=:.kDwn^Loy}/TmGX$<5qo</QC]@Caaᄑ<FFi\$mmƣ&&!&KMMRM);L;L֙͢5=12כ߷`ZxZ,eIZYnZ9YXUZ]F%ֻNNgðɶۮm}agbgŮ}}=
Z~sr:V:ޚΜ?}/gX3)iSGggsK.>.ȽJtq]zۯ6iܟ4)Y3sCQ?0k߬~OCOg#/c/Wװwa>>r><72Y_7ȷOo_C#dz %gA[z|!?:eAAA!h쐭!ΑiP~aa~'W?pX15wCsDDDޛg1O9-J5*>.j<74?.fYXXIlK9.*6nl{/]py.,:@LN8A*%w%
yg"/6шC\*NH*Mz쑼5y$3,幄'L
Lݛ:v m2=:1qB!Mggfvˬen/kY-
BTZ(*geWf͉9+̳ې7ᒶKW-X潬j9<qy
+V<*mOW~&zMk^ʂkU
}]OX/Yߵa>(xoʿܔĹdff-[n
ڴ
VE/(ۻC<e;?TTTT6ݵan{4[>ɾUUMfeI?m]Nmq#=TR+Gw-
6
U#pDy
:v{vg/jBFS[b[O>zG4<YyJTiӓgό}~.`ۢ{cjotE;;\tWW:_mt<Oǻ\kz{f7y՞9=ݽzo~r'˻w'O_@AC݇?[jwGCˆ
8>99?rCd&ˮ/~јѡm|x31^VwwO| (hSЧc3- cHRM z% u0 ` : o_F MIDATxձ
D?TgaH:P[?`EDV
6l
~vFk\ IVl IENDB` | -1 |
libgdx/libgdx | 7,276 | Fixed scene2d.ui layout for fractional positions and sizes. | When "rounding" for UI layout, floor x/y and ceil width/height.
For example if a label has a fractional width like 123.4, rounding a Container's width gives 123 and the label won't fit.
Table already does this, so I'm pretty sure it's the right thing to do in all other layouts. If others can please check this doesn't negatively affect their apps, that would be great! | NathanSweet | "2023-11-10T17:05:20Z" | "2023-11-13T03:27:53Z" | 5368811323eb4ac9c9167a73fc6910e42fcb425d | 8e3b2ef2af2e1c1765b3441cb15cfbeddf4046fa | Fixed scene2d.ui layout for fractional positions and sizes.. When "rounding" for UI layout, floor x/y and ceil width/height.
For example if a label has a fractional width like 123.4, rounding a Container's width gives 123 and the label won't fit.
Table already does this, so I'm pretty sure it's the right thing to do in all other layouts. If others can please check this doesn't negatively affect their apps, that would be great! | ./extensions/gdx-bullet/jni/src/bullet/BulletCollision/CollisionShapes/btConeShape.h | /*
Bullet Continuous Collision Detection and Physics Library
Copyright (c) 2003-2009 Erwin Coumans http://bulletphysics.org
This software is provided 'as-is', without any express or implied warranty.
In no event will the authors be held liable for any damages arising from the use of this software.
Permission is granted to anyone to use this software for any purpose,
including commercial applications, and to alter it and redistribute it freely,
subject to the following restrictions:
1. The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment in the product documentation would be appreciated but is not required.
2. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software.
3. This notice may not be removed or altered from any source distribution.
*/
#ifndef BT_CONE_MINKOWSKI_H
#define BT_CONE_MINKOWSKI_H
#include "btConvexInternalShape.h"
#include "BulletCollision/BroadphaseCollision/btBroadphaseProxy.h" // for the types
///The btConeShape implements a cone shape primitive, centered around the origin and aligned with the Y axis. The btConeShapeX is aligned around the X axis and btConeShapeZ around the Z axis.
ATTRIBUTE_ALIGNED16(class) btConeShape : public btConvexInternalShape
{
btScalar m_sinAngle;
btScalar m_radius;
btScalar m_height;
int m_coneIndices[3];
btVector3 coneLocalSupport(const btVector3& v) const;
public:
BT_DECLARE_ALIGNED_ALLOCATOR();
btConeShape (btScalar radius,btScalar height);
virtual btVector3 localGetSupportingVertex(const btVector3& vec) const;
virtual btVector3 localGetSupportingVertexWithoutMargin(const btVector3& vec) const;
virtual void batchedUnitVectorGetSupportingVertexWithoutMargin(const btVector3* vectors,btVector3* supportVerticesOut,int numVectors) const;
btScalar getRadius() const { return m_radius;}
btScalar getHeight() const { return m_height;}
void setRadius(const btScalar radius)
{
m_radius = radius;
}
void setHeight(const btScalar height)
{
m_height = height;
}
virtual void calculateLocalInertia(btScalar mass,btVector3& inertia) const
{
btTransform identity;
identity.setIdentity();
btVector3 aabbMin,aabbMax;
getAabb(identity,aabbMin,aabbMax);
btVector3 halfExtents = (aabbMax-aabbMin)*btScalar(0.5);
btScalar margin = getMargin();
btScalar lx=btScalar(2.)*(halfExtents.x()+margin);
btScalar ly=btScalar(2.)*(halfExtents.y()+margin);
btScalar lz=btScalar(2.)*(halfExtents.z()+margin);
const btScalar x2 = lx*lx;
const btScalar y2 = ly*ly;
const btScalar z2 = lz*lz;
const btScalar scaledmass = mass * btScalar(0.08333333);
inertia = scaledmass * (btVector3(y2+z2,x2+z2,x2+y2));
// inertia.x() = scaledmass * (y2+z2);
// inertia.y() = scaledmass * (x2+z2);
// inertia.z() = scaledmass * (x2+y2);
}
virtual const char* getName()const
{
return "Cone";
}
///choose upAxis index
void setConeUpIndex(int upIndex);
int getConeUpIndex() const
{
return m_coneIndices[1];
}
virtual btVector3 getAnisotropicRollingFrictionDirection() const
{
return btVector3 (0,1,0);
}
virtual void setLocalScaling(const btVector3& scaling);
virtual int calculateSerializeBufferSize() const;
///fills the dataBuffer and returns the struct name (and 0 on failure)
virtual const char* serialize(void* dataBuffer, btSerializer* serializer) const;
};
///btConeShape implements a Cone shape, around the X axis
class btConeShapeX : public btConeShape
{
public:
btConeShapeX(btScalar radius,btScalar height);
virtual btVector3 getAnisotropicRollingFrictionDirection() const
{
return btVector3 (1,0,0);
}
//debugging
virtual const char* getName()const
{
return "ConeX";
}
};
///btConeShapeZ implements a Cone shape, around the Z axis
class btConeShapeZ : public btConeShape
{
public:
btConeShapeZ(btScalar radius,btScalar height);
virtual btVector3 getAnisotropicRollingFrictionDirection() const
{
return btVector3 (0,0,1);
}
//debugging
virtual const char* getName()const
{
return "ConeZ";
}
};
///do not change those serialization structures, it requires an updated sBulletDNAstr/sBulletDNAstr64
struct btConeShapeData
{
btConvexInternalShapeData m_convexInternalShapeData;
int m_upIndex;
char m_padding[4];
};
SIMD_FORCE_INLINE int btConeShape::calculateSerializeBufferSize() const
{
return sizeof(btConeShapeData);
}
///fills the dataBuffer and returns the struct name (and 0 on failure)
SIMD_FORCE_INLINE const char* btConeShape::serialize(void* dataBuffer, btSerializer* serializer) const
{
btConeShapeData* shapeData = (btConeShapeData*) dataBuffer;
btConvexInternalShape::serialize(&shapeData->m_convexInternalShapeData,serializer);
shapeData->m_upIndex = m_coneIndices[1];
// Fill padding with zeros to appease msan.
shapeData->m_padding[0] = 0;
shapeData->m_padding[1] = 0;
shapeData->m_padding[2] = 0;
shapeData->m_padding[3] = 0;
return "btConeShapeData";
}
#endif //BT_CONE_MINKOWSKI_H
| /*
Bullet Continuous Collision Detection and Physics Library
Copyright (c) 2003-2009 Erwin Coumans http://bulletphysics.org
This software is provided 'as-is', without any express or implied warranty.
In no event will the authors be held liable for any damages arising from the use of this software.
Permission is granted to anyone to use this software for any purpose,
including commercial applications, and to alter it and redistribute it freely,
subject to the following restrictions:
1. The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment in the product documentation would be appreciated but is not required.
2. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software.
3. This notice may not be removed or altered from any source distribution.
*/
#ifndef BT_CONE_MINKOWSKI_H
#define BT_CONE_MINKOWSKI_H
#include "btConvexInternalShape.h"
#include "BulletCollision/BroadphaseCollision/btBroadphaseProxy.h" // for the types
///The btConeShape implements a cone shape primitive, centered around the origin and aligned with the Y axis. The btConeShapeX is aligned around the X axis and btConeShapeZ around the Z axis.
ATTRIBUTE_ALIGNED16(class) btConeShape : public btConvexInternalShape
{
btScalar m_sinAngle;
btScalar m_radius;
btScalar m_height;
int m_coneIndices[3];
btVector3 coneLocalSupport(const btVector3& v) const;
public:
BT_DECLARE_ALIGNED_ALLOCATOR();
btConeShape (btScalar radius,btScalar height);
virtual btVector3 localGetSupportingVertex(const btVector3& vec) const;
virtual btVector3 localGetSupportingVertexWithoutMargin(const btVector3& vec) const;
virtual void batchedUnitVectorGetSupportingVertexWithoutMargin(const btVector3* vectors,btVector3* supportVerticesOut,int numVectors) const;
btScalar getRadius() const { return m_radius;}
btScalar getHeight() const { return m_height;}
void setRadius(const btScalar radius)
{
m_radius = radius;
}
void setHeight(const btScalar height)
{
m_height = height;
}
virtual void calculateLocalInertia(btScalar mass,btVector3& inertia) const
{
btTransform identity;
identity.setIdentity();
btVector3 aabbMin,aabbMax;
getAabb(identity,aabbMin,aabbMax);
btVector3 halfExtents = (aabbMax-aabbMin)*btScalar(0.5);
btScalar margin = getMargin();
btScalar lx=btScalar(2.)*(halfExtents.x()+margin);
btScalar ly=btScalar(2.)*(halfExtents.y()+margin);
btScalar lz=btScalar(2.)*(halfExtents.z()+margin);
const btScalar x2 = lx*lx;
const btScalar y2 = ly*ly;
const btScalar z2 = lz*lz;
const btScalar scaledmass = mass * btScalar(0.08333333);
inertia = scaledmass * (btVector3(y2+z2,x2+z2,x2+y2));
// inertia.x() = scaledmass * (y2+z2);
// inertia.y() = scaledmass * (x2+z2);
// inertia.z() = scaledmass * (x2+y2);
}
virtual const char* getName()const
{
return "Cone";
}
///choose upAxis index
void setConeUpIndex(int upIndex);
int getConeUpIndex() const
{
return m_coneIndices[1];
}
virtual btVector3 getAnisotropicRollingFrictionDirection() const
{
return btVector3 (0,1,0);
}
virtual void setLocalScaling(const btVector3& scaling);
virtual int calculateSerializeBufferSize() const;
///fills the dataBuffer and returns the struct name (and 0 on failure)
virtual const char* serialize(void* dataBuffer, btSerializer* serializer) const;
};
///btConeShape implements a Cone shape, around the X axis
class btConeShapeX : public btConeShape
{
public:
btConeShapeX(btScalar radius,btScalar height);
virtual btVector3 getAnisotropicRollingFrictionDirection() const
{
return btVector3 (1,0,0);
}
//debugging
virtual const char* getName()const
{
return "ConeX";
}
};
///btConeShapeZ implements a Cone shape, around the Z axis
class btConeShapeZ : public btConeShape
{
public:
btConeShapeZ(btScalar radius,btScalar height);
virtual btVector3 getAnisotropicRollingFrictionDirection() const
{
return btVector3 (0,0,1);
}
//debugging
virtual const char* getName()const
{
return "ConeZ";
}
};
///do not change those serialization structures, it requires an updated sBulletDNAstr/sBulletDNAstr64
struct btConeShapeData
{
btConvexInternalShapeData m_convexInternalShapeData;
int m_upIndex;
char m_padding[4];
};
SIMD_FORCE_INLINE int btConeShape::calculateSerializeBufferSize() const
{
return sizeof(btConeShapeData);
}
///fills the dataBuffer and returns the struct name (and 0 on failure)
SIMD_FORCE_INLINE const char* btConeShape::serialize(void* dataBuffer, btSerializer* serializer) const
{
btConeShapeData* shapeData = (btConeShapeData*) dataBuffer;
btConvexInternalShape::serialize(&shapeData->m_convexInternalShapeData,serializer);
shapeData->m_upIndex = m_coneIndices[1];
// Fill padding with zeros to appease msan.
shapeData->m_padding[0] = 0;
shapeData->m_padding[1] = 0;
shapeData->m_padding[2] = 0;
shapeData->m_padding[3] = 0;
return "btConeShapeData";
}
#endif //BT_CONE_MINKOWSKI_H
| -1 |
libgdx/libgdx | 7,276 | Fixed scene2d.ui layout for fractional positions and sizes. | When "rounding" for UI layout, floor x/y and ceil width/height.
For example if a label has a fractional width like 123.4, rounding a Container's width gives 123 and the label won't fit.
Table already does this, so I'm pretty sure it's the right thing to do in all other layouts. If others can please check this doesn't negatively affect their apps, that would be great! | NathanSweet | "2023-11-10T17:05:20Z" | "2023-11-13T03:27:53Z" | 5368811323eb4ac9c9167a73fc6910e42fcb425d | 8e3b2ef2af2e1c1765b3441cb15cfbeddf4046fa | Fixed scene2d.ui layout for fractional positions and sizes.. When "rounding" for UI layout, floor x/y and ceil width/height.
For example if a label has a fractional width like 123.4, rounding a Container's width gives 123 and the label won't fit.
Table already does this, so I'm pretty sure it's the right thing to do in all other layouts. If others can please check this doesn't negatively affect their apps, that would be great! | ./extensions/gdx-tools/src/com/badlogic/gdx/tools/flame/AlignModeWrapper.java | /*******************************************************************************
* Copyright 2011 See AUTHORS file.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
******************************************************************************/
package com.badlogic.gdx.tools.flame;
import com.badlogic.gdx.graphics.g3d.particles.ParticleShader.AlignMode;
enum AlignModeWrapper {
Screen(AlignMode.Screen, "Screen"), ViewPoint(AlignMode.ViewPoint, "View Point");
public static AlignModeWrapper find (AlignMode alignMode) {
for (AlignModeWrapper wrapper : values()) {
if (wrapper.mode == alignMode) return wrapper;
}
return null;
}
public String desc;
public AlignMode mode;
AlignModeWrapper (AlignMode mode, String desc) {
this.mode = mode;
this.desc = desc;
}
@Override
public String toString () {
return desc;
}
}
| /*******************************************************************************
* Copyright 2011 See AUTHORS file.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
******************************************************************************/
package com.badlogic.gdx.tools.flame;
import com.badlogic.gdx.graphics.g3d.particles.ParticleShader.AlignMode;
enum AlignModeWrapper {
Screen(AlignMode.Screen, "Screen"), ViewPoint(AlignMode.ViewPoint, "View Point");
public static AlignModeWrapper find (AlignMode alignMode) {
for (AlignModeWrapper wrapper : values()) {
if (wrapper.mode == alignMode) return wrapper;
}
return null;
}
public String desc;
public AlignMode mode;
AlignModeWrapper (AlignMode mode, String desc) {
this.mode = mode;
this.desc = desc;
}
@Override
public String toString () {
return desc;
}
}
| -1 |
libgdx/libgdx | 7,276 | Fixed scene2d.ui layout for fractional positions and sizes. | When "rounding" for UI layout, floor x/y and ceil width/height.
For example if a label has a fractional width like 123.4, rounding a Container's width gives 123 and the label won't fit.
Table already does this, so I'm pretty sure it's the right thing to do in all other layouts. If others can please check this doesn't negatively affect their apps, that would be great! | NathanSweet | "2023-11-10T17:05:20Z" | "2023-11-13T03:27:53Z" | 5368811323eb4ac9c9167a73fc6910e42fcb425d | 8e3b2ef2af2e1c1765b3441cb15cfbeddf4046fa | Fixed scene2d.ui layout for fractional positions and sizes.. When "rounding" for UI layout, floor x/y and ceil width/height.
For example if a label has a fractional width like 123.4, rounding a Container's width gives 123 and the label won't fit.
Table already does this, so I'm pretty sure it's the right thing to do in all other layouts. If others can please check this doesn't negatively affect their apps, that would be great! | ./extensions/gdx-bullet/jni/swig-src/collision/com/badlogic/gdx/physics/bullet/collision/btMinkowskiSumShape.java | /* ----------------------------------------------------------------------------
* 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.collision;
import com.badlogic.gdx.physics.bullet.linearmath.*;
import com.badlogic.gdx.math.Matrix4;
public class btMinkowskiSumShape extends btConvexInternalShape {
private long swigCPtr;
protected btMinkowskiSumShape (final String className, long cPtr, boolean cMemoryOwn) {
super(className, CollisionJNI.btMinkowskiSumShape_SWIGUpcast(cPtr), cMemoryOwn);
swigCPtr = cPtr;
}
/** Construct a new btMinkowskiSumShape, normally you should not need this constructor it's intended for low-level usage. */
public btMinkowskiSumShape (long cPtr, boolean cMemoryOwn) {
this("btMinkowskiSumShape", cPtr, cMemoryOwn);
construct();
}
@Override
protected void reset (long cPtr, boolean cMemoryOwn) {
if (!destroyed) destroy();
super.reset(CollisionJNI.btMinkowskiSumShape_SWIGUpcast(swigCPtr = cPtr), cMemoryOwn);
}
public static long getCPtr (btMinkowskiSumShape 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;
CollisionJNI.delete_btMinkowskiSumShape(swigCPtr);
}
swigCPtr = 0;
}
super.delete();
}
public long operatorNew (long sizeInBytes) {
return CollisionJNI.btMinkowskiSumShape_operatorNew__SWIG_0(swigCPtr, this, sizeInBytes);
}
public void operatorDelete (long ptr) {
CollisionJNI.btMinkowskiSumShape_operatorDelete__SWIG_0(swigCPtr, this, ptr);
}
public long operatorNew (long arg0, long ptr) {
return CollisionJNI.btMinkowskiSumShape_operatorNew__SWIG_1(swigCPtr, this, arg0, ptr);
}
public void operatorDelete (long arg0, long arg1) {
CollisionJNI.btMinkowskiSumShape_operatorDelete__SWIG_1(swigCPtr, this, arg0, arg1);
}
public long operatorNewArray (long sizeInBytes) {
return CollisionJNI.btMinkowskiSumShape_operatorNewArray__SWIG_0(swigCPtr, this, sizeInBytes);
}
public void operatorDeleteArray (long ptr) {
CollisionJNI.btMinkowskiSumShape_operatorDeleteArray__SWIG_0(swigCPtr, this, ptr);
}
public long operatorNewArray (long arg0, long ptr) {
return CollisionJNI.btMinkowskiSumShape_operatorNewArray__SWIG_1(swigCPtr, this, arg0, ptr);
}
public void operatorDeleteArray (long arg0, long arg1) {
CollisionJNI.btMinkowskiSumShape_operatorDeleteArray__SWIG_1(swigCPtr, this, arg0, arg1);
}
public btMinkowskiSumShape (btConvexShape shapeA, btConvexShape shapeB) {
this(CollisionJNI.new_btMinkowskiSumShape(btConvexShape.getCPtr(shapeA), shapeA, btConvexShape.getCPtr(shapeB), shapeB),
true);
}
public void setTransformA (Matrix4 transA) {
CollisionJNI.btMinkowskiSumShape_setTransformA(swigCPtr, this, transA);
}
public void setTransformB (Matrix4 transB) {
CollisionJNI.btMinkowskiSumShape_setTransformB(swigCPtr, this, transB);
}
public Matrix4 getTransformA () {
return CollisionJNI.btMinkowskiSumShape_getTransformA(swigCPtr, this);
}
public Matrix4 GetTransformB () {
return CollisionJNI.btMinkowskiSumShape_GetTransformB(swigCPtr, this);
}
public btConvexShape getShapeA () {
long cPtr = CollisionJNI.btMinkowskiSumShape_getShapeA(swigCPtr, this);
return (cPtr == 0) ? null : new btConvexShape(cPtr, false);
}
public btConvexShape getShapeB () {
long cPtr = CollisionJNI.btMinkowskiSumShape_getShapeB(swigCPtr, this);
return (cPtr == 0) ? null : new btConvexShape(cPtr, false);
}
}
| /* ----------------------------------------------------------------------------
* 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.collision;
import com.badlogic.gdx.physics.bullet.linearmath.*;
import com.badlogic.gdx.math.Matrix4;
public class btMinkowskiSumShape extends btConvexInternalShape {
private long swigCPtr;
protected btMinkowskiSumShape (final String className, long cPtr, boolean cMemoryOwn) {
super(className, CollisionJNI.btMinkowskiSumShape_SWIGUpcast(cPtr), cMemoryOwn);
swigCPtr = cPtr;
}
/** Construct a new btMinkowskiSumShape, normally you should not need this constructor it's intended for low-level usage. */
public btMinkowskiSumShape (long cPtr, boolean cMemoryOwn) {
this("btMinkowskiSumShape", cPtr, cMemoryOwn);
construct();
}
@Override
protected void reset (long cPtr, boolean cMemoryOwn) {
if (!destroyed) destroy();
super.reset(CollisionJNI.btMinkowskiSumShape_SWIGUpcast(swigCPtr = cPtr), cMemoryOwn);
}
public static long getCPtr (btMinkowskiSumShape 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;
CollisionJNI.delete_btMinkowskiSumShape(swigCPtr);
}
swigCPtr = 0;
}
super.delete();
}
public long operatorNew (long sizeInBytes) {
return CollisionJNI.btMinkowskiSumShape_operatorNew__SWIG_0(swigCPtr, this, sizeInBytes);
}
public void operatorDelete (long ptr) {
CollisionJNI.btMinkowskiSumShape_operatorDelete__SWIG_0(swigCPtr, this, ptr);
}
public long operatorNew (long arg0, long ptr) {
return CollisionJNI.btMinkowskiSumShape_operatorNew__SWIG_1(swigCPtr, this, arg0, ptr);
}
public void operatorDelete (long arg0, long arg1) {
CollisionJNI.btMinkowskiSumShape_operatorDelete__SWIG_1(swigCPtr, this, arg0, arg1);
}
public long operatorNewArray (long sizeInBytes) {
return CollisionJNI.btMinkowskiSumShape_operatorNewArray__SWIG_0(swigCPtr, this, sizeInBytes);
}
public void operatorDeleteArray (long ptr) {
CollisionJNI.btMinkowskiSumShape_operatorDeleteArray__SWIG_0(swigCPtr, this, ptr);
}
public long operatorNewArray (long arg0, long ptr) {
return CollisionJNI.btMinkowskiSumShape_operatorNewArray__SWIG_1(swigCPtr, this, arg0, ptr);
}
public void operatorDeleteArray (long arg0, long arg1) {
CollisionJNI.btMinkowskiSumShape_operatorDeleteArray__SWIG_1(swigCPtr, this, arg0, arg1);
}
public btMinkowskiSumShape (btConvexShape shapeA, btConvexShape shapeB) {
this(CollisionJNI.new_btMinkowskiSumShape(btConvexShape.getCPtr(shapeA), shapeA, btConvexShape.getCPtr(shapeB), shapeB),
true);
}
public void setTransformA (Matrix4 transA) {
CollisionJNI.btMinkowskiSumShape_setTransformA(swigCPtr, this, transA);
}
public void setTransformB (Matrix4 transB) {
CollisionJNI.btMinkowskiSumShape_setTransformB(swigCPtr, this, transB);
}
public Matrix4 getTransformA () {
return CollisionJNI.btMinkowskiSumShape_getTransformA(swigCPtr, this);
}
public Matrix4 GetTransformB () {
return CollisionJNI.btMinkowskiSumShape_GetTransformB(swigCPtr, this);
}
public btConvexShape getShapeA () {
long cPtr = CollisionJNI.btMinkowskiSumShape_getShapeA(swigCPtr, this);
return (cPtr == 0) ? null : new btConvexShape(cPtr, false);
}
public btConvexShape getShapeB () {
long cPtr = CollisionJNI.btMinkowskiSumShape_getShapeB(swigCPtr, this);
return (cPtr == 0) ? null : new btConvexShape(cPtr, false);
}
}
| -1 |
libgdx/libgdx | 7,276 | Fixed scene2d.ui layout for fractional positions and sizes. | When "rounding" for UI layout, floor x/y and ceil width/height.
For example if a label has a fractional width like 123.4, rounding a Container's width gives 123 and the label won't fit.
Table already does this, so I'm pretty sure it's the right thing to do in all other layouts. If others can please check this doesn't negatively affect their apps, that would be great! | NathanSweet | "2023-11-10T17:05:20Z" | "2023-11-13T03:27:53Z" | 5368811323eb4ac9c9167a73fc6910e42fcb425d | 8e3b2ef2af2e1c1765b3441cb15cfbeddf4046fa | Fixed scene2d.ui layout for fractional positions and sizes.. When "rounding" for UI layout, floor x/y and ceil width/height.
For example if a label has a fractional width like 123.4, rounding a Container's width gives 123 and the label won't fit.
Table already does this, so I'm pretty sure it's the right thing to do in all other layouts. If others can please check this doesn't negatively affect their apps, that would be great! | ./extensions/gdx-bullet/jni/swig-src/collision/com/badlogic/gdx/physics/bullet/collision/btAxisSweep3InternalShort.java | /* ----------------------------------------------------------------------------
* 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.collision;
import com.badlogic.gdx.physics.bullet.BulletBase;
import com.badlogic.gdx.physics.bullet.linearmath.*;
import com.badlogic.gdx.math.Vector3;
public class btAxisSweep3InternalShort extends btBroadphaseInterface {
private long swigCPtr;
protected btAxisSweep3InternalShort (final String className, long cPtr, boolean cMemoryOwn) {
super(className, CollisionJNI.btAxisSweep3InternalShort_SWIGUpcast(cPtr), cMemoryOwn);
swigCPtr = cPtr;
}
/** Construct a new btAxisSweep3InternalShort, normally you should not need this constructor it's intended for low-level
* usage. */
public btAxisSweep3InternalShort (long cPtr, boolean cMemoryOwn) {
this("btAxisSweep3InternalShort", cPtr, cMemoryOwn);
construct();
}
@Override
protected void reset (long cPtr, boolean cMemoryOwn) {
if (!destroyed) destroy();
super.reset(CollisionJNI.btAxisSweep3InternalShort_SWIGUpcast(swigCPtr = cPtr), cMemoryOwn);
}
public static long getCPtr (btAxisSweep3InternalShort 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;
CollisionJNI.delete_btAxisSweep3InternalShort(swigCPtr);
}
swigCPtr = 0;
}
super.delete();
}
public long operatorNew (long sizeInBytes) {
return CollisionJNI.btAxisSweep3InternalShort_operatorNew__SWIG_0(swigCPtr, this, sizeInBytes);
}
public void operatorDelete (long ptr) {
CollisionJNI.btAxisSweep3InternalShort_operatorDelete__SWIG_0(swigCPtr, this, ptr);
}
public long operatorNew (long arg0, long ptr) {
return CollisionJNI.btAxisSweep3InternalShort_operatorNew__SWIG_1(swigCPtr, this, arg0, ptr);
}
public void operatorDelete (long arg0, long arg1) {
CollisionJNI.btAxisSweep3InternalShort_operatorDelete__SWIG_1(swigCPtr, this, arg0, arg1);
}
public long operatorNewArray (long sizeInBytes) {
return CollisionJNI.btAxisSweep3InternalShort_operatorNewArray__SWIG_0(swigCPtr, this, sizeInBytes);
}
public void operatorDeleteArray (long ptr) {
CollisionJNI.btAxisSweep3InternalShort_operatorDeleteArray__SWIG_0(swigCPtr, this, ptr);
}
public long operatorNewArray (long arg0, long ptr) {
return CollisionJNI.btAxisSweep3InternalShort_operatorNewArray__SWIG_1(swigCPtr, this, arg0, ptr);
}
public void operatorDeleteArray (long arg0, long arg1) {
CollisionJNI.btAxisSweep3InternalShort_operatorDeleteArray__SWIG_1(swigCPtr, this, arg0, arg1);
}
static public class Edge extends BulletBase {
private long swigCPtr;
protected Edge (final String className, long cPtr, boolean cMemoryOwn) {
super(className, cPtr, cMemoryOwn);
swigCPtr = cPtr;
}
/** Construct a new Edge, normally you should not need this constructor it's intended for low-level usage. */
public Edge (long cPtr, boolean cMemoryOwn) {
this("Edge", cPtr, cMemoryOwn);
construct();
}
@Override
protected void reset (long cPtr, boolean cMemoryOwn) {
if (!destroyed) destroy();
super.reset(swigCPtr = cPtr, cMemoryOwn);
}
public static long getCPtr (Edge 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;
CollisionJNI.delete_btAxisSweep3InternalShort_Edge(swigCPtr);
}
swigCPtr = 0;
}
super.delete();
}
public void setPos (int value) {
CollisionJNI.btAxisSweep3InternalShort_Edge_pos_set(swigCPtr, this, value);
}
public int getPos () {
return CollisionJNI.btAxisSweep3InternalShort_Edge_pos_get(swigCPtr, this);
}
public void setHandle (int value) {
CollisionJNI.btAxisSweep3InternalShort_Edge_handle_set(swigCPtr, this, value);
}
public int getHandle () {
return CollisionJNI.btAxisSweep3InternalShort_Edge_handle_get(swigCPtr, this);
}
public int IsMax () {
return CollisionJNI.btAxisSweep3InternalShort_Edge_IsMax(swigCPtr, this);
}
public Edge () {
this(CollisionJNI.new_btAxisSweep3InternalShort_Edge(), true);
}
}
static public class Handle extends btBroadphaseProxy {
private long swigCPtr;
protected Handle (final String className, long cPtr, boolean cMemoryOwn) {
super(className, CollisionJNI.btAxisSweep3InternalShort_Handle_SWIGUpcast(cPtr), cMemoryOwn);
swigCPtr = cPtr;
}
/** Construct a new Handle, normally you should not need this constructor it's intended for low-level usage. */
public Handle (long cPtr, boolean cMemoryOwn) {
this("Handle", cPtr, cMemoryOwn);
construct();
}
@Override
protected void reset (long cPtr, boolean cMemoryOwn) {
if (!destroyed) destroy();
super.reset(CollisionJNI.btAxisSweep3InternalShort_Handle_SWIGUpcast(swigCPtr = cPtr), cMemoryOwn);
}
public static long getCPtr (Handle 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;
CollisionJNI.delete_btAxisSweep3InternalShort_Handle(swigCPtr);
}
swigCPtr = 0;
}
super.delete();
}
public long operatorNew (long sizeInBytes) {
return CollisionJNI.btAxisSweep3InternalShort_Handle_operatorNew__SWIG_0(swigCPtr, this, sizeInBytes);
}
public void operatorDelete (long ptr) {
CollisionJNI.btAxisSweep3InternalShort_Handle_operatorDelete__SWIG_0(swigCPtr, this, ptr);
}
public long operatorNew (long arg0, long ptr) {
return CollisionJNI.btAxisSweep3InternalShort_Handle_operatorNew__SWIG_1(swigCPtr, this, arg0, ptr);
}
public void operatorDelete (long arg0, long arg1) {
CollisionJNI.btAxisSweep3InternalShort_Handle_operatorDelete__SWIG_1(swigCPtr, this, arg0, arg1);
}
public long operatorNewArray (long sizeInBytes) {
return CollisionJNI.btAxisSweep3InternalShort_Handle_operatorNewArray__SWIG_0(swigCPtr, this, sizeInBytes);
}
public void operatorDeleteArray (long ptr) {
CollisionJNI.btAxisSweep3InternalShort_Handle_operatorDeleteArray__SWIG_0(swigCPtr, this, ptr);
}
public long operatorNewArray (long arg0, long ptr) {
return CollisionJNI.btAxisSweep3InternalShort_Handle_operatorNewArray__SWIG_1(swigCPtr, this, arg0, ptr);
}
public void operatorDeleteArray (long arg0, long arg1) {
CollisionJNI.btAxisSweep3InternalShort_Handle_operatorDeleteArray__SWIG_1(swigCPtr, this, arg0, arg1);
}
public void setMinEdges (int[] value) {
CollisionJNI.btAxisSweep3InternalShort_Handle_minEdges_set(swigCPtr, this, value);
}
public int[] getMinEdges () {
return CollisionJNI.btAxisSweep3InternalShort_Handle_minEdges_get(swigCPtr, this);
}
public void setMaxEdges (int[] value) {
CollisionJNI.btAxisSweep3InternalShort_Handle_maxEdges_set(swigCPtr, this, value);
}
public int[] getMaxEdges () {
return CollisionJNI.btAxisSweep3InternalShort_Handle_maxEdges_get(swigCPtr, this);
}
public void setDbvtProxy (btBroadphaseProxy value) {
CollisionJNI.btAxisSweep3InternalShort_Handle_dbvtProxy_set(swigCPtr, this, btBroadphaseProxy.getCPtr(value), value);
}
public btBroadphaseProxy getDbvtProxy () {
return btBroadphaseProxy.internalTemp(CollisionJNI.btAxisSweep3InternalShort_Handle_dbvtProxy_get(swigCPtr, this),
false);
}
public void SetNextFree (int next) {
CollisionJNI.btAxisSweep3InternalShort_Handle_SetNextFree(swigCPtr, this, next);
}
public int GetNextFree () {
return CollisionJNI.btAxisSweep3InternalShort_Handle_GetNextFree(swigCPtr, this);
}
public Handle () {
this(CollisionJNI.new_btAxisSweep3InternalShort_Handle(), true);
}
}
public btAxisSweep3InternalShort (Vector3 worldAabbMin, Vector3 worldAabbMax, int handleMask, int handleSentinel,
int maxHandles, btOverlappingPairCache pairCache, boolean disableRaycastAccelerator) {
this(CollisionJNI.new_btAxisSweep3InternalShort__SWIG_0(worldAabbMin, worldAabbMax, handleMask, handleSentinel, maxHandles,
btOverlappingPairCache.getCPtr(pairCache), pairCache, disableRaycastAccelerator), true);
}
public btAxisSweep3InternalShort (Vector3 worldAabbMin, Vector3 worldAabbMax, int handleMask, int handleSentinel,
int maxHandles, btOverlappingPairCache pairCache) {
this(CollisionJNI.new_btAxisSweep3InternalShort__SWIG_1(worldAabbMin, worldAabbMax, handleMask, handleSentinel, maxHandles,
btOverlappingPairCache.getCPtr(pairCache), pairCache), true);
}
public btAxisSweep3InternalShort (Vector3 worldAabbMin, Vector3 worldAabbMax, int handleMask, int handleSentinel,
int maxHandles) {
this(CollisionJNI.new_btAxisSweep3InternalShort__SWIG_2(worldAabbMin, worldAabbMax, handleMask, handleSentinel, maxHandles),
true);
}
public btAxisSweep3InternalShort (Vector3 worldAabbMin, Vector3 worldAabbMax, int handleMask, int handleSentinel) {
this(CollisionJNI.new_btAxisSweep3InternalShort__SWIG_3(worldAabbMin, worldAabbMax, handleMask, handleSentinel), true);
}
public int getNumHandles () {
return CollisionJNI.btAxisSweep3InternalShort_getNumHandles(swigCPtr, this);
}
public int addHandle (Vector3 aabbMin, Vector3 aabbMax, long pOwner, int collisionFilterGroup, int collisionFilterMask,
btDispatcher dispatcher) {
return CollisionJNI.btAxisSweep3InternalShort_addHandle(swigCPtr, this, aabbMin, aabbMax, pOwner, collisionFilterGroup,
collisionFilterMask, btDispatcher.getCPtr(dispatcher), dispatcher);
}
public void removeHandle (int handle, btDispatcher dispatcher) {
CollisionJNI.btAxisSweep3InternalShort_removeHandle(swigCPtr, this, handle, btDispatcher.getCPtr(dispatcher), dispatcher);
}
public void updateHandle (int handle, Vector3 aabbMin, Vector3 aabbMax, btDispatcher dispatcher) {
CollisionJNI.btAxisSweep3InternalShort_updateHandle(swigCPtr, this, handle, aabbMin, aabbMax,
btDispatcher.getCPtr(dispatcher), dispatcher);
}
public btAxisSweep3InternalShort.Handle getHandle (int index) {
long cPtr = CollisionJNI.btAxisSweep3InternalShort_getHandle(swigCPtr, this, index);
return (cPtr == 0) ? null : new btAxisSweep3InternalShort.Handle(cPtr, false);
}
public void rayTest (Vector3 rayFrom, Vector3 rayTo, btBroadphaseRayCallback rayCallback, Vector3 aabbMin, Vector3 aabbMax) {
CollisionJNI.btAxisSweep3InternalShort_rayTest__SWIG_0(swigCPtr, this, rayFrom, rayTo,
btBroadphaseRayCallback.getCPtr(rayCallback), rayCallback, aabbMin, aabbMax);
}
public void rayTest (Vector3 rayFrom, Vector3 rayTo, btBroadphaseRayCallback rayCallback, Vector3 aabbMin) {
CollisionJNI.btAxisSweep3InternalShort_rayTest__SWIG_1(swigCPtr, this, rayFrom, rayTo,
btBroadphaseRayCallback.getCPtr(rayCallback), rayCallback, aabbMin);
}
public void rayTest (Vector3 rayFrom, Vector3 rayTo, btBroadphaseRayCallback rayCallback) {
CollisionJNI.btAxisSweep3InternalShort_rayTest__SWIG_2(swigCPtr, this, rayFrom, rayTo,
btBroadphaseRayCallback.getCPtr(rayCallback), rayCallback);
}
public void quantize (java.nio.IntBuffer out, Vector3 point, int isMax) {
assert out.isDirect() : "Buffer must be allocated direct.";
{
CollisionJNI.btAxisSweep3InternalShort_quantize(swigCPtr, this, out, point, isMax);
}
}
public void unQuantize (btBroadphaseProxy proxy, Vector3 aabbMin, Vector3 aabbMax) {
CollisionJNI.btAxisSweep3InternalShort_unQuantize(swigCPtr, this, btBroadphaseProxy.getCPtr(proxy), proxy, aabbMin,
aabbMax);
}
public boolean testAabbOverlap (btBroadphaseProxy proxy0, btBroadphaseProxy proxy1) {
return CollisionJNI.btAxisSweep3InternalShort_testAabbOverlap(swigCPtr, this, btBroadphaseProxy.getCPtr(proxy0), proxy0,
btBroadphaseProxy.getCPtr(proxy1), proxy1);
}
public void setOverlappingPairUserCallback (btOverlappingPairCallback pairCallback) {
CollisionJNI.btAxisSweep3InternalShort_setOverlappingPairUserCallback(swigCPtr, this,
btOverlappingPairCallback.getCPtr(pairCallback), pairCallback);
}
public btOverlappingPairCallback getOverlappingPairUserCallback () {
long cPtr = CollisionJNI.btAxisSweep3InternalShort_getOverlappingPairUserCallback(swigCPtr, this);
return (cPtr == 0) ? null : new btOverlappingPairCallback(cPtr, false);
}
}
| /* ----------------------------------------------------------------------------
* 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.collision;
import com.badlogic.gdx.physics.bullet.BulletBase;
import com.badlogic.gdx.physics.bullet.linearmath.*;
import com.badlogic.gdx.math.Vector3;
public class btAxisSweep3InternalShort extends btBroadphaseInterface {
private long swigCPtr;
protected btAxisSweep3InternalShort (final String className, long cPtr, boolean cMemoryOwn) {
super(className, CollisionJNI.btAxisSweep3InternalShort_SWIGUpcast(cPtr), cMemoryOwn);
swigCPtr = cPtr;
}
/** Construct a new btAxisSweep3InternalShort, normally you should not need this constructor it's intended for low-level
* usage. */
public btAxisSweep3InternalShort (long cPtr, boolean cMemoryOwn) {
this("btAxisSweep3InternalShort", cPtr, cMemoryOwn);
construct();
}
@Override
protected void reset (long cPtr, boolean cMemoryOwn) {
if (!destroyed) destroy();
super.reset(CollisionJNI.btAxisSweep3InternalShort_SWIGUpcast(swigCPtr = cPtr), cMemoryOwn);
}
public static long getCPtr (btAxisSweep3InternalShort 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;
CollisionJNI.delete_btAxisSweep3InternalShort(swigCPtr);
}
swigCPtr = 0;
}
super.delete();
}
public long operatorNew (long sizeInBytes) {
return CollisionJNI.btAxisSweep3InternalShort_operatorNew__SWIG_0(swigCPtr, this, sizeInBytes);
}
public void operatorDelete (long ptr) {
CollisionJNI.btAxisSweep3InternalShort_operatorDelete__SWIG_0(swigCPtr, this, ptr);
}
public long operatorNew (long arg0, long ptr) {
return CollisionJNI.btAxisSweep3InternalShort_operatorNew__SWIG_1(swigCPtr, this, arg0, ptr);
}
public void operatorDelete (long arg0, long arg1) {
CollisionJNI.btAxisSweep3InternalShort_operatorDelete__SWIG_1(swigCPtr, this, arg0, arg1);
}
public long operatorNewArray (long sizeInBytes) {
return CollisionJNI.btAxisSweep3InternalShort_operatorNewArray__SWIG_0(swigCPtr, this, sizeInBytes);
}
public void operatorDeleteArray (long ptr) {
CollisionJNI.btAxisSweep3InternalShort_operatorDeleteArray__SWIG_0(swigCPtr, this, ptr);
}
public long operatorNewArray (long arg0, long ptr) {
return CollisionJNI.btAxisSweep3InternalShort_operatorNewArray__SWIG_1(swigCPtr, this, arg0, ptr);
}
public void operatorDeleteArray (long arg0, long arg1) {
CollisionJNI.btAxisSweep3InternalShort_operatorDeleteArray__SWIG_1(swigCPtr, this, arg0, arg1);
}
static public class Edge extends BulletBase {
private long swigCPtr;
protected Edge (final String className, long cPtr, boolean cMemoryOwn) {
super(className, cPtr, cMemoryOwn);
swigCPtr = cPtr;
}
/** Construct a new Edge, normally you should not need this constructor it's intended for low-level usage. */
public Edge (long cPtr, boolean cMemoryOwn) {
this("Edge", cPtr, cMemoryOwn);
construct();
}
@Override
protected void reset (long cPtr, boolean cMemoryOwn) {
if (!destroyed) destroy();
super.reset(swigCPtr = cPtr, cMemoryOwn);
}
public static long getCPtr (Edge 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;
CollisionJNI.delete_btAxisSweep3InternalShort_Edge(swigCPtr);
}
swigCPtr = 0;
}
super.delete();
}
public void setPos (int value) {
CollisionJNI.btAxisSweep3InternalShort_Edge_pos_set(swigCPtr, this, value);
}
public int getPos () {
return CollisionJNI.btAxisSweep3InternalShort_Edge_pos_get(swigCPtr, this);
}
public void setHandle (int value) {
CollisionJNI.btAxisSweep3InternalShort_Edge_handle_set(swigCPtr, this, value);
}
public int getHandle () {
return CollisionJNI.btAxisSweep3InternalShort_Edge_handle_get(swigCPtr, this);
}
public int IsMax () {
return CollisionJNI.btAxisSweep3InternalShort_Edge_IsMax(swigCPtr, this);
}
public Edge () {
this(CollisionJNI.new_btAxisSweep3InternalShort_Edge(), true);
}
}
static public class Handle extends btBroadphaseProxy {
private long swigCPtr;
protected Handle (final String className, long cPtr, boolean cMemoryOwn) {
super(className, CollisionJNI.btAxisSweep3InternalShort_Handle_SWIGUpcast(cPtr), cMemoryOwn);
swigCPtr = cPtr;
}
/** Construct a new Handle, normally you should not need this constructor it's intended for low-level usage. */
public Handle (long cPtr, boolean cMemoryOwn) {
this("Handle", cPtr, cMemoryOwn);
construct();
}
@Override
protected void reset (long cPtr, boolean cMemoryOwn) {
if (!destroyed) destroy();
super.reset(CollisionJNI.btAxisSweep3InternalShort_Handle_SWIGUpcast(swigCPtr = cPtr), cMemoryOwn);
}
public static long getCPtr (Handle 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;
CollisionJNI.delete_btAxisSweep3InternalShort_Handle(swigCPtr);
}
swigCPtr = 0;
}
super.delete();
}
public long operatorNew (long sizeInBytes) {
return CollisionJNI.btAxisSweep3InternalShort_Handle_operatorNew__SWIG_0(swigCPtr, this, sizeInBytes);
}
public void operatorDelete (long ptr) {
CollisionJNI.btAxisSweep3InternalShort_Handle_operatorDelete__SWIG_0(swigCPtr, this, ptr);
}
public long operatorNew (long arg0, long ptr) {
return CollisionJNI.btAxisSweep3InternalShort_Handle_operatorNew__SWIG_1(swigCPtr, this, arg0, ptr);
}
public void operatorDelete (long arg0, long arg1) {
CollisionJNI.btAxisSweep3InternalShort_Handle_operatorDelete__SWIG_1(swigCPtr, this, arg0, arg1);
}
public long operatorNewArray (long sizeInBytes) {
return CollisionJNI.btAxisSweep3InternalShort_Handle_operatorNewArray__SWIG_0(swigCPtr, this, sizeInBytes);
}
public void operatorDeleteArray (long ptr) {
CollisionJNI.btAxisSweep3InternalShort_Handle_operatorDeleteArray__SWIG_0(swigCPtr, this, ptr);
}
public long operatorNewArray (long arg0, long ptr) {
return CollisionJNI.btAxisSweep3InternalShort_Handle_operatorNewArray__SWIG_1(swigCPtr, this, arg0, ptr);
}
public void operatorDeleteArray (long arg0, long arg1) {
CollisionJNI.btAxisSweep3InternalShort_Handle_operatorDeleteArray__SWIG_1(swigCPtr, this, arg0, arg1);
}
public void setMinEdges (int[] value) {
CollisionJNI.btAxisSweep3InternalShort_Handle_minEdges_set(swigCPtr, this, value);
}
public int[] getMinEdges () {
return CollisionJNI.btAxisSweep3InternalShort_Handle_minEdges_get(swigCPtr, this);
}
public void setMaxEdges (int[] value) {
CollisionJNI.btAxisSweep3InternalShort_Handle_maxEdges_set(swigCPtr, this, value);
}
public int[] getMaxEdges () {
return CollisionJNI.btAxisSweep3InternalShort_Handle_maxEdges_get(swigCPtr, this);
}
public void setDbvtProxy (btBroadphaseProxy value) {
CollisionJNI.btAxisSweep3InternalShort_Handle_dbvtProxy_set(swigCPtr, this, btBroadphaseProxy.getCPtr(value), value);
}
public btBroadphaseProxy getDbvtProxy () {
return btBroadphaseProxy.internalTemp(CollisionJNI.btAxisSweep3InternalShort_Handle_dbvtProxy_get(swigCPtr, this),
false);
}
public void SetNextFree (int next) {
CollisionJNI.btAxisSweep3InternalShort_Handle_SetNextFree(swigCPtr, this, next);
}
public int GetNextFree () {
return CollisionJNI.btAxisSweep3InternalShort_Handle_GetNextFree(swigCPtr, this);
}
public Handle () {
this(CollisionJNI.new_btAxisSweep3InternalShort_Handle(), true);
}
}
public btAxisSweep3InternalShort (Vector3 worldAabbMin, Vector3 worldAabbMax, int handleMask, int handleSentinel,
int maxHandles, btOverlappingPairCache pairCache, boolean disableRaycastAccelerator) {
this(CollisionJNI.new_btAxisSweep3InternalShort__SWIG_0(worldAabbMin, worldAabbMax, handleMask, handleSentinel, maxHandles,
btOverlappingPairCache.getCPtr(pairCache), pairCache, disableRaycastAccelerator), true);
}
public btAxisSweep3InternalShort (Vector3 worldAabbMin, Vector3 worldAabbMax, int handleMask, int handleSentinel,
int maxHandles, btOverlappingPairCache pairCache) {
this(CollisionJNI.new_btAxisSweep3InternalShort__SWIG_1(worldAabbMin, worldAabbMax, handleMask, handleSentinel, maxHandles,
btOverlappingPairCache.getCPtr(pairCache), pairCache), true);
}
public btAxisSweep3InternalShort (Vector3 worldAabbMin, Vector3 worldAabbMax, int handleMask, int handleSentinel,
int maxHandles) {
this(CollisionJNI.new_btAxisSweep3InternalShort__SWIG_2(worldAabbMin, worldAabbMax, handleMask, handleSentinel, maxHandles),
true);
}
public btAxisSweep3InternalShort (Vector3 worldAabbMin, Vector3 worldAabbMax, int handleMask, int handleSentinel) {
this(CollisionJNI.new_btAxisSweep3InternalShort__SWIG_3(worldAabbMin, worldAabbMax, handleMask, handleSentinel), true);
}
public int getNumHandles () {
return CollisionJNI.btAxisSweep3InternalShort_getNumHandles(swigCPtr, this);
}
public int addHandle (Vector3 aabbMin, Vector3 aabbMax, long pOwner, int collisionFilterGroup, int collisionFilterMask,
btDispatcher dispatcher) {
return CollisionJNI.btAxisSweep3InternalShort_addHandle(swigCPtr, this, aabbMin, aabbMax, pOwner, collisionFilterGroup,
collisionFilterMask, btDispatcher.getCPtr(dispatcher), dispatcher);
}
public void removeHandle (int handle, btDispatcher dispatcher) {
CollisionJNI.btAxisSweep3InternalShort_removeHandle(swigCPtr, this, handle, btDispatcher.getCPtr(dispatcher), dispatcher);
}
public void updateHandle (int handle, Vector3 aabbMin, Vector3 aabbMax, btDispatcher dispatcher) {
CollisionJNI.btAxisSweep3InternalShort_updateHandle(swigCPtr, this, handle, aabbMin, aabbMax,
btDispatcher.getCPtr(dispatcher), dispatcher);
}
public btAxisSweep3InternalShort.Handle getHandle (int index) {
long cPtr = CollisionJNI.btAxisSweep3InternalShort_getHandle(swigCPtr, this, index);
return (cPtr == 0) ? null : new btAxisSweep3InternalShort.Handle(cPtr, false);
}
public void rayTest (Vector3 rayFrom, Vector3 rayTo, btBroadphaseRayCallback rayCallback, Vector3 aabbMin, Vector3 aabbMax) {
CollisionJNI.btAxisSweep3InternalShort_rayTest__SWIG_0(swigCPtr, this, rayFrom, rayTo,
btBroadphaseRayCallback.getCPtr(rayCallback), rayCallback, aabbMin, aabbMax);
}
public void rayTest (Vector3 rayFrom, Vector3 rayTo, btBroadphaseRayCallback rayCallback, Vector3 aabbMin) {
CollisionJNI.btAxisSweep3InternalShort_rayTest__SWIG_1(swigCPtr, this, rayFrom, rayTo,
btBroadphaseRayCallback.getCPtr(rayCallback), rayCallback, aabbMin);
}
public void rayTest (Vector3 rayFrom, Vector3 rayTo, btBroadphaseRayCallback rayCallback) {
CollisionJNI.btAxisSweep3InternalShort_rayTest__SWIG_2(swigCPtr, this, rayFrom, rayTo,
btBroadphaseRayCallback.getCPtr(rayCallback), rayCallback);
}
public void quantize (java.nio.IntBuffer out, Vector3 point, int isMax) {
assert out.isDirect() : "Buffer must be allocated direct.";
{
CollisionJNI.btAxisSweep3InternalShort_quantize(swigCPtr, this, out, point, isMax);
}
}
public void unQuantize (btBroadphaseProxy proxy, Vector3 aabbMin, Vector3 aabbMax) {
CollisionJNI.btAxisSweep3InternalShort_unQuantize(swigCPtr, this, btBroadphaseProxy.getCPtr(proxy), proxy, aabbMin,
aabbMax);
}
public boolean testAabbOverlap (btBroadphaseProxy proxy0, btBroadphaseProxy proxy1) {
return CollisionJNI.btAxisSweep3InternalShort_testAabbOverlap(swigCPtr, this, btBroadphaseProxy.getCPtr(proxy0), proxy0,
btBroadphaseProxy.getCPtr(proxy1), proxy1);
}
public void setOverlappingPairUserCallback (btOverlappingPairCallback pairCallback) {
CollisionJNI.btAxisSweep3InternalShort_setOverlappingPairUserCallback(swigCPtr, this,
btOverlappingPairCallback.getCPtr(pairCallback), pairCallback);
}
public btOverlappingPairCallback getOverlappingPairUserCallback () {
long cPtr = CollisionJNI.btAxisSweep3InternalShort_getOverlappingPairUserCallback(swigCPtr, this);
return (cPtr == 0) ? null : new btOverlappingPairCallback(cPtr, false);
}
}
| -1 |
libgdx/libgdx | 7,276 | Fixed scene2d.ui layout for fractional positions and sizes. | When "rounding" for UI layout, floor x/y and ceil width/height.
For example if a label has a fractional width like 123.4, rounding a Container's width gives 123 and the label won't fit.
Table already does this, so I'm pretty sure it's the right thing to do in all other layouts. If others can please check this doesn't negatively affect their apps, that would be great! | NathanSweet | "2023-11-10T17:05:20Z" | "2023-11-13T03:27:53Z" | 5368811323eb4ac9c9167a73fc6910e42fcb425d | 8e3b2ef2af2e1c1765b3441cb15cfbeddf4046fa | Fixed scene2d.ui layout for fractional positions and sizes.. When "rounding" for UI layout, floor x/y and ceil width/height.
For example if a label has a fractional width like 123.4, rounding a Container's width gives 123 and the label won't fit.
Table already does this, so I'm pretty sure it's the right thing to do in all other layouts. If others can please check this doesn't negatively affect their apps, that would be great! | ./extensions/gdx-setup/res/com/badlogic/gdx/setup/resources/lwjgl3/build.gradle | sourceCompatibility = 1.8
sourceSets.main.java.srcDirs = [ "src/" ]
sourceSets.main.resources.srcDirs = ["../%ASSET_PATH%"]
project.ext.mainClassName = "%PACKAGE%.DesktopLauncher"
project.ext.assetsDir = new File("../%ASSET_PATH%")
import org.gradle.internal.os.OperatingSystem
tasks.register('run', JavaExec) {
dependsOn classes
mainClass = project.mainClassName
classpath = sourceSets.main.runtimeClasspath
standardInput = System.in
workingDir = project.assetsDir
ignoreExitValue = true
if (OperatingSystem.current() == OperatingSystem.MAC_OS) {
// Required to run on macOS
jvmArgs += "-XstartOnFirstThread"
}
}
tasks.register('debug', JavaExec) {
dependsOn classes
mainClass = project.mainClassName
classpath = sourceSets.main.runtimeClasspath
standardInput = System.in
workingDir = project.assetsDir
ignoreExitValue = true
debug = true
}
tasks.register('dist', Jar) {
duplicatesStrategy(DuplicatesStrategy.EXCLUDE)
manifest {
attributes 'Main-Class': project.mainClassName
}
dependsOn configurations.runtimeClasspath
from {
configurations.runtimeClasspath.collect { it.isDirectory() ? it : zipTree(it) }
}
with jar
}
dist.dependsOn classes
eclipse.project.name = appName + "-desktop"
| sourceCompatibility = 1.8
sourceSets.main.java.srcDirs = [ "src/" ]
sourceSets.main.resources.srcDirs = ["../%ASSET_PATH%"]
project.ext.mainClassName = "%PACKAGE%.DesktopLauncher"
project.ext.assetsDir = new File("../%ASSET_PATH%")
import org.gradle.internal.os.OperatingSystem
tasks.register('run', JavaExec) {
dependsOn classes
mainClass = project.mainClassName
classpath = sourceSets.main.runtimeClasspath
standardInput = System.in
workingDir = project.assetsDir
ignoreExitValue = true
if (OperatingSystem.current() == OperatingSystem.MAC_OS) {
// Required to run on macOS
jvmArgs += "-XstartOnFirstThread"
}
}
tasks.register('debug', JavaExec) {
dependsOn classes
mainClass = project.mainClassName
classpath = sourceSets.main.runtimeClasspath
standardInput = System.in
workingDir = project.assetsDir
ignoreExitValue = true
debug = true
}
tasks.register('dist', Jar) {
duplicatesStrategy(DuplicatesStrategy.EXCLUDE)
manifest {
attributes 'Main-Class': project.mainClassName
}
dependsOn configurations.runtimeClasspath
from {
configurations.runtimeClasspath.collect { it.isDirectory() ? it : zipTree(it) }
}
with jar
}
dist.dependsOn classes
eclipse.project.name = appName + "-desktop"
| -1 |
libgdx/libgdx | 7,276 | Fixed scene2d.ui layout for fractional positions and sizes. | When "rounding" for UI layout, floor x/y and ceil width/height.
For example if a label has a fractional width like 123.4, rounding a Container's width gives 123 and the label won't fit.
Table already does this, so I'm pretty sure it's the right thing to do in all other layouts. If others can please check this doesn't negatively affect their apps, that would be great! | NathanSweet | "2023-11-10T17:05:20Z" | "2023-11-13T03:27:53Z" | 5368811323eb4ac9c9167a73fc6910e42fcb425d | 8e3b2ef2af2e1c1765b3441cb15cfbeddf4046fa | Fixed scene2d.ui layout for fractional positions and sizes.. When "rounding" for UI layout, floor x/y and ceil width/height.
For example if a label has a fractional width like 123.4, rounding a Container's width gives 123 and the label won't fit.
Table already does this, so I'm pretty sure it's the right thing to do in all other layouts. If others can please check this doesn't negatively affect their apps, that would be great! | ./extensions/gdx-bullet/jni/swig-src/softbody/com/badlogic/gdx/physics/bullet/softbody/SWIGTYPE_p_a_3_1__a_3_1__float.java | /* ----------------------------------------------------------------------------
* 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.softbody;
public class SWIGTYPE_p_a_3_1__a_3_1__float {
private transient long swigCPtr;
protected SWIGTYPE_p_a_3_1__a_3_1__float (long cPtr, @SuppressWarnings("unused") boolean futureUse) {
swigCPtr = cPtr;
}
protected SWIGTYPE_p_a_3_1__a_3_1__float () {
swigCPtr = 0;
}
protected static long getCPtr (SWIGTYPE_p_a_3_1__a_3_1__float obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
}
| /* ----------------------------------------------------------------------------
* 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.softbody;
public class SWIGTYPE_p_a_3_1__a_3_1__float {
private transient long swigCPtr;
protected SWIGTYPE_p_a_3_1__a_3_1__float (long cPtr, @SuppressWarnings("unused") boolean futureUse) {
swigCPtr = cPtr;
}
protected SWIGTYPE_p_a_3_1__a_3_1__float () {
swigCPtr = 0;
}
protected static long getCPtr (SWIGTYPE_p_a_3_1__a_3_1__float obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
}
| -1 |
libgdx/libgdx | 7,276 | Fixed scene2d.ui layout for fractional positions and sizes. | When "rounding" for UI layout, floor x/y and ceil width/height.
For example if a label has a fractional width like 123.4, rounding a Container's width gives 123 and the label won't fit.
Table already does this, so I'm pretty sure it's the right thing to do in all other layouts. If others can please check this doesn't negatively affect their apps, that would be great! | NathanSweet | "2023-11-10T17:05:20Z" | "2023-11-13T03:27:53Z" | 5368811323eb4ac9c9167a73fc6910e42fcb425d | 8e3b2ef2af2e1c1765b3441cb15cfbeddf4046fa | Fixed scene2d.ui layout for fractional positions and sizes.. When "rounding" for UI layout, floor x/y and ceil width/height.
For example if a label has a fractional width like 123.4, rounding a Container's width gives 123 and the label won't fit.
Table already does this, so I'm pretty sure it's the right thing to do in all other layouts. If others can please check this doesn't negatively affect their apps, that would be great! | ./backends/gdx-backends-gwt/src/com/badlogic/gdx/backends/gwt/emu/com/badlogic/gdx/graphics/glutils/VertexBufferObject.java | /*******************************************************************************
* Copyright 2011 See AUTHORS file.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
******************************************************************************/
package com.badlogic.gdx.graphics.glutils;
import java.nio.FloatBuffer;
import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.graphics.GL20;
import com.badlogic.gdx.graphics.VertexAttribute;
import com.badlogic.gdx.graphics.VertexAttributes;
import com.badlogic.gdx.utils.BufferUtils;
/**
* <p>
* A {@link VertexData} implementation based on OpenGL vertex buffer objects.
* </p>
*
* <p>
* If the OpenGL ES context was lost you can call {@link #invalidate()} to recreate a new OpenGL vertex buffer object. This class
* can be used seamlessly with OpenGL ES 1.x and 2.0.
* </p>
*
* <p>
* In case OpenGL ES 2.0 is used in the application the data is bound via glVertexAttribPointer() according to the attribute
* aliases specified via {@link VertexAttributes} in the constructor.
* </p>
*
* <p>
* Uses indirect Buffers on Android 1.5/1.6 to fix GC invocation due to leaking PlatformAddress instances.
* </p>
*
* <p>
* VertexBufferObjects must be disposed via the {@link #dispose()} method when no longer needed
* </p>
*
* @author mzechner, Dave Clayton <contact@redskyforge.com> */
public class VertexBufferObject implements VertexData {
final VertexAttributes attributes;
final FloatBuffer buffer;
int bufferHandle;
final boolean isStatic;
final int usage;
boolean isDirty = false;
boolean isBound = false;
/** Constructs a new interleaved VertexBufferObject.
*
* @param isStatic whether the vertex data is static.
* @param numVertices the maximum number of vertices
* @param attributes the {@link VertexAttribute}s. */
public VertexBufferObject (boolean isStatic, int numVertices, VertexAttribute... attributes) {
this(isStatic, numVertices, new VertexAttributes(attributes));
}
/** Constructs a new interleaved VertexBufferObject.
*
* @param isStatic whether the vertex data is static.
* @param numVertices the maximum number of vertices
* @param attributes the {@link VertexAttributes}. */
public VertexBufferObject (boolean isStatic, int numVertices, VertexAttributes attributes) {
this.isStatic = isStatic;
this.attributes = attributes;
buffer = BufferUtils.newFloatBuffer(this.attributes.vertexSize / 4 * numVertices);
buffer.flip();
bufferHandle = Gdx.gl20.glGenBuffer();
usage = isStatic ? GL20.GL_STATIC_DRAW : GL20.GL_DYNAMIC_DRAW;
}
@Override
public VertexAttributes getAttributes () {
return attributes;
}
@Override
public int getNumVertices () {
return buffer.limit() / (attributes.vertexSize / 4);
}
@Override
public int getNumMaxVertices () {
return buffer.capacity() / (attributes.vertexSize / 4);
}
/** @deprecated use {@link #getBuffer(boolean)} instead */
@Override
@Deprecated
public FloatBuffer getBuffer () {
isDirty = true;
return buffer;
}
@Override
public FloatBuffer getBuffer (boolean forWriting) {
isDirty |= forWriting;
return buffer;
}
private void bufferChanged () {
if (isBound) {
Gdx.gl20.glBufferData(GL20.GL_ARRAY_BUFFER, buffer.limit(), buffer, usage);
isDirty = false;
}
}
@Override
public void setVertices (float[] vertices, int offset, int count) {
isDirty = true;
BufferUtils.copy(vertices, buffer, count, offset);
buffer.position(0);
buffer.limit(count);
bufferChanged();
}
@Override
public void updateVertices (int targetOffset, float[] vertices, int sourceOffset, int count) {
isDirty = true;
final int pos = buffer.position();
buffer.position(targetOffset);
BufferUtils.copy(vertices, sourceOffset, count, buffer);
buffer.position(pos);
bufferChanged();
}
/** Binds this VertexBufferObject for rendering via glDrawArrays or glDrawElements
*
* @param shader the shader */
/** Binds this VertexBufferObject for rendering via glDrawArrays or glDrawElements
*
* @param shader the shader */
@Override
public void bind (ShaderProgram shader) {
bind(shader, null);
}
@Override
public void bind (ShaderProgram shader, int[] locations) {
final GL20 gl = Gdx.gl20;
gl.glBindBuffer(GL20.GL_ARRAY_BUFFER, bufferHandle);
if (isDirty) {
gl.glBufferData(GL20.GL_ARRAY_BUFFER, buffer.limit(), buffer, usage);
isDirty = false;
}
final int numAttributes = attributes.size();
if (locations == null) {
for (int i = 0; i < numAttributes; i++) {
final VertexAttribute attribute = attributes.get(i);
final int location = shader.getAttributeLocation(attribute.alias);
if (location < 0) continue;
shader.enableVertexAttribute(location);
shader.setVertexAttribute(location, attribute.numComponents, attribute.type, attribute.normalized,
attributes.vertexSize, attribute.offset);
}
} else {
for (int i = 0; i < numAttributes; i++) {
final VertexAttribute attribute = attributes.get(i);
final int location = locations[i];
if (location < 0) continue;
shader.enableVertexAttribute(location);
shader.setVertexAttribute(location, attribute.numComponents, attribute.type, attribute.normalized,
attributes.vertexSize, attribute.offset);
}
}
isBound = true;
}
/** Unbinds this VertexBufferObject.
*
* @param shader the shader */
@Override
public void unbind (final ShaderProgram shader) {
unbind(shader, null);
}
@Override
public void unbind (final ShaderProgram shader, final int[] locations) {
final GL20 gl = Gdx.gl20;
final int numAttributes = attributes.size();
if (locations == null) {
for (int i = 0; i < numAttributes; i++) {
shader.disableVertexAttribute(attributes.get(i).alias);
}
} else {
for (int i = 0; i < numAttributes; i++) {
final int location = locations[i];
if (location >= 0) shader.disableVertexAttribute(location);
}
}
gl.glBindBuffer(GL20.GL_ARRAY_BUFFER, 0);
isBound = false;
}
/** Invalidates the VertexBufferObject so a new OpenGL buffer handle is created. Use this in case of a context loss. */
public void invalidate () {
bufferHandle = Gdx.gl20.glGenBuffer();
isDirty = true;
}
/** Disposes of all resources this VertexBufferObject uses. */
@Override
public void dispose () {
GL20 gl = Gdx.gl20;
gl.glBindBuffer(GL20.GL_ARRAY_BUFFER, 0);
gl.glDeleteBuffer(bufferHandle);
bufferHandle = 0;
}
}
| /*******************************************************************************
* Copyright 2011 See AUTHORS file.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
******************************************************************************/
package com.badlogic.gdx.graphics.glutils;
import java.nio.FloatBuffer;
import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.graphics.GL20;
import com.badlogic.gdx.graphics.VertexAttribute;
import com.badlogic.gdx.graphics.VertexAttributes;
import com.badlogic.gdx.utils.BufferUtils;
/**
* <p>
* A {@link VertexData} implementation based on OpenGL vertex buffer objects.
* </p>
*
* <p>
* If the OpenGL ES context was lost you can call {@link #invalidate()} to recreate a new OpenGL vertex buffer object. This class
* can be used seamlessly with OpenGL ES 1.x and 2.0.
* </p>
*
* <p>
* In case OpenGL ES 2.0 is used in the application the data is bound via glVertexAttribPointer() according to the attribute
* aliases specified via {@link VertexAttributes} in the constructor.
* </p>
*
* <p>
* Uses indirect Buffers on Android 1.5/1.6 to fix GC invocation due to leaking PlatformAddress instances.
* </p>
*
* <p>
* VertexBufferObjects must be disposed via the {@link #dispose()} method when no longer needed
* </p>
*
* @author mzechner, Dave Clayton <contact@redskyforge.com> */
public class VertexBufferObject implements VertexData {
final VertexAttributes attributes;
final FloatBuffer buffer;
int bufferHandle;
final boolean isStatic;
final int usage;
boolean isDirty = false;
boolean isBound = false;
/** Constructs a new interleaved VertexBufferObject.
*
* @param isStatic whether the vertex data is static.
* @param numVertices the maximum number of vertices
* @param attributes the {@link VertexAttribute}s. */
public VertexBufferObject (boolean isStatic, int numVertices, VertexAttribute... attributes) {
this(isStatic, numVertices, new VertexAttributes(attributes));
}
/** Constructs a new interleaved VertexBufferObject.
*
* @param isStatic whether the vertex data is static.
* @param numVertices the maximum number of vertices
* @param attributes the {@link VertexAttributes}. */
public VertexBufferObject (boolean isStatic, int numVertices, VertexAttributes attributes) {
this.isStatic = isStatic;
this.attributes = attributes;
buffer = BufferUtils.newFloatBuffer(this.attributes.vertexSize / 4 * numVertices);
buffer.flip();
bufferHandle = Gdx.gl20.glGenBuffer();
usage = isStatic ? GL20.GL_STATIC_DRAW : GL20.GL_DYNAMIC_DRAW;
}
@Override
public VertexAttributes getAttributes () {
return attributes;
}
@Override
public int getNumVertices () {
return buffer.limit() / (attributes.vertexSize / 4);
}
@Override
public int getNumMaxVertices () {
return buffer.capacity() / (attributes.vertexSize / 4);
}
/** @deprecated use {@link #getBuffer(boolean)} instead */
@Override
@Deprecated
public FloatBuffer getBuffer () {
isDirty = true;
return buffer;
}
@Override
public FloatBuffer getBuffer (boolean forWriting) {
isDirty |= forWriting;
return buffer;
}
private void bufferChanged () {
if (isBound) {
Gdx.gl20.glBufferData(GL20.GL_ARRAY_BUFFER, buffer.limit(), buffer, usage);
isDirty = false;
}
}
@Override
public void setVertices (float[] vertices, int offset, int count) {
isDirty = true;
BufferUtils.copy(vertices, buffer, count, offset);
buffer.position(0);
buffer.limit(count);
bufferChanged();
}
@Override
public void updateVertices (int targetOffset, float[] vertices, int sourceOffset, int count) {
isDirty = true;
final int pos = buffer.position();
buffer.position(targetOffset);
BufferUtils.copy(vertices, sourceOffset, count, buffer);
buffer.position(pos);
bufferChanged();
}
/** Binds this VertexBufferObject for rendering via glDrawArrays or glDrawElements
*
* @param shader the shader */
/** Binds this VertexBufferObject for rendering via glDrawArrays or glDrawElements
*
* @param shader the shader */
@Override
public void bind (ShaderProgram shader) {
bind(shader, null);
}
@Override
public void bind (ShaderProgram shader, int[] locations) {
final GL20 gl = Gdx.gl20;
gl.glBindBuffer(GL20.GL_ARRAY_BUFFER, bufferHandle);
if (isDirty) {
gl.glBufferData(GL20.GL_ARRAY_BUFFER, buffer.limit(), buffer, usage);
isDirty = false;
}
final int numAttributes = attributes.size();
if (locations == null) {
for (int i = 0; i < numAttributes; i++) {
final VertexAttribute attribute = attributes.get(i);
final int location = shader.getAttributeLocation(attribute.alias);
if (location < 0) continue;
shader.enableVertexAttribute(location);
shader.setVertexAttribute(location, attribute.numComponents, attribute.type, attribute.normalized,
attributes.vertexSize, attribute.offset);
}
} else {
for (int i = 0; i < numAttributes; i++) {
final VertexAttribute attribute = attributes.get(i);
final int location = locations[i];
if (location < 0) continue;
shader.enableVertexAttribute(location);
shader.setVertexAttribute(location, attribute.numComponents, attribute.type, attribute.normalized,
attributes.vertexSize, attribute.offset);
}
}
isBound = true;
}
/** Unbinds this VertexBufferObject.
*
* @param shader the shader */
@Override
public void unbind (final ShaderProgram shader) {
unbind(shader, null);
}
@Override
public void unbind (final ShaderProgram shader, final int[] locations) {
final GL20 gl = Gdx.gl20;
final int numAttributes = attributes.size();
if (locations == null) {
for (int i = 0; i < numAttributes; i++) {
shader.disableVertexAttribute(attributes.get(i).alias);
}
} else {
for (int i = 0; i < numAttributes; i++) {
final int location = locations[i];
if (location >= 0) shader.disableVertexAttribute(location);
}
}
gl.glBindBuffer(GL20.GL_ARRAY_BUFFER, 0);
isBound = false;
}
/** Invalidates the VertexBufferObject so a new OpenGL buffer handle is created. Use this in case of a context loss. */
public void invalidate () {
bufferHandle = Gdx.gl20.glGenBuffer();
isDirty = true;
}
/** Disposes of all resources this VertexBufferObject uses. */
@Override
public void dispose () {
GL20 gl = Gdx.gl20;
gl.glBindBuffer(GL20.GL_ARRAY_BUFFER, 0);
gl.glDeleteBuffer(bufferHandle);
bufferHandle = 0;
}
}
| -1 |
libgdx/libgdx | 7,276 | Fixed scene2d.ui layout for fractional positions and sizes. | When "rounding" for UI layout, floor x/y and ceil width/height.
For example if a label has a fractional width like 123.4, rounding a Container's width gives 123 and the label won't fit.
Table already does this, so I'm pretty sure it's the right thing to do in all other layouts. If others can please check this doesn't negatively affect their apps, that would be great! | NathanSweet | "2023-11-10T17:05:20Z" | "2023-11-13T03:27:53Z" | 5368811323eb4ac9c9167a73fc6910e42fcb425d | 8e3b2ef2af2e1c1765b3441cb15cfbeddf4046fa | Fixed scene2d.ui layout for fractional positions and sizes.. When "rounding" for UI layout, floor x/y and ceil width/height.
For example if a label has a fractional width like 123.4, rounding a Container's width gives 123 and the label won't fit.
Table already does this, so I'm pretty sure it's the right thing to do in all other layouts. If others can please check this doesn't negatively affect their apps, that would be great! | ./tests/gdx-tests/src/com/badlogic/gdx/tests/bullet/TriangleRaycastTest.java | /*******************************************************************************
* Copyright 2011 See AUTHORS file.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
******************************************************************************/
package com.badlogic.gdx.tests.bullet;
import java.nio.FloatBuffer;
import java.nio.ShortBuffer;
import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.graphics.Color;
import com.badlogic.gdx.graphics.Mesh;
import com.badlogic.gdx.graphics.VertexAttributes;
import com.badlogic.gdx.graphics.g3d.Model;
import com.badlogic.gdx.graphics.g3d.attributes.ColorAttribute;
import com.badlogic.gdx.graphics.glutils.ShapeRenderer;
import com.badlogic.gdx.math.Vector3;
import com.badlogic.gdx.math.collision.Ray;
import com.badlogic.gdx.physics.bullet.collision.btBvhTriangleMeshShape;
import com.badlogic.gdx.physics.bullet.collision.btTriangleIndexVertexArray;
import com.badlogic.gdx.physics.bullet.collision.btTriangleRaycastCallback;
import com.badlogic.gdx.physics.bullet.collision.btTriangleRaycastCallback.EFlags;
import com.badlogic.gdx.physics.bullet.linearmath.btVector3;
/** @author jsjolund */
public class TriangleRaycastTest extends BaseBulletTest {
private class MyTriangleRaycastCallback extends btTriangleRaycastCallback {
public Vector3 hitNormalLocal = new Vector3();
public float hitFraction = 1;
public int partId = -1;
public int triangleIndex = -1;
private btVector3 tmpSetFrom = new btVector3();
private btVector3 tmpSetTo = new btVector3();
public MyTriangleRaycastCallback (Vector3 from, Vector3 to) {
super(from, to);
}
public void clearReport () {
hitNormalLocal.setZero();
hitFraction = 1;
partId = -1;
triangleIndex = -1;
}
@Override
public void setHitFraction (float hitFraction) {
super.setHitFraction(hitFraction);
this.hitFraction = hitFraction;
}
@Override
public float reportHit (Vector3 hitNormalLocal, float hitFraction, int partId, int triangleIndex) {
// The hit with lowest hitFraction is closest to the ray origin.
// We need to find the lowest hitFraction since the super class does not handle it for us.
if (hitFraction < this.hitFraction) {
this.hitNormalLocal.set(hitNormalLocal);
this.hitFraction = hitFraction;
this.partId = partId;
this.triangleIndex = triangleIndex;
}
return hitFraction;
}
public void setFrom (Vector3 value) {
tmpSetFrom.setValue(value.x, value.y, value.z);
super.setFrom(tmpSetFrom);
}
public void setTo (Vector3 value) {
tmpSetTo.setValue(value.x, value.y, value.z);
super.setTo(tmpSetTo);
}
@Override
public void dispose () {
tmpSetFrom.dispose();
tmpSetTo.dispose();
super.dispose();
}
}
private Model model;
private btBvhTriangleMeshShape triangleShape;
private MyTriangleRaycastCallback triangleRaycastCallback;
private Vector3[] selectedTriangleVertices = {new Vector3(), new Vector3(), new Vector3()};
private ShapeRenderer shapeRenderer;
private Vector3 rayFrom = new Vector3();
private Vector3 rayTo = new Vector3();
@Override
public void create () {
super.create();
instructions = "Tap a triangle to ray cast\nLong press to toggle debug mode\nSwipe for next test\nCtrl+drag to rotate\nScroll to zoom";
shapeRenderer = new ShapeRenderer();
model = objLoader.loadModel(Gdx.files.internal("data/scene.obj"));
model.materials.get(0).clear();
model.materials.get(0).set(ColorAttribute.createDiffuse(Color.WHITE), ColorAttribute.createSpecular(Color.WHITE));
// Only indexed BvhTriangleMeshShape can be used for triangle picking.
btTriangleIndexVertexArray vertexArray = new btTriangleIndexVertexArray(model.meshParts);
triangleShape = new btBvhTriangleMeshShape(vertexArray, true);
triangleRaycastCallback = new MyTriangleRaycastCallback(Vector3.Zero, Vector3.Zero);
// Ignore intersection with mesh backfaces.
triangleRaycastCallback.setFlags(EFlags.kF_FilterBackfaces);
world.addConstructor("scene", new BulletConstructor(model, 0, triangleShape));
world.add("scene", 0, 0, 0);
disposables.add(model);
disposables.add(triangleRaycastCallback);
disposables.add(triangleShape);
disposables.add(vertexArray);
disposables.add(shapeRenderer);
}
@Override
public void render () {
super.render();
Gdx.gl.glLineWidth(5);
shapeRenderer.setProjectionMatrix(camera.combined);
shapeRenderer.begin(ShapeRenderer.ShapeType.Line);
shapeRenderer.setColor(1, 0, 0, 1f);
shapeRenderer.line(selectedTriangleVertices[0], selectedTriangleVertices[1]);
shapeRenderer.line(selectedTriangleVertices[1], selectedTriangleVertices[2]);
shapeRenderer.line(selectedTriangleVertices[2], selectedTriangleVertices[0]);
shapeRenderer.end();
Gdx.gl.glLineWidth(1);
}
@Override
public boolean tap (float screenX, float screenY, int count, int button) {
Ray ray = camera.getPickRay(screenX, screenY);
rayFrom.set(ray.origin);
rayTo.set(ray.direction).scl(100).add(rayFrom);
// Clean the callback object for reuse.
triangleRaycastCallback.setHitFraction(1);
triangleRaycastCallback.clearReport();
triangleRaycastCallback.setFrom(rayFrom);
triangleRaycastCallback.setTo(rayTo);
// Ray casting is performed directly on the collision shape.
// The callback specifies the intersected MeshPart as well as triangle.
triangleShape.performRaycast(triangleRaycastCallback, rayFrom, rayTo);
int currentTriangleIndex = triangleRaycastCallback.triangleIndex;
int currentPartId = triangleRaycastCallback.partId;
if (currentTriangleIndex == -1 || currentPartId == -1) {
// No intersection was found.
return false;
}
// Get the position coordinates of the vertices belonging to intersected triangle.
Mesh mesh = model.meshParts.get(currentPartId).mesh;
FloatBuffer verticesBuffer = mesh.getVerticesBuffer(false);
ShortBuffer indicesBuffer = mesh.getIndicesBuffer(false);
int posOffset = mesh.getVertexAttributes().findByUsage(VertexAttributes.Usage.Position).offset / 4;
int vertexSize = mesh.getVertexSize() / 4;
int currentTriangleFirstVertexIndex = currentTriangleIndex * 3;
// Store the three vertices belonging to the selected triangle.
for (int i = 0; i < 3; i++) {
int currentVertexIndex = indicesBuffer.get(currentTriangleFirstVertexIndex + i) & 0xFFFF;
int j = currentVertexIndex * vertexSize + posOffset;
float x = verticesBuffer.get(j++);
float y = verticesBuffer.get(j++);
float z = verticesBuffer.get(j);
selectedTriangleVertices[i].set(x, y, z);
}
return true;
}
}
| /*******************************************************************************
* Copyright 2011 See AUTHORS file.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
******************************************************************************/
package com.badlogic.gdx.tests.bullet;
import java.nio.FloatBuffer;
import java.nio.ShortBuffer;
import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.graphics.Color;
import com.badlogic.gdx.graphics.Mesh;
import com.badlogic.gdx.graphics.VertexAttributes;
import com.badlogic.gdx.graphics.g3d.Model;
import com.badlogic.gdx.graphics.g3d.attributes.ColorAttribute;
import com.badlogic.gdx.graphics.glutils.ShapeRenderer;
import com.badlogic.gdx.math.Vector3;
import com.badlogic.gdx.math.collision.Ray;
import com.badlogic.gdx.physics.bullet.collision.btBvhTriangleMeshShape;
import com.badlogic.gdx.physics.bullet.collision.btTriangleIndexVertexArray;
import com.badlogic.gdx.physics.bullet.collision.btTriangleRaycastCallback;
import com.badlogic.gdx.physics.bullet.collision.btTriangleRaycastCallback.EFlags;
import com.badlogic.gdx.physics.bullet.linearmath.btVector3;
/** @author jsjolund */
public class TriangleRaycastTest extends BaseBulletTest {
private class MyTriangleRaycastCallback extends btTriangleRaycastCallback {
public Vector3 hitNormalLocal = new Vector3();
public float hitFraction = 1;
public int partId = -1;
public int triangleIndex = -1;
private btVector3 tmpSetFrom = new btVector3();
private btVector3 tmpSetTo = new btVector3();
public MyTriangleRaycastCallback (Vector3 from, Vector3 to) {
super(from, to);
}
public void clearReport () {
hitNormalLocal.setZero();
hitFraction = 1;
partId = -1;
triangleIndex = -1;
}
@Override
public void setHitFraction (float hitFraction) {
super.setHitFraction(hitFraction);
this.hitFraction = hitFraction;
}
@Override
public float reportHit (Vector3 hitNormalLocal, float hitFraction, int partId, int triangleIndex) {
// The hit with lowest hitFraction is closest to the ray origin.
// We need to find the lowest hitFraction since the super class does not handle it for us.
if (hitFraction < this.hitFraction) {
this.hitNormalLocal.set(hitNormalLocal);
this.hitFraction = hitFraction;
this.partId = partId;
this.triangleIndex = triangleIndex;
}
return hitFraction;
}
public void setFrom (Vector3 value) {
tmpSetFrom.setValue(value.x, value.y, value.z);
super.setFrom(tmpSetFrom);
}
public void setTo (Vector3 value) {
tmpSetTo.setValue(value.x, value.y, value.z);
super.setTo(tmpSetTo);
}
@Override
public void dispose () {
tmpSetFrom.dispose();
tmpSetTo.dispose();
super.dispose();
}
}
private Model model;
private btBvhTriangleMeshShape triangleShape;
private MyTriangleRaycastCallback triangleRaycastCallback;
private Vector3[] selectedTriangleVertices = {new Vector3(), new Vector3(), new Vector3()};
private ShapeRenderer shapeRenderer;
private Vector3 rayFrom = new Vector3();
private Vector3 rayTo = new Vector3();
@Override
public void create () {
super.create();
instructions = "Tap a triangle to ray cast\nLong press to toggle debug mode\nSwipe for next test\nCtrl+drag to rotate\nScroll to zoom";
shapeRenderer = new ShapeRenderer();
model = objLoader.loadModel(Gdx.files.internal("data/scene.obj"));
model.materials.get(0).clear();
model.materials.get(0).set(ColorAttribute.createDiffuse(Color.WHITE), ColorAttribute.createSpecular(Color.WHITE));
// Only indexed BvhTriangleMeshShape can be used for triangle picking.
btTriangleIndexVertexArray vertexArray = new btTriangleIndexVertexArray(model.meshParts);
triangleShape = new btBvhTriangleMeshShape(vertexArray, true);
triangleRaycastCallback = new MyTriangleRaycastCallback(Vector3.Zero, Vector3.Zero);
// Ignore intersection with mesh backfaces.
triangleRaycastCallback.setFlags(EFlags.kF_FilterBackfaces);
world.addConstructor("scene", new BulletConstructor(model, 0, triangleShape));
world.add("scene", 0, 0, 0);
disposables.add(model);
disposables.add(triangleRaycastCallback);
disposables.add(triangleShape);
disposables.add(vertexArray);
disposables.add(shapeRenderer);
}
@Override
public void render () {
super.render();
Gdx.gl.glLineWidth(5);
shapeRenderer.setProjectionMatrix(camera.combined);
shapeRenderer.begin(ShapeRenderer.ShapeType.Line);
shapeRenderer.setColor(1, 0, 0, 1f);
shapeRenderer.line(selectedTriangleVertices[0], selectedTriangleVertices[1]);
shapeRenderer.line(selectedTriangleVertices[1], selectedTriangleVertices[2]);
shapeRenderer.line(selectedTriangleVertices[2], selectedTriangleVertices[0]);
shapeRenderer.end();
Gdx.gl.glLineWidth(1);
}
@Override
public boolean tap (float screenX, float screenY, int count, int button) {
Ray ray = camera.getPickRay(screenX, screenY);
rayFrom.set(ray.origin);
rayTo.set(ray.direction).scl(100).add(rayFrom);
// Clean the callback object for reuse.
triangleRaycastCallback.setHitFraction(1);
triangleRaycastCallback.clearReport();
triangleRaycastCallback.setFrom(rayFrom);
triangleRaycastCallback.setTo(rayTo);
// Ray casting is performed directly on the collision shape.
// The callback specifies the intersected MeshPart as well as triangle.
triangleShape.performRaycast(triangleRaycastCallback, rayFrom, rayTo);
int currentTriangleIndex = triangleRaycastCallback.triangleIndex;
int currentPartId = triangleRaycastCallback.partId;
if (currentTriangleIndex == -1 || currentPartId == -1) {
// No intersection was found.
return false;
}
// Get the position coordinates of the vertices belonging to intersected triangle.
Mesh mesh = model.meshParts.get(currentPartId).mesh;
FloatBuffer verticesBuffer = mesh.getVerticesBuffer(false);
ShortBuffer indicesBuffer = mesh.getIndicesBuffer(false);
int posOffset = mesh.getVertexAttributes().findByUsage(VertexAttributes.Usage.Position).offset / 4;
int vertexSize = mesh.getVertexSize() / 4;
int currentTriangleFirstVertexIndex = currentTriangleIndex * 3;
// Store the three vertices belonging to the selected triangle.
for (int i = 0; i < 3; i++) {
int currentVertexIndex = indicesBuffer.get(currentTriangleFirstVertexIndex + i) & 0xFFFF;
int j = currentVertexIndex * vertexSize + posOffset;
float x = verticesBuffer.get(j++);
float y = verticesBuffer.get(j++);
float z = verticesBuffer.get(j);
selectedTriangleVertices[i].set(x, y, z);
}
return true;
}
}
| -1 |
libgdx/libgdx | 7,276 | Fixed scene2d.ui layout for fractional positions and sizes. | When "rounding" for UI layout, floor x/y and ceil width/height.
For example if a label has a fractional width like 123.4, rounding a Container's width gives 123 and the label won't fit.
Table already does this, so I'm pretty sure it's the right thing to do in all other layouts. If others can please check this doesn't negatively affect their apps, that would be great! | NathanSweet | "2023-11-10T17:05:20Z" | "2023-11-13T03:27:53Z" | 5368811323eb4ac9c9167a73fc6910e42fcb425d | 8e3b2ef2af2e1c1765b3441cb15cfbeddf4046fa | Fixed scene2d.ui layout for fractional positions and sizes.. When "rounding" for UI layout, floor x/y and ceil width/height.
For example if a label has a fractional width like 123.4, rounding a Container's width gives 123 and the label won't fit.
Table already does this, so I'm pretty sure it's the right thing to do in all other layouts. If others can please check this doesn't negatively affect their apps, that would be great! | ./backends/gdx-backend-android/src/com/badlogic/gdx/backends/android/AndroidGraphicsLiveWallpaper.java | /*
* Copyright 2010 Mario Zechner (contact@badlogicgames.com), Nathan Sweet (admin@esotericsoftware.com)
*
* Modified by Elijah Cornell
* 2013.01 Modified by Jaroslaw Wisniewski <j.wisniewski@appsisle.com>
* 2014.04 Modified by davebaol
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the
* License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS"
* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language
* governing permissions and limitations under the License.
*/
package com.badlogic.gdx.backends.android;
import android.opengl.GLSurfaceView.EGLConfigChooser;
import android.util.Log;
import android.view.SurfaceHolder;
import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.backends.android.surfaceview.GLSurfaceView20;
import com.badlogic.gdx.backends.android.surfaceview.ResolutionStrategy;
import com.badlogic.gdx.utils.GdxRuntimeException;
/** A subclass of {@link AndroidGraphics} specialized for live wallpaper applications.
*
* @author mzechner */
public final class AndroidGraphicsLiveWallpaper extends AndroidGraphics {
public AndroidGraphicsLiveWallpaper (AndroidLiveWallpaper lwp, AndroidApplicationConfiguration config,
ResolutionStrategy resolutionStrategy) {
super(lwp, config, resolutionStrategy, false);
}
// jw: I replaced GL..SurfaceViewLW classes with their original counterparts, if it will work
// on known devices, on opengl 1.0 and 2.0, and all possible SDK versions.. You can remove
// GL..SurfaceViewLW family of classes completely (there is no use for them).
// -> specific for live wallpapers
// jw: synchronized access to current wallpaper surface holder
SurfaceHolder getSurfaceHolder () {
synchronized (((AndroidLiveWallpaper)app).service.sync) {
return ((AndroidLiveWallpaper)app).service.getSurfaceHolder();
}
}
// <- specific for live wallpapers
// Grabbed from AndroidGraphics superclass and modified to override
// getHolder in created GLSurfaceView20 instances
@Override
protected GLSurfaceView20 createGLSurfaceView (AndroidApplicationBase application,
final ResolutionStrategy resolutionStrategy) {
if (!checkGL20()) throw new GdxRuntimeException("libGDX requires OpenGL ES 2.0");
EGLConfigChooser configChooser = getEglConfigChooser();
GLSurfaceView20 view = new GLSurfaceView20(application.getContext(), resolutionStrategy) {
@Override
public SurfaceHolder getHolder () {
return getSurfaceHolder();
}
};
if (configChooser != null)
view.setEGLConfigChooser(configChooser);
else
view.setEGLConfigChooser(config.r, config.g, config.b, config.a, config.depth, config.stencil);
view.setRenderer(this);
return view;
}
// kill the GLThread managed by GLSurfaceView (only for GLSurfaceView because GLSurffaceViewCupcake stops thread in
// onPause events - which is not as easy and safe for GLSurfaceView)
public void onDestroyGLSurfaceView () {
if (view != null) {
try {
// onDetachedFromWindow stops GLThread by calling mGLThread.requestExitAndWait()
view.onDetachedFromWindow();
if (AndroidLiveWallpaperService.DEBUG) Log.d(AndroidLiveWallpaperService.TAG,
" > AndroidLiveWallpaper - onDestroy() stopped GLThread managed by GLSurfaceView");
} catch (Throwable t) {
// error while scheduling exit of GLThread, GLThread will remain live and wallpaper service
// wouldn't be able to shutdown completely
Log.e(AndroidLiveWallpaperService.TAG,
"failed to destroy GLSurfaceView's thread! GLSurfaceView.onDetachedFromWindow impl changed since API lvl 16!");
t.printStackTrace();
}
}
}
@Override
void resume () {
synchronized (synch) {
running = true;
resume = true;
while (resume) {
try {
requestRendering();
synch.wait();
} catch (InterruptedException ignored) {
Gdx.app.log("AndroidGraphics", "waiting for resume synchronization failed!");
}
}
}
}
@Override
public void onDrawFrame (javax.microedition.khronos.opengles.GL10 gl) {
long time = System.nanoTime();
// After pause deltaTime can have somewhat huge value that destabilizes the mean, so let's cut it off
if (!resume) {
deltaTime = (time - lastFrameTime) / 1000000000.0f;
} else {
deltaTime = 0;
}
lastFrameTime = time;
boolean lrunning = false;
boolean lpause = false;
boolean ldestroy = false;
boolean lresume = false;
synchronized (synch) {
lrunning = running;
lpause = pause;
ldestroy = destroy;
lresume = resume;
if (resume) {
resume = false;
synch.notifyAll();
}
if (pause) {
pause = false;
synch.notifyAll();
}
if (destroy) {
destroy = false;
synch.notifyAll();
}
}
if (lresume) {
// ((AndroidAudio)app.getAudio()).resume(); // jw: moved to AndroidLiveWallpaper.onResume
app.getApplicationListener().resume();
Gdx.app.log("AndroidGraphics", "resumed");
}
// HACK: added null check to handle set wallpaper from preview null
// error in renderer
// jw: this hack is not working always, renderer ends with error for some devices - because of uninitialized gl context
// jw: now it shouldn't be necessary - after wallpaper backend refactoring:)
if (lrunning) {
// jw: changed
synchronized (app.getRunnables()) {
app.getExecutedRunnables().clear();
app.getExecutedRunnables().addAll(app.getRunnables());
app.getRunnables().clear();
for (int i = 0; i < app.getExecutedRunnables().size; i++) {
try {
app.getExecutedRunnables().get(i).run();
} catch (Throwable t) {
t.printStackTrace();
}
}
}
/*
* synchronized (app.runnables) { for (int i = 0; i < app.runnables.size; i++) { app.runnables.get(i).run(); }
* app.runnables.clear(); }
*/
app.getInput().processEvents();
frameId++;
app.getApplicationListener().render();
}
// jw: never called on lvp, why? see description in AndroidLiveWallpaper.onPause
if (lpause) {
app.getApplicationListener().pause();
// ((AndroidAudio)app.getAudio()).pause(); jw: moved to AndroidLiveWallpaper.onPause
Gdx.app.log("AndroidGraphics", "paused");
}
// jw: never called on lwp, why? see description in AndroidLiveWallpaper.onPause
if (ldestroy) {
app.getApplicationListener().dispose();
// ((AndroidAudio)app.getAudio()).dispose(); jw: moved to AndroidLiveWallpaper.onDestroy
Gdx.app.log("AndroidGraphics", "destroyed");
}
if (time - frameStart > 1000000000) {
fps = frames;
frames = 0;
frameStart = time;
}
frames++;
}
@Override
protected void logManagedCachesStatus () {
// to prevent creating too many string buffers in live wallpapers
if (AndroidLiveWallpaperService.DEBUG) {
super.logManagedCachesStatus();
}
}
}
| /*
* Copyright 2010 Mario Zechner (contact@badlogicgames.com), Nathan Sweet (admin@esotericsoftware.com)
*
* Modified by Elijah Cornell
* 2013.01 Modified by Jaroslaw Wisniewski <j.wisniewski@appsisle.com>
* 2014.04 Modified by davebaol
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the
* License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS"
* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language
* governing permissions and limitations under the License.
*/
package com.badlogic.gdx.backends.android;
import android.opengl.GLSurfaceView.EGLConfigChooser;
import android.util.Log;
import android.view.SurfaceHolder;
import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.backends.android.surfaceview.GLSurfaceView20;
import com.badlogic.gdx.backends.android.surfaceview.ResolutionStrategy;
import com.badlogic.gdx.utils.GdxRuntimeException;
/** A subclass of {@link AndroidGraphics} specialized for live wallpaper applications.
*
* @author mzechner */
public final class AndroidGraphicsLiveWallpaper extends AndroidGraphics {
public AndroidGraphicsLiveWallpaper (AndroidLiveWallpaper lwp, AndroidApplicationConfiguration config,
ResolutionStrategy resolutionStrategy) {
super(lwp, config, resolutionStrategy, false);
}
// jw: I replaced GL..SurfaceViewLW classes with their original counterparts, if it will work
// on known devices, on opengl 1.0 and 2.0, and all possible SDK versions.. You can remove
// GL..SurfaceViewLW family of classes completely (there is no use for them).
// -> specific for live wallpapers
// jw: synchronized access to current wallpaper surface holder
SurfaceHolder getSurfaceHolder () {
synchronized (((AndroidLiveWallpaper)app).service.sync) {
return ((AndroidLiveWallpaper)app).service.getSurfaceHolder();
}
}
// <- specific for live wallpapers
// Grabbed from AndroidGraphics superclass and modified to override
// getHolder in created GLSurfaceView20 instances
@Override
protected GLSurfaceView20 createGLSurfaceView (AndroidApplicationBase application,
final ResolutionStrategy resolutionStrategy) {
if (!checkGL20()) throw new GdxRuntimeException("libGDX requires OpenGL ES 2.0");
EGLConfigChooser configChooser = getEglConfigChooser();
GLSurfaceView20 view = new GLSurfaceView20(application.getContext(), resolutionStrategy) {
@Override
public SurfaceHolder getHolder () {
return getSurfaceHolder();
}
};
if (configChooser != null)
view.setEGLConfigChooser(configChooser);
else
view.setEGLConfigChooser(config.r, config.g, config.b, config.a, config.depth, config.stencil);
view.setRenderer(this);
return view;
}
// kill the GLThread managed by GLSurfaceView (only for GLSurfaceView because GLSurffaceViewCupcake stops thread in
// onPause events - which is not as easy and safe for GLSurfaceView)
public void onDestroyGLSurfaceView () {
if (view != null) {
try {
// onDetachedFromWindow stops GLThread by calling mGLThread.requestExitAndWait()
view.onDetachedFromWindow();
if (AndroidLiveWallpaperService.DEBUG) Log.d(AndroidLiveWallpaperService.TAG,
" > AndroidLiveWallpaper - onDestroy() stopped GLThread managed by GLSurfaceView");
} catch (Throwable t) {
// error while scheduling exit of GLThread, GLThread will remain live and wallpaper service
// wouldn't be able to shutdown completely
Log.e(AndroidLiveWallpaperService.TAG,
"failed to destroy GLSurfaceView's thread! GLSurfaceView.onDetachedFromWindow impl changed since API lvl 16!");
t.printStackTrace();
}
}
}
@Override
void resume () {
synchronized (synch) {
running = true;
resume = true;
while (resume) {
try {
requestRendering();
synch.wait();
} catch (InterruptedException ignored) {
Gdx.app.log("AndroidGraphics", "waiting for resume synchronization failed!");
}
}
}
}
@Override
public void onDrawFrame (javax.microedition.khronos.opengles.GL10 gl) {
long time = System.nanoTime();
// After pause deltaTime can have somewhat huge value that destabilizes the mean, so let's cut it off
if (!resume) {
deltaTime = (time - lastFrameTime) / 1000000000.0f;
} else {
deltaTime = 0;
}
lastFrameTime = time;
boolean lrunning = false;
boolean lpause = false;
boolean ldestroy = false;
boolean lresume = false;
synchronized (synch) {
lrunning = running;
lpause = pause;
ldestroy = destroy;
lresume = resume;
if (resume) {
resume = false;
synch.notifyAll();
}
if (pause) {
pause = false;
synch.notifyAll();
}
if (destroy) {
destroy = false;
synch.notifyAll();
}
}
if (lresume) {
// ((AndroidAudio)app.getAudio()).resume(); // jw: moved to AndroidLiveWallpaper.onResume
app.getApplicationListener().resume();
Gdx.app.log("AndroidGraphics", "resumed");
}
// HACK: added null check to handle set wallpaper from preview null
// error in renderer
// jw: this hack is not working always, renderer ends with error for some devices - because of uninitialized gl context
// jw: now it shouldn't be necessary - after wallpaper backend refactoring:)
if (lrunning) {
// jw: changed
synchronized (app.getRunnables()) {
app.getExecutedRunnables().clear();
app.getExecutedRunnables().addAll(app.getRunnables());
app.getRunnables().clear();
for (int i = 0; i < app.getExecutedRunnables().size; i++) {
try {
app.getExecutedRunnables().get(i).run();
} catch (Throwable t) {
t.printStackTrace();
}
}
}
/*
* synchronized (app.runnables) { for (int i = 0; i < app.runnables.size; i++) { app.runnables.get(i).run(); }
* app.runnables.clear(); }
*/
app.getInput().processEvents();
frameId++;
app.getApplicationListener().render();
}
// jw: never called on lvp, why? see description in AndroidLiveWallpaper.onPause
if (lpause) {
app.getApplicationListener().pause();
// ((AndroidAudio)app.getAudio()).pause(); jw: moved to AndroidLiveWallpaper.onPause
Gdx.app.log("AndroidGraphics", "paused");
}
// jw: never called on lwp, why? see description in AndroidLiveWallpaper.onPause
if (ldestroy) {
app.getApplicationListener().dispose();
// ((AndroidAudio)app.getAudio()).dispose(); jw: moved to AndroidLiveWallpaper.onDestroy
Gdx.app.log("AndroidGraphics", "destroyed");
}
if (time - frameStart > 1000000000) {
fps = frames;
frames = 0;
frameStart = time;
}
frames++;
}
@Override
protected void logManagedCachesStatus () {
// to prevent creating too many string buffers in live wallpapers
if (AndroidLiveWallpaperService.DEBUG) {
super.logManagedCachesStatus();
}
}
}
| -1 |
libgdx/libgdx | 7,276 | Fixed scene2d.ui layout for fractional positions and sizes. | When "rounding" for UI layout, floor x/y and ceil width/height.
For example if a label has a fractional width like 123.4, rounding a Container's width gives 123 and the label won't fit.
Table already does this, so I'm pretty sure it's the right thing to do in all other layouts. If others can please check this doesn't negatively affect their apps, that would be great! | NathanSweet | "2023-11-10T17:05:20Z" | "2023-11-13T03:27:53Z" | 5368811323eb4ac9c9167a73fc6910e42fcb425d | 8e3b2ef2af2e1c1765b3441cb15cfbeddf4046fa | Fixed scene2d.ui layout for fractional positions and sizes.. When "rounding" for UI layout, floor x/y and ceil width/height.
For example if a label has a fractional width like 123.4, rounding a Container's width gives 123 and the label won't fit.
Table already does this, so I'm pretty sure it's the right thing to do in all other layouts. If others can please check this doesn't negatively affect their apps, that would be great! | ./gdx/src/com/badlogic/gdx/graphics/g2d/BitmapFontCache.java | /*******************************************************************************
* Copyright 2011 See AUTHORS file.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
******************************************************************************/
package com.badlogic.gdx.graphics.g2d;
import java.util.Arrays;
import com.badlogic.gdx.graphics.Color;
import com.badlogic.gdx.graphics.g2d.BitmapFont.BitmapFontData;
import com.badlogic.gdx.graphics.g2d.BitmapFont.Glyph;
import com.badlogic.gdx.graphics.g2d.GlyphLayout.GlyphRun;
import com.badlogic.gdx.utils.Align;
import com.badlogic.gdx.utils.Array;
import com.badlogic.gdx.utils.IntArray;
import com.badlogic.gdx.utils.NumberUtils;
import com.badlogic.gdx.utils.Pools;
/** Caches glyph geometry for a BitmapFont, providing a fast way to render static text. This saves needing to compute the glyph
* geometry each frame.
* @author Nathan Sweet
* @author davebaol
* @author Alexander Dorokhov */
public class BitmapFontCache {
static private final Color tempColor = new Color(1, 1, 1, 1);
private final BitmapFont font;
private boolean integer;
private final Array<GlyphLayout> layouts = new Array();
private final Array<GlyphLayout> pooledLayouts = new Array();
private int glyphCount;
private float x, y;
private final Color color = new Color(1, 1, 1, 1);
private float currentTint;
/** Vertex data per page. */
private float[][] pageVertices;
/** Number of vertex data entries per page. */
private int[] idx;
/** For each page, an array with a value for each glyph from that page, where the value is the index of the character in the
* full text being cached. */
private IntArray[] pageGlyphIndices;
/** Used internally to ensure a correct capacity for multi-page font vertex data. */
private int[] tempGlyphCount;
public BitmapFontCache (BitmapFont font) {
this(font, font.usesIntegerPositions());
}
/** @param integer If true, rendering positions will be at integer values to avoid filtering artifacts. */
public BitmapFontCache (BitmapFont font, boolean integer) {
this.font = font;
this.integer = integer;
int pageCount = font.regions.size;
if (pageCount == 0) throw new IllegalArgumentException("The specified font must contain at least one texture page.");
pageVertices = new float[pageCount][];
idx = new int[pageCount];
if (pageCount > 1) {
// Contains the indices of the glyph in the cache as they are added.
pageGlyphIndices = new IntArray[pageCount];
for (int i = 0, n = pageGlyphIndices.length; i < n; i++)
pageGlyphIndices[i] = new IntArray();
}
tempGlyphCount = new int[pageCount];
}
/** Sets the position of the text, relative to the position when the cached text was created.
* @param x The x coordinate
* @param y The y coordinate */
public void setPosition (float x, float y) {
translate(x - this.x, y - this.y);
}
/** Sets the position of the text, relative to its current position.
* @param xAmount The amount in x to move the text
* @param yAmount The amount in y to move the text */
public void translate (float xAmount, float yAmount) {
if (xAmount == 0 && yAmount == 0) return;
if (integer) {
xAmount = Math.round(xAmount);
yAmount = Math.round(yAmount);
}
x += xAmount;
y += yAmount;
float[][] pageVertices = this.pageVertices;
for (int i = 0, n = pageVertices.length; i < n; i++) {
float[] vertices = pageVertices[i];
for (int ii = 0, nn = idx[i]; ii < nn; ii += 5) {
vertices[ii] += xAmount;
vertices[ii + 1] += yAmount;
}
}
}
/** Tints all text currently in the cache. Does not affect subsequently added text. */
public void tint (Color tint) {
float newTint = tint.toFloatBits();
if (currentTint == newTint) return;
currentTint = newTint;
float[][] pageVertices = this.pageVertices;
Color tempColor = BitmapFontCache.tempColor;
int[] tempGlyphCount = this.tempGlyphCount;
Arrays.fill(tempGlyphCount, 0);
for (int i = 0, n = layouts.size; i < n; i++) {
GlyphLayout layout = layouts.get(i);
IntArray colors = layout.colors;
int colorsIndex = 0, nextColorGlyphIndex = 0, glyphIndex = 0;
float lastColorFloatBits = 0;
for (int ii = 0, nn = layout.runs.size; ii < nn; ii++) {
GlyphRun run = layout.runs.get(ii);
Object[] glyphs = run.glyphs.items;
for (int iii = 0, nnn = run.glyphs.size; iii < nnn; iii++) {
if (glyphIndex++ == nextColorGlyphIndex) {
Color.abgr8888ToColor(tempColor, colors.get(++colorsIndex));
lastColorFloatBits = tempColor.mul(tint).toFloatBits();
nextColorGlyphIndex = ++colorsIndex < colors.size ? colors.get(colorsIndex) : -1;
}
int page = ((Glyph)glyphs[iii]).page;
int offset = tempGlyphCount[page] * 20 + 2;
tempGlyphCount[page]++;
float[] vertices = pageVertices[page];
vertices[offset] = lastColorFloatBits;
vertices[offset + 5] = lastColorFloatBits;
vertices[offset + 10] = lastColorFloatBits;
vertices[offset + 15] = lastColorFloatBits;
}
}
}
}
/** Sets the alpha component of all text currently in the cache. Does not affect subsequently added text. */
public void setAlphas (float alpha) {
int alphaBits = ((int)(254 * alpha)) << 24;
float prev = 0, newColor = 0;
for (int j = 0, length = pageVertices.length; j < length; j++) {
float[] vertices = pageVertices[j];
for (int i = 2, n = idx[j]; i < n; i += 5) {
float c = vertices[i];
if (c == prev && i != 2) {
vertices[i] = newColor;
} else {
prev = c;
int rgba = NumberUtils.floatToIntColor(c);
rgba = (rgba & 0x00FFFFFF) | alphaBits;
newColor = NumberUtils.intToFloatColor(rgba);
vertices[i] = newColor;
}
}
}
}
/** Sets the color of all text currently in the cache. Does not affect subsequently added text. */
public void setColors (float color) {
for (int j = 0, length = pageVertices.length; j < length; j++) {
float[] vertices = pageVertices[j];
for (int i = 2, n = idx[j]; i < n; i += 5)
vertices[i] = color;
}
}
/** Sets the color of all text currently in the cache. Does not affect subsequently added text. */
public void setColors (Color tint) {
setColors(tint.toFloatBits());
}
/** Sets the color of all text currently in the cache. Does not affect subsequently added text. */
public void setColors (float r, float g, float b, float a) {
int intBits = ((int)(255 * a) << 24) | ((int)(255 * b) << 16) | ((int)(255 * g) << 8) | ((int)(255 * r));
setColors(NumberUtils.intToFloatColor(intBits));
}
/** Sets the color of the specified characters. This may only be called after {@link #setText(CharSequence, float, float)} and
* is reset every time setText is called. */
public void setColors (Color tint, int start, int end) {
setColors(tint.toFloatBits(), start, end);
}
/** Sets the color of the specified characters. This may only be called after {@link #setText(CharSequence, float, float)} and
* is reset every time setText is called. */
public void setColors (float color, int start, int end) {
if (pageVertices.length == 1) { // One page.
float[] vertices = pageVertices[0];
for (int i = start * 20 + 2, n = Math.min(end * 20, idx[0]); i < n; i += 5)
vertices[i] = color;
return;
}
int pageCount = pageVertices.length;
for (int i = 0; i < pageCount; i++) {
float[] vertices = pageVertices[i];
IntArray glyphIndices = pageGlyphIndices[i];
// Loop through the indices and determine whether the glyph is inside begin/end.
for (int j = 0, n = glyphIndices.size; j < n; j++) {
int glyphIndex = glyphIndices.items[j];
// Break early if the glyph is out of bounds.
if (glyphIndex >= end) break;
// If inside start and end, change its colour.
if (glyphIndex >= start) { // && glyphIndex < end
int offset = j * 20 + 2;
vertices[offset] = color;
vertices[offset + 5] = color;
vertices[offset + 10] = color;
vertices[offset + 15] = color;
}
}
}
}
/** Returns the color used for subsequently added text. Modifying the color affects text subsequently added to the cache, but
* does not affect existing text currently in the cache. */
public Color getColor () {
return color;
}
/** A convenience method for setting the cache color. The color can also be set by modifying {@link #getColor()}. */
public void setColor (Color color) {
this.color.set(color);
}
/** A convenience method for setting the cache color. The color can also be set by modifying {@link #getColor()}. */
public void setColor (float r, float g, float b, float a) {
color.set(r, g, b, a);
}
public void draw (Batch spriteBatch) {
Array<TextureRegion> regions = font.getRegions();
for (int j = 0, n = pageVertices.length; j < n; j++) {
if (idx[j] > 0) { // ignore if this texture has no glyphs
float[] vertices = pageVertices[j];
spriteBatch.draw(regions.get(j).getTexture(), vertices, 0, idx[j]);
}
}
}
public void draw (Batch spriteBatch, int start, int end) {
if (pageVertices.length == 1) { // 1 page.
spriteBatch.draw(font.getRegion().getTexture(), pageVertices[0], start * 20, (end - start) * 20);
return;
}
// Determine vertex offset and count to render for each page. Some pages might not need to be rendered at all.
Array<TextureRegion> regions = font.getRegions();
for (int i = 0, pageCount = pageVertices.length; i < pageCount; i++) {
int offset = -1, count = 0;
// For each set of glyph indices, determine where to begin within the start/end bounds.
IntArray glyphIndices = pageGlyphIndices[i];
for (int ii = 0, n = glyphIndices.size; ii < n; ii++) {
int glyphIndex = glyphIndices.get(ii);
// Break early if the glyph is out of bounds.
if (glyphIndex >= end) break;
// Determine if this glyph is within bounds. Use the first match of that for the offset.
if (offset == -1 && glyphIndex >= start) offset = ii;
// Determine the vertex count by counting glyphs within bounds.
if (glyphIndex >= start) count++;
}
// Page doesn't need to be rendered.
if (offset == -1 || count == 0) continue;
// Render the page vertex data with the offset and count.
spriteBatch.draw(regions.get(i).getTexture(), pageVertices[i], offset * 20, count * 20);
}
}
public void draw (Batch spriteBatch, float alphaModulation) {
if (alphaModulation == 1) {
draw(spriteBatch);
return;
}
Color color = getColor();
float oldAlpha = color.a;
color.a *= alphaModulation;
setColors(color);
draw(spriteBatch);
color.a = oldAlpha;
setColors(color);
}
/** Removes all glyphs in the cache. */
public void clear () {
x = 0;
y = 0;
Pools.freeAll(pooledLayouts, true);
pooledLayouts.clear();
layouts.clear();
for (int i = 0, n = idx.length; i < n; i++) {
if (pageGlyphIndices != null) pageGlyphIndices[i].clear();
idx[i] = 0;
}
}
private void requireGlyphs (GlyphLayout layout) {
if (pageVertices.length == 1) {
// Simple if we just have one page.
requirePageGlyphs(0, layout.glyphCount);
} else {
int[] tempGlyphCount = this.tempGlyphCount;
Arrays.fill(tempGlyphCount, 0);
// Determine # of glyphs in each page.
for (int i = 0, n = layout.runs.size; i < n; i++) {
Array<Glyph> glyphs = layout.runs.get(i).glyphs;
Object[] glyphItems = glyphs.items;
for (int ii = 0, nn = glyphs.size; ii < nn; ii++)
tempGlyphCount[((Glyph)glyphItems[ii]).page]++;
}
// Require that many for each page.
for (int i = 0, n = tempGlyphCount.length; i < n; i++)
requirePageGlyphs(i, tempGlyphCount[i]);
}
}
private void requirePageGlyphs (int page, int glyphCount) {
if (pageGlyphIndices != null) {
if (glyphCount > pageGlyphIndices[page].items.length)
pageGlyphIndices[page].ensureCapacity(glyphCount - pageGlyphIndices[page].size);
}
int vertexCount = idx[page] + glyphCount * 20;
float[] vertices = pageVertices[page];
if (vertices == null) {
pageVertices[page] = new float[vertexCount];
} else if (vertices.length < vertexCount) {
float[] newVertices = new float[vertexCount];
System.arraycopy(vertices, 0, newVertices, 0, idx[page]);
pageVertices[page] = newVertices;
}
}
private void setPageCount (int pageCount) {
float[][] newPageVertices = new float[pageCount][];
System.arraycopy(pageVertices, 0, newPageVertices, 0, pageVertices.length);
pageVertices = newPageVertices;
int[] newIdx = new int[pageCount];
System.arraycopy(idx, 0, newIdx, 0, idx.length);
idx = newIdx;
IntArray[] newPageGlyphIndices = new IntArray[pageCount];
int pageGlyphIndicesLength = 0;
if (pageGlyphIndices != null) {
pageGlyphIndicesLength = pageGlyphIndices.length;
System.arraycopy(pageGlyphIndices, 0, newPageGlyphIndices, 0, pageGlyphIndices.length);
}
for (int i = pageGlyphIndicesLength; i < pageCount; i++)
newPageGlyphIndices[i] = new IntArray();
pageGlyphIndices = newPageGlyphIndices;
tempGlyphCount = new int[pageCount];
}
private void addToCache (GlyphLayout layout, float x, float y) {
int runCount = layout.runs.size;
if (runCount == 0) return;
// Check if the number of font pages has changed.
if (pageVertices.length < font.regions.size) setPageCount(font.regions.size);
layouts.add(layout);
requireGlyphs(layout);
IntArray colors = layout.colors;
int colorsIndex = 0, nextColorGlyphIndex = 0, glyphIndex = 0;
float lastColorFloatBits = 0;
for (int i = 0; i < runCount; i++) {
GlyphRun run = layout.runs.get(i);
Object[] glyphs = run.glyphs.items;
float[] xAdvances = run.xAdvances.items;
float gx = x + run.x, gy = y + run.y;
for (int ii = 0, nn = run.glyphs.size; ii < nn; ii++) {
if (glyphIndex++ == nextColorGlyphIndex) {
lastColorFloatBits = NumberUtils.intToFloatColor(colors.get(++colorsIndex));
nextColorGlyphIndex = ++colorsIndex < colors.size ? colors.get(colorsIndex) : -1;
}
gx += xAdvances[ii];
addGlyph((Glyph)glyphs[ii], gx, gy, lastColorFloatBits);
}
}
currentTint = Color.WHITE_FLOAT_BITS; // Cached glyphs have changed, reset the current tint.
}
private void addGlyph (Glyph glyph, float x, float y, float color) {
final float scaleX = font.data.scaleX, scaleY = font.data.scaleY;
x += glyph.xoffset * scaleX;
y += glyph.yoffset * scaleY;
float width = glyph.width * scaleX, height = glyph.height * scaleY;
final float u = glyph.u, u2 = glyph.u2, v = glyph.v, v2 = glyph.v2;
if (integer) {
x = Math.round(x);
y = Math.round(y);
width = Math.round(width);
height = Math.round(height);
}
final float x2 = x + width, y2 = y + height;
final int page = glyph.page;
int idx = this.idx[page];
this.idx[page] += 20;
if (pageGlyphIndices != null) pageGlyphIndices[page].add(glyphCount++);
final float[] vertices = pageVertices[page];
vertices[idx++] = x;
vertices[idx++] = y;
vertices[idx++] = color;
vertices[idx++] = u;
vertices[idx++] = v;
vertices[idx++] = x;
vertices[idx++] = y2;
vertices[idx++] = color;
vertices[idx++] = u;
vertices[idx++] = v2;
vertices[idx++] = x2;
vertices[idx++] = y2;
vertices[idx++] = color;
vertices[idx++] = u2;
vertices[idx++] = v2;
vertices[idx++] = x2;
vertices[idx++] = y;
vertices[idx++] = color;
vertices[idx++] = u2;
vertices[idx] = v;
}
/** Clears any cached glyphs and adds glyphs for the specified text.
* @see #addText(CharSequence, float, float, int, int, float, int, boolean, String) */
public GlyphLayout setText (CharSequence str, float x, float y) {
clear();
return addText(str, x, y, 0, str.length(), 0, Align.left, false);
}
/** Clears any cached glyphs and adds glyphs for the specified text.
* @see #addText(CharSequence, float, float, int, int, float, int, boolean, String) */
public GlyphLayout setText (CharSequence str, float x, float y, float targetWidth, int halign, boolean wrap) {
clear();
return addText(str, x, y, 0, str.length(), targetWidth, halign, wrap);
}
/** Clears any cached glyphs and adds glyphs for the specified text.
* @see #addText(CharSequence, float, float, int, int, float, int, boolean, String) */
public GlyphLayout setText (CharSequence str, float x, float y, int start, int end, float targetWidth, int halign,
boolean wrap) {
clear();
return addText(str, x, y, start, end, targetWidth, halign, wrap);
}
/** Clears any cached glyphs and adds glyphs for the specified text.
* @see #addText(CharSequence, float, float, int, int, float, int, boolean, String) */
public GlyphLayout setText (CharSequence str, float x, float y, int start, int end, float targetWidth, int halign,
boolean wrap, String truncate) {
clear();
return addText(str, x, y, start, end, targetWidth, halign, wrap, truncate);
}
/** Clears any cached glyphs and adds the specified glyphs.
* @see #addText(CharSequence, float, float, int, int, float, int, boolean, String) */
public void setText (GlyphLayout layout, float x, float y) {
clear();
addText(layout, x, y);
}
/** Adds glyphs for the specified text.
* @see #addText(CharSequence, float, float, int, int, float, int, boolean, String) */
public GlyphLayout addText (CharSequence str, float x, float y) {
return addText(str, x, y, 0, str.length(), 0, Align.left, false, null);
}
/** Adds glyphs for the specified text.
* @see #addText(CharSequence, float, float, int, int, float, int, boolean, String) */
public GlyphLayout addText (CharSequence str, float x, float y, float targetWidth, int halign, boolean wrap) {
return addText(str, x, y, 0, str.length(), targetWidth, halign, wrap, null);
}
/** Adds glyphs for the specified text.
* @see #addText(CharSequence, float, float, int, int, float, int, boolean, String) */
public GlyphLayout addText (CharSequence str, float x, float y, int start, int end, float targetWidth, int halign,
boolean wrap) {
return addText(str, x, y, start, end, targetWidth, halign, wrap, null);
}
/** Adds glyphs for the the specified text.
* @param x The x position for the left most character.
* @param y The y position for the top of most capital letters in the font (the {@link BitmapFontData#capHeight cap height}).
* @param start The first character of the string to draw.
* @param end The last character of the string to draw (exclusive).
* @param targetWidth The width of the area the text will be drawn, for wrapping or truncation.
* @param halign Horizontal alignment of the text, see {@link Align}.
* @param wrap If true, the text will be wrapped within targetWidth.
* @param truncate If not null, the text will be truncated within targetWidth with this string appended. May be an empty
* string.
* @return The glyph layout for the cached string (the layout's height is the distance from y to the baseline). */
public GlyphLayout addText (CharSequence str, float x, float y, int start, int end, float targetWidth, int halign,
boolean wrap, String truncate) {
GlyphLayout layout = Pools.obtain(GlyphLayout.class);
pooledLayouts.add(layout);
layout.setText(font, str, start, end, color, targetWidth, halign, wrap, truncate);
addText(layout, x, y);
return layout;
}
/** Adds the specified glyphs.
* @param layout The cache keeps the layout until cleared or new text is set. The layout should not be modified before then. */
public void addText (GlyphLayout layout, float x, float y) {
addToCache(layout, x, y + font.data.ascent);
}
/** Returns the x position of the cached string, relative to the position when the string was cached. */
public float getX () {
return x;
}
/** Returns the y position of the cached string, relative to the position when the string was cached. */
public float getY () {
return y;
}
public BitmapFont getFont () {
return font;
}
/** Specifies whether to use integer positions or not. Default is to use them so filtering doesn't kick in as badly.
* @param use */
public void setUseIntegerPositions (boolean use) {
this.integer = use;
}
/** @return whether this font uses integer positions for drawing. */
public boolean usesIntegerPositions () {
return integer;
}
public float[] getVertices () {
return getVertices(0);
}
public float[] getVertices (int page) {
return pageVertices[page];
}
public int getVertexCount (int page) {
return idx[page];
}
public Array<GlyphLayout> getLayouts () {
return layouts;
}
}
| /*******************************************************************************
* Copyright 2011 See AUTHORS file.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
******************************************************************************/
package com.badlogic.gdx.graphics.g2d;
import java.util.Arrays;
import com.badlogic.gdx.graphics.Color;
import com.badlogic.gdx.graphics.g2d.BitmapFont.BitmapFontData;
import com.badlogic.gdx.graphics.g2d.BitmapFont.Glyph;
import com.badlogic.gdx.graphics.g2d.GlyphLayout.GlyphRun;
import com.badlogic.gdx.utils.Align;
import com.badlogic.gdx.utils.Array;
import com.badlogic.gdx.utils.IntArray;
import com.badlogic.gdx.utils.NumberUtils;
import com.badlogic.gdx.utils.Pools;
/** Caches glyph geometry for a BitmapFont, providing a fast way to render static text. This saves needing to compute the glyph
* geometry each frame.
* @author Nathan Sweet
* @author davebaol
* @author Alexander Dorokhov */
public class BitmapFontCache {
static private final Color tempColor = new Color(1, 1, 1, 1);
private final BitmapFont font;
private boolean integer;
private final Array<GlyphLayout> layouts = new Array();
private final Array<GlyphLayout> pooledLayouts = new Array();
private int glyphCount;
private float x, y;
private final Color color = new Color(1, 1, 1, 1);
private float currentTint;
/** Vertex data per page. */
private float[][] pageVertices;
/** Number of vertex data entries per page. */
private int[] idx;
/** For each page, an array with a value for each glyph from that page, where the value is the index of the character in the
* full text being cached. */
private IntArray[] pageGlyphIndices;
/** Used internally to ensure a correct capacity for multi-page font vertex data. */
private int[] tempGlyphCount;
public BitmapFontCache (BitmapFont font) {
this(font, font.usesIntegerPositions());
}
/** @param integer If true, rendering positions will be at integer values to avoid filtering artifacts. */
public BitmapFontCache (BitmapFont font, boolean integer) {
this.font = font;
this.integer = integer;
int pageCount = font.regions.size;
if (pageCount == 0) throw new IllegalArgumentException("The specified font must contain at least one texture page.");
pageVertices = new float[pageCount][];
idx = new int[pageCount];
if (pageCount > 1) {
// Contains the indices of the glyph in the cache as they are added.
pageGlyphIndices = new IntArray[pageCount];
for (int i = 0, n = pageGlyphIndices.length; i < n; i++)
pageGlyphIndices[i] = new IntArray();
}
tempGlyphCount = new int[pageCount];
}
/** Sets the position of the text, relative to the position when the cached text was created.
* @param x The x coordinate
* @param y The y coordinate */
public void setPosition (float x, float y) {
translate(x - this.x, y - this.y);
}
/** Sets the position of the text, relative to its current position.
* @param xAmount The amount in x to move the text
* @param yAmount The amount in y to move the text */
public void translate (float xAmount, float yAmount) {
if (xAmount == 0 && yAmount == 0) return;
if (integer) {
xAmount = Math.round(xAmount);
yAmount = Math.round(yAmount);
}
x += xAmount;
y += yAmount;
float[][] pageVertices = this.pageVertices;
for (int i = 0, n = pageVertices.length; i < n; i++) {
float[] vertices = pageVertices[i];
for (int ii = 0, nn = idx[i]; ii < nn; ii += 5) {
vertices[ii] += xAmount;
vertices[ii + 1] += yAmount;
}
}
}
/** Tints all text currently in the cache. Does not affect subsequently added text. */
public void tint (Color tint) {
float newTint = tint.toFloatBits();
if (currentTint == newTint) return;
currentTint = newTint;
float[][] pageVertices = this.pageVertices;
Color tempColor = BitmapFontCache.tempColor;
int[] tempGlyphCount = this.tempGlyphCount;
Arrays.fill(tempGlyphCount, 0);
for (int i = 0, n = layouts.size; i < n; i++) {
GlyphLayout layout = layouts.get(i);
IntArray colors = layout.colors;
int colorsIndex = 0, nextColorGlyphIndex = 0, glyphIndex = 0;
float lastColorFloatBits = 0;
for (int ii = 0, nn = layout.runs.size; ii < nn; ii++) {
GlyphRun run = layout.runs.get(ii);
Object[] glyphs = run.glyphs.items;
for (int iii = 0, nnn = run.glyphs.size; iii < nnn; iii++) {
if (glyphIndex++ == nextColorGlyphIndex) {
Color.abgr8888ToColor(tempColor, colors.get(++colorsIndex));
lastColorFloatBits = tempColor.mul(tint).toFloatBits();
nextColorGlyphIndex = ++colorsIndex < colors.size ? colors.get(colorsIndex) : -1;
}
int page = ((Glyph)glyphs[iii]).page;
int offset = tempGlyphCount[page] * 20 + 2;
tempGlyphCount[page]++;
float[] vertices = pageVertices[page];
vertices[offset] = lastColorFloatBits;
vertices[offset + 5] = lastColorFloatBits;
vertices[offset + 10] = lastColorFloatBits;
vertices[offset + 15] = lastColorFloatBits;
}
}
}
}
/** Sets the alpha component of all text currently in the cache. Does not affect subsequently added text. */
public void setAlphas (float alpha) {
int alphaBits = ((int)(254 * alpha)) << 24;
float prev = 0, newColor = 0;
for (int j = 0, length = pageVertices.length; j < length; j++) {
float[] vertices = pageVertices[j];
for (int i = 2, n = idx[j]; i < n; i += 5) {
float c = vertices[i];
if (c == prev && i != 2) {
vertices[i] = newColor;
} else {
prev = c;
int rgba = NumberUtils.floatToIntColor(c);
rgba = (rgba & 0x00FFFFFF) | alphaBits;
newColor = NumberUtils.intToFloatColor(rgba);
vertices[i] = newColor;
}
}
}
}
/** Sets the color of all text currently in the cache. Does not affect subsequently added text. */
public void setColors (float color) {
for (int j = 0, length = pageVertices.length; j < length; j++) {
float[] vertices = pageVertices[j];
for (int i = 2, n = idx[j]; i < n; i += 5)
vertices[i] = color;
}
}
/** Sets the color of all text currently in the cache. Does not affect subsequently added text. */
public void setColors (Color tint) {
setColors(tint.toFloatBits());
}
/** Sets the color of all text currently in the cache. Does not affect subsequently added text. */
public void setColors (float r, float g, float b, float a) {
int intBits = ((int)(255 * a) << 24) | ((int)(255 * b) << 16) | ((int)(255 * g) << 8) | ((int)(255 * r));
setColors(NumberUtils.intToFloatColor(intBits));
}
/** Sets the color of the specified characters. This may only be called after {@link #setText(CharSequence, float, float)} and
* is reset every time setText is called. */
public void setColors (Color tint, int start, int end) {
setColors(tint.toFloatBits(), start, end);
}
/** Sets the color of the specified characters. This may only be called after {@link #setText(CharSequence, float, float)} and
* is reset every time setText is called. */
public void setColors (float color, int start, int end) {
if (pageVertices.length == 1) { // One page.
float[] vertices = pageVertices[0];
for (int i = start * 20 + 2, n = Math.min(end * 20, idx[0]); i < n; i += 5)
vertices[i] = color;
return;
}
int pageCount = pageVertices.length;
for (int i = 0; i < pageCount; i++) {
float[] vertices = pageVertices[i];
IntArray glyphIndices = pageGlyphIndices[i];
// Loop through the indices and determine whether the glyph is inside begin/end.
for (int j = 0, n = glyphIndices.size; j < n; j++) {
int glyphIndex = glyphIndices.items[j];
// Break early if the glyph is out of bounds.
if (glyphIndex >= end) break;
// If inside start and end, change its colour.
if (glyphIndex >= start) { // && glyphIndex < end
int offset = j * 20 + 2;
vertices[offset] = color;
vertices[offset + 5] = color;
vertices[offset + 10] = color;
vertices[offset + 15] = color;
}
}
}
}
/** Returns the color used for subsequently added text. Modifying the color affects text subsequently added to the cache, but
* does not affect existing text currently in the cache. */
public Color getColor () {
return color;
}
/** A convenience method for setting the cache color. The color can also be set by modifying {@link #getColor()}. */
public void setColor (Color color) {
this.color.set(color);
}
/** A convenience method for setting the cache color. The color can also be set by modifying {@link #getColor()}. */
public void setColor (float r, float g, float b, float a) {
color.set(r, g, b, a);
}
public void draw (Batch spriteBatch) {
Array<TextureRegion> regions = font.getRegions();
for (int j = 0, n = pageVertices.length; j < n; j++) {
if (idx[j] > 0) { // ignore if this texture has no glyphs
float[] vertices = pageVertices[j];
spriteBatch.draw(regions.get(j).getTexture(), vertices, 0, idx[j]);
}
}
}
public void draw (Batch spriteBatch, int start, int end) {
if (pageVertices.length == 1) { // 1 page.
spriteBatch.draw(font.getRegion().getTexture(), pageVertices[0], start * 20, (end - start) * 20);
return;
}
// Determine vertex offset and count to render for each page. Some pages might not need to be rendered at all.
Array<TextureRegion> regions = font.getRegions();
for (int i = 0, pageCount = pageVertices.length; i < pageCount; i++) {
int offset = -1, count = 0;
// For each set of glyph indices, determine where to begin within the start/end bounds.
IntArray glyphIndices = pageGlyphIndices[i];
for (int ii = 0, n = glyphIndices.size; ii < n; ii++) {
int glyphIndex = glyphIndices.get(ii);
// Break early if the glyph is out of bounds.
if (glyphIndex >= end) break;
// Determine if this glyph is within bounds. Use the first match of that for the offset.
if (offset == -1 && glyphIndex >= start) offset = ii;
// Determine the vertex count by counting glyphs within bounds.
if (glyphIndex >= start) count++;
}
// Page doesn't need to be rendered.
if (offset == -1 || count == 0) continue;
// Render the page vertex data with the offset and count.
spriteBatch.draw(regions.get(i).getTexture(), pageVertices[i], offset * 20, count * 20);
}
}
public void draw (Batch spriteBatch, float alphaModulation) {
if (alphaModulation == 1) {
draw(spriteBatch);
return;
}
Color color = getColor();
float oldAlpha = color.a;
color.a *= alphaModulation;
setColors(color);
draw(spriteBatch);
color.a = oldAlpha;
setColors(color);
}
/** Removes all glyphs in the cache. */
public void clear () {
x = 0;
y = 0;
Pools.freeAll(pooledLayouts, true);
pooledLayouts.clear();
layouts.clear();
for (int i = 0, n = idx.length; i < n; i++) {
if (pageGlyphIndices != null) pageGlyphIndices[i].clear();
idx[i] = 0;
}
}
private void requireGlyphs (GlyphLayout layout) {
if (pageVertices.length == 1) {
// Simple if we just have one page.
requirePageGlyphs(0, layout.glyphCount);
} else {
int[] tempGlyphCount = this.tempGlyphCount;
Arrays.fill(tempGlyphCount, 0);
// Determine # of glyphs in each page.
for (int i = 0, n = layout.runs.size; i < n; i++) {
Array<Glyph> glyphs = layout.runs.get(i).glyphs;
Object[] glyphItems = glyphs.items;
for (int ii = 0, nn = glyphs.size; ii < nn; ii++)
tempGlyphCount[((Glyph)glyphItems[ii]).page]++;
}
// Require that many for each page.
for (int i = 0, n = tempGlyphCount.length; i < n; i++)
requirePageGlyphs(i, tempGlyphCount[i]);
}
}
private void requirePageGlyphs (int page, int glyphCount) {
if (pageGlyphIndices != null) {
if (glyphCount > pageGlyphIndices[page].items.length)
pageGlyphIndices[page].ensureCapacity(glyphCount - pageGlyphIndices[page].size);
}
int vertexCount = idx[page] + glyphCount * 20;
float[] vertices = pageVertices[page];
if (vertices == null) {
pageVertices[page] = new float[vertexCount];
} else if (vertices.length < vertexCount) {
float[] newVertices = new float[vertexCount];
System.arraycopy(vertices, 0, newVertices, 0, idx[page]);
pageVertices[page] = newVertices;
}
}
private void setPageCount (int pageCount) {
float[][] newPageVertices = new float[pageCount][];
System.arraycopy(pageVertices, 0, newPageVertices, 0, pageVertices.length);
pageVertices = newPageVertices;
int[] newIdx = new int[pageCount];
System.arraycopy(idx, 0, newIdx, 0, idx.length);
idx = newIdx;
IntArray[] newPageGlyphIndices = new IntArray[pageCount];
int pageGlyphIndicesLength = 0;
if (pageGlyphIndices != null) {
pageGlyphIndicesLength = pageGlyphIndices.length;
System.arraycopy(pageGlyphIndices, 0, newPageGlyphIndices, 0, pageGlyphIndices.length);
}
for (int i = pageGlyphIndicesLength; i < pageCount; i++)
newPageGlyphIndices[i] = new IntArray();
pageGlyphIndices = newPageGlyphIndices;
tempGlyphCount = new int[pageCount];
}
private void addToCache (GlyphLayout layout, float x, float y) {
int runCount = layout.runs.size;
if (runCount == 0) return;
// Check if the number of font pages has changed.
if (pageVertices.length < font.regions.size) setPageCount(font.regions.size);
layouts.add(layout);
requireGlyphs(layout);
IntArray colors = layout.colors;
int colorsIndex = 0, nextColorGlyphIndex = 0, glyphIndex = 0;
float lastColorFloatBits = 0;
for (int i = 0; i < runCount; i++) {
GlyphRun run = layout.runs.get(i);
Object[] glyphs = run.glyphs.items;
float[] xAdvances = run.xAdvances.items;
float gx = x + run.x, gy = y + run.y;
for (int ii = 0, nn = run.glyphs.size; ii < nn; ii++) {
if (glyphIndex++ == nextColorGlyphIndex) {
lastColorFloatBits = NumberUtils.intToFloatColor(colors.get(++colorsIndex));
nextColorGlyphIndex = ++colorsIndex < colors.size ? colors.get(colorsIndex) : -1;
}
gx += xAdvances[ii];
addGlyph((Glyph)glyphs[ii], gx, gy, lastColorFloatBits);
}
}
currentTint = Color.WHITE_FLOAT_BITS; // Cached glyphs have changed, reset the current tint.
}
private void addGlyph (Glyph glyph, float x, float y, float color) {
final float scaleX = font.data.scaleX, scaleY = font.data.scaleY;
x += glyph.xoffset * scaleX;
y += glyph.yoffset * scaleY;
float width = glyph.width * scaleX, height = glyph.height * scaleY;
final float u = glyph.u, u2 = glyph.u2, v = glyph.v, v2 = glyph.v2;
if (integer) {
x = Math.round(x);
y = Math.round(y);
width = Math.round(width);
height = Math.round(height);
}
final float x2 = x + width, y2 = y + height;
final int page = glyph.page;
int idx = this.idx[page];
this.idx[page] += 20;
if (pageGlyphIndices != null) pageGlyphIndices[page].add(glyphCount++);
final float[] vertices = pageVertices[page];
vertices[idx++] = x;
vertices[idx++] = y;
vertices[idx++] = color;
vertices[idx++] = u;
vertices[idx++] = v;
vertices[idx++] = x;
vertices[idx++] = y2;
vertices[idx++] = color;
vertices[idx++] = u;
vertices[idx++] = v2;
vertices[idx++] = x2;
vertices[idx++] = y2;
vertices[idx++] = color;
vertices[idx++] = u2;
vertices[idx++] = v2;
vertices[idx++] = x2;
vertices[idx++] = y;
vertices[idx++] = color;
vertices[idx++] = u2;
vertices[idx] = v;
}
/** Clears any cached glyphs and adds glyphs for the specified text.
* @see #addText(CharSequence, float, float, int, int, float, int, boolean, String) */
public GlyphLayout setText (CharSequence str, float x, float y) {
clear();
return addText(str, x, y, 0, str.length(), 0, Align.left, false);
}
/** Clears any cached glyphs and adds glyphs for the specified text.
* @see #addText(CharSequence, float, float, int, int, float, int, boolean, String) */
public GlyphLayout setText (CharSequence str, float x, float y, float targetWidth, int halign, boolean wrap) {
clear();
return addText(str, x, y, 0, str.length(), targetWidth, halign, wrap);
}
/** Clears any cached glyphs and adds glyphs for the specified text.
* @see #addText(CharSequence, float, float, int, int, float, int, boolean, String) */
public GlyphLayout setText (CharSequence str, float x, float y, int start, int end, float targetWidth, int halign,
boolean wrap) {
clear();
return addText(str, x, y, start, end, targetWidth, halign, wrap);
}
/** Clears any cached glyphs and adds glyphs for the specified text.
* @see #addText(CharSequence, float, float, int, int, float, int, boolean, String) */
public GlyphLayout setText (CharSequence str, float x, float y, int start, int end, float targetWidth, int halign,
boolean wrap, String truncate) {
clear();
return addText(str, x, y, start, end, targetWidth, halign, wrap, truncate);
}
/** Clears any cached glyphs and adds the specified glyphs.
* @see #addText(CharSequence, float, float, int, int, float, int, boolean, String) */
public void setText (GlyphLayout layout, float x, float y) {
clear();
addText(layout, x, y);
}
/** Adds glyphs for the specified text.
* @see #addText(CharSequence, float, float, int, int, float, int, boolean, String) */
public GlyphLayout addText (CharSequence str, float x, float y) {
return addText(str, x, y, 0, str.length(), 0, Align.left, false, null);
}
/** Adds glyphs for the specified text.
* @see #addText(CharSequence, float, float, int, int, float, int, boolean, String) */
public GlyphLayout addText (CharSequence str, float x, float y, float targetWidth, int halign, boolean wrap) {
return addText(str, x, y, 0, str.length(), targetWidth, halign, wrap, null);
}
/** Adds glyphs for the specified text.
* @see #addText(CharSequence, float, float, int, int, float, int, boolean, String) */
public GlyphLayout addText (CharSequence str, float x, float y, int start, int end, float targetWidth, int halign,
boolean wrap) {
return addText(str, x, y, start, end, targetWidth, halign, wrap, null);
}
/** Adds glyphs for the the specified text.
* @param x The x position for the left most character.
* @param y The y position for the top of most capital letters in the font (the {@link BitmapFontData#capHeight cap height}).
* @param start The first character of the string to draw.
* @param end The last character of the string to draw (exclusive).
* @param targetWidth The width of the area the text will be drawn, for wrapping or truncation.
* @param halign Horizontal alignment of the text, see {@link Align}.
* @param wrap If true, the text will be wrapped within targetWidth.
* @param truncate If not null, the text will be truncated within targetWidth with this string appended. May be an empty
* string.
* @return The glyph layout for the cached string (the layout's height is the distance from y to the baseline). */
public GlyphLayout addText (CharSequence str, float x, float y, int start, int end, float targetWidth, int halign,
boolean wrap, String truncate) {
GlyphLayout layout = Pools.obtain(GlyphLayout.class);
pooledLayouts.add(layout);
layout.setText(font, str, start, end, color, targetWidth, halign, wrap, truncate);
addText(layout, x, y);
return layout;
}
/** Adds the specified glyphs.
* @param layout The cache keeps the layout until cleared or new text is set. The layout should not be modified before then. */
public void addText (GlyphLayout layout, float x, float y) {
addToCache(layout, x, y + font.data.ascent);
}
/** Returns the x position of the cached string, relative to the position when the string was cached. */
public float getX () {
return x;
}
/** Returns the y position of the cached string, relative to the position when the string was cached. */
public float getY () {
return y;
}
public BitmapFont getFont () {
return font;
}
/** Specifies whether to use integer positions or not. Default is to use them so filtering doesn't kick in as badly.
* @param use */
public void setUseIntegerPositions (boolean use) {
this.integer = use;
}
/** @return whether this font uses integer positions for drawing. */
public boolean usesIntegerPositions () {
return integer;
}
public float[] getVertices () {
return getVertices(0);
}
public float[] getVertices (int page) {
return pageVertices[page];
}
public int getVertexCount (int page) {
return idx[page];
}
public Array<GlyphLayout> getLayouts () {
return layouts;
}
}
| -1 |
libgdx/libgdx | 7,276 | Fixed scene2d.ui layout for fractional positions and sizes. | When "rounding" for UI layout, floor x/y and ceil width/height.
For example if a label has a fractional width like 123.4, rounding a Container's width gives 123 and the label won't fit.
Table already does this, so I'm pretty sure it's the right thing to do in all other layouts. If others can please check this doesn't negatively affect their apps, that would be great! | NathanSweet | "2023-11-10T17:05:20Z" | "2023-11-13T03:27:53Z" | 5368811323eb4ac9c9167a73fc6910e42fcb425d | 8e3b2ef2af2e1c1765b3441cb15cfbeddf4046fa | Fixed scene2d.ui layout for fractional positions and sizes.. When "rounding" for UI layout, floor x/y and ceil width/height.
For example if a label has a fractional width like 123.4, rounding a Container's width gives 123 and the label won't fit.
Table already does this, so I'm pretty sure it's the right thing to do in all other layouts. If others can please check this doesn't negatively affect their apps, that would be great! | ./extensions/gdx-bullet/jni/swig/build.xml | <project name="gdx-bullet-swig-gen" basedir="." default="all">
<target name="linearmath">
<echo message="Generating linearmath wrapper" level="info" />
<ant antfile="module.xml">
<property name="module.name" value="linearmath" />
</ant>
</target>
<target name="collision" depends="linearmath">
<echo message="Generating collision wrapper" level="info" />
<ant antfile="module.xml">
<property name="module.name" value="collision" />
</ant>
</target>
<target name="dynamics" depends="collision">
<echo message="Generating dynamics wrapper" level="info" />
<ant antfile="module.xml">
<property name="module.name" value="dynamics" />
</ant>
</target>
<target name="inversedynamics" depends="dynamics">
<echo message="Generating extras wrapper" level="info" />
<ant antfile="module.xml">
<property name="module.name" value="inversedynamics" />
</ant>
</target>
<target name="softbody" depends="dynamics">
<echo message="Generating softbody wrapper" level="info" />
<ant antfile="module.xml">
<property name="module.name" value="softbody" />
</ant>
</target>
<target name="extras" depends="softbody">
<echo message="Generating extras wrapper" level="info" />
<ant antfile="module.xml">
<property name="module.name" value="extras" />
</ant>
</target>
<target name="all" depends="linearmath,collision,dynamics,inversedynamics,softbody,extras">
<echo message="All wrapper files generated, now rebuild the gdx-bullet project." level="info" />
</target>
</project>
| <project name="gdx-bullet-swig-gen" basedir="." default="all">
<target name="linearmath">
<echo message="Generating linearmath wrapper" level="info" />
<ant antfile="module.xml">
<property name="module.name" value="linearmath" />
</ant>
</target>
<target name="collision" depends="linearmath">
<echo message="Generating collision wrapper" level="info" />
<ant antfile="module.xml">
<property name="module.name" value="collision" />
</ant>
</target>
<target name="dynamics" depends="collision">
<echo message="Generating dynamics wrapper" level="info" />
<ant antfile="module.xml">
<property name="module.name" value="dynamics" />
</ant>
</target>
<target name="inversedynamics" depends="dynamics">
<echo message="Generating extras wrapper" level="info" />
<ant antfile="module.xml">
<property name="module.name" value="inversedynamics" />
</ant>
</target>
<target name="softbody" depends="dynamics">
<echo message="Generating softbody wrapper" level="info" />
<ant antfile="module.xml">
<property name="module.name" value="softbody" />
</ant>
</target>
<target name="extras" depends="softbody">
<echo message="Generating extras wrapper" level="info" />
<ant antfile="module.xml">
<property name="module.name" value="extras" />
</ant>
</target>
<target name="all" depends="linearmath,collision,dynamics,inversedynamics,softbody,extras">
<echo message="All wrapper files generated, now rebuild the gdx-bullet project." level="info" />
</target>
</project>
| -1 |
libgdx/libgdx | 7,276 | Fixed scene2d.ui layout for fractional positions and sizes. | When "rounding" for UI layout, floor x/y and ceil width/height.
For example if a label has a fractional width like 123.4, rounding a Container's width gives 123 and the label won't fit.
Table already does this, so I'm pretty sure it's the right thing to do in all other layouts. If others can please check this doesn't negatively affect their apps, that would be great! | NathanSweet | "2023-11-10T17:05:20Z" | "2023-11-13T03:27:53Z" | 5368811323eb4ac9c9167a73fc6910e42fcb425d | 8e3b2ef2af2e1c1765b3441cb15cfbeddf4046fa | Fixed scene2d.ui layout for fractional positions and sizes.. When "rounding" for UI layout, floor x/y and ceil width/height.
For example if a label has a fractional width like 123.4, rounding a Container's width gives 123 and the label won't fit.
Table already does this, so I'm pretty sure it's the right thing to do in all other layouts. If others can please check this doesn't negatively affect their apps, that would be great! | ./gdx/src/com/badlogic/gdx/utils/LongArray.java | /*******************************************************************************
* Copyright 2011 See AUTHORS file.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
******************************************************************************/
package com.badlogic.gdx.utils;
import java.util.Arrays;
import com.badlogic.gdx.math.MathUtils;
/** A resizable, ordered or unordered long array. Avoids the boxing that occurs with ArrayList<Long>. If unordered, this class
* avoids a memory copy when removing elements (the last element is moved to the removed element's position).
* @author Nathan Sweet */
public class LongArray {
public long[] items;
public int size;
public boolean ordered;
/** Creates an ordered array with a capacity of 16. */
public LongArray () {
this(true, 16);
}
/** Creates an ordered array with the specified capacity. */
public LongArray (int capacity) {
this(true, capacity);
}
/** @param ordered If false, methods that remove elements may change the order of other elements in the array, which avoids a
* memory copy.
* @param capacity Any elements added beyond this will cause the backing array to be grown. */
public LongArray (boolean ordered, int capacity) {
this.ordered = ordered;
items = new long[capacity];
}
/** Creates a new array containing the elements in the specific array. The new array will be ordered if the specific array is
* ordered. The capacity is set to the number of elements, so any subsequent elements added will cause the backing array to be
* grown. */
public LongArray (LongArray array) {
this.ordered = array.ordered;
size = array.size;
items = new long[size];
System.arraycopy(array.items, 0, items, 0, size);
}
/** Creates a new ordered array containing the elements in the specified array. The capacity is set to the number of elements,
* so any subsequent elements added will cause the backing array to be grown. */
public LongArray (long[] array) {
this(true, array, 0, array.length);
}
/** Creates a new array containing the elements in the specified array. The capacity is set to the number of elements, so any
* subsequent elements added will cause the backing array to be grown.
* @param ordered If false, methods that remove elements may change the order of other elements in the array, which avoids a
* memory copy. */
public LongArray (boolean ordered, long[] array, int startIndex, int count) {
this(ordered, count);
size = count;
System.arraycopy(array, startIndex, items, 0, count);
}
public void add (long value) {
long[] items = this.items;
if (size == items.length) items = resize(Math.max(8, (int)(size * 1.75f)));
items[size++] = value;
}
public void add (long value1, long value2) {
long[] items = this.items;
if (size + 1 >= items.length) items = resize(Math.max(8, (int)(size * 1.75f)));
items[size] = value1;
items[size + 1] = value2;
size += 2;
}
public void add (long value1, long value2, long value3) {
long[] items = this.items;
if (size + 2 >= items.length) items = resize(Math.max(8, (int)(size * 1.75f)));
items[size] = value1;
items[size + 1] = value2;
items[size + 2] = value3;
size += 3;
}
public void add (long value1, long value2, long value3, long value4) {
long[] items = this.items;
if (size + 3 >= items.length) items = resize(Math.max(8, (int)(size * 1.8f))); // 1.75 isn't enough when size=5.
items[size] = value1;
items[size + 1] = value2;
items[size + 2] = value3;
items[size + 3] = value4;
size += 4;
}
public void addAll (LongArray array) {
addAll(array.items, 0, array.size);
}
public void addAll (LongArray array, int offset, int length) {
if (offset + length > array.size)
throw new IllegalArgumentException("offset + length must be <= size: " + offset + " + " + length + " <= " + array.size);
addAll(array.items, offset, length);
}
public void addAll (long... array) {
addAll(array, 0, array.length);
}
public void addAll (long[] array, int offset, int length) {
long[] items = this.items;
int sizeNeeded = size + length;
if (sizeNeeded > items.length) items = resize(Math.max(Math.max(8, sizeNeeded), (int)(size * 1.75f)));
System.arraycopy(array, offset, items, size, length);
size += length;
}
public long get (int index) {
if (index >= size) throw new IndexOutOfBoundsException("index can't be >= size: " + index + " >= " + size);
return items[index];
}
public void set (int index, long value) {
if (index >= size) throw new IndexOutOfBoundsException("index can't be >= size: " + index + " >= " + size);
items[index] = value;
}
public void incr (int index, long value) {
if (index >= size) throw new IndexOutOfBoundsException("index can't be >= size: " + index + " >= " + size);
items[index] += value;
}
public void incr (long value) {
long[] items = this.items;
for (int i = 0, n = size; i < n; i++)
items[i] += value;
}
public void mul (int index, long value) {
if (index >= size) throw new IndexOutOfBoundsException("index can't be >= size: " + index + " >= " + size);
items[index] *= value;
}
public void mul (long value) {
long[] items = this.items;
for (int i = 0, n = size; i < n; i++)
items[i] *= value;
}
public void insert (int index, long value) {
if (index > size) throw new IndexOutOfBoundsException("index can't be > size: " + index + " > " + size);
long[] items = this.items;
if (size == items.length) items = resize(Math.max(8, (int)(size * 1.75f)));
if (ordered)
System.arraycopy(items, index, items, index + 1, size - index);
else
items[size] = items[index];
size++;
items[index] = value;
}
/** Inserts the specified number of items at the specified index. The new items will have values equal to the values at those
* indices before the insertion. */
public void insertRange (int index, int count) {
if (index > size) throw new IndexOutOfBoundsException("index can't be > size: " + index + " > " + size);
int sizeNeeded = size + count;
if (sizeNeeded > items.length) items = resize(Math.max(Math.max(8, sizeNeeded), (int)(size * 1.75f)));
System.arraycopy(items, index, items, index + count, size - index);
size = sizeNeeded;
}
public void swap (int first, int second) {
if (first >= size) throw new IndexOutOfBoundsException("first can't be >= size: " + first + " >= " + size);
if (second >= size) throw new IndexOutOfBoundsException("second can't be >= size: " + second + " >= " + size);
long[] items = this.items;
long firstValue = items[first];
items[first] = items[second];
items[second] = firstValue;
}
public boolean contains (long value) {
int i = size - 1;
long[] items = this.items;
while (i >= 0)
if (items[i--] == value) return true;
return false;
}
public int indexOf (long value) {
long[] items = this.items;
for (int i = 0, n = size; i < n; i++)
if (items[i] == value) return i;
return -1;
}
public int lastIndexOf (char value) {
long[] items = this.items;
for (int i = size - 1; i >= 0; i--)
if (items[i] == value) return i;
return -1;
}
public boolean removeValue (long value) {
long[] items = this.items;
for (int i = 0, n = size; i < n; i++) {
if (items[i] == value) {
removeIndex(i);
return true;
}
}
return false;
}
/** Removes and returns the item at the specified index. */
public long removeIndex (int index) {
if (index >= size) throw new IndexOutOfBoundsException("index can't be >= size: " + index + " >= " + size);
long[] items = this.items;
long value = items[index];
size--;
if (ordered)
System.arraycopy(items, index + 1, items, index, size - index);
else
items[index] = items[size];
return value;
}
/** Removes the items between the specified indices, inclusive. */
public void removeRange (int start, int end) {
int n = size;
if (end >= n) throw new IndexOutOfBoundsException("end can't be >= size: " + end + " >= " + size);
if (start > end) throw new IndexOutOfBoundsException("start can't be > end: " + start + " > " + end);
int count = end - start + 1, lastIndex = n - count;
if (ordered)
System.arraycopy(items, start + count, items, start, n - (start + count));
else {
int i = Math.max(lastIndex, end + 1);
System.arraycopy(items, i, items, start, n - i);
}
size = n - count;
}
/** Removes from this array all of elements contained in the specified array.
* @return true if this array was modified. */
public boolean removeAll (LongArray array) {
int size = this.size;
int startSize = size;
long[] items = this.items;
for (int i = 0, n = array.size; i < n; i++) {
long item = array.get(i);
for (int ii = 0; ii < size; ii++) {
if (item == items[ii]) {
removeIndex(ii);
size--;
break;
}
}
}
return size != startSize;
}
/** Removes and returns the last item. */
public long pop () {
return items[--size];
}
/** Returns the last item. */
public long peek () {
return items[size - 1];
}
/** Returns the first item. */
public long first () {
if (size == 0) throw new IllegalStateException("Array is empty.");
return items[0];
}
/** Returns true if the array has one or more items. */
public boolean notEmpty () {
return size > 0;
}
/** Returns true if the array is empty. */
public boolean isEmpty () {
return size == 0;
}
public void clear () {
size = 0;
}
/** Reduces the size of the backing array to the size of the actual items. This is useful to release memory when many items
* have been removed, or if it is known that more items will not be added.
* @return {@link #items} */
public long[] shrink () {
if (items.length != size) resize(size);
return items;
}
/** Increases the size of the backing array to accommodate the specified number of additional items. Useful before adding many
* items to avoid multiple backing array resizes.
* @return {@link #items} */
public long[] ensureCapacity (int additionalCapacity) {
if (additionalCapacity < 0) throw new IllegalArgumentException("additionalCapacity must be >= 0: " + additionalCapacity);
int sizeNeeded = size + additionalCapacity;
if (sizeNeeded > items.length) resize(Math.max(Math.max(8, sizeNeeded), (int)(size * 1.75f)));
return items;
}
/** Sets the array size, leaving any values beyond the current size undefined.
* @return {@link #items} */
public long[] setSize (int newSize) {
if (newSize < 0) throw new IllegalArgumentException("newSize must be >= 0: " + newSize);
if (newSize > items.length) resize(Math.max(8, newSize));
size = newSize;
return items;
}
protected long[] resize (int newSize) {
long[] newItems = new long[newSize];
long[] items = this.items;
System.arraycopy(items, 0, newItems, 0, Math.min(size, newItems.length));
this.items = newItems;
return newItems;
}
public void sort () {
Arrays.sort(items, 0, size);
}
public void reverse () {
long[] items = this.items;
for (int i = 0, lastIndex = size - 1, n = size / 2; i < n; i++) {
int ii = lastIndex - i;
long temp = items[i];
items[i] = items[ii];
items[ii] = temp;
}
}
public void shuffle () {
long[] items = this.items;
for (int i = size - 1; i >= 0; i--) {
int ii = MathUtils.random(i);
long temp = items[i];
items[i] = items[ii];
items[ii] = temp;
}
}
/** Reduces the size of the array to the specified size. If the array is already smaller than the specified size, no action is
* taken. */
public void truncate (int newSize) {
if (size > newSize) size = newSize;
}
/** Returns a random item from the array, or zero if the array is empty. */
public long random () {
if (size == 0) return 0;
return items[MathUtils.random(0, size - 1)];
}
public long[] toArray () {
long[] array = new long[size];
System.arraycopy(items, 0, array, 0, size);
return array;
}
public int hashCode () {
if (!ordered) return super.hashCode();
long[] items = this.items;
int h = 1;
for (int i = 0, n = size; i < n; i++) {
long item = items[i];
h = h * 31 + (int)(item ^ (item >>> 32));
}
return h;
}
public boolean equals (Object object) {
if (object == this) return true;
if (!ordered) return false;
if (!(object instanceof LongArray)) return false;
LongArray array = (LongArray)object;
if (!array.ordered) return false;
int n = size;
if (n != array.size) return false;
long[] items1 = this.items, items2 = array.items;
for (int i = 0; i < n; i++)
if (items1[i] != items2[i]) return false;
return true;
}
public String toString () {
if (size == 0) return "[]";
long[] items = this.items;
StringBuilder buffer = new StringBuilder(32);
buffer.append('[');
buffer.append(items[0]);
for (int i = 1; i < size; i++) {
buffer.append(", ");
buffer.append(items[i]);
}
buffer.append(']');
return buffer.toString();
}
public String toString (String separator) {
if (size == 0) return "";
long[] items = this.items;
StringBuilder buffer = new StringBuilder(32);
buffer.append(items[0]);
for (int i = 1; i < size; i++) {
buffer.append(separator);
buffer.append(items[i]);
}
return buffer.toString();
}
/** @see #LongArray(long[]) */
static public LongArray with (long... array) {
return new LongArray(array);
}
}
| /*******************************************************************************
* Copyright 2011 See AUTHORS file.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
******************************************************************************/
package com.badlogic.gdx.utils;
import java.util.Arrays;
import com.badlogic.gdx.math.MathUtils;
/** A resizable, ordered or unordered long array. Avoids the boxing that occurs with ArrayList<Long>. If unordered, this class
* avoids a memory copy when removing elements (the last element is moved to the removed element's position).
* @author Nathan Sweet */
public class LongArray {
public long[] items;
public int size;
public boolean ordered;
/** Creates an ordered array with a capacity of 16. */
public LongArray () {
this(true, 16);
}
/** Creates an ordered array with the specified capacity. */
public LongArray (int capacity) {
this(true, capacity);
}
/** @param ordered If false, methods that remove elements may change the order of other elements in the array, which avoids a
* memory copy.
* @param capacity Any elements added beyond this will cause the backing array to be grown. */
public LongArray (boolean ordered, int capacity) {
this.ordered = ordered;
items = new long[capacity];
}
/** Creates a new array containing the elements in the specific array. The new array will be ordered if the specific array is
* ordered. The capacity is set to the number of elements, so any subsequent elements added will cause the backing array to be
* grown. */
public LongArray (LongArray array) {
this.ordered = array.ordered;
size = array.size;
items = new long[size];
System.arraycopy(array.items, 0, items, 0, size);
}
/** Creates a new ordered array containing the elements in the specified array. The capacity is set to the number of elements,
* so any subsequent elements added will cause the backing array to be grown. */
public LongArray (long[] array) {
this(true, array, 0, array.length);
}
/** Creates a new array containing the elements in the specified array. The capacity is set to the number of elements, so any
* subsequent elements added will cause the backing array to be grown.
* @param ordered If false, methods that remove elements may change the order of other elements in the array, which avoids a
* memory copy. */
public LongArray (boolean ordered, long[] array, int startIndex, int count) {
this(ordered, count);
size = count;
System.arraycopy(array, startIndex, items, 0, count);
}
public void add (long value) {
long[] items = this.items;
if (size == items.length) items = resize(Math.max(8, (int)(size * 1.75f)));
items[size++] = value;
}
public void add (long value1, long value2) {
long[] items = this.items;
if (size + 1 >= items.length) items = resize(Math.max(8, (int)(size * 1.75f)));
items[size] = value1;
items[size + 1] = value2;
size += 2;
}
public void add (long value1, long value2, long value3) {
long[] items = this.items;
if (size + 2 >= items.length) items = resize(Math.max(8, (int)(size * 1.75f)));
items[size] = value1;
items[size + 1] = value2;
items[size + 2] = value3;
size += 3;
}
public void add (long value1, long value2, long value3, long value4) {
long[] items = this.items;
if (size + 3 >= items.length) items = resize(Math.max(8, (int)(size * 1.8f))); // 1.75 isn't enough when size=5.
items[size] = value1;
items[size + 1] = value2;
items[size + 2] = value3;
items[size + 3] = value4;
size += 4;
}
public void addAll (LongArray array) {
addAll(array.items, 0, array.size);
}
public void addAll (LongArray array, int offset, int length) {
if (offset + length > array.size)
throw new IllegalArgumentException("offset + length must be <= size: " + offset + " + " + length + " <= " + array.size);
addAll(array.items, offset, length);
}
public void addAll (long... array) {
addAll(array, 0, array.length);
}
public void addAll (long[] array, int offset, int length) {
long[] items = this.items;
int sizeNeeded = size + length;
if (sizeNeeded > items.length) items = resize(Math.max(Math.max(8, sizeNeeded), (int)(size * 1.75f)));
System.arraycopy(array, offset, items, size, length);
size += length;
}
public long get (int index) {
if (index >= size) throw new IndexOutOfBoundsException("index can't be >= size: " + index + " >= " + size);
return items[index];
}
public void set (int index, long value) {
if (index >= size) throw new IndexOutOfBoundsException("index can't be >= size: " + index + " >= " + size);
items[index] = value;
}
public void incr (int index, long value) {
if (index >= size) throw new IndexOutOfBoundsException("index can't be >= size: " + index + " >= " + size);
items[index] += value;
}
public void incr (long value) {
long[] items = this.items;
for (int i = 0, n = size; i < n; i++)
items[i] += value;
}
public void mul (int index, long value) {
if (index >= size) throw new IndexOutOfBoundsException("index can't be >= size: " + index + " >= " + size);
items[index] *= value;
}
public void mul (long value) {
long[] items = this.items;
for (int i = 0, n = size; i < n; i++)
items[i] *= value;
}
public void insert (int index, long value) {
if (index > size) throw new IndexOutOfBoundsException("index can't be > size: " + index + " > " + size);
long[] items = this.items;
if (size == items.length) items = resize(Math.max(8, (int)(size * 1.75f)));
if (ordered)
System.arraycopy(items, index, items, index + 1, size - index);
else
items[size] = items[index];
size++;
items[index] = value;
}
/** Inserts the specified number of items at the specified index. The new items will have values equal to the values at those
* indices before the insertion. */
public void insertRange (int index, int count) {
if (index > size) throw new IndexOutOfBoundsException("index can't be > size: " + index + " > " + size);
int sizeNeeded = size + count;
if (sizeNeeded > items.length) items = resize(Math.max(Math.max(8, sizeNeeded), (int)(size * 1.75f)));
System.arraycopy(items, index, items, index + count, size - index);
size = sizeNeeded;
}
public void swap (int first, int second) {
if (first >= size) throw new IndexOutOfBoundsException("first can't be >= size: " + first + " >= " + size);
if (second >= size) throw new IndexOutOfBoundsException("second can't be >= size: " + second + " >= " + size);
long[] items = this.items;
long firstValue = items[first];
items[first] = items[second];
items[second] = firstValue;
}
public boolean contains (long value) {
int i = size - 1;
long[] items = this.items;
while (i >= 0)
if (items[i--] == value) return true;
return false;
}
public int indexOf (long value) {
long[] items = this.items;
for (int i = 0, n = size; i < n; i++)
if (items[i] == value) return i;
return -1;
}
public int lastIndexOf (char value) {
long[] items = this.items;
for (int i = size - 1; i >= 0; i--)
if (items[i] == value) return i;
return -1;
}
public boolean removeValue (long value) {
long[] items = this.items;
for (int i = 0, n = size; i < n; i++) {
if (items[i] == value) {
removeIndex(i);
return true;
}
}
return false;
}
/** Removes and returns the item at the specified index. */
public long removeIndex (int index) {
if (index >= size) throw new IndexOutOfBoundsException("index can't be >= size: " + index + " >= " + size);
long[] items = this.items;
long value = items[index];
size--;
if (ordered)
System.arraycopy(items, index + 1, items, index, size - index);
else
items[index] = items[size];
return value;
}
/** Removes the items between the specified indices, inclusive. */
public void removeRange (int start, int end) {
int n = size;
if (end >= n) throw new IndexOutOfBoundsException("end can't be >= size: " + end + " >= " + size);
if (start > end) throw new IndexOutOfBoundsException("start can't be > end: " + start + " > " + end);
int count = end - start + 1, lastIndex = n - count;
if (ordered)
System.arraycopy(items, start + count, items, start, n - (start + count));
else {
int i = Math.max(lastIndex, end + 1);
System.arraycopy(items, i, items, start, n - i);
}
size = n - count;
}
/** Removes from this array all of elements contained in the specified array.
* @return true if this array was modified. */
public boolean removeAll (LongArray array) {
int size = this.size;
int startSize = size;
long[] items = this.items;
for (int i = 0, n = array.size; i < n; i++) {
long item = array.get(i);
for (int ii = 0; ii < size; ii++) {
if (item == items[ii]) {
removeIndex(ii);
size--;
break;
}
}
}
return size != startSize;
}
/** Removes and returns the last item. */
public long pop () {
return items[--size];
}
/** Returns the last item. */
public long peek () {
return items[size - 1];
}
/** Returns the first item. */
public long first () {
if (size == 0) throw new IllegalStateException("Array is empty.");
return items[0];
}
/** Returns true if the array has one or more items. */
public boolean notEmpty () {
return size > 0;
}
/** Returns true if the array is empty. */
public boolean isEmpty () {
return size == 0;
}
public void clear () {
size = 0;
}
/** Reduces the size of the backing array to the size of the actual items. This is useful to release memory when many items
* have been removed, or if it is known that more items will not be added.
* @return {@link #items} */
public long[] shrink () {
if (items.length != size) resize(size);
return items;
}
/** Increases the size of the backing array to accommodate the specified number of additional items. Useful before adding many
* items to avoid multiple backing array resizes.
* @return {@link #items} */
public long[] ensureCapacity (int additionalCapacity) {
if (additionalCapacity < 0) throw new IllegalArgumentException("additionalCapacity must be >= 0: " + additionalCapacity);
int sizeNeeded = size + additionalCapacity;
if (sizeNeeded > items.length) resize(Math.max(Math.max(8, sizeNeeded), (int)(size * 1.75f)));
return items;
}
/** Sets the array size, leaving any values beyond the current size undefined.
* @return {@link #items} */
public long[] setSize (int newSize) {
if (newSize < 0) throw new IllegalArgumentException("newSize must be >= 0: " + newSize);
if (newSize > items.length) resize(Math.max(8, newSize));
size = newSize;
return items;
}
protected long[] resize (int newSize) {
long[] newItems = new long[newSize];
long[] items = this.items;
System.arraycopy(items, 0, newItems, 0, Math.min(size, newItems.length));
this.items = newItems;
return newItems;
}
public void sort () {
Arrays.sort(items, 0, size);
}
public void reverse () {
long[] items = this.items;
for (int i = 0, lastIndex = size - 1, n = size / 2; i < n; i++) {
int ii = lastIndex - i;
long temp = items[i];
items[i] = items[ii];
items[ii] = temp;
}
}
public void shuffle () {
long[] items = this.items;
for (int i = size - 1; i >= 0; i--) {
int ii = MathUtils.random(i);
long temp = items[i];
items[i] = items[ii];
items[ii] = temp;
}
}
/** Reduces the size of the array to the specified size. If the array is already smaller than the specified size, no action is
* taken. */
public void truncate (int newSize) {
if (size > newSize) size = newSize;
}
/** Returns a random item from the array, or zero if the array is empty. */
public long random () {
if (size == 0) return 0;
return items[MathUtils.random(0, size - 1)];
}
public long[] toArray () {
long[] array = new long[size];
System.arraycopy(items, 0, array, 0, size);
return array;
}
public int hashCode () {
if (!ordered) return super.hashCode();
long[] items = this.items;
int h = 1;
for (int i = 0, n = size; i < n; i++) {
long item = items[i];
h = h * 31 + (int)(item ^ (item >>> 32));
}
return h;
}
public boolean equals (Object object) {
if (object == this) return true;
if (!ordered) return false;
if (!(object instanceof LongArray)) return false;
LongArray array = (LongArray)object;
if (!array.ordered) return false;
int n = size;
if (n != array.size) return false;
long[] items1 = this.items, items2 = array.items;
for (int i = 0; i < n; i++)
if (items1[i] != items2[i]) return false;
return true;
}
public String toString () {
if (size == 0) return "[]";
long[] items = this.items;
StringBuilder buffer = new StringBuilder(32);
buffer.append('[');
buffer.append(items[0]);
for (int i = 1; i < size; i++) {
buffer.append(", ");
buffer.append(items[i]);
}
buffer.append(']');
return buffer.toString();
}
public String toString (String separator) {
if (size == 0) return "";
long[] items = this.items;
StringBuilder buffer = new StringBuilder(32);
buffer.append(items[0]);
for (int i = 1; i < size; i++) {
buffer.append(separator);
buffer.append(items[i]);
}
return buffer.toString();
}
/** @see #LongArray(long[]) */
static public LongArray with (long... array) {
return new LongArray(array);
}
}
| -1 |
libgdx/libgdx | 7,276 | Fixed scene2d.ui layout for fractional positions and sizes. | When "rounding" for UI layout, floor x/y and ceil width/height.
For example if a label has a fractional width like 123.4, rounding a Container's width gives 123 and the label won't fit.
Table already does this, so I'm pretty sure it's the right thing to do in all other layouts. If others can please check this doesn't negatively affect their apps, that would be great! | NathanSweet | "2023-11-10T17:05:20Z" | "2023-11-13T03:27:53Z" | 5368811323eb4ac9c9167a73fc6910e42fcb425d | 8e3b2ef2af2e1c1765b3441cb15cfbeddf4046fa | Fixed scene2d.ui layout for fractional positions and sizes.. When "rounding" for UI layout, floor x/y and ceil width/height.
For example if a label has a fractional width like 123.4, rounding a Container's width gives 123 and the label won't fit.
Table already does this, so I'm pretty sure it's the right thing to do in all other layouts. If others can please check this doesn't negatively affect their apps, that would be great! | ./gdx/jni/iosgl/iosgl20.h | /* DO NOT EDIT THIS FILE - it is machine generated */
#include <jni.h>
/* Header for class com_badlogic_gdx_backends_iosrobovm_IOSGLES20 */
#ifndef _Included_com_badlogic_gdx_backends_iosrobovm_IOSGLES20
#define _Included_com_badlogic_gdx_backends_iosrobovm_IOSGLES20
#ifdef __cplusplus
extern "C" {
#endif
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: init
* Signature: ()V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_init
(JNIEnv *, jclass);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glActiveTexture
* Signature: (I)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glActiveTexture
(JNIEnv *, jobject, jint);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glAttachShader
* Signature: (II)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glAttachShader
(JNIEnv *, jobject, jint, jint);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glBindAttribLocation
* Signature: (IILjava/lang/String;)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glBindAttribLocation
(JNIEnv *, jobject, jint, jint, jstring);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glBindBuffer
* Signature: (II)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glBindBuffer
(JNIEnv *, jobject, jint, jint);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glBindFramebuffer
* Signature: (II)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glBindFramebuffer
(JNIEnv *, jobject, jint, jint);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glBindRenderbuffer
* Signature: (II)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glBindRenderbuffer
(JNIEnv *, jobject, jint, jint);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glBindTexture
* Signature: (II)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glBindTexture
(JNIEnv *, jobject, jint, jint);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glBlendColor
* Signature: (FFFF)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glBlendColor
(JNIEnv *, jobject, jfloat, jfloat, jfloat, jfloat);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glBlendEquation
* Signature: (I)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glBlendEquation
(JNIEnv *, jobject, jint);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glBlendEquationSeparate
* Signature: (II)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glBlendEquationSeparate
(JNIEnv *, jobject, jint, jint);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glBlendFunc
* Signature: (II)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glBlendFunc
(JNIEnv *, jobject, jint, jint);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glBlendFuncSeparate
* Signature: (IIII)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glBlendFuncSeparate
(JNIEnv *, jobject, jint, jint, jint, jint);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glBufferData
* Signature: (IILjava/nio/Buffer;I)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glBufferData
(JNIEnv *, jobject, jint, jint, jobject, jint);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glBufferSubData
* Signature: (IIILjava/nio/Buffer;)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glBufferSubData
(JNIEnv *, jobject, jint, jint, jint, jobject);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glCheckFramebufferStatus
* Signature: (I)I
*/
JNIEXPORT jint JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glCheckFramebufferStatus
(JNIEnv *, jobject, jint);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glClear
* Signature: (I)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glClear
(JNIEnv *, jobject, jint);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glClearColor
* Signature: (FFFF)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glClearColor
(JNIEnv *, jobject, jfloat, jfloat, jfloat, jfloat);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glClearDepthf
* Signature: (F)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glClearDepthf
(JNIEnv *, jobject, jfloat);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glClearStencil
* Signature: (I)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glClearStencil
(JNIEnv *, jobject, jint);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glColorMask
* Signature: (ZZZZ)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glColorMask
(JNIEnv *, jobject, jboolean, jboolean, jboolean, jboolean);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glCompileShader
* Signature: (I)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glCompileShader
(JNIEnv *, jobject, jint);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glCompressedTexImage2D
* Signature: (IIIIIIILjava/nio/Buffer;)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glCompressedTexImage2D
(JNIEnv *, jobject, jint, jint, jint, jint, jint, jint, jint, jobject);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glCompressedTexSubImage2D
* Signature: (IIIIIIIILjava/nio/Buffer;)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glCompressedTexSubImage2D
(JNIEnv *, jobject, jint, jint, jint, jint, jint, jint, jint, jint, jobject);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glCopyTexImage2D
* Signature: (IIIIIIII)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glCopyTexImage2D
(JNIEnv *, jobject, jint, jint, jint, jint, jint, jint, jint, jint);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glCopyTexSubImage2D
* Signature: (IIIIIIII)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glCopyTexSubImage2D
(JNIEnv *, jobject, jint, jint, jint, jint, jint, jint, jint, jint);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glCreateProgram
* Signature: ()I
*/
JNIEXPORT jint JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glCreateProgram
(JNIEnv *, jobject);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glCreateShader
* Signature: (I)I
*/
JNIEXPORT jint JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glCreateShader
(JNIEnv *, jobject, jint);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glCullFace
* Signature: (I)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glCullFace
(JNIEnv *, jobject, jint);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glDeleteBuffers
* Signature: (ILjava/nio/IntBuffer;)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glDeleteBuffers
(JNIEnv *, jobject, jint, jobject);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glDeleteBuffer
* Signature: (I)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glDeleteBuffer
(JNIEnv *, jobject, jint);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glDeleteFramebuffers
* Signature: (ILjava/nio/IntBuffer;)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glDeleteFramebuffers
(JNIEnv *, jobject, jint, jobject);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glDeleteFramebuffer
* Signature: (I)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glDeleteFramebuffer
(JNIEnv *, jobject, jint);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glDeleteProgram
* Signature: (I)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glDeleteProgram
(JNIEnv *, jobject, jint);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glDeleteRenderbuffers
* Signature: (ILjava/nio/IntBuffer;)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glDeleteRenderbuffers
(JNIEnv *, jobject, jint, jobject);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glDeleteRenderbuffer
* Signature: (I)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glDeleteRenderbuffer
(JNIEnv *, jobject, jint);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glDeleteShader
* Signature: (I)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glDeleteShader
(JNIEnv *, jobject, jint);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glDeleteTextures
* Signature: (ILjava/nio/IntBuffer;)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glDeleteTextures
(JNIEnv *, jobject, jint, jobject);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glDeleteTexture
* Signature: (I)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glDeleteTexture
(JNIEnv *, jobject, jint);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glDepthFunc
* Signature: (I)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glDepthFunc
(JNIEnv *, jobject, jint);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glDepthMask
* Signature: (Z)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glDepthMask
(JNIEnv *, jobject, jboolean);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glDepthRangef
* Signature: (FF)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glDepthRangef
(JNIEnv *, jobject, jfloat, jfloat);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glDetachShader
* Signature: (II)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glDetachShader
(JNIEnv *, jobject, jint, jint);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glDisable
* Signature: (I)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glDisable
(JNIEnv *, jobject, jint);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glDisableVertexAttribArray
* Signature: (I)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glDisableVertexAttribArray
(JNIEnv *, jobject, jint);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glDrawArrays
* Signature: (III)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glDrawArrays
(JNIEnv *, jobject, jint, jint, jint);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glDrawElements
* Signature: (IIILjava/nio/Buffer;)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glDrawElements__IIILjava_nio_Buffer_2
(JNIEnv *, jobject, jint, jint, jint, jobject);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glDrawElements
* Signature: (IIII)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glDrawElements__IIII
(JNIEnv *, jobject, jint, jint, jint, jint);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glEnable
* Signature: (I)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glEnable
(JNIEnv *, jobject, jint);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glEnableVertexAttribArray
* Signature: (I)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glEnableVertexAttribArray
(JNIEnv *, jobject, jint);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glFinish
* Signature: ()V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glFinish
(JNIEnv *, jobject);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glFlush
* Signature: ()V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glFlush
(JNIEnv *, jobject);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glFramebufferRenderbuffer
* Signature: (IIII)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glFramebufferRenderbuffer
(JNIEnv *, jobject, jint, jint, jint, jint);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glFramebufferTexture2D
* Signature: (IIIII)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glFramebufferTexture2D
(JNIEnv *, jobject, jint, jint, jint, jint, jint);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glFrontFace
* Signature: (I)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glFrontFace
(JNIEnv *, jobject, jint);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glGenBuffers
* Signature: (ILjava/nio/IntBuffer;)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glGenBuffers
(JNIEnv *, jobject, jint, jobject);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glGenBuffer
* Signature: ()I
*/
JNIEXPORT jint JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glGenBuffer
(JNIEnv *, jobject);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glGenerateMipmap
* Signature: (I)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glGenerateMipmap
(JNIEnv *, jobject, jint);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glGenFramebuffers
* Signature: (ILjava/nio/IntBuffer;)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glGenFramebuffers
(JNIEnv *, jobject, jint, jobject);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glGenFramebuffer
* Signature: ()I
*/
JNIEXPORT jint JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glGenFramebuffer
(JNIEnv *, jobject);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glGenRenderbuffers
* Signature: (ILjava/nio/IntBuffer;)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glGenRenderbuffers
(JNIEnv *, jobject, jint, jobject);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glGenRenderbuffer
* Signature: ()I
*/
JNIEXPORT jint JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glGenRenderbuffer
(JNIEnv *, jobject);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glGenTextures
* Signature: (ILjava/nio/IntBuffer;)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glGenTextures
(JNIEnv *, jobject, jint, jobject);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glGenTexture
* Signature: ()I
*/
JNIEXPORT jint JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glGenTexture
(JNIEnv *, jobject);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glGetActiveAttrib
* Signature: (IILjava/nio/IntBuffer;Ljava/nio/IntBuffer;)Ljava/lang/String;
*/
JNIEXPORT jstring JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glGetActiveAttrib
(JNIEnv *, jobject, jint, jint, jobject, jobject);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glGetActiveUniform
* Signature: (IILjava/nio/IntBuffer;Ljava/nio/IntBuffer;)Ljava/lang/String;
*/
JNIEXPORT jstring JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glGetActiveUniform
(JNIEnv *, jobject, jint, jint, jobject, jobject);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glGetAttachedShaders
* Signature: (IILjava/nio/Buffer;Ljava/nio/IntBuffer;)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glGetAttachedShaders
(JNIEnv *, jobject, jint, jint, jobject, jobject);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glGetAttribLocation
* Signature: (ILjava/lang/String;)I
*/
JNIEXPORT jint JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glGetAttribLocation
(JNIEnv *, jobject, jint, jstring);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glGetBooleanv
* Signature: (ILjava/nio/Buffer;)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glGetBooleanv
(JNIEnv *, jobject, jint, jobject);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glGetBufferParameteriv
* Signature: (IILjava/nio/IntBuffer;)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glGetBufferParameteriv
(JNIEnv *, jobject, jint, jint, jobject);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glGetError
* Signature: ()I
*/
JNIEXPORT jint JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glGetError
(JNIEnv *, jobject);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glGetFloatv
* Signature: (ILjava/nio/FloatBuffer;)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glGetFloatv
(JNIEnv *, jobject, jint, jobject);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glGetFramebufferAttachmentParameteriv
* Signature: (IIILjava/nio/IntBuffer;)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glGetFramebufferAttachmentParameteriv
(JNIEnv *, jobject, jint, jint, jint, jobject);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glGetIntegerv
* Signature: (ILjava/nio/IntBuffer;)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glGetIntegerv
(JNIEnv *, jobject, jint, jobject);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glGetProgramiv
* Signature: (IILjava/nio/IntBuffer;)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glGetProgramiv
(JNIEnv *, jobject, jint, jint, jobject);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glGetProgramInfoLog
* Signature: (I)Ljava/lang/String;
*/
JNIEXPORT jstring JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glGetProgramInfoLog
(JNIEnv *, jobject, jint);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glGetRenderbufferParameteriv
* Signature: (IILjava/nio/IntBuffer;)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glGetRenderbufferParameteriv
(JNIEnv *, jobject, jint, jint, jobject);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glGetShaderiv
* Signature: (IILjava/nio/IntBuffer;)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glGetShaderiv
(JNIEnv *, jobject, jint, jint, jobject);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glGetShaderInfoLog
* Signature: (I)Ljava/lang/String;
*/
JNIEXPORT jstring JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glGetShaderInfoLog
(JNIEnv *, jobject, jint);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glGetShaderPrecisionFormat
* Signature: (IILjava/nio/IntBuffer;Ljava/nio/IntBuffer;)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glGetShaderPrecisionFormat
(JNIEnv *, jobject, jint, jint, jobject, jobject);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glGetShaderSource
* Signature: (IILjava/nio/Buffer;Ljava/lang/String;)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glGetShaderSource
(JNIEnv *, jobject, jint, jint, jobject, jstring);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glGetString
* Signature: (I)Ljava/lang/String;
*/
JNIEXPORT jstring JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glGetString
(JNIEnv *, jobject, jint);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glGetTexParameterfv
* Signature: (IILjava/nio/FloatBuffer;)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glGetTexParameterfv
(JNIEnv *, jobject, jint, jint, jobject);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glGetTexParameteriv
* Signature: (IILjava/nio/IntBuffer;)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glGetTexParameteriv
(JNIEnv *, jobject, jint, jint, jobject);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glGetUniformfv
* Signature: (IILjava/nio/FloatBuffer;)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glGetUniformfv
(JNIEnv *, jobject, jint, jint, jobject);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glGetUniformiv
* Signature: (IILjava/nio/IntBuffer;)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glGetUniformiv
(JNIEnv *, jobject, jint, jint, jobject);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glGetUniformLocation
* Signature: (ILjava/lang/String;)I
*/
JNIEXPORT jint JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glGetUniformLocation
(JNIEnv *, jobject, jint, jstring);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glGetVertexAttribfv
* Signature: (IILjava/nio/FloatBuffer;)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glGetVertexAttribfv
(JNIEnv *, jobject, jint, jint, jobject);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glGetVertexAttribiv
* Signature: (IILjava/nio/IntBuffer;)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glGetVertexAttribiv
(JNIEnv *, jobject, jint, jint, jobject);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glGetVertexAttribPointerv
* Signature: (IILjava/nio/Buffer;)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glGetVertexAttribPointerv
(JNIEnv *, jobject, jint, jint, jobject);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glHint
* Signature: (II)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glHint
(JNIEnv *, jobject, jint, jint);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glIsBuffer
* Signature: (I)Z
*/
JNIEXPORT jboolean JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glIsBuffer
(JNIEnv *, jobject, jint);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glIsEnabled
* Signature: (I)Z
*/
JNIEXPORT jboolean JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glIsEnabled
(JNIEnv *, jobject, jint);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glIsFramebuffer
* Signature: (I)Z
*/
JNIEXPORT jboolean JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glIsFramebuffer
(JNIEnv *, jobject, jint);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glIsProgram
* Signature: (I)Z
*/
JNIEXPORT jboolean JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glIsProgram
(JNIEnv *, jobject, jint);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glIsRenderbuffer
* Signature: (I)Z
*/
JNIEXPORT jboolean JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glIsRenderbuffer
(JNIEnv *, jobject, jint);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glIsShader
* Signature: (I)Z
*/
JNIEXPORT jboolean JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glIsShader
(JNIEnv *, jobject, jint);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glIsTexture
* Signature: (I)Z
*/
JNIEXPORT jboolean JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glIsTexture
(JNIEnv *, jobject, jint);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glLineWidth
* Signature: (F)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glLineWidth
(JNIEnv *, jobject, jfloat);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glLinkProgram
* Signature: (I)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glLinkProgram
(JNIEnv *, jobject, jint);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glPixelStorei
* Signature: (II)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glPixelStorei
(JNIEnv *, jobject, jint, jint);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glPolygonOffset
* Signature: (FF)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glPolygonOffset
(JNIEnv *, jobject, jfloat, jfloat);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glReadPixels
* Signature: (IIIIIILjava/nio/Buffer;)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glReadPixels
(JNIEnv *, jobject, jint, jint, jint, jint, jint, jint, jobject);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glReleaseShaderCompiler
* Signature: ()V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glReleaseShaderCompiler
(JNIEnv *, jobject);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glRenderbufferStorage
* Signature: (IIII)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glRenderbufferStorage
(JNIEnv *, jobject, jint, jint, jint, jint);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glSampleCoverage
* Signature: (FZ)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glSampleCoverage
(JNIEnv *, jobject, jfloat, jboolean);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glScissor
* Signature: (IIII)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glScissor
(JNIEnv *, jobject, jint, jint, jint, jint);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glShaderBinary
* Signature: (ILjava/nio/IntBuffer;ILjava/nio/Buffer;I)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glShaderBinary
(JNIEnv *, jobject, jint, jobject, jint, jobject, jint);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glShaderSource
* Signature: (ILjava/lang/String;)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glShaderSource
(JNIEnv *, jobject, jint, jstring);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glStencilFunc
* Signature: (III)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glStencilFunc
(JNIEnv *, jobject, jint, jint, jint);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glStencilFuncSeparate
* Signature: (IIII)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glStencilFuncSeparate
(JNIEnv *, jobject, jint, jint, jint, jint);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glStencilMask
* Signature: (I)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glStencilMask
(JNIEnv *, jobject, jint);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glStencilMaskSeparate
* Signature: (II)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glStencilMaskSeparate
(JNIEnv *, jobject, jint, jint);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glStencilOp
* Signature: (III)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glStencilOp
(JNIEnv *, jobject, jint, jint, jint);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glStencilOpSeparate
* Signature: (IIII)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glStencilOpSeparate
(JNIEnv *, jobject, jint, jint, jint, jint);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glTexImage2DJNI
* Signature: (IIIIIIIILjava/nio/Buffer;)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glTexImage2DJNI
(JNIEnv *, jobject, jint, jint, jint, jint, jint, jint, jint, jint, jobject);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glTexParameterf
* Signature: (IIF)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glTexParameterf
(JNIEnv *, jobject, jint, jint, jfloat);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glTexParameterfv
* Signature: (IILjava/nio/FloatBuffer;)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glTexParameterfv
(JNIEnv *, jobject, jint, jint, jobject);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glTexParameteri
* Signature: (III)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glTexParameteri
(JNIEnv *, jobject, jint, jint, jint);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glTexParameteriv
* Signature: (IILjava/nio/IntBuffer;)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glTexParameteriv
(JNIEnv *, jobject, jint, jint, jobject);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glTexSubImage2DJNI
* Signature: (IIIIIIIILjava/nio/Buffer;)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glTexSubImage2DJNI
(JNIEnv *, jobject, jint, jint, jint, jint, jint, jint, jint, jint, jobject);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glUniform1f
* Signature: (IF)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glUniform1f
(JNIEnv *, jobject, jint, jfloat);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glUniform1fv
* Signature: (IILjava/nio/FloatBuffer;)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glUniform1fv__IILjava_nio_FloatBuffer_2
(JNIEnv *, jobject, jint, jint, jobject);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glUniform1fv
* Signature: (II[FI)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glUniform1fv__II_3FI
(JNIEnv *, jobject, jint, jint, jfloatArray, jint);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glUniform1i
* Signature: (II)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glUniform1i
(JNIEnv *, jobject, jint, jint);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glUniform1iv
* Signature: (IILjava/nio/IntBuffer;)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glUniform1iv__IILjava_nio_IntBuffer_2
(JNIEnv *, jobject, jint, jint, jobject);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glUniform1iv
* Signature: (II[II)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glUniform1iv__II_3II
(JNIEnv *, jobject, jint, jint, jintArray, jint);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glUniform2f
* Signature: (IFF)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glUniform2f
(JNIEnv *, jobject, jint, jfloat, jfloat);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glUniform2fv
* Signature: (IILjava/nio/FloatBuffer;)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glUniform2fv__IILjava_nio_FloatBuffer_2
(JNIEnv *, jobject, jint, jint, jobject);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glUniform2fv
* Signature: (II[FI)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glUniform2fv__II_3FI
(JNIEnv *, jobject, jint, jint, jfloatArray, jint);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glUniform2i
* Signature: (III)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glUniform2i
(JNIEnv *, jobject, jint, jint, jint);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glUniform2iv
* Signature: (IILjava/nio/IntBuffer;)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glUniform2iv__IILjava_nio_IntBuffer_2
(JNIEnv *, jobject, jint, jint, jobject);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glUniform2iv
* Signature: (II[II)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glUniform2iv__II_3II
(JNIEnv *, jobject, jint, jint, jintArray, jint);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glUniform3f
* Signature: (IFFF)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glUniform3f
(JNIEnv *, jobject, jint, jfloat, jfloat, jfloat);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glUniform3fv
* Signature: (IILjava/nio/FloatBuffer;)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glUniform3fv__IILjava_nio_FloatBuffer_2
(JNIEnv *, jobject, jint, jint, jobject);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glUniform3fv
* Signature: (II[FI)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glUniform3fv__II_3FI
(JNIEnv *, jobject, jint, jint, jfloatArray, jint);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glUniform3i
* Signature: (IIII)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glUniform3i
(JNIEnv *, jobject, jint, jint, jint, jint);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glUniform3iv
* Signature: (IILjava/nio/IntBuffer;)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glUniform3iv__IILjava_nio_IntBuffer_2
(JNIEnv *, jobject, jint, jint, jobject);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glUniform3iv
* Signature: (II[II)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glUniform3iv__II_3II
(JNIEnv *, jobject, jint, jint, jintArray, jint);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glUniform4f
* Signature: (IFFFF)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glUniform4f
(JNIEnv *, jobject, jint, jfloat, jfloat, jfloat, jfloat);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glUniform4fv
* Signature: (IILjava/nio/FloatBuffer;)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glUniform4fv__IILjava_nio_FloatBuffer_2
(JNIEnv *, jobject, jint, jint, jobject);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glUniform4fv
* Signature: (II[FI)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glUniform4fv__II_3FI
(JNIEnv *, jobject, jint, jint, jfloatArray, jint);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glUniform4i
* Signature: (IIIII)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glUniform4i
(JNIEnv *, jobject, jint, jint, jint, jint, jint);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glUniform4iv
* Signature: (IILjava/nio/IntBuffer;)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glUniform4iv__IILjava_nio_IntBuffer_2
(JNIEnv *, jobject, jint, jint, jobject);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glUniform4iv
* Signature: (II[II)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glUniform4iv__II_3II
(JNIEnv *, jobject, jint, jint, jintArray, jint);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glUniformMatrix2fv
* Signature: (IIZLjava/nio/FloatBuffer;)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glUniformMatrix2fv__IIZLjava_nio_FloatBuffer_2
(JNIEnv *, jobject, jint, jint, jboolean, jobject);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glUniformMatrix2fv
* Signature: (IIZ[FI)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glUniformMatrix2fv__IIZ_3FI
(JNIEnv *, jobject, jint, jint, jboolean, jfloatArray, jint);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glUniformMatrix3fv
* Signature: (IIZLjava/nio/FloatBuffer;)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glUniformMatrix3fv__IIZLjava_nio_FloatBuffer_2
(JNIEnv *, jobject, jint, jint, jboolean, jobject);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glUniformMatrix3fv
* Signature: (IIZ[FI)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glUniformMatrix3fv__IIZ_3FI
(JNIEnv *, jobject, jint, jint, jboolean, jfloatArray, jint);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glUniformMatrix4fv
* Signature: (IIZLjava/nio/FloatBuffer;)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glUniformMatrix4fv__IIZLjava_nio_FloatBuffer_2
(JNIEnv *, jobject, jint, jint, jboolean, jobject);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glUniformMatrix4fv
* Signature: (IIZ[FI)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glUniformMatrix4fv__IIZ_3FI
(JNIEnv *, jobject, jint, jint, jboolean, jfloatArray, jint);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glUseProgram
* Signature: (I)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glUseProgram
(JNIEnv *, jobject, jint);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glValidateProgram
* Signature: (I)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glValidateProgram
(JNIEnv *, jobject, jint);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glVertexAttrib1f
* Signature: (IF)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glVertexAttrib1f
(JNIEnv *, jobject, jint, jfloat);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glVertexAttrib1fv
* Signature: (ILjava/nio/FloatBuffer;)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glVertexAttrib1fv
(JNIEnv *, jobject, jint, jobject);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glVertexAttrib2f
* Signature: (IFF)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glVertexAttrib2f
(JNIEnv *, jobject, jint, jfloat, jfloat);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glVertexAttrib2fv
* Signature: (ILjava/nio/FloatBuffer;)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glVertexAttrib2fv
(JNIEnv *, jobject, jint, jobject);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glVertexAttrib3f
* Signature: (IFFF)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glVertexAttrib3f
(JNIEnv *, jobject, jint, jfloat, jfloat, jfloat);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glVertexAttrib3fv
* Signature: (ILjava/nio/FloatBuffer;)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glVertexAttrib3fv
(JNIEnv *, jobject, jint, jobject);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glVertexAttrib4f
* Signature: (IFFFF)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glVertexAttrib4f
(JNIEnv *, jobject, jint, jfloat, jfloat, jfloat, jfloat);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glVertexAttrib4fv
* Signature: (ILjava/nio/FloatBuffer;)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glVertexAttrib4fv
(JNIEnv *, jobject, jint, jobject);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glVertexAttribPointer
* Signature: (IIIZILjava/nio/Buffer;)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glVertexAttribPointer__IIIZILjava_nio_Buffer_2
(JNIEnv *, jobject, jint, jint, jint, jboolean, jint, jobject);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glVertexAttribPointer
* Signature: (IIIZII)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glVertexAttribPointer__IIIZII
(JNIEnv *, jobject, jint, jint, jint, jboolean, jint, jint);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glViewportJni
* Signature: (IIII)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glViewportJni
(JNIEnv *, jobject, jint, jint, jint, jint);
#ifdef __cplusplus
}
#endif
#endif
| /* DO NOT EDIT THIS FILE - it is machine generated */
#include <jni.h>
/* Header for class com_badlogic_gdx_backends_iosrobovm_IOSGLES20 */
#ifndef _Included_com_badlogic_gdx_backends_iosrobovm_IOSGLES20
#define _Included_com_badlogic_gdx_backends_iosrobovm_IOSGLES20
#ifdef __cplusplus
extern "C" {
#endif
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: init
* Signature: ()V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_init
(JNIEnv *, jclass);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glActiveTexture
* Signature: (I)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glActiveTexture
(JNIEnv *, jobject, jint);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glAttachShader
* Signature: (II)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glAttachShader
(JNIEnv *, jobject, jint, jint);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glBindAttribLocation
* Signature: (IILjava/lang/String;)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glBindAttribLocation
(JNIEnv *, jobject, jint, jint, jstring);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glBindBuffer
* Signature: (II)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glBindBuffer
(JNIEnv *, jobject, jint, jint);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glBindFramebuffer
* Signature: (II)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glBindFramebuffer
(JNIEnv *, jobject, jint, jint);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glBindRenderbuffer
* Signature: (II)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glBindRenderbuffer
(JNIEnv *, jobject, jint, jint);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glBindTexture
* Signature: (II)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glBindTexture
(JNIEnv *, jobject, jint, jint);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glBlendColor
* Signature: (FFFF)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glBlendColor
(JNIEnv *, jobject, jfloat, jfloat, jfloat, jfloat);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glBlendEquation
* Signature: (I)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glBlendEquation
(JNIEnv *, jobject, jint);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glBlendEquationSeparate
* Signature: (II)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glBlendEquationSeparate
(JNIEnv *, jobject, jint, jint);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glBlendFunc
* Signature: (II)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glBlendFunc
(JNIEnv *, jobject, jint, jint);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glBlendFuncSeparate
* Signature: (IIII)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glBlendFuncSeparate
(JNIEnv *, jobject, jint, jint, jint, jint);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glBufferData
* Signature: (IILjava/nio/Buffer;I)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glBufferData
(JNIEnv *, jobject, jint, jint, jobject, jint);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glBufferSubData
* Signature: (IIILjava/nio/Buffer;)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glBufferSubData
(JNIEnv *, jobject, jint, jint, jint, jobject);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glCheckFramebufferStatus
* Signature: (I)I
*/
JNIEXPORT jint JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glCheckFramebufferStatus
(JNIEnv *, jobject, jint);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glClear
* Signature: (I)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glClear
(JNIEnv *, jobject, jint);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glClearColor
* Signature: (FFFF)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glClearColor
(JNIEnv *, jobject, jfloat, jfloat, jfloat, jfloat);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glClearDepthf
* Signature: (F)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glClearDepthf
(JNIEnv *, jobject, jfloat);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glClearStencil
* Signature: (I)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glClearStencil
(JNIEnv *, jobject, jint);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glColorMask
* Signature: (ZZZZ)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glColorMask
(JNIEnv *, jobject, jboolean, jboolean, jboolean, jboolean);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glCompileShader
* Signature: (I)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glCompileShader
(JNIEnv *, jobject, jint);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glCompressedTexImage2D
* Signature: (IIIIIIILjava/nio/Buffer;)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glCompressedTexImage2D
(JNIEnv *, jobject, jint, jint, jint, jint, jint, jint, jint, jobject);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glCompressedTexSubImage2D
* Signature: (IIIIIIIILjava/nio/Buffer;)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glCompressedTexSubImage2D
(JNIEnv *, jobject, jint, jint, jint, jint, jint, jint, jint, jint, jobject);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glCopyTexImage2D
* Signature: (IIIIIIII)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glCopyTexImage2D
(JNIEnv *, jobject, jint, jint, jint, jint, jint, jint, jint, jint);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glCopyTexSubImage2D
* Signature: (IIIIIIII)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glCopyTexSubImage2D
(JNIEnv *, jobject, jint, jint, jint, jint, jint, jint, jint, jint);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glCreateProgram
* Signature: ()I
*/
JNIEXPORT jint JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glCreateProgram
(JNIEnv *, jobject);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glCreateShader
* Signature: (I)I
*/
JNIEXPORT jint JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glCreateShader
(JNIEnv *, jobject, jint);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glCullFace
* Signature: (I)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glCullFace
(JNIEnv *, jobject, jint);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glDeleteBuffers
* Signature: (ILjava/nio/IntBuffer;)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glDeleteBuffers
(JNIEnv *, jobject, jint, jobject);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glDeleteBuffer
* Signature: (I)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glDeleteBuffer
(JNIEnv *, jobject, jint);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glDeleteFramebuffers
* Signature: (ILjava/nio/IntBuffer;)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glDeleteFramebuffers
(JNIEnv *, jobject, jint, jobject);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glDeleteFramebuffer
* Signature: (I)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glDeleteFramebuffer
(JNIEnv *, jobject, jint);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glDeleteProgram
* Signature: (I)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glDeleteProgram
(JNIEnv *, jobject, jint);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glDeleteRenderbuffers
* Signature: (ILjava/nio/IntBuffer;)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glDeleteRenderbuffers
(JNIEnv *, jobject, jint, jobject);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glDeleteRenderbuffer
* Signature: (I)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glDeleteRenderbuffer
(JNIEnv *, jobject, jint);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glDeleteShader
* Signature: (I)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glDeleteShader
(JNIEnv *, jobject, jint);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glDeleteTextures
* Signature: (ILjava/nio/IntBuffer;)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glDeleteTextures
(JNIEnv *, jobject, jint, jobject);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glDeleteTexture
* Signature: (I)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glDeleteTexture
(JNIEnv *, jobject, jint);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glDepthFunc
* Signature: (I)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glDepthFunc
(JNIEnv *, jobject, jint);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glDepthMask
* Signature: (Z)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glDepthMask
(JNIEnv *, jobject, jboolean);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glDepthRangef
* Signature: (FF)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glDepthRangef
(JNIEnv *, jobject, jfloat, jfloat);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glDetachShader
* Signature: (II)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glDetachShader
(JNIEnv *, jobject, jint, jint);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glDisable
* Signature: (I)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glDisable
(JNIEnv *, jobject, jint);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glDisableVertexAttribArray
* Signature: (I)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glDisableVertexAttribArray
(JNIEnv *, jobject, jint);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glDrawArrays
* Signature: (III)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glDrawArrays
(JNIEnv *, jobject, jint, jint, jint);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glDrawElements
* Signature: (IIILjava/nio/Buffer;)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glDrawElements__IIILjava_nio_Buffer_2
(JNIEnv *, jobject, jint, jint, jint, jobject);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glDrawElements
* Signature: (IIII)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glDrawElements__IIII
(JNIEnv *, jobject, jint, jint, jint, jint);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glEnable
* Signature: (I)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glEnable
(JNIEnv *, jobject, jint);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glEnableVertexAttribArray
* Signature: (I)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glEnableVertexAttribArray
(JNIEnv *, jobject, jint);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glFinish
* Signature: ()V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glFinish
(JNIEnv *, jobject);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glFlush
* Signature: ()V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glFlush
(JNIEnv *, jobject);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glFramebufferRenderbuffer
* Signature: (IIII)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glFramebufferRenderbuffer
(JNIEnv *, jobject, jint, jint, jint, jint);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glFramebufferTexture2D
* Signature: (IIIII)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glFramebufferTexture2D
(JNIEnv *, jobject, jint, jint, jint, jint, jint);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glFrontFace
* Signature: (I)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glFrontFace
(JNIEnv *, jobject, jint);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glGenBuffers
* Signature: (ILjava/nio/IntBuffer;)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glGenBuffers
(JNIEnv *, jobject, jint, jobject);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glGenBuffer
* Signature: ()I
*/
JNIEXPORT jint JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glGenBuffer
(JNIEnv *, jobject);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glGenerateMipmap
* Signature: (I)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glGenerateMipmap
(JNIEnv *, jobject, jint);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glGenFramebuffers
* Signature: (ILjava/nio/IntBuffer;)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glGenFramebuffers
(JNIEnv *, jobject, jint, jobject);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glGenFramebuffer
* Signature: ()I
*/
JNIEXPORT jint JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glGenFramebuffer
(JNIEnv *, jobject);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glGenRenderbuffers
* Signature: (ILjava/nio/IntBuffer;)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glGenRenderbuffers
(JNIEnv *, jobject, jint, jobject);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glGenRenderbuffer
* Signature: ()I
*/
JNIEXPORT jint JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glGenRenderbuffer
(JNIEnv *, jobject);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glGenTextures
* Signature: (ILjava/nio/IntBuffer;)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glGenTextures
(JNIEnv *, jobject, jint, jobject);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glGenTexture
* Signature: ()I
*/
JNIEXPORT jint JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glGenTexture
(JNIEnv *, jobject);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glGetActiveAttrib
* Signature: (IILjava/nio/IntBuffer;Ljava/nio/IntBuffer;)Ljava/lang/String;
*/
JNIEXPORT jstring JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glGetActiveAttrib
(JNIEnv *, jobject, jint, jint, jobject, jobject);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glGetActiveUniform
* Signature: (IILjava/nio/IntBuffer;Ljava/nio/IntBuffer;)Ljava/lang/String;
*/
JNIEXPORT jstring JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glGetActiveUniform
(JNIEnv *, jobject, jint, jint, jobject, jobject);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glGetAttachedShaders
* Signature: (IILjava/nio/Buffer;Ljava/nio/IntBuffer;)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glGetAttachedShaders
(JNIEnv *, jobject, jint, jint, jobject, jobject);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glGetAttribLocation
* Signature: (ILjava/lang/String;)I
*/
JNIEXPORT jint JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glGetAttribLocation
(JNIEnv *, jobject, jint, jstring);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glGetBooleanv
* Signature: (ILjava/nio/Buffer;)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glGetBooleanv
(JNIEnv *, jobject, jint, jobject);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glGetBufferParameteriv
* Signature: (IILjava/nio/IntBuffer;)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glGetBufferParameteriv
(JNIEnv *, jobject, jint, jint, jobject);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glGetError
* Signature: ()I
*/
JNIEXPORT jint JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glGetError
(JNIEnv *, jobject);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glGetFloatv
* Signature: (ILjava/nio/FloatBuffer;)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glGetFloatv
(JNIEnv *, jobject, jint, jobject);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glGetFramebufferAttachmentParameteriv
* Signature: (IIILjava/nio/IntBuffer;)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glGetFramebufferAttachmentParameteriv
(JNIEnv *, jobject, jint, jint, jint, jobject);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glGetIntegerv
* Signature: (ILjava/nio/IntBuffer;)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glGetIntegerv
(JNIEnv *, jobject, jint, jobject);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glGetProgramiv
* Signature: (IILjava/nio/IntBuffer;)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glGetProgramiv
(JNIEnv *, jobject, jint, jint, jobject);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glGetProgramInfoLog
* Signature: (I)Ljava/lang/String;
*/
JNIEXPORT jstring JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glGetProgramInfoLog
(JNIEnv *, jobject, jint);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glGetRenderbufferParameteriv
* Signature: (IILjava/nio/IntBuffer;)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glGetRenderbufferParameteriv
(JNIEnv *, jobject, jint, jint, jobject);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glGetShaderiv
* Signature: (IILjava/nio/IntBuffer;)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glGetShaderiv
(JNIEnv *, jobject, jint, jint, jobject);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glGetShaderInfoLog
* Signature: (I)Ljava/lang/String;
*/
JNIEXPORT jstring JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glGetShaderInfoLog
(JNIEnv *, jobject, jint);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glGetShaderPrecisionFormat
* Signature: (IILjava/nio/IntBuffer;Ljava/nio/IntBuffer;)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glGetShaderPrecisionFormat
(JNIEnv *, jobject, jint, jint, jobject, jobject);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glGetShaderSource
* Signature: (IILjava/nio/Buffer;Ljava/lang/String;)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glGetShaderSource
(JNIEnv *, jobject, jint, jint, jobject, jstring);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glGetString
* Signature: (I)Ljava/lang/String;
*/
JNIEXPORT jstring JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glGetString
(JNIEnv *, jobject, jint);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glGetTexParameterfv
* Signature: (IILjava/nio/FloatBuffer;)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glGetTexParameterfv
(JNIEnv *, jobject, jint, jint, jobject);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glGetTexParameteriv
* Signature: (IILjava/nio/IntBuffer;)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glGetTexParameteriv
(JNIEnv *, jobject, jint, jint, jobject);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glGetUniformfv
* Signature: (IILjava/nio/FloatBuffer;)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glGetUniformfv
(JNIEnv *, jobject, jint, jint, jobject);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glGetUniformiv
* Signature: (IILjava/nio/IntBuffer;)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glGetUniformiv
(JNIEnv *, jobject, jint, jint, jobject);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glGetUniformLocation
* Signature: (ILjava/lang/String;)I
*/
JNIEXPORT jint JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glGetUniformLocation
(JNIEnv *, jobject, jint, jstring);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glGetVertexAttribfv
* Signature: (IILjava/nio/FloatBuffer;)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glGetVertexAttribfv
(JNIEnv *, jobject, jint, jint, jobject);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glGetVertexAttribiv
* Signature: (IILjava/nio/IntBuffer;)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glGetVertexAttribiv
(JNIEnv *, jobject, jint, jint, jobject);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glGetVertexAttribPointerv
* Signature: (IILjava/nio/Buffer;)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glGetVertexAttribPointerv
(JNIEnv *, jobject, jint, jint, jobject);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glHint
* Signature: (II)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glHint
(JNIEnv *, jobject, jint, jint);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glIsBuffer
* Signature: (I)Z
*/
JNIEXPORT jboolean JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glIsBuffer
(JNIEnv *, jobject, jint);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glIsEnabled
* Signature: (I)Z
*/
JNIEXPORT jboolean JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glIsEnabled
(JNIEnv *, jobject, jint);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glIsFramebuffer
* Signature: (I)Z
*/
JNIEXPORT jboolean JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glIsFramebuffer
(JNIEnv *, jobject, jint);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glIsProgram
* Signature: (I)Z
*/
JNIEXPORT jboolean JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glIsProgram
(JNIEnv *, jobject, jint);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glIsRenderbuffer
* Signature: (I)Z
*/
JNIEXPORT jboolean JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glIsRenderbuffer
(JNIEnv *, jobject, jint);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glIsShader
* Signature: (I)Z
*/
JNIEXPORT jboolean JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glIsShader
(JNIEnv *, jobject, jint);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glIsTexture
* Signature: (I)Z
*/
JNIEXPORT jboolean JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glIsTexture
(JNIEnv *, jobject, jint);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glLineWidth
* Signature: (F)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glLineWidth
(JNIEnv *, jobject, jfloat);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glLinkProgram
* Signature: (I)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glLinkProgram
(JNIEnv *, jobject, jint);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glPixelStorei
* Signature: (II)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glPixelStorei
(JNIEnv *, jobject, jint, jint);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glPolygonOffset
* Signature: (FF)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glPolygonOffset
(JNIEnv *, jobject, jfloat, jfloat);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glReadPixels
* Signature: (IIIIIILjava/nio/Buffer;)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glReadPixels
(JNIEnv *, jobject, jint, jint, jint, jint, jint, jint, jobject);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glReleaseShaderCompiler
* Signature: ()V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glReleaseShaderCompiler
(JNIEnv *, jobject);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glRenderbufferStorage
* Signature: (IIII)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glRenderbufferStorage
(JNIEnv *, jobject, jint, jint, jint, jint);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glSampleCoverage
* Signature: (FZ)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glSampleCoverage
(JNIEnv *, jobject, jfloat, jboolean);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glScissor
* Signature: (IIII)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glScissor
(JNIEnv *, jobject, jint, jint, jint, jint);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glShaderBinary
* Signature: (ILjava/nio/IntBuffer;ILjava/nio/Buffer;I)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glShaderBinary
(JNIEnv *, jobject, jint, jobject, jint, jobject, jint);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glShaderSource
* Signature: (ILjava/lang/String;)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glShaderSource
(JNIEnv *, jobject, jint, jstring);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glStencilFunc
* Signature: (III)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glStencilFunc
(JNIEnv *, jobject, jint, jint, jint);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glStencilFuncSeparate
* Signature: (IIII)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glStencilFuncSeparate
(JNIEnv *, jobject, jint, jint, jint, jint);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glStencilMask
* Signature: (I)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glStencilMask
(JNIEnv *, jobject, jint);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glStencilMaskSeparate
* Signature: (II)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glStencilMaskSeparate
(JNIEnv *, jobject, jint, jint);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glStencilOp
* Signature: (III)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glStencilOp
(JNIEnv *, jobject, jint, jint, jint);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glStencilOpSeparate
* Signature: (IIII)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glStencilOpSeparate
(JNIEnv *, jobject, jint, jint, jint, jint);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glTexImage2DJNI
* Signature: (IIIIIIIILjava/nio/Buffer;)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glTexImage2DJNI
(JNIEnv *, jobject, jint, jint, jint, jint, jint, jint, jint, jint, jobject);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glTexParameterf
* Signature: (IIF)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glTexParameterf
(JNIEnv *, jobject, jint, jint, jfloat);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glTexParameterfv
* Signature: (IILjava/nio/FloatBuffer;)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glTexParameterfv
(JNIEnv *, jobject, jint, jint, jobject);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glTexParameteri
* Signature: (III)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glTexParameteri
(JNIEnv *, jobject, jint, jint, jint);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glTexParameteriv
* Signature: (IILjava/nio/IntBuffer;)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glTexParameteriv
(JNIEnv *, jobject, jint, jint, jobject);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glTexSubImage2DJNI
* Signature: (IIIIIIIILjava/nio/Buffer;)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glTexSubImage2DJNI
(JNIEnv *, jobject, jint, jint, jint, jint, jint, jint, jint, jint, jobject);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glUniform1f
* Signature: (IF)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glUniform1f
(JNIEnv *, jobject, jint, jfloat);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glUniform1fv
* Signature: (IILjava/nio/FloatBuffer;)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glUniform1fv__IILjava_nio_FloatBuffer_2
(JNIEnv *, jobject, jint, jint, jobject);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glUniform1fv
* Signature: (II[FI)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glUniform1fv__II_3FI
(JNIEnv *, jobject, jint, jint, jfloatArray, jint);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glUniform1i
* Signature: (II)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glUniform1i
(JNIEnv *, jobject, jint, jint);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glUniform1iv
* Signature: (IILjava/nio/IntBuffer;)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glUniform1iv__IILjava_nio_IntBuffer_2
(JNIEnv *, jobject, jint, jint, jobject);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glUniform1iv
* Signature: (II[II)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glUniform1iv__II_3II
(JNIEnv *, jobject, jint, jint, jintArray, jint);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glUniform2f
* Signature: (IFF)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glUniform2f
(JNIEnv *, jobject, jint, jfloat, jfloat);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glUniform2fv
* Signature: (IILjava/nio/FloatBuffer;)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glUniform2fv__IILjava_nio_FloatBuffer_2
(JNIEnv *, jobject, jint, jint, jobject);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glUniform2fv
* Signature: (II[FI)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glUniform2fv__II_3FI
(JNIEnv *, jobject, jint, jint, jfloatArray, jint);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glUniform2i
* Signature: (III)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glUniform2i
(JNIEnv *, jobject, jint, jint, jint);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glUniform2iv
* Signature: (IILjava/nio/IntBuffer;)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glUniform2iv__IILjava_nio_IntBuffer_2
(JNIEnv *, jobject, jint, jint, jobject);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glUniform2iv
* Signature: (II[II)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glUniform2iv__II_3II
(JNIEnv *, jobject, jint, jint, jintArray, jint);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glUniform3f
* Signature: (IFFF)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glUniform3f
(JNIEnv *, jobject, jint, jfloat, jfloat, jfloat);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glUniform3fv
* Signature: (IILjava/nio/FloatBuffer;)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glUniform3fv__IILjava_nio_FloatBuffer_2
(JNIEnv *, jobject, jint, jint, jobject);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glUniform3fv
* Signature: (II[FI)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glUniform3fv__II_3FI
(JNIEnv *, jobject, jint, jint, jfloatArray, jint);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glUniform3i
* Signature: (IIII)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glUniform3i
(JNIEnv *, jobject, jint, jint, jint, jint);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glUniform3iv
* Signature: (IILjava/nio/IntBuffer;)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glUniform3iv__IILjava_nio_IntBuffer_2
(JNIEnv *, jobject, jint, jint, jobject);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glUniform3iv
* Signature: (II[II)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glUniform3iv__II_3II
(JNIEnv *, jobject, jint, jint, jintArray, jint);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glUniform4f
* Signature: (IFFFF)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glUniform4f
(JNIEnv *, jobject, jint, jfloat, jfloat, jfloat, jfloat);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glUniform4fv
* Signature: (IILjava/nio/FloatBuffer;)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glUniform4fv__IILjava_nio_FloatBuffer_2
(JNIEnv *, jobject, jint, jint, jobject);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glUniform4fv
* Signature: (II[FI)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glUniform4fv__II_3FI
(JNIEnv *, jobject, jint, jint, jfloatArray, jint);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glUniform4i
* Signature: (IIIII)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glUniform4i
(JNIEnv *, jobject, jint, jint, jint, jint, jint);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glUniform4iv
* Signature: (IILjava/nio/IntBuffer;)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glUniform4iv__IILjava_nio_IntBuffer_2
(JNIEnv *, jobject, jint, jint, jobject);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glUniform4iv
* Signature: (II[II)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glUniform4iv__II_3II
(JNIEnv *, jobject, jint, jint, jintArray, jint);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glUniformMatrix2fv
* Signature: (IIZLjava/nio/FloatBuffer;)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glUniformMatrix2fv__IIZLjava_nio_FloatBuffer_2
(JNIEnv *, jobject, jint, jint, jboolean, jobject);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glUniformMatrix2fv
* Signature: (IIZ[FI)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glUniformMatrix2fv__IIZ_3FI
(JNIEnv *, jobject, jint, jint, jboolean, jfloatArray, jint);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glUniformMatrix3fv
* Signature: (IIZLjava/nio/FloatBuffer;)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glUniformMatrix3fv__IIZLjava_nio_FloatBuffer_2
(JNIEnv *, jobject, jint, jint, jboolean, jobject);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glUniformMatrix3fv
* Signature: (IIZ[FI)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glUniformMatrix3fv__IIZ_3FI
(JNIEnv *, jobject, jint, jint, jboolean, jfloatArray, jint);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glUniformMatrix4fv
* Signature: (IIZLjava/nio/FloatBuffer;)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glUniformMatrix4fv__IIZLjava_nio_FloatBuffer_2
(JNIEnv *, jobject, jint, jint, jboolean, jobject);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glUniformMatrix4fv
* Signature: (IIZ[FI)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glUniformMatrix4fv__IIZ_3FI
(JNIEnv *, jobject, jint, jint, jboolean, jfloatArray, jint);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glUseProgram
* Signature: (I)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glUseProgram
(JNIEnv *, jobject, jint);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glValidateProgram
* Signature: (I)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glValidateProgram
(JNIEnv *, jobject, jint);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glVertexAttrib1f
* Signature: (IF)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glVertexAttrib1f
(JNIEnv *, jobject, jint, jfloat);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glVertexAttrib1fv
* Signature: (ILjava/nio/FloatBuffer;)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glVertexAttrib1fv
(JNIEnv *, jobject, jint, jobject);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glVertexAttrib2f
* Signature: (IFF)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glVertexAttrib2f
(JNIEnv *, jobject, jint, jfloat, jfloat);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glVertexAttrib2fv
* Signature: (ILjava/nio/FloatBuffer;)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glVertexAttrib2fv
(JNIEnv *, jobject, jint, jobject);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glVertexAttrib3f
* Signature: (IFFF)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glVertexAttrib3f
(JNIEnv *, jobject, jint, jfloat, jfloat, jfloat);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glVertexAttrib3fv
* Signature: (ILjava/nio/FloatBuffer;)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glVertexAttrib3fv
(JNIEnv *, jobject, jint, jobject);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glVertexAttrib4f
* Signature: (IFFFF)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glVertexAttrib4f
(JNIEnv *, jobject, jint, jfloat, jfloat, jfloat, jfloat);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glVertexAttrib4fv
* Signature: (ILjava/nio/FloatBuffer;)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glVertexAttrib4fv
(JNIEnv *, jobject, jint, jobject);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glVertexAttribPointer
* Signature: (IIIZILjava/nio/Buffer;)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glVertexAttribPointer__IIIZILjava_nio_Buffer_2
(JNIEnv *, jobject, jint, jint, jint, jboolean, jint, jobject);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glVertexAttribPointer
* Signature: (IIIZII)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glVertexAttribPointer__IIIZII
(JNIEnv *, jobject, jint, jint, jint, jboolean, jint, jint);
/*
* Class: com_badlogic_gdx_backends_iosrobovm_IOSGLES20
* Method: glViewportJni
* Signature: (IIII)V
*/
JNIEXPORT void JNICALL Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES20_glViewportJni
(JNIEnv *, jobject, jint, jint, jint, jint);
#ifdef __cplusplus
}
#endif
#endif
| -1 |
libgdx/libgdx | 7,276 | Fixed scene2d.ui layout for fractional positions and sizes. | When "rounding" for UI layout, floor x/y and ceil width/height.
For example if a label has a fractional width like 123.4, rounding a Container's width gives 123 and the label won't fit.
Table already does this, so I'm pretty sure it's the right thing to do in all other layouts. If others can please check this doesn't negatively affect their apps, that would be great! | NathanSweet | "2023-11-10T17:05:20Z" | "2023-11-13T03:27:53Z" | 5368811323eb4ac9c9167a73fc6910e42fcb425d | 8e3b2ef2af2e1c1765b3441cb15cfbeddf4046fa | Fixed scene2d.ui layout for fractional positions and sizes.. When "rounding" for UI layout, floor x/y and ceil width/height.
For example if a label has a fractional width like 123.4, rounding a Container's width gives 123 and the label won't fit.
Table already does this, so I'm pretty sure it's the right thing to do in all other layouts. If others can please check this doesn't negatively affect their apps, that would be great! | ./extensions/gdx-bullet/jni/swig/dynamics/dynamics.i | %module(directors="1") Dynamics
%include "arrays_java.i"
%import "../collision/collision.i"
%include "../common/gdxCommon.i"
%include "../../swig-src/linearmath/classes.i"
%include "../../swig-src/collision/classes.i"
%ignore btSolverBody::getWorldTransform;
%ignore btSolverBody::setWorldTransform;
%ignore btSolverBody::getDeltaLinearVelocity;
%ignore btSolverBody::getDeltaAngularVelocity;
%ignore btSolverBody::getPushVelocity;
%ignore btSolverBody::getTurnVelocity;
%ignore btSequentialImpulseConstraintSolver::getSSE2ConstraintRowSolverGeneric();
%ignore btSequentialImpulseConstraintSolver::getSSE2ConstraintRowSolverLowerLimit();
%ignore btSequentialImpulseConstraintSolver::getSSE4_1ConstraintRowSolverGeneric();
%ignore btSequentialImpulseConstraintSolver::getSSE4_1ConstraintRowSolverLowerLimit();
%typemap(javaimports) SWIGTYPE %{
import com.badlogic.gdx.physics.bullet.BulletBase;
import com.badlogic.gdx.physics.bullet.linearmath.*;
import com.badlogic.gdx.physics.bullet.collision.*;
import com.badlogic.gdx.math.Vector3;
import com.badlogic.gdx.math.Quaternion;
import com.badlogic.gdx.math.Matrix3;
import com.badlogic.gdx.math.Matrix4;
%}
%pragma(java) jniclassimports=%{
import com.badlogic.gdx.physics.bullet.BulletBase;
import com.badlogic.gdx.physics.bullet.linearmath.*;
import com.badlogic.gdx.physics.bullet.collision.*;
import com.badlogic.gdx.math.Vector3;
import com.badlogic.gdx.math.Quaternion;
import com.badlogic.gdx.math.Matrix3;
import com.badlogic.gdx.math.Matrix4;
import com.badlogic.gdx.utils.Pool;
%}
%pragma(java) moduleimports=%{
import com.badlogic.gdx.physics.bullet.BulletBase;
import com.badlogic.gdx.physics.bullet.linearmath.*;
import com.badlogic.gdx.physics.bullet.collision.*;
import com.badlogic.gdx.math.Vector3;
import com.badlogic.gdx.math.Quaternion;
import com.badlogic.gdx.math.Matrix3;
import com.badlogic.gdx.math.Matrix4;
%}
%feature("director") InternalTickCallback;
%feature("director") CustomActionInterface;
%ignore CustomActionInterface::updateAction(btCollisionWorld*, btScalar);
%ignore CustomActionInterface::debugDraw(btIDebugDraw*);
%include "./btRigidBody.i"
%include "./btTypedConstraint.i"
%rename(getConstraintConst) btDynamicsWorld::getConstraint(int) const;
%rename(getSolverInfoConst) btDynamicsWorld::getSolverInfo() const;
%{
#include <BulletDynamics/Dynamics/btDynamicsWorld.h>
%}
%include "BulletDynamics/Dynamics/btDynamicsWorld.h"
%{
#include <gdx/dynamics/InternalTickCallback.h>
%}
%include "gdx/dynamics/InternalTickCallback.h"
%{
#include <BulletDynamics/Dynamics/btSimpleDynamicsWorld.h>
%}
%include "BulletDynamics/Dynamics/btSimpleDynamicsWorld.h"
%{
#include <BulletDynamics/Dynamics/btActionInterface.h>
%}
%include "BulletDynamics/Dynamics/btActionInterface.h"
%{
#include <gdx/dynamics/CustomActionInterface.h>
%}
%include "gdx/dynamics/CustomActionInterface.h"
%rename(getSimulationIslandManagerConst) btDiscreteDynamicsWorld::getSimulationIslandManager() const;
%{
#include <BulletDynamics/Dynamics/btDiscreteDynamicsWorld.h>
%}
%include "BulletDynamics/Dynamics/btDiscreteDynamicsWorld.h"
%{
#include <BulletDynamics/Character/btCharacterControllerInterface.h>
%}
%include "BulletDynamics/Character/btCharacterControllerInterface.h"
%{
#include <BulletDynamics/Character/btKinematicCharacterController.h>
%}
%include "BulletDynamics/Character/btKinematicCharacterController.h"
%{
#include <BulletDynamics/ConstraintSolver/btContactSolverInfo.h>
%}
%include "BulletDynamics/ConstraintSolver/btContactSolverInfo.h"
%{
#include <BulletDynamics/ConstraintSolver/btConstraintSolver.h>
%}
%include "BulletDynamics/ConstraintSolver/btConstraintSolver.h"
%{
#include <BulletDynamics/ConstraintSolver/btSequentialImpulseConstraintSolver.h>
%}
%include "BulletDynamics/ConstraintSolver/btSequentialImpulseConstraintSolver.h"
%{
#include <BulletDynamics/ConstraintSolver/btSolverBody.h>
%}
%include "BulletDynamics/ConstraintSolver/btSolverBody.h"
%rename(getFrameOffsetAConst) btSliderConstraint::getFrameOffsetA() const;
%rename(getFrameOffsetBConst) btSliderConstraint::getFrameOffsetB() const;
%{
#include <BulletDynamics/ConstraintSolver/btSliderConstraint.h>
%}
%include "BulletDynamics/ConstraintSolver/btSliderConstraint.h"
%{
#include <BulletDynamics/ConstraintSolver/btPoint2PointConstraint.h>
%}
%include "BulletDynamics/ConstraintSolver/btPoint2PointConstraint.h"
%{
#include <BulletDynamics/ConstraintSolver/btJacobianEntry.h>
%}
%include "BulletDynamics/ConstraintSolver/btJacobianEntry.h"
%{
#include <BulletDynamics/ConstraintSolver/btSolve2LinearConstraint.h>
%}
%include "BulletDynamics/ConstraintSolver/btSolve2LinearConstraint.h"
%rename(getFrameOffsetAConst) btGeneric6DofConstraint::getFrameOffsetA() const;
%rename(getFrameOffsetBConst) btGeneric6DofConstraint::getFrameOffsetB() const;
%{
#include <BulletDynamics/ConstraintSolver/btGeneric6DofConstraint.h>
%}
%include "BulletDynamics/ConstraintSolver/btGeneric6DofConstraint.h"
%{
#include <BulletDynamics/ConstraintSolver/btUniversalConstraint.h>
%}
%include "BulletDynamics/ConstraintSolver/btUniversalConstraint.h"
%rename(getContactManifoldConst) btContactConstraint::getContactManifold() const;
%{
#include <BulletDynamics/ConstraintSolver/btContactConstraint.h>
%}
%include "BulletDynamics/ConstraintSolver/btContactConstraint.h"
%{
#include <BulletDynamics/ConstraintSolver/btConeTwistConstraint.h>
%}
%include "BulletDynamics/ConstraintSolver/btConeTwistConstraint.h"
%{
#include <BulletDynamics/ConstraintSolver/btGeneric6DofSpringConstraint.h>
%}
%include "BulletDynamics/ConstraintSolver/btGeneric6DofSpringConstraint.h"
%rename(getFrameOffsetAConst) btGeneric6DofSpring2Constraint::getFrameOffsetA() const;
%rename(getFrameOffsetBConst) btGeneric6DofSpring2Constraint::getFrameOffsetB() const;
%{
#include <BulletDynamics/ConstraintSolver/btGeneric6DofSpring2Constraint.h>
%}
%include "BulletDynamics/ConstraintSolver/btGeneric6DofSpring2Constraint.h"
%rename(getAFrameConst) btHingeConstraint::getAFrame() const;
%rename(getBFrameConst) btHingeConstraint::getBFrame() const;
%{
#include <BulletDynamics/ConstraintSolver/btHingeConstraint.h>
%}
%include "BulletDynamics/ConstraintSolver/btHingeConstraint.h"
%{
#include <BulletDynamics/ConstraintSolver/btSolverConstraint.h>
%}
%include "BulletDynamics/ConstraintSolver/btSolverConstraint.h"
%{
#include <BulletDynamics/ConstraintSolver/btHinge2Constraint.h>
%}
%include "BulletDynamics/ConstraintSolver/btHinge2Constraint.h"
%{
#include <BulletDynamics/ConstraintSolver/btFixedConstraint.h>
%}
%include "BulletDynamics/ConstraintSolver/btFixedConstraint.h"
%{
#include <BulletDynamics/Vehicle/btVehicleRaycaster.h>
%}
%include "BulletDynamics/Vehicle/btVehicleRaycaster.h"
// NOTE: btWheelInfo doesnt have a ctor but is required, this must be manually added.
%{
#include <BulletDynamics/Vehicle/btWheelInfo.h>
%}
%include "BulletDynamics/Vehicle/btWheelInfo.h"
%include "./btRaycastVehicle.i"
%{
#include <gdx/dynamics/FilterableVehicleRaycaster.h>
%}
%include "gdx/dynamics/FilterableVehicleRaycaster.h"
%{
#include <BulletDynamics/ConstraintSolver/btGearConstraint.h>
%}
%include "BulletDynamics/ConstraintSolver/btGearConstraint.h"
%{
#include <BulletDynamics/ConstraintSolver/btNNCGConstraintSolver.h>
%}
%include "BulletDynamics/ConstraintSolver/btNNCGConstraintSolver.h"
%{
#include <BulletDynamics/Dynamics/btDiscreteDynamicsWorldMt.h>
%}
%include "BulletDynamics/Dynamics/btDiscreteDynamicsWorldMt.h"
%{
#include <BulletDynamics/Dynamics/btSimulationIslandManagerMt.h>
%}
%include "BulletDynamics/Dynamics/btSimulationIslandManagerMt.h"
%rename(getLinkConst) btMultiBody::getLink(int) const;
%rename(getBaseColliderConst) btMultiBody::getBaseCollider() const;
%rename(getJointVelMultiDofConst) btMultiBody::getJointVelMultiDof(int) const;
%rename(getJointPosMultiDofConst) btMultiBody::getJointPosMultiDof(int) const;
%{
#include <BulletDynamics/Featherstone/btMultiBody.h>
%}
%include "BulletDynamics/Featherstone/btMultiBody.h"
%rename(jacobianAConst) btMultiBodyConstraint::jacobianA(int) const;
%rename(jacobianBConst) btMultiBodyConstraint::jacobianB(int) const;
%{
#include <BulletDynamics/Featherstone/btMultiBodyConstraint.h>
%}
%include "BulletDynamics/Featherstone/btMultiBodyConstraint.h"
%{
#include <BulletDynamics/Featherstone/btMultiBodyGearConstraint.h>
%}
%include "BulletDynamics/Featherstone/btMultiBodyGearConstraint.h"
%{
#include <BulletDynamics/Featherstone/btMultiBodyConstraintSolver.h>
%}
%include "BulletDynamics/Featherstone/btMultiBodyConstraintSolver.h"
%rename(getMultiBodyConstraintConst) btMultiBodyDynamicsWorld::getMultiBodyConstraint(int) const;
%rename(getMultiBodyConst) btMultiBodyDynamicsWorld::getMultiBody(int) const;
%{
#include <BulletDynamics/Featherstone/btMultiBodyDynamicsWorld.h>
%}
%include "BulletDynamics/Featherstone/btMultiBodyDynamicsWorld.h"
%{
#include <BulletDynamics/Featherstone/btMultiBodyFixedConstraint.h>
%}
%include "BulletDynamics/Featherstone/btMultiBodyFixedConstraint.h"
%{
#include <BulletDynamics/Featherstone/btMultiBodyJointFeedback.h>
%}
%include "BulletDynamics/Featherstone/btMultiBodyJointFeedback.h"
%{
#include <BulletDynamics/Featherstone/btMultiBodyJointLimitConstraint.h>
%}
%include "BulletDynamics/Featherstone/btMultiBodyJointLimitConstraint.h"
%{
#include <BulletDynamics/Featherstone/btMultiBodyJointMotor.h>
%}
%include "BulletDynamics/Featherstone/btMultiBodyJointMotor.h"
%immutable btMultibodyLink::m_linkName;
%immutable btMultibodyLink::m_jointName;
%{
#include <BulletDynamics/Featherstone/btMultiBodyLink.h>
%}
%include "BulletDynamics/Featherstone/btMultiBodyLink.h"
%rename(upcastConstBtCollisionObject) btMultiBodyLinkCollider::upcast(btCollisionObject const *);
%{
#include <BulletDynamics/Featherstone/btMultiBodyLinkCollider.h>
%}
%include "BulletDynamics/Featherstone/btMultiBodyLinkCollider.h"
%{
#include <BulletDynamics/Featherstone/btMultiBodyPoint2Point.h>
%}
%include "BulletDynamics/Featherstone/btMultiBodyPoint2Point.h"
%{
#include <BulletDynamics/Featherstone/btMultiBodySliderConstraint.h>
%}
%include "BulletDynamics/Featherstone/btMultiBodySliderConstraint.h"
%{
#include <BulletDynamics/Featherstone/btMultiBodySolverConstraint.h>
%}
%include "BulletDynamics/Featherstone/btMultiBodySolverConstraint.h"
%{
#include <BulletDynamics/MLCPSolvers/btDantzigLCP.h>
%}
%include "BulletDynamics/MLCPSolvers/btDantzigLCP.h"
%{
#include <BulletDynamics/MLCPSolvers/btMLCPSolverInterface.h>
%}
%include "BulletDynamics/MLCPSolvers/btMLCPSolverInterface.h"
%{
#include <BulletDynamics/MLCPSolvers/btDantzigSolver.h>
%}
%include "BulletDynamics/MLCPSolvers/btDantzigSolver.h"
%{
#include <BulletDynamics/MLCPSolvers/btLemkeAlgorithm.h>
%}
%include "BulletDynamics/MLCPSolvers/btLemkeAlgorithm.h"
%{
#include <BulletDynamics/MLCPSolvers/btLemkeSolver.h>
%}
%include "BulletDynamics/MLCPSolvers/btLemkeSolver.h"
%{
#include <BulletDynamics/MLCPSolvers/btMLCPSolver.h>
%}
%include "BulletDynamics/MLCPSolvers/btMLCPSolver.h"
%{
#include <BulletDynamics/MLCPSolvers/btPATHSolver.h>
%}
%include "BulletDynamics/MLCPSolvers/btPATHSolver.h"
%{
#include <BulletDynamics/MLCPSolvers/btSolveProjectedGaussSeidel.h>
%}
%include "BulletDynamics/MLCPSolvers/btSolveProjectedGaussSeidel.h"
%{
#include <BulletDynamics/Vehicle/btRaycastVehicle.h>
%}
%include "BulletDynamics/Vehicle/btRaycastVehicle.h"
%{
#include <BulletDynamics/Vehicle/btVehicleRaycaster.h>
%}
%include "BulletDynamics/Vehicle/btVehicleRaycaster.h"
%{
#include <BulletDynamics/Vehicle/btWheelInfo.h>
%}
%include "BulletDynamics/Vehicle/btWheelInfo.h"
| %module(directors="1") Dynamics
%include "arrays_java.i"
%import "../collision/collision.i"
%include "../common/gdxCommon.i"
%include "../../swig-src/linearmath/classes.i"
%include "../../swig-src/collision/classes.i"
%ignore btSolverBody::getWorldTransform;
%ignore btSolverBody::setWorldTransform;
%ignore btSolverBody::getDeltaLinearVelocity;
%ignore btSolverBody::getDeltaAngularVelocity;
%ignore btSolverBody::getPushVelocity;
%ignore btSolverBody::getTurnVelocity;
%ignore btSequentialImpulseConstraintSolver::getSSE2ConstraintRowSolverGeneric();
%ignore btSequentialImpulseConstraintSolver::getSSE2ConstraintRowSolverLowerLimit();
%ignore btSequentialImpulseConstraintSolver::getSSE4_1ConstraintRowSolverGeneric();
%ignore btSequentialImpulseConstraintSolver::getSSE4_1ConstraintRowSolverLowerLimit();
%typemap(javaimports) SWIGTYPE %{
import com.badlogic.gdx.physics.bullet.BulletBase;
import com.badlogic.gdx.physics.bullet.linearmath.*;
import com.badlogic.gdx.physics.bullet.collision.*;
import com.badlogic.gdx.math.Vector3;
import com.badlogic.gdx.math.Quaternion;
import com.badlogic.gdx.math.Matrix3;
import com.badlogic.gdx.math.Matrix4;
%}
%pragma(java) jniclassimports=%{
import com.badlogic.gdx.physics.bullet.BulletBase;
import com.badlogic.gdx.physics.bullet.linearmath.*;
import com.badlogic.gdx.physics.bullet.collision.*;
import com.badlogic.gdx.math.Vector3;
import com.badlogic.gdx.math.Quaternion;
import com.badlogic.gdx.math.Matrix3;
import com.badlogic.gdx.math.Matrix4;
import com.badlogic.gdx.utils.Pool;
%}
%pragma(java) moduleimports=%{
import com.badlogic.gdx.physics.bullet.BulletBase;
import com.badlogic.gdx.physics.bullet.linearmath.*;
import com.badlogic.gdx.physics.bullet.collision.*;
import com.badlogic.gdx.math.Vector3;
import com.badlogic.gdx.math.Quaternion;
import com.badlogic.gdx.math.Matrix3;
import com.badlogic.gdx.math.Matrix4;
%}
%feature("director") InternalTickCallback;
%feature("director") CustomActionInterface;
%ignore CustomActionInterface::updateAction(btCollisionWorld*, btScalar);
%ignore CustomActionInterface::debugDraw(btIDebugDraw*);
%include "./btRigidBody.i"
%include "./btTypedConstraint.i"
%rename(getConstraintConst) btDynamicsWorld::getConstraint(int) const;
%rename(getSolverInfoConst) btDynamicsWorld::getSolverInfo() const;
%{
#include <BulletDynamics/Dynamics/btDynamicsWorld.h>
%}
%include "BulletDynamics/Dynamics/btDynamicsWorld.h"
%{
#include <gdx/dynamics/InternalTickCallback.h>
%}
%include "gdx/dynamics/InternalTickCallback.h"
%{
#include <BulletDynamics/Dynamics/btSimpleDynamicsWorld.h>
%}
%include "BulletDynamics/Dynamics/btSimpleDynamicsWorld.h"
%{
#include <BulletDynamics/Dynamics/btActionInterface.h>
%}
%include "BulletDynamics/Dynamics/btActionInterface.h"
%{
#include <gdx/dynamics/CustomActionInterface.h>
%}
%include "gdx/dynamics/CustomActionInterface.h"
%rename(getSimulationIslandManagerConst) btDiscreteDynamicsWorld::getSimulationIslandManager() const;
%{
#include <BulletDynamics/Dynamics/btDiscreteDynamicsWorld.h>
%}
%include "BulletDynamics/Dynamics/btDiscreteDynamicsWorld.h"
%{
#include <BulletDynamics/Character/btCharacterControllerInterface.h>
%}
%include "BulletDynamics/Character/btCharacterControllerInterface.h"
%{
#include <BulletDynamics/Character/btKinematicCharacterController.h>
%}
%include "BulletDynamics/Character/btKinematicCharacterController.h"
%{
#include <BulletDynamics/ConstraintSolver/btContactSolverInfo.h>
%}
%include "BulletDynamics/ConstraintSolver/btContactSolverInfo.h"
%{
#include <BulletDynamics/ConstraintSolver/btConstraintSolver.h>
%}
%include "BulletDynamics/ConstraintSolver/btConstraintSolver.h"
%{
#include <BulletDynamics/ConstraintSolver/btSequentialImpulseConstraintSolver.h>
%}
%include "BulletDynamics/ConstraintSolver/btSequentialImpulseConstraintSolver.h"
%{
#include <BulletDynamics/ConstraintSolver/btSolverBody.h>
%}
%include "BulletDynamics/ConstraintSolver/btSolverBody.h"
%rename(getFrameOffsetAConst) btSliderConstraint::getFrameOffsetA() const;
%rename(getFrameOffsetBConst) btSliderConstraint::getFrameOffsetB() const;
%{
#include <BulletDynamics/ConstraintSolver/btSliderConstraint.h>
%}
%include "BulletDynamics/ConstraintSolver/btSliderConstraint.h"
%{
#include <BulletDynamics/ConstraintSolver/btPoint2PointConstraint.h>
%}
%include "BulletDynamics/ConstraintSolver/btPoint2PointConstraint.h"
%{
#include <BulletDynamics/ConstraintSolver/btJacobianEntry.h>
%}
%include "BulletDynamics/ConstraintSolver/btJacobianEntry.h"
%{
#include <BulletDynamics/ConstraintSolver/btSolve2LinearConstraint.h>
%}
%include "BulletDynamics/ConstraintSolver/btSolve2LinearConstraint.h"
%rename(getFrameOffsetAConst) btGeneric6DofConstraint::getFrameOffsetA() const;
%rename(getFrameOffsetBConst) btGeneric6DofConstraint::getFrameOffsetB() const;
%{
#include <BulletDynamics/ConstraintSolver/btGeneric6DofConstraint.h>
%}
%include "BulletDynamics/ConstraintSolver/btGeneric6DofConstraint.h"
%{
#include <BulletDynamics/ConstraintSolver/btUniversalConstraint.h>
%}
%include "BulletDynamics/ConstraintSolver/btUniversalConstraint.h"
%rename(getContactManifoldConst) btContactConstraint::getContactManifold() const;
%{
#include <BulletDynamics/ConstraintSolver/btContactConstraint.h>
%}
%include "BulletDynamics/ConstraintSolver/btContactConstraint.h"
%{
#include <BulletDynamics/ConstraintSolver/btConeTwistConstraint.h>
%}
%include "BulletDynamics/ConstraintSolver/btConeTwistConstraint.h"
%{
#include <BulletDynamics/ConstraintSolver/btGeneric6DofSpringConstraint.h>
%}
%include "BulletDynamics/ConstraintSolver/btGeneric6DofSpringConstraint.h"
%rename(getFrameOffsetAConst) btGeneric6DofSpring2Constraint::getFrameOffsetA() const;
%rename(getFrameOffsetBConst) btGeneric6DofSpring2Constraint::getFrameOffsetB() const;
%{
#include <BulletDynamics/ConstraintSolver/btGeneric6DofSpring2Constraint.h>
%}
%include "BulletDynamics/ConstraintSolver/btGeneric6DofSpring2Constraint.h"
%rename(getAFrameConst) btHingeConstraint::getAFrame() const;
%rename(getBFrameConst) btHingeConstraint::getBFrame() const;
%{
#include <BulletDynamics/ConstraintSolver/btHingeConstraint.h>
%}
%include "BulletDynamics/ConstraintSolver/btHingeConstraint.h"
%{
#include <BulletDynamics/ConstraintSolver/btSolverConstraint.h>
%}
%include "BulletDynamics/ConstraintSolver/btSolverConstraint.h"
%{
#include <BulletDynamics/ConstraintSolver/btHinge2Constraint.h>
%}
%include "BulletDynamics/ConstraintSolver/btHinge2Constraint.h"
%{
#include <BulletDynamics/ConstraintSolver/btFixedConstraint.h>
%}
%include "BulletDynamics/ConstraintSolver/btFixedConstraint.h"
%{
#include <BulletDynamics/Vehicle/btVehicleRaycaster.h>
%}
%include "BulletDynamics/Vehicle/btVehicleRaycaster.h"
// NOTE: btWheelInfo doesnt have a ctor but is required, this must be manually added.
%{
#include <BulletDynamics/Vehicle/btWheelInfo.h>
%}
%include "BulletDynamics/Vehicle/btWheelInfo.h"
%include "./btRaycastVehicle.i"
%{
#include <gdx/dynamics/FilterableVehicleRaycaster.h>
%}
%include "gdx/dynamics/FilterableVehicleRaycaster.h"
%{
#include <BulletDynamics/ConstraintSolver/btGearConstraint.h>
%}
%include "BulletDynamics/ConstraintSolver/btGearConstraint.h"
%{
#include <BulletDynamics/ConstraintSolver/btNNCGConstraintSolver.h>
%}
%include "BulletDynamics/ConstraintSolver/btNNCGConstraintSolver.h"
%{
#include <BulletDynamics/Dynamics/btDiscreteDynamicsWorldMt.h>
%}
%include "BulletDynamics/Dynamics/btDiscreteDynamicsWorldMt.h"
%{
#include <BulletDynamics/Dynamics/btSimulationIslandManagerMt.h>
%}
%include "BulletDynamics/Dynamics/btSimulationIslandManagerMt.h"
%rename(getLinkConst) btMultiBody::getLink(int) const;
%rename(getBaseColliderConst) btMultiBody::getBaseCollider() const;
%rename(getJointVelMultiDofConst) btMultiBody::getJointVelMultiDof(int) const;
%rename(getJointPosMultiDofConst) btMultiBody::getJointPosMultiDof(int) const;
%{
#include <BulletDynamics/Featherstone/btMultiBody.h>
%}
%include "BulletDynamics/Featherstone/btMultiBody.h"
%rename(jacobianAConst) btMultiBodyConstraint::jacobianA(int) const;
%rename(jacobianBConst) btMultiBodyConstraint::jacobianB(int) const;
%{
#include <BulletDynamics/Featherstone/btMultiBodyConstraint.h>
%}
%include "BulletDynamics/Featherstone/btMultiBodyConstraint.h"
%{
#include <BulletDynamics/Featherstone/btMultiBodyGearConstraint.h>
%}
%include "BulletDynamics/Featherstone/btMultiBodyGearConstraint.h"
%{
#include <BulletDynamics/Featherstone/btMultiBodyConstraintSolver.h>
%}
%include "BulletDynamics/Featherstone/btMultiBodyConstraintSolver.h"
%rename(getMultiBodyConstraintConst) btMultiBodyDynamicsWorld::getMultiBodyConstraint(int) const;
%rename(getMultiBodyConst) btMultiBodyDynamicsWorld::getMultiBody(int) const;
%{
#include <BulletDynamics/Featherstone/btMultiBodyDynamicsWorld.h>
%}
%include "BulletDynamics/Featherstone/btMultiBodyDynamicsWorld.h"
%{
#include <BulletDynamics/Featherstone/btMultiBodyFixedConstraint.h>
%}
%include "BulletDynamics/Featherstone/btMultiBodyFixedConstraint.h"
%{
#include <BulletDynamics/Featherstone/btMultiBodyJointFeedback.h>
%}
%include "BulletDynamics/Featherstone/btMultiBodyJointFeedback.h"
%{
#include <BulletDynamics/Featherstone/btMultiBodyJointLimitConstraint.h>
%}
%include "BulletDynamics/Featherstone/btMultiBodyJointLimitConstraint.h"
%{
#include <BulletDynamics/Featherstone/btMultiBodyJointMotor.h>
%}
%include "BulletDynamics/Featherstone/btMultiBodyJointMotor.h"
%immutable btMultibodyLink::m_linkName;
%immutable btMultibodyLink::m_jointName;
%{
#include <BulletDynamics/Featherstone/btMultiBodyLink.h>
%}
%include "BulletDynamics/Featherstone/btMultiBodyLink.h"
%rename(upcastConstBtCollisionObject) btMultiBodyLinkCollider::upcast(btCollisionObject const *);
%{
#include <BulletDynamics/Featherstone/btMultiBodyLinkCollider.h>
%}
%include "BulletDynamics/Featherstone/btMultiBodyLinkCollider.h"
%{
#include <BulletDynamics/Featherstone/btMultiBodyPoint2Point.h>
%}
%include "BulletDynamics/Featherstone/btMultiBodyPoint2Point.h"
%{
#include <BulletDynamics/Featherstone/btMultiBodySliderConstraint.h>
%}
%include "BulletDynamics/Featherstone/btMultiBodySliderConstraint.h"
%{
#include <BulletDynamics/Featherstone/btMultiBodySolverConstraint.h>
%}
%include "BulletDynamics/Featherstone/btMultiBodySolverConstraint.h"
%{
#include <BulletDynamics/MLCPSolvers/btDantzigLCP.h>
%}
%include "BulletDynamics/MLCPSolvers/btDantzigLCP.h"
%{
#include <BulletDynamics/MLCPSolvers/btMLCPSolverInterface.h>
%}
%include "BulletDynamics/MLCPSolvers/btMLCPSolverInterface.h"
%{
#include <BulletDynamics/MLCPSolvers/btDantzigSolver.h>
%}
%include "BulletDynamics/MLCPSolvers/btDantzigSolver.h"
%{
#include <BulletDynamics/MLCPSolvers/btLemkeAlgorithm.h>
%}
%include "BulletDynamics/MLCPSolvers/btLemkeAlgorithm.h"
%{
#include <BulletDynamics/MLCPSolvers/btLemkeSolver.h>
%}
%include "BulletDynamics/MLCPSolvers/btLemkeSolver.h"
%{
#include <BulletDynamics/MLCPSolvers/btMLCPSolver.h>
%}
%include "BulletDynamics/MLCPSolvers/btMLCPSolver.h"
%{
#include <BulletDynamics/MLCPSolvers/btPATHSolver.h>
%}
%include "BulletDynamics/MLCPSolvers/btPATHSolver.h"
%{
#include <BulletDynamics/MLCPSolvers/btSolveProjectedGaussSeidel.h>
%}
%include "BulletDynamics/MLCPSolvers/btSolveProjectedGaussSeidel.h"
%{
#include <BulletDynamics/Vehicle/btRaycastVehicle.h>
%}
%include "BulletDynamics/Vehicle/btRaycastVehicle.h"
%{
#include <BulletDynamics/Vehicle/btVehicleRaycaster.h>
%}
%include "BulletDynamics/Vehicle/btVehicleRaycaster.h"
%{
#include <BulletDynamics/Vehicle/btWheelInfo.h>
%}
%include "BulletDynamics/Vehicle/btWheelInfo.h"
| -1 |
libgdx/libgdx | 7,276 | Fixed scene2d.ui layout for fractional positions and sizes. | When "rounding" for UI layout, floor x/y and ceil width/height.
For example if a label has a fractional width like 123.4, rounding a Container's width gives 123 and the label won't fit.
Table already does this, so I'm pretty sure it's the right thing to do in all other layouts. If others can please check this doesn't negatively affect their apps, that would be great! | NathanSweet | "2023-11-10T17:05:20Z" | "2023-11-13T03:27:53Z" | 5368811323eb4ac9c9167a73fc6910e42fcb425d | 8e3b2ef2af2e1c1765b3441cb15cfbeddf4046fa | Fixed scene2d.ui layout for fractional positions and sizes.. When "rounding" for UI layout, floor x/y and ceil width/height.
For example if a label has a fractional width like 123.4, rounding a Container's width gives 123 and the label won't fit.
Table already does this, so I'm pretty sure it's the right thing to do in all other layouts. If others can please check this doesn't negatively affect their apps, that would be great! | ./extensions/gdx-bullet/jni/swig-src/collision/com/badlogic/gdx/physics/bullet/collision/btConvexHullShape.java | /* ----------------------------------------------------------------------------
* 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.collision;
import com.badlogic.gdx.physics.bullet.linearmath.*;
import com.badlogic.gdx.math.Vector3;
public class btConvexHullShape extends btPolyhedralConvexAabbCachingShape {
private long swigCPtr;
protected btConvexHullShape (final String className, long cPtr, boolean cMemoryOwn) {
super(className, CollisionJNI.btConvexHullShape_SWIGUpcast(cPtr), cMemoryOwn);
swigCPtr = cPtr;
}
/** Construct a new btConvexHullShape, normally you should not need this constructor it's intended for low-level usage. */
public btConvexHullShape (long cPtr, boolean cMemoryOwn) {
this("btConvexHullShape", cPtr, cMemoryOwn);
construct();
}
@Override
protected void reset (long cPtr, boolean cMemoryOwn) {
if (!destroyed) destroy();
super.reset(CollisionJNI.btConvexHullShape_SWIGUpcast(swigCPtr = cPtr), cMemoryOwn);
}
public static long getCPtr (btConvexHullShape 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;
CollisionJNI.delete_btConvexHullShape(swigCPtr);
}
swigCPtr = 0;
}
super.delete();
}
public long operatorNew (long sizeInBytes) {
return CollisionJNI.btConvexHullShape_operatorNew__SWIG_0(swigCPtr, this, sizeInBytes);
}
public void operatorDelete (long ptr) {
CollisionJNI.btConvexHullShape_operatorDelete__SWIG_0(swigCPtr, this, ptr);
}
public long operatorNew (long arg0, long ptr) {
return CollisionJNI.btConvexHullShape_operatorNew__SWIG_1(swigCPtr, this, arg0, ptr);
}
public void operatorDelete (long arg0, long arg1) {
CollisionJNI.btConvexHullShape_operatorDelete__SWIG_1(swigCPtr, this, arg0, arg1);
}
public long operatorNewArray (long sizeInBytes) {
return CollisionJNI.btConvexHullShape_operatorNewArray__SWIG_0(swigCPtr, this, sizeInBytes);
}
public void operatorDeleteArray (long ptr) {
CollisionJNI.btConvexHullShape_operatorDeleteArray__SWIG_0(swigCPtr, this, ptr);
}
public long operatorNewArray (long arg0, long ptr) {
return CollisionJNI.btConvexHullShape_operatorNewArray__SWIG_1(swigCPtr, this, arg0, ptr);
}
public void operatorDeleteArray (long arg0, long arg1) {
CollisionJNI.btConvexHullShape_operatorDeleteArray__SWIG_1(swigCPtr, this, arg0, arg1);
}
static private long SwigConstructbtConvexHullShape (java.nio.FloatBuffer points, int numPoints, int stride) {
assert points.isDirect() : "Buffer must be allocated direct.";
return CollisionJNI.new_btConvexHullShape__SWIG_0(points, numPoints, stride);
}
public btConvexHullShape (java.nio.FloatBuffer points, int numPoints, int stride) {
this(btConvexHullShape.SwigConstructbtConvexHullShape(points, numPoints, stride), true);
}
static private long SwigConstructbtConvexHullShape (java.nio.FloatBuffer points, int numPoints) {
assert points.isDirect() : "Buffer must be allocated direct.";
return CollisionJNI.new_btConvexHullShape__SWIG_1(points, numPoints);
}
public btConvexHullShape (java.nio.FloatBuffer points, int numPoints) {
this(btConvexHullShape.SwigConstructbtConvexHullShape(points, numPoints), true);
}
static private long SwigConstructbtConvexHullShape (java.nio.FloatBuffer points) {
assert points.isDirect() : "Buffer must be allocated direct.";
return CollisionJNI.new_btConvexHullShape__SWIG_2(points);
}
public btConvexHullShape (java.nio.FloatBuffer points) {
this(btConvexHullShape.SwigConstructbtConvexHullShape(points), true);
}
public btConvexHullShape () {
this(CollisionJNI.new_btConvexHullShape__SWIG_3(), true);
}
public void addPoint (Vector3 point, boolean recalculateLocalAabb) {
CollisionJNI.btConvexHullShape_addPoint__SWIG_0(swigCPtr, this, point, recalculateLocalAabb);
}
public void addPoint (Vector3 point) {
CollisionJNI.btConvexHullShape_addPoint__SWIG_1(swigCPtr, this, point);
}
public btVector3 getUnscaledPoints () {
long cPtr = CollisionJNI.btConvexHullShape_getUnscaledPoints(swigCPtr, this);
return (cPtr == 0) ? null : new btVector3(cPtr, false);
}
public btVector3 getUnscaledPointsConst () {
long cPtr = CollisionJNI.btConvexHullShape_getUnscaledPointsConst(swigCPtr, this);
return (cPtr == 0) ? null : new btVector3(cPtr, false);
}
public btVector3 getPoints () {
long cPtr = CollisionJNI.btConvexHullShape_getPoints(swigCPtr, this);
return (cPtr == 0) ? null : new btVector3(cPtr, false);
}
public void optimizeConvexHull () {
CollisionJNI.btConvexHullShape_optimizeConvexHull(swigCPtr, this);
}
public Vector3 getScaledPoint (int i) {
return CollisionJNI.btConvexHullShape_getScaledPoint(swigCPtr, this, i);
}
public int getNumPoints () {
return CollisionJNI.btConvexHullShape_getNumPoints(swigCPtr, this);
}
public btConvexHullShape (btShapeHull hull) {
this(CollisionJNI.new_btConvexHullShape__SWIG_4(btShapeHull.getCPtr(hull), hull), true);
}
}
| /* ----------------------------------------------------------------------------
* 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.collision;
import com.badlogic.gdx.physics.bullet.linearmath.*;
import com.badlogic.gdx.math.Vector3;
public class btConvexHullShape extends btPolyhedralConvexAabbCachingShape {
private long swigCPtr;
protected btConvexHullShape (final String className, long cPtr, boolean cMemoryOwn) {
super(className, CollisionJNI.btConvexHullShape_SWIGUpcast(cPtr), cMemoryOwn);
swigCPtr = cPtr;
}
/** Construct a new btConvexHullShape, normally you should not need this constructor it's intended for low-level usage. */
public btConvexHullShape (long cPtr, boolean cMemoryOwn) {
this("btConvexHullShape", cPtr, cMemoryOwn);
construct();
}
@Override
protected void reset (long cPtr, boolean cMemoryOwn) {
if (!destroyed) destroy();
super.reset(CollisionJNI.btConvexHullShape_SWIGUpcast(swigCPtr = cPtr), cMemoryOwn);
}
public static long getCPtr (btConvexHullShape 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;
CollisionJNI.delete_btConvexHullShape(swigCPtr);
}
swigCPtr = 0;
}
super.delete();
}
public long operatorNew (long sizeInBytes) {
return CollisionJNI.btConvexHullShape_operatorNew__SWIG_0(swigCPtr, this, sizeInBytes);
}
public void operatorDelete (long ptr) {
CollisionJNI.btConvexHullShape_operatorDelete__SWIG_0(swigCPtr, this, ptr);
}
public long operatorNew (long arg0, long ptr) {
return CollisionJNI.btConvexHullShape_operatorNew__SWIG_1(swigCPtr, this, arg0, ptr);
}
public void operatorDelete (long arg0, long arg1) {
CollisionJNI.btConvexHullShape_operatorDelete__SWIG_1(swigCPtr, this, arg0, arg1);
}
public long operatorNewArray (long sizeInBytes) {
return CollisionJNI.btConvexHullShape_operatorNewArray__SWIG_0(swigCPtr, this, sizeInBytes);
}
public void operatorDeleteArray (long ptr) {
CollisionJNI.btConvexHullShape_operatorDeleteArray__SWIG_0(swigCPtr, this, ptr);
}
public long operatorNewArray (long arg0, long ptr) {
return CollisionJNI.btConvexHullShape_operatorNewArray__SWIG_1(swigCPtr, this, arg0, ptr);
}
public void operatorDeleteArray (long arg0, long arg1) {
CollisionJNI.btConvexHullShape_operatorDeleteArray__SWIG_1(swigCPtr, this, arg0, arg1);
}
static private long SwigConstructbtConvexHullShape (java.nio.FloatBuffer points, int numPoints, int stride) {
assert points.isDirect() : "Buffer must be allocated direct.";
return CollisionJNI.new_btConvexHullShape__SWIG_0(points, numPoints, stride);
}
public btConvexHullShape (java.nio.FloatBuffer points, int numPoints, int stride) {
this(btConvexHullShape.SwigConstructbtConvexHullShape(points, numPoints, stride), true);
}
static private long SwigConstructbtConvexHullShape (java.nio.FloatBuffer points, int numPoints) {
assert points.isDirect() : "Buffer must be allocated direct.";
return CollisionJNI.new_btConvexHullShape__SWIG_1(points, numPoints);
}
public btConvexHullShape (java.nio.FloatBuffer points, int numPoints) {
this(btConvexHullShape.SwigConstructbtConvexHullShape(points, numPoints), true);
}
static private long SwigConstructbtConvexHullShape (java.nio.FloatBuffer points) {
assert points.isDirect() : "Buffer must be allocated direct.";
return CollisionJNI.new_btConvexHullShape__SWIG_2(points);
}
public btConvexHullShape (java.nio.FloatBuffer points) {
this(btConvexHullShape.SwigConstructbtConvexHullShape(points), true);
}
public btConvexHullShape () {
this(CollisionJNI.new_btConvexHullShape__SWIG_3(), true);
}
public void addPoint (Vector3 point, boolean recalculateLocalAabb) {
CollisionJNI.btConvexHullShape_addPoint__SWIG_0(swigCPtr, this, point, recalculateLocalAabb);
}
public void addPoint (Vector3 point) {
CollisionJNI.btConvexHullShape_addPoint__SWIG_1(swigCPtr, this, point);
}
public btVector3 getUnscaledPoints () {
long cPtr = CollisionJNI.btConvexHullShape_getUnscaledPoints(swigCPtr, this);
return (cPtr == 0) ? null : new btVector3(cPtr, false);
}
public btVector3 getUnscaledPointsConst () {
long cPtr = CollisionJNI.btConvexHullShape_getUnscaledPointsConst(swigCPtr, this);
return (cPtr == 0) ? null : new btVector3(cPtr, false);
}
public btVector3 getPoints () {
long cPtr = CollisionJNI.btConvexHullShape_getPoints(swigCPtr, this);
return (cPtr == 0) ? null : new btVector3(cPtr, false);
}
public void optimizeConvexHull () {
CollisionJNI.btConvexHullShape_optimizeConvexHull(swigCPtr, this);
}
public Vector3 getScaledPoint (int i) {
return CollisionJNI.btConvexHullShape_getScaledPoint(swigCPtr, this, i);
}
public int getNumPoints () {
return CollisionJNI.btConvexHullShape_getNumPoints(swigCPtr, this);
}
public btConvexHullShape (btShapeHull hull) {
this(CollisionJNI.new_btConvexHullShape__SWIG_4(btShapeHull.getCPtr(hull), hull), true);
}
}
| -1 |
libgdx/libgdx | 7,276 | Fixed scene2d.ui layout for fractional positions and sizes. | When "rounding" for UI layout, floor x/y and ceil width/height.
For example if a label has a fractional width like 123.4, rounding a Container's width gives 123 and the label won't fit.
Table already does this, so I'm pretty sure it's the right thing to do in all other layouts. If others can please check this doesn't negatively affect their apps, that would be great! | NathanSweet | "2023-11-10T17:05:20Z" | "2023-11-13T03:27:53Z" | 5368811323eb4ac9c9167a73fc6910e42fcb425d | 8e3b2ef2af2e1c1765b3441cb15cfbeddf4046fa | Fixed scene2d.ui layout for fractional positions and sizes.. When "rounding" for UI layout, floor x/y and ceil width/height.
For example if a label has a fractional width like 123.4, rounding a Container's width gives 123 and the label won't fit.
Table already does this, so I'm pretty sure it's the right thing to do in all other layouts. If others can please check this doesn't negatively affect their apps, that would be great! | ./extensions/gdx-box2d/gdx-box2d-gwt/src/com/badlogic/gdx/physics/box2d/gwt/emu/org/jbox2d/pooling/IOrderedStack.java | /*******************************************************************************
* Copyright (c) 2013, Daniel Murphy
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following conditions are met:
* * Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* * Redistributions in binary form must reproduce the above copyright notice,
* this list of conditions and the following disclaimer in the documentation
* and/or other materials provided with the distribution.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
* IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
* INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
* NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
* PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
* WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
******************************************************************************/
package org.jbox2d.pooling;
/** This stack assumes that when you push 'n' items back, you're pushing back the last 'n' items popped.
* @author Daniel
*
* @param <E> */
public interface IOrderedStack<E> {
/** Returns the next object in the pool
* @return */
public E pop ();
/** Returns the next 'argNum' objects in the pool in an array
* @param argNum
* @return an array containing the next pool objects in items 0-argNum. Array length and uniqueness not guaranteed. */
public E[] pop (int argNum);
/** Tells the stack to take back the last 'argNum' items
* @param argNum */
public void push (int argNum);
}
| /*******************************************************************************
* Copyright (c) 2013, Daniel Murphy
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following conditions are met:
* * Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* * Redistributions in binary form must reproduce the above copyright notice,
* this list of conditions and the following disclaimer in the documentation
* and/or other materials provided with the distribution.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
* IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
* INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
* NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
* PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
* WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
******************************************************************************/
package org.jbox2d.pooling;
/** This stack assumes that when you push 'n' items back, you're pushing back the last 'n' items popped.
* @author Daniel
*
* @param <E> */
public interface IOrderedStack<E> {
/** Returns the next object in the pool
* @return */
public E pop ();
/** Returns the next 'argNum' objects in the pool in an array
* @param argNum
* @return an array containing the next pool objects in items 0-argNum. Array length and uniqueness not guaranteed. */
public E[] pop (int argNum);
/** Tells the stack to take back the last 'argNum' items
* @param argNum */
public void push (int argNum);
}
| -1 |
libgdx/libgdx | 7,276 | Fixed scene2d.ui layout for fractional positions and sizes. | When "rounding" for UI layout, floor x/y and ceil width/height.
For example if a label has a fractional width like 123.4, rounding a Container's width gives 123 and the label won't fit.
Table already does this, so I'm pretty sure it's the right thing to do in all other layouts. If others can please check this doesn't negatively affect their apps, that would be great! | NathanSweet | "2023-11-10T17:05:20Z" | "2023-11-13T03:27:53Z" | 5368811323eb4ac9c9167a73fc6910e42fcb425d | 8e3b2ef2af2e1c1765b3441cb15cfbeddf4046fa | Fixed scene2d.ui layout for fractional positions and sizes.. When "rounding" for UI layout, floor x/y and ceil width/height.
For example if a label has a fractional width like 123.4, rounding a Container's width gives 123 and the label won't fit.
Table already does this, so I'm pretty sure it's the right thing to do in all other layouts. If others can please check this doesn't negatively affect their apps, that would be great! | ./tests/gdx-tests/src/com/badlogic/gdx/tests/PolygonSpriteTest.java | /*******************************************************************************
* Copyright 2011 See AUTHORS file.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
******************************************************************************/
package com.badlogic.gdx.tests;
import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.graphics.Color;
import com.badlogic.gdx.graphics.OrthographicCamera;
import com.badlogic.gdx.graphics.Texture;
import com.badlogic.gdx.graphics.g2d.PolygonRegion;
import com.badlogic.gdx.graphics.g2d.PolygonRegionLoader;
import com.badlogic.gdx.graphics.g2d.PolygonSprite;
import com.badlogic.gdx.graphics.g2d.PolygonSpriteBatch;
import com.badlogic.gdx.graphics.g2d.TextureRegion;
import com.badlogic.gdx.graphics.glutils.ShapeRenderer;
import com.badlogic.gdx.graphics.glutils.ShapeRenderer.ShapeType;
import com.badlogic.gdx.math.MathUtils;
import com.badlogic.gdx.math.Rectangle;
import com.badlogic.gdx.tests.utils.GdxTest;
import com.badlogic.gdx.utils.Array;
import com.badlogic.gdx.utils.ScreenUtils;
public class PolygonSpriteTest extends GdxTest {
PolygonSpriteBatch batch;
ShapeRenderer renderer;
Texture texture;
OrthographicCamera camera;
PolygonRegion region;
Rectangle bounds;
Array<PolygonSprite> sprites = new Array<PolygonSprite>();
@Override
public void create () {
texture = new Texture(Gdx.files.internal("data/tree.png"));
PolygonRegionLoader loader = new PolygonRegionLoader();
region = loader.load(new TextureRegion(texture), Gdx.files.internal("data/tree.psh"));
renderer = new ShapeRenderer();
camera = new OrthographicCamera(480, 320);
camera.position.x = 240;
camera.position.y = 160;
camera.update();
batch = new PolygonSpriteBatch();
for (int i = 0; i < 50; i++) {
PolygonSprite sprite = new PolygonSprite(region);
sprite.setPosition(MathUtils.random(-30, 440), MathUtils.random(-30, 290));
sprite.setColor(MathUtils.random(), MathUtils.random(), MathUtils.random(), 1.0f);
sprite.setScale(MathUtils.random(0.5f, 1.5f), MathUtils.random(0.5f, 1.5f));
sprites.add(sprite);
}
}
@Override
public void render () {
ScreenUtils.clear(0.2f, 0.2f, 0.2f, 1f);
camera.update();
batch.setProjectionMatrix(camera.combined);
batch.begin();
for (int i = 0; i < sprites.size; i++) {
PolygonSprite sprite = sprites.get(i);
sprite.rotate(45 * Gdx.graphics.getDeltaTime());
sprite.translateX(10 * Gdx.graphics.getDeltaTime());
if (sprite.getX() > 450) sprite.setX(-50);
sprite.draw(batch);
}
batch.end();
// Some debug rendering, bounding box & origin of one sprite
renderer.setProjectionMatrix(camera.combined);
renderer.setColor(Color.GREEN);
renderer.begin(ShapeType.Line);
PolygonSprite sprite = sprites.get(49);
bounds = sprite.getBoundingRectangle();
renderer.rect(bounds.x, bounds.y, bounds.width, bounds.height);
renderer.end();
renderer.begin(ShapeType.Filled);
renderer.circle(sprite.getX() + sprite.getOriginX(), sprite.getY() + sprite.getOriginY(), 4);
renderer.end();
}
@Override
public void dispose () {
texture.dispose();
batch.dispose();
}
}
| /*******************************************************************************
* Copyright 2011 See AUTHORS file.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
******************************************************************************/
package com.badlogic.gdx.tests;
import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.graphics.Color;
import com.badlogic.gdx.graphics.OrthographicCamera;
import com.badlogic.gdx.graphics.Texture;
import com.badlogic.gdx.graphics.g2d.PolygonRegion;
import com.badlogic.gdx.graphics.g2d.PolygonRegionLoader;
import com.badlogic.gdx.graphics.g2d.PolygonSprite;
import com.badlogic.gdx.graphics.g2d.PolygonSpriteBatch;
import com.badlogic.gdx.graphics.g2d.TextureRegion;
import com.badlogic.gdx.graphics.glutils.ShapeRenderer;
import com.badlogic.gdx.graphics.glutils.ShapeRenderer.ShapeType;
import com.badlogic.gdx.math.MathUtils;
import com.badlogic.gdx.math.Rectangle;
import com.badlogic.gdx.tests.utils.GdxTest;
import com.badlogic.gdx.utils.Array;
import com.badlogic.gdx.utils.ScreenUtils;
public class PolygonSpriteTest extends GdxTest {
PolygonSpriteBatch batch;
ShapeRenderer renderer;
Texture texture;
OrthographicCamera camera;
PolygonRegion region;
Rectangle bounds;
Array<PolygonSprite> sprites = new Array<PolygonSprite>();
@Override
public void create () {
texture = new Texture(Gdx.files.internal("data/tree.png"));
PolygonRegionLoader loader = new PolygonRegionLoader();
region = loader.load(new TextureRegion(texture), Gdx.files.internal("data/tree.psh"));
renderer = new ShapeRenderer();
camera = new OrthographicCamera(480, 320);
camera.position.x = 240;
camera.position.y = 160;
camera.update();
batch = new PolygonSpriteBatch();
for (int i = 0; i < 50; i++) {
PolygonSprite sprite = new PolygonSprite(region);
sprite.setPosition(MathUtils.random(-30, 440), MathUtils.random(-30, 290));
sprite.setColor(MathUtils.random(), MathUtils.random(), MathUtils.random(), 1.0f);
sprite.setScale(MathUtils.random(0.5f, 1.5f), MathUtils.random(0.5f, 1.5f));
sprites.add(sprite);
}
}
@Override
public void render () {
ScreenUtils.clear(0.2f, 0.2f, 0.2f, 1f);
camera.update();
batch.setProjectionMatrix(camera.combined);
batch.begin();
for (int i = 0; i < sprites.size; i++) {
PolygonSprite sprite = sprites.get(i);
sprite.rotate(45 * Gdx.graphics.getDeltaTime());
sprite.translateX(10 * Gdx.graphics.getDeltaTime());
if (sprite.getX() > 450) sprite.setX(-50);
sprite.draw(batch);
}
batch.end();
// Some debug rendering, bounding box & origin of one sprite
renderer.setProjectionMatrix(camera.combined);
renderer.setColor(Color.GREEN);
renderer.begin(ShapeType.Line);
PolygonSprite sprite = sprites.get(49);
bounds = sprite.getBoundingRectangle();
renderer.rect(bounds.x, bounds.y, bounds.width, bounds.height);
renderer.end();
renderer.begin(ShapeType.Filled);
renderer.circle(sprite.getX() + sprite.getOriginX(), sprite.getY() + sprite.getOriginY(), 4);
renderer.end();
}
@Override
public void dispose () {
texture.dispose();
batch.dispose();
}
}
| -1 |
libgdx/libgdx | 7,276 | Fixed scene2d.ui layout for fractional positions and sizes. | When "rounding" for UI layout, floor x/y and ceil width/height.
For example if a label has a fractional width like 123.4, rounding a Container's width gives 123 and the label won't fit.
Table already does this, so I'm pretty sure it's the right thing to do in all other layouts. If others can please check this doesn't negatively affect their apps, that would be great! | NathanSweet | "2023-11-10T17:05:20Z" | "2023-11-13T03:27:53Z" | 5368811323eb4ac9c9167a73fc6910e42fcb425d | 8e3b2ef2af2e1c1765b3441cb15cfbeddf4046fa | Fixed scene2d.ui layout for fractional positions and sizes.. When "rounding" for UI layout, floor x/y and ceil width/height.
For example if a label has a fractional width like 123.4, rounding a Container's width gives 123 and the label won't fit.
Table already does this, so I'm pretty sure it's the right thing to do in all other layouts. If others can please check this doesn't negatively affect their apps, that would be great! | ./tests/gdx-tests-android/assets/data/shaders/flattex-vert.glsl | attribute vec4 a_position;
attribute vec2 a_texCoord;
uniform mat4 u_projTrans;
varying vec2 v_texCoord;
void main() {
v_texCoord = a_texCoord;
gl_Position = u_projTrans * a_position;
} | attribute vec4 a_position;
attribute vec2 a_texCoord;
uniform mat4 u_projTrans;
varying vec2 v_texCoord;
void main() {
v_texCoord = a_texCoord;
gl_Position = u_projTrans * a_position;
} | -1 |
libgdx/libgdx | 7,276 | Fixed scene2d.ui layout for fractional positions and sizes. | When "rounding" for UI layout, floor x/y and ceil width/height.
For example if a label has a fractional width like 123.4, rounding a Container's width gives 123 and the label won't fit.
Table already does this, so I'm pretty sure it's the right thing to do in all other layouts. If others can please check this doesn't negatively affect their apps, that would be great! | NathanSweet | "2023-11-10T17:05:20Z" | "2023-11-13T03:27:53Z" | 5368811323eb4ac9c9167a73fc6910e42fcb425d | 8e3b2ef2af2e1c1765b3441cb15cfbeddf4046fa | Fixed scene2d.ui layout for fractional positions and sizes.. When "rounding" for UI layout, floor x/y and ceil width/height.
For example if a label has a fractional width like 123.4, rounding a Container's width gives 123 and the label won't fit.
Table already does this, so I'm pretty sure it's the right thing to do in all other layouts. If others can please check this doesn't negatively affect their apps, that would be great! | ./extensions/gdx-bullet/jni/src/bullet/BulletCollision/Gimpact/btContactProcessing.h | #ifndef BT_CONTACT_H_INCLUDED
#define BT_CONTACT_H_INCLUDED
/*! \file gim_contact.h
\author Francisco Leon Najera
*/
/*
This source file is part of GIMPACT Library.
For the latest info, see http://gimpact.sourceforge.net/
Copyright (c) 2007 Francisco Leon Najera. C.C. 80087371.
email: projectileman@yahoo.com
This software is provided 'as-is', without any express or implied warranty.
In no event will the authors be held liable for any damages arising from the use of this software.
Permission is granted to anyone to use this software for any purpose,
including commercial applications, and to alter it and redistribute it freely,
subject to the following restrictions:
1. The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment in the product documentation would be appreciated but is not required.
2. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software.
3. This notice may not be removed or altered from any source distribution.
*/
#include "LinearMath/btTransform.h"
#include "LinearMath/btAlignedObjectArray.h"
#include "btTriangleShapeEx.h"
#include "btContactProcessingStructs.h"
class btContactArray:public btAlignedObjectArray<GIM_CONTACT>
{
public:
btContactArray()
{
reserve(64);
}
SIMD_FORCE_INLINE void push_contact(
const btVector3 &point,const btVector3 & normal,
btScalar depth, int feature1, int feature2)
{
push_back( GIM_CONTACT(point,normal,depth,feature1,feature2) );
}
SIMD_FORCE_INLINE void push_triangle_contacts(
const GIM_TRIANGLE_CONTACT & tricontact,
int feature1,int feature2)
{
for(int i = 0;i<tricontact.m_point_count ;i++ )
{
push_contact(
tricontact.m_points[i],
tricontact.m_separating_normal,
tricontact.m_penetration_depth,feature1,feature2);
}
}
void merge_contacts(const btContactArray & contacts, bool normal_contact_average = true);
void merge_contacts_unique(const btContactArray & contacts);
};
#endif // GIM_CONTACT_H_INCLUDED
| #ifndef BT_CONTACT_H_INCLUDED
#define BT_CONTACT_H_INCLUDED
/*! \file gim_contact.h
\author Francisco Leon Najera
*/
/*
This source file is part of GIMPACT Library.
For the latest info, see http://gimpact.sourceforge.net/
Copyright (c) 2007 Francisco Leon Najera. C.C. 80087371.
email: projectileman@yahoo.com
This software is provided 'as-is', without any express or implied warranty.
In no event will the authors be held liable for any damages arising from the use of this software.
Permission is granted to anyone to use this software for any purpose,
including commercial applications, and to alter it and redistribute it freely,
subject to the following restrictions:
1. The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment in the product documentation would be appreciated but is not required.
2. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software.
3. This notice may not be removed or altered from any source distribution.
*/
#include "LinearMath/btTransform.h"
#include "LinearMath/btAlignedObjectArray.h"
#include "btTriangleShapeEx.h"
#include "btContactProcessingStructs.h"
class btContactArray:public btAlignedObjectArray<GIM_CONTACT>
{
public:
btContactArray()
{
reserve(64);
}
SIMD_FORCE_INLINE void push_contact(
const btVector3 &point,const btVector3 & normal,
btScalar depth, int feature1, int feature2)
{
push_back( GIM_CONTACT(point,normal,depth,feature1,feature2) );
}
SIMD_FORCE_INLINE void push_triangle_contacts(
const GIM_TRIANGLE_CONTACT & tricontact,
int feature1,int feature2)
{
for(int i = 0;i<tricontact.m_point_count ;i++ )
{
push_contact(
tricontact.m_points[i],
tricontact.m_separating_normal,
tricontact.m_penetration_depth,feature1,feature2);
}
}
void merge_contacts(const btContactArray & contacts, bool normal_contact_average = true);
void merge_contacts_unique(const btContactArray & contacts);
};
#endif // GIM_CONTACT_H_INCLUDED
| -1 |
libgdx/libgdx | 7,270 | Update missing build.gradle files with new syntax for registering tasks | Some Gradle build files were still using old syntax after https://github.com/libgdx/libgdx/pull/7134.
| obigu | "2023-11-05T15:31:03Z" | "2023-11-13T11:04:33Z" | 8e3b2ef2af2e1c1765b3441cb15cfbeddf4046fa | a25ceaddd8e9ea740b7e50e486ea4f815d2a3f58 | Update missing build.gradle files with new syntax for registering tasks. Some Gradle build files were still using old syntax after https://github.com/libgdx/libgdx/pull/7134.
| ./backends/gdx-backend-robovm-metalangle/build.gradle | /*******************************************************************************
* Copyright 2011 See AUTHORS file.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
******************************************************************************/
import org.gradle.internal.os.OperatingSystem
sourceSets {
generator {
java {
srcDir 'generator'
}
resources {
srcDir 'generator'
}
}
main {
java {
srcDir 'src'
}
resources {
srcDir 'res'
}
}
}
configurations {
generatorCompile.extendsFrom testCompile
generatorRuntime.extendsFrom testRuntime
}
configurations { generator }
dependencies {
api libraries.robovm
generatorImplementation 'com.github.javaparser:javaparser-core:3.24.2'
}
task generate(type: JavaExec) {
dependsOn configurations.generator
mainClass = 'JavaCodeGenerator'
classpath = sourceSets.generator.runtimeClasspath
inputs.dir '../gdx-backend-robovm/src/'
outputs.dir 'src/'
}
task fetchMetalANGLE(type: Download) {
doFirst {
file("build/tmp").mkdirs();
}
src 'https://github.com/kakashidinho/metalangle/releases/download/gles3-0.0.8/MetalANGLE.framework.ios.zip'
dest 'build/tmp/MetalANGLE.framework.ios.zip'
onlyIfModified true
useETag "all"
}
task fetchMetalANGLESimulator(type: Download) {
doFirst {
file("build/tmp").mkdirs();
}
src 'https://github.com/kakashidinho/metalangle/releases/download/gles3-0.0.8/MetalANGLE.framework.ios.simulator.zip'
dest 'build/tmp/MetalANGLE.framework.ios.simulator.zip'
onlyIfModified true
useETag "all"
}
task verifyMetalANGLE(dependsOn: fetchMetalANGLE, type: Verify) {
src 'build/tmp/MetalANGLE.framework.ios.zip'
algorithm 'SHA-256'
checksum '9b6e7c82d41749266200ed19bb184c4f47df63c4dcde0972186ea557de623018'
}
task verifyMetalANGLESimulator(dependsOn: fetchMetalANGLESimulator, type: Verify) {
src 'build/tmp/MetalANGLE.framework.ios.simulator.zip'
algorithm 'SHA-256'
checksum '63ff063bf7825e2da9a01eda981067eb4eacd42e202c86f448541d2c5bd564a9'
}
task extractMetalANGLE(dependsOn: verifyMetalANGLE, type: Copy) {
doFirst {
file("build/tmp/real").mkdirs();
}
from zipTree('build/tmp/MetalANGLE.framework.ios.zip')
into 'build/tmp/real'
}
task extractMetalANGLESimulator(dependsOn: verifyMetalANGLESimulator, type: Copy) {
doFirst {
file("build/tmp/sim").mkdirs();
}
from zipTree('build/tmp/MetalANGLE.framework.ios.simulator.zip')
into 'build/tmp/sim'
}
task buildMetalANGLE(dependsOn: [
extractMetalANGLE,
extractMetalANGLESimulator
], type: Exec) {
doFirst {
delete("res/META-INF/robovm/ios/libs/MetalANGLE.xcframework")
file("res/META-INF/robovm/ios/libs").mkdirs();
}
commandLine 'xcodebuild', '-create-xcframework', '-framework', 'build/tmp/real/MetalANGLE.framework', '-framework', 'build/tmp/sim/MetalANGLE.framework', '-output', 'res/META-INF/robovm/ios/libs/MetalANGLE.xcframework'
standardOutput = new ByteArrayOutputStream()
ext.output = {
return standardOutput.toString()
}
inputs.dir 'build/tmp/real/MetalANGLE.framework'
inputs.dir 'build/tmp/sim/MetalANGLE.framework'
outputs.dir 'res/META-INF/robovm/ios/libs/MetalANGLE.xcframework'
}
task jnigenBuildIOS(dependsOn: buildMetalANGLE) {
}
task jnigenBuild() {
}
//Dummy task to make compatible with publish
task jnigen() {
}
if(OperatingSystem.current() == OperatingSystem.MAC_OS) {
jnigenBuild.dependsOn jnigenBuildIOS
}
processResources.duplicatesStrategy = DuplicatesStrategy.EXCLUDE
sourcesJar.duplicatesStrategy = DuplicatesStrategy.EXCLUDE
| /*******************************************************************************
* Copyright 2011 See AUTHORS file.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
******************************************************************************/
import org.gradle.internal.os.OperatingSystem
sourceSets {
generator {
java {
srcDir 'generator'
}
resources {
srcDir 'generator'
}
}
main {
java {
srcDir 'src'
}
resources {
srcDir 'res'
}
}
}
configurations {
generatorCompile.extendsFrom testCompile
generatorRuntime.extendsFrom testRuntime
}
configurations { generator }
dependencies {
api libraries.robovm
generatorImplementation 'com.github.javaparser:javaparser-core:3.24.2'
}
tasks.register('generate', JavaExec) {
dependsOn configurations.generator
mainClass = 'JavaCodeGenerator'
classpath = sourceSets.generator.runtimeClasspath
inputs.dir '../gdx-backend-robovm/src/'
outputs.dir 'src/'
}
tasks.register('fetchMetalANGLE', Download) {
doFirst {
file("build/tmp").mkdirs();
}
src 'https://github.com/kakashidinho/metalangle/releases/download/gles3-0.0.8/MetalANGLE.framework.ios.zip'
dest 'build/tmp/MetalANGLE.framework.ios.zip'
onlyIfModified true
useETag "all"
}
tasks.register('fetchMetalANGLESimulator', Download) {
doFirst {
file("build/tmp").mkdirs();
}
src 'https://github.com/kakashidinho/metalangle/releases/download/gles3-0.0.8/MetalANGLE.framework.ios.simulator.zip'
dest 'build/tmp/MetalANGLE.framework.ios.simulator.zip'
onlyIfModified true
useETag "all"
}
tasks.register('verifyMetalANGLE', Verify) {
dependsOn fetchMetalANGLE
src 'build/tmp/MetalANGLE.framework.ios.zip'
algorithm 'SHA-256'
checksum '9b6e7c82d41749266200ed19bb184c4f47df63c4dcde0972186ea557de623018'
}
tasks.register('verifyMetalANGLESimulator', Verify) {
dependsOn fetchMetalANGLESimulator
src 'build/tmp/MetalANGLE.framework.ios.simulator.zip'
algorithm 'SHA-256'
checksum '63ff063bf7825e2da9a01eda981067eb4eacd42e202c86f448541d2c5bd564a9'
}
tasks.register('extractMetalANGLE', Copy) {
dependsOn verifyMetalANGLE
doFirst {
file("build/tmp/real").mkdirs();
}
from zipTree('build/tmp/MetalANGLE.framework.ios.zip')
into 'build/tmp/real'
}
tasks.register('extractMetalANGLESimulator', Copy) {
dependsOn verifyMetalANGLESimulator
doFirst {
file("build/tmp/sim").mkdirs();
}
from zipTree('build/tmp/MetalANGLE.framework.ios.simulator.zip')
into 'build/tmp/sim'
}
tasks.register('buildMetalANGLE', Exec) {
dependsOn extractMetalANGLE, extractMetalANGLESimulator
doFirst {
delete("res/META-INF/robovm/ios/libs/MetalANGLE.xcframework")
file("res/META-INF/robovm/ios/libs").mkdirs();
}
commandLine 'xcodebuild', '-create-xcframework', '-framework', 'build/tmp/real/MetalANGLE.framework', '-framework', 'build/tmp/sim/MetalANGLE.framework', '-output', 'res/META-INF/robovm/ios/libs/MetalANGLE.xcframework'
standardOutput = new ByteArrayOutputStream()
ext.output = {
return standardOutput.toString()
}
inputs.dir 'build/tmp/real/MetalANGLE.framework'
inputs.dir 'build/tmp/sim/MetalANGLE.framework'
outputs.dir 'res/META-INF/robovm/ios/libs/MetalANGLE.xcframework'
}
tasks.register('jnigenBuildIOS') {
dependsOn buildMetalANGLE
}
tasks.register('jnigenBuild') {
}
//Dummy task to make compatible with publish
tasks.register('jnigen') {
}
if(OperatingSystem.current() == OperatingSystem.MAC_OS) {
jnigenBuild.dependsOn jnigenBuildIOS
}
processResources.duplicatesStrategy = DuplicatesStrategy.EXCLUDE
sourcesJar.duplicatesStrategy = DuplicatesStrategy.EXCLUDE
| 1 |
libgdx/libgdx | 7,270 | Update missing build.gradle files with new syntax for registering tasks | Some Gradle build files were still using old syntax after https://github.com/libgdx/libgdx/pull/7134.
| obigu | "2023-11-05T15:31:03Z" | "2023-11-13T11:04:33Z" | 8e3b2ef2af2e1c1765b3441cb15cfbeddf4046fa | a25ceaddd8e9ea740b7e50e486ea4f815d2a3f58 | Update missing build.gradle files with new syntax for registering tasks. Some Gradle build files were still using old syntax after https://github.com/libgdx/libgdx/pull/7134.
| ./build.gradle | /*******************************************************************************
* Copyright 2011 See AUTHORS file.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
******************************************************************************/
buildscript {
apply from: "gradle/dependencies.gradle"
repositories {
mavenCentral()
gradlePluginPortal()
}
dependencies {
classpath "com.diffplug.spotless:spotless-plugin-gradle:${versions.spotless}"
classpath "com.badlogicgames.gdx:gdx-jnigen-gradle:2.4.1"
}
}
plugins {
id "de.undercouch.download" version "5.0.1"
}
apply from: "gradle/dependencies.gradle"
ext {
isReleaseBuild = {
return project.hasProperty("RELEASE")
}
getReleaseRepositoryUrl = {
return project.hasProperty('RELEASE_REPOSITORY_URL') ? RELEASE_REPOSITORY_URL
: "https://oss.sonatype.org/service/local/staging/deploy/maven2/"
}
getSnapshotRepositoryUrl = {
return project.hasProperty('SNAPSHOT_REPOSITORY_URL') ? SNAPSHOT_REPOSITORY_URL
: "https://oss.sonatype.org/content/repositories/snapshots/"
}
getRepositoryUsername = {
return project.hasProperty('MAVEN_USERNAME') ? MAVEN_USERNAME : ""
}
getRepositoryPassword = {
return project.hasProperty('MAVEN_PASSWORD') ? MAVEN_PASSWORD : ""
}
}
allprojects {
group = 'com.badlogicgames.gdx'
version = project.getProperty('version') + (isReleaseBuild() ? "" : "-SNAPSHOT")
buildscript {
repositories {
google()
mavenLocal()
mavenCentral()
gradlePluginPortal()
maven { url "https://oss.sonatype.org/content/repositories/snapshots/" }
maven { url "https://oss.sonatype.org/content/repositories/releases/" }
}
}
repositories {
google()
mavenLocal()
mavenCentral()
gradlePluginPortal()
maven { url "https://oss.sonatype.org/content/repositories/snapshots/" }
maven { url "https://oss.sonatype.org/content/repositories/releases/" }
}
tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
}
tasks.withType(Javadoc) {
options.encoding = 'UTF-8'
options.addBooleanOption('use', true);
}
tasks.withType(Test) {
systemProperty 'file.encoding', 'UTF-8'
}
if (JavaVersion.current().isJava8Compatible()) {
tasks.withType(Javadoc) {
options.addStringOption('Xdoclint:none,-missing', '-quiet')
}
}
if (JavaVersion.current().isJava9Compatible()) {
tasks.withType(Javadoc) {
options.addStringOption("-release", "8");
}
}
apply plugin: "com.diffplug.spotless"
spotless {
lineEndings 'UNIX'
java {
target 'src/**/*.java', 'test/**/*.java', 'generator/**/*.java'
removeUnusedImports()
eclipse().configFile new File(rootProject.projectDir.absolutePath, 'eclipse-formatter.xml')
}
groovyGradle {
target '*.gradle'
greclipse().configFile new File(rootProject.projectDir.absolutePath, 'eclipse-formatter.xml')
}
}
}
configure(subprojects - project(":tests:gdx-tests-android") - project(":backends:gdx-backend-android")) {
apply plugin: "java-library"
compileJava {
options.fork = true
options.incremental = true
}
java {
withJavadocJar()
withSourcesJar()
}
}
configure(subprojects - project(":backends") - project(":extensions") - project(":tests") - project(":extensions:gdx-box2d-parent")) {
apply plugin: "idea"
apply plugin: "eclipse"
//This has to be done in afterEvaluate due to java/android plugin dependency
afterEvaluate {
eclipse {
project {
//hide gradle build folders from eclipse
resourceFilter {
appliesTo = 'FOLDERS'
type = 'EXCLUDE_ALL'
matcher {
id = 'org.eclipse.ui.ide.multiFilter'
arguments = '1.0-projectRelativePath-matches-true-false-build'
}
}
}
jdt {
file {
withProperties { properties ->
def libgdxJdtProperties = new Properties()
libgdxJdtProperties.load(new FileInputStream(".settings/org.eclipse.jdt.libgdx.prefs"))
properties.putAll(libgdxJdtProperties)
}
}
}
classpath.file {
whenMerged { classpath ->
classpath.entries.findAll { entry -> entry.kind == 'lib' || entry.kind == 'src' }*.exported = true
}
}
}
//Set all projects to use UTF-8 file encoding for all files
eclipseJdt.doLast {
File f = new File(projectDir, '.settings/org.eclipse.core.resources.prefs')
f.write('eclipse.preferences.version=1\n')
f.append('encoding/<project>=UTF-8')
}
}
}
task setupExternalNativesDirs() {
doLast {
file("build").mkdir();
file("extensions/gdx-lwjgl3-angle/res").mkdirs();
file("extensions/gdx-lwjgl3-glfw-awt-macos/res/macosx64").mkdirs();
file("extensions/gdx-lwjgl3-glfw-awt-macos/res/macosarm64").mkdirs();
}
outputs.upToDateWhen { false }
}
task fetchAngleNativesZIP(dependsOn: setupExternalNativesDirs, type: Download) {
src 'https://raw.githubusercontent.com/libgdx/gdx-angle-natives/master/gdx-angle-natives.zip'
dest 'build/gdx-angle-natives.zip'
onlyIfModified true
useETag "all"
}
task fetchGlfwAWT(dependsOn: setupExternalNativesDirs, type: Download) {
src 'https://raw.githubusercontent.com/badlogic/glfw/master/libglfw.dylib'
dest 'extensions/gdx-lwjgl3-glfw-awt-macos/res/macosx64/libglfw.dylib'
onlyIfModified true
useETag "all"
}
task fetchGlfwAWTARM64(dependsOn: setupExternalNativesDirs, type: Download) {
src 'https://raw.githubusercontent.com/badlogic/glfw/master/libglfwarm64.dylib'
dest 'extensions/gdx-lwjgl3-glfw-awt-macos/res/macosarm64/libglfwarm64.dylib'
onlyIfModified true
useETag "all"
}
task fetchExternalNatives(dependsOn: [
fetchAngleNativesZIP,
fetchGlfwAWT,
fetchGlfwAWTARM64
] , type: Copy) {
from zipTree("build/gdx-angle-natives.zip")
into "./extensions/gdx-lwjgl3-angle/res"
outputs.upToDateWhen { false }
}
task fetchGdxNativesZIP(dependsOn: fetchExternalNatives, type: Download) {
src "https://libgdx-nightlies.s3.eu-central-1.amazonaws.com/libgdx-nightlies/natives.zip"
dest "build/natives.zip"
onlyIfModified true
useETag "all"
}
task fetchNatives(dependsOn: fetchGdxNativesZIP, type: Copy) {
from zipTree("build/natives.zip")
into "."
outputs.upToDateWhen { false }
}
apply from: rootProject.file('publish.gradle')
if(rootProject.file('override.gradle').exists())
apply from: rootProject.file('override.gradle')
apply from: "gradle/dist.gradle"
| /*******************************************************************************
* Copyright 2011 See AUTHORS file.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
******************************************************************************/
buildscript {
apply from: "gradle/dependencies.gradle"
repositories {
mavenCentral()
gradlePluginPortal()
}
dependencies {
classpath "com.diffplug.spotless:spotless-plugin-gradle:${versions.spotless}"
classpath "com.badlogicgames.gdx:gdx-jnigen-gradle:2.4.1"
}
}
plugins {
id "de.undercouch.download" version "5.0.1"
}
apply from: "gradle/dependencies.gradle"
ext {
isReleaseBuild = {
return project.hasProperty("RELEASE")
}
getReleaseRepositoryUrl = {
return project.hasProperty('RELEASE_REPOSITORY_URL') ? RELEASE_REPOSITORY_URL
: "https://oss.sonatype.org/service/local/staging/deploy/maven2/"
}
getSnapshotRepositoryUrl = {
return project.hasProperty('SNAPSHOT_REPOSITORY_URL') ? SNAPSHOT_REPOSITORY_URL
: "https://oss.sonatype.org/content/repositories/snapshots/"
}
getRepositoryUsername = {
return project.hasProperty('MAVEN_USERNAME') ? MAVEN_USERNAME : ""
}
getRepositoryPassword = {
return project.hasProperty('MAVEN_PASSWORD') ? MAVEN_PASSWORD : ""
}
}
allprojects {
group = 'com.badlogicgames.gdx'
version = project.getProperty('version') + (isReleaseBuild() ? "" : "-SNAPSHOT")
buildscript {
repositories {
google()
mavenLocal()
mavenCentral()
gradlePluginPortal()
maven { url "https://oss.sonatype.org/content/repositories/snapshots/" }
maven { url "https://oss.sonatype.org/content/repositories/releases/" }
}
}
repositories {
google()
mavenLocal()
mavenCentral()
gradlePluginPortal()
maven { url "https://oss.sonatype.org/content/repositories/snapshots/" }
maven { url "https://oss.sonatype.org/content/repositories/releases/" }
}
tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
}
tasks.withType(Javadoc) {
options.encoding = 'UTF-8'
options.addBooleanOption('use', true);
}
tasks.withType(Test) {
systemProperty 'file.encoding', 'UTF-8'
}
if (JavaVersion.current().isJava8Compatible()) {
tasks.withType(Javadoc) {
options.addStringOption('Xdoclint:none,-missing', '-quiet')
}
}
if (JavaVersion.current().isJava9Compatible()) {
tasks.withType(Javadoc) {
options.addStringOption("-release", "8");
}
}
apply plugin: "com.diffplug.spotless"
spotless {
lineEndings 'UNIX'
java {
target 'src/**/*.java', 'test/**/*.java', 'generator/**/*.java'
removeUnusedImports()
eclipse().configFile new File(rootProject.projectDir.absolutePath, 'eclipse-formatter.xml')
}
groovyGradle {
target '*.gradle'
greclipse().configFile new File(rootProject.projectDir.absolutePath, 'eclipse-formatter.xml')
}
}
}
configure(subprojects - project(":tests:gdx-tests-android") - project(":backends:gdx-backend-android")) {
apply plugin: "java-library"
compileJava {
options.fork = true
options.incremental = true
}
java {
withJavadocJar()
withSourcesJar()
}
}
configure(subprojects - project(":backends") - project(":extensions") - project(":tests") - project(":extensions:gdx-box2d-parent")) {
apply plugin: "idea"
apply plugin: "eclipse"
//This has to be done in afterEvaluate due to java/android plugin dependency
afterEvaluate {
eclipse {
project {
//hide gradle build folders from eclipse
resourceFilter {
appliesTo = 'FOLDERS'
type = 'EXCLUDE_ALL'
matcher {
id = 'org.eclipse.ui.ide.multiFilter'
arguments = '1.0-projectRelativePath-matches-true-false-build'
}
}
}
jdt {
file {
withProperties { properties ->
def libgdxJdtProperties = new Properties()
libgdxJdtProperties.load(new FileInputStream(".settings/org.eclipse.jdt.libgdx.prefs"))
properties.putAll(libgdxJdtProperties)
}
}
}
classpath.file {
whenMerged { classpath ->
classpath.entries.findAll { entry -> entry.kind == 'lib' || entry.kind == 'src' }*.exported = true
}
}
}
//Set all projects to use UTF-8 file encoding for all files
eclipseJdt.doLast {
File f = new File(projectDir, '.settings/org.eclipse.core.resources.prefs')
f.write('eclipse.preferences.version=1\n')
f.append('encoding/<project>=UTF-8')
}
}
}
tasks.register('setupExternalNativesDirs') {
doLast {
file("build").mkdir();
file("extensions/gdx-lwjgl3-angle/res").mkdirs();
file("extensions/gdx-lwjgl3-glfw-awt-macos/res/macosx64").mkdirs();
file("extensions/gdx-lwjgl3-glfw-awt-macos/res/macosarm64").mkdirs();
}
doNotTrackState("Don't track state")
}
tasks.register('fetchAngleNativesZIP', Download) {
dependsOn setupExternalNativesDirs
src 'https://raw.githubusercontent.com/libgdx/gdx-angle-natives/master/gdx-angle-natives.zip'
dest 'build/gdx-angle-natives.zip'
onlyIfModified true
useETag "all"
}
tasks.register('fetchGlfwAWT', Download) {
dependsOn setupExternalNativesDirs
src 'https://raw.githubusercontent.com/badlogic/glfw/master/libglfw.dylib'
dest 'extensions/gdx-lwjgl3-glfw-awt-macos/res/macosx64/libglfw.dylib'
onlyIfModified true
useETag "all"
}
tasks.register('fetchGlfwAWTARM64', Download) {
dependsOn setupExternalNativesDirs
src 'https://raw.githubusercontent.com/badlogic/glfw/master/libglfwarm64.dylib'
dest 'extensions/gdx-lwjgl3-glfw-awt-macos/res/macosarm64/libglfwarm64.dylib'
onlyIfModified true
useETag "all"
}
tasks.register('fetchExternalNatives', Copy) {
dependsOn fetchAngleNativesZIP, fetchGlfwAWT, fetchGlfwAWTARM64
from zipTree("build/gdx-angle-natives.zip")
into "./extensions/gdx-lwjgl3-angle/res"
doNotTrackState("Don't track state")
}
tasks.register('fetchGdxNativesZIP', Download) {
dependsOn fetchExternalNatives
src "https://libgdx-nightlies.s3.eu-central-1.amazonaws.com/libgdx-nightlies/natives.zip"
dest "build/natives.zip"
onlyIfModified true
useETag "all"
}
tasks.register('fetchNatives', Copy) {
dependsOn fetchGdxNativesZIP
from zipTree("build/natives.zip")
into "."
doNotTrackState("Don't track state")
}
apply from: rootProject.file('publish.gradle')
if(rootProject.file('override.gradle').exists())
apply from: rootProject.file('override.gradle')
apply from: "gradle/dist.gradle"
| 1 |
libgdx/libgdx | 7,270 | Update missing build.gradle files with new syntax for registering tasks | Some Gradle build files were still using old syntax after https://github.com/libgdx/libgdx/pull/7134.
| obigu | "2023-11-05T15:31:03Z" | "2023-11-13T11:04:33Z" | 8e3b2ef2af2e1c1765b3441cb15cfbeddf4046fa | a25ceaddd8e9ea740b7e50e486ea4f815d2a3f58 | Update missing build.gradle files with new syntax for registering tasks. Some Gradle build files were still using old syntax after https://github.com/libgdx/libgdx/pull/7134.
| ./extensions/gdx-tools/build.gradle | /*******************************************************************************
* Copyright 2011 See AUTHORS file.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
******************************************************************************/
dependencies {
api project(":backends:gdx-backend-lwjgl")
api project(":extensions:gdx-freetype")
api project(":backends:gdx-backend-headless")
api testnatives.desktop
}
sourceSets.main.resources.srcDirs = ["assets"]
ext {
particles2DMainClass = "com.badlogic.gdx.tools.particleeditor.ParticleEditor"
particles3DMainClass = "com.badlogic.gdx.tools.flame.FlameMain"
hieroMainClass = "com.badlogic.gdx.tools.hiero.Hiero"
texturePackerMainClass = "com.badlogic.gdx.tools.texturepacker.TexturePacker"
toolsAssetsDir = ["assets"]
}
task dist2DParticles (type: Jar, dependsOn: configurations.runtimeClasspath) {
duplicatesStrategy(DuplicatesStrategy.EXCLUDE)
from files(sourceSets.main.java.classesDirectory)
from files(sourceSets.main.output.resourcesDir)
from {configurations.runtimeClasspath.collect {zipTree(it)}}
from files(toolsAssetsDir)
archiveFileName = "runnable-2D-particles.jar"
manifest {
attributes 'Main-Class': particles2DMainClass
}
}
task dist3DParticles (type: Jar, dependsOn: configurations.runtimeClasspath) {
duplicatesStrategy(DuplicatesStrategy.EXCLUDE)
from files(sourceSets.main.java.classesDirectory)
from files(sourceSets.main.output.resourcesDir)
from {configurations.runtimeClasspath.collect {zipTree(it)}}
from files(toolsAssetsDir)
archiveFileName = "runnable-3D-particles.jar"
manifest {
attributes 'Main-Class': particles3DMainClass
}
}
task distHiero (type: Jar, dependsOn: configurations.runtimeClasspath) {
duplicatesStrategy(DuplicatesStrategy.EXCLUDE)
from files(sourceSets.main.java.classesDirectory)
from files(sourceSets.main.output.resourcesDir)
from {configurations.runtimeClasspath.collect {zipTree(it)}}
from files(toolsAssetsDir)
archiveFileName = "runnable-hiero.jar"
manifest {
attributes 'Main-Class': hieroMainClass
}
}
task distTexturePacker (type: Jar, dependsOn: configurations.runtimeClasspath) {
duplicatesStrategy(DuplicatesStrategy.EXCLUDE)
from files(sourceSets.main.java.classesDirectory)
from files(sourceSets.main.output.resourcesDir)
from {configurations.runtimeClasspath.collect {zipTree(it)}}
from files(toolsAssetsDir)
archiveFileName = "runnable-texturepacker.jar"
manifest {
attributes 'Main-Class': texturePackerMainClass
}
}
task buildRunnables (dependsOn: [
dist2DParticles,
dist3DParticles,
distHiero,
distTexturePacker
]) {
doLast {
println "Building ye runnables"
}
}
| /*******************************************************************************
* Copyright 2011 See AUTHORS file.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
******************************************************************************/
dependencies {
api project(":backends:gdx-backend-lwjgl")
api project(":extensions:gdx-freetype")
api project(":backends:gdx-backend-headless")
api testnatives.desktop
}
sourceSets.main.resources.srcDirs = ["assets"]
ext {
particles2DMainClass = "com.badlogic.gdx.tools.particleeditor.ParticleEditor"
particles3DMainClass = "com.badlogic.gdx.tools.flame.FlameMain"
hieroMainClass = "com.badlogic.gdx.tools.hiero.Hiero"
texturePackerMainClass = "com.badlogic.gdx.tools.texturepacker.TexturePacker"
toolsAssetsDir = ["assets"]
}
tasks.register('dist2DParticles', Jar) {
dependsOn configurations.runtimeClasspath
duplicatesStrategy(DuplicatesStrategy.EXCLUDE)
from files(sourceSets.main.java.classesDirectory)
from files(sourceSets.main.output.resourcesDir)
from {configurations.runtimeClasspath.collect {zipTree(it)}}
from files(toolsAssetsDir)
archiveFileName = "runnable-2D-particles.jar"
manifest {
attributes 'Main-Class': particles2DMainClass
}
}
tasks.register('dist3DParticles', Jar) {
dependsOn configurations.runtimeClasspath
duplicatesStrategy(DuplicatesStrategy.EXCLUDE)
from files(sourceSets.main.java.classesDirectory)
from files(sourceSets.main.output.resourcesDir)
from {configurations.runtimeClasspath.collect {zipTree(it)}}
from files(toolsAssetsDir)
archiveFileName = "runnable-3D-particles.jar"
manifest {
attributes 'Main-Class': particles3DMainClass
}
}
tasks.register('distHiero', Jar) {
dependsOn configurations.runtimeClasspath
duplicatesStrategy(DuplicatesStrategy.EXCLUDE)
from files(sourceSets.main.java.classesDirectory)
from files(sourceSets.main.output.resourcesDir)
from {configurations.runtimeClasspath.collect {zipTree(it)}}
from files(toolsAssetsDir)
archiveFileName = "runnable-hiero.jar"
manifest {
attributes 'Main-Class': hieroMainClass
}
}
tasks.register('distTexturePacker', Jar) {
dependsOn configurations.runtimeClasspath
duplicatesStrategy(DuplicatesStrategy.EXCLUDE)
from files(sourceSets.main.java.classesDirectory)
from files(sourceSets.main.output.resourcesDir)
from {configurations.runtimeClasspath.collect {zipTree(it)}}
from files(toolsAssetsDir)
archiveFileName = "runnable-texturepacker.jar"
manifest {
attributes 'Main-Class': texturePackerMainClass
}
}
tasks.register('buildRunnables') {
dependsOn dist2DParticles, dist3DParticles, distHiero, distTexturePacker
doLast {
println "Building ye runnables"
}
}
| 1 |
libgdx/libgdx | 7,270 | Update missing build.gradle files with new syntax for registering tasks | Some Gradle build files were still using old syntax after https://github.com/libgdx/libgdx/pull/7134.
| obigu | "2023-11-05T15:31:03Z" | "2023-11-13T11:04:33Z" | 8e3b2ef2af2e1c1765b3441cb15cfbeddf4046fa | a25ceaddd8e9ea740b7e50e486ea4f815d2a3f58 | Update missing build.gradle files with new syntax for registering tasks. Some Gradle build files were still using old syntax after https://github.com/libgdx/libgdx/pull/7134.
| ./tests/gdx-tests-android/build.gradle | /*******************************************************************************
* Copyright 2011 See AUTHORS file.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
******************************************************************************/
buildscript {
dependencies {
classpath "com.android.tools.build:gradle:${versions.androidPlugin}"
}
}
def localProperties = new File(rootProject.rootDir, "local.properties")
def hasAndroidSDKDir = false
if (localProperties.exists()) {
Properties properties = new Properties()
localProperties.withInputStream { instr ->
properties.load(instr)
}
def sdkDirProp = properties.getProperty('sdk.dir')
if (sdkDirProp != null) {
hasAndroidSDKDir = true;
} else {
sdkDirProp = properties.getProperty('android.dir')
if (sdkDirProp != null) {
hasAndroidSDKDir = true;
}
}
}
if(!hasAndroidSDKDir && System.getenv("ANDROID_HOME") == null && System.getenv("ANDROID_SDK_ROOT") == null) {
logger.warn("==============================================================================================");
logger.warn("sdk.dir/ANDROID_HOME/ANDROID_SDK_ROOT are unset, gdx-tests-android will not be properly setup.");
logger.warn("==============================================================================================");
apply plugin: "java-library"
return;
}
apply plugin: "com.android.application"
apply from: "obb.gradle"
dependencies {
implementation project(":tests:gdx-tests")
implementation project(":backends:gdx-backend-android")
implementation libraries.compileOnly.android
implementation "androidx.multidex:multidex:${versions.multiDex}"
}
android {
namespace "com.badlogic.gdx.tests.android"
buildToolsVersion versions.androidBuildTools
compileSdkVersion versions.androidCompileSdk
sourceSets {
main {
manifest.srcFile 'AndroidManifest.xml'
java.srcDirs = ['src']
aidl.srcDirs = ['src']
renderscript.srcDirs = ['src']
res.srcDirs = ['res']
assets.srcDirs = ['assets']
jniLibs.srcDirs = ['libs']
}
}
defaultConfig {
multiDexEnabled true
applicationId "com.badlogic.gdx.tests.android"
minSdkVersion versions.androidMinSdk
targetSdkVersion versions.androidTargetSdk
versionCode 1
versionName "1.0"
}
}
// called every time gradle gets executed, takes the native dependencies of
// the natives configuration, and extracts them to the proper libs/ folders
// so they get packed with the APK.
task copyAndroidNatives() {
doFirst {
file("libs/armeabi-v7a/").mkdirs();
file("libs/arm64-v8a/").mkdirs();
file("libs/x86_64/").mkdirs();
file("libs/x86/").mkdirs();
[
'arm64-v8a',
'armeabi-v7a',
'x86_64',
'x86'
].each { arch ->
[
project(":gdx"),
project(":extensions:gdx-bullet"),
project(":extensions:gdx-box2d-parent:gdx-box2d"),
project(":extensions:gdx-freetype")
].each { p ->
copy {
from new File(p.projectDir, "libs/${arch}")
into "libs/${arch}"
include "*.so"
}
}
}
}
}
tasks.whenTaskAdded { packageTask ->
if (packageTask.name.contains("merge") && packageTask.name.contains("JniLibFolders")) {
packageTask.dependsOn 'copyAndroidNatives'
}
}
| /*******************************************************************************
* Copyright 2011 See AUTHORS file.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
******************************************************************************/
buildscript {
dependencies {
classpath "com.android.tools.build:gradle:${versions.androidPlugin}"
}
}
def localProperties = new File(rootProject.rootDir, "local.properties")
def hasAndroidSDKDir = false
if (localProperties.exists()) {
Properties properties = new Properties()
localProperties.withInputStream { instr ->
properties.load(instr)
}
def sdkDirProp = properties.getProperty('sdk.dir')
if (sdkDirProp != null) {
hasAndroidSDKDir = true;
} else {
sdkDirProp = properties.getProperty('android.dir')
if (sdkDirProp != null) {
hasAndroidSDKDir = true;
}
}
}
if(!hasAndroidSDKDir && System.getenv("ANDROID_HOME") == null && System.getenv("ANDROID_SDK_ROOT") == null) {
logger.warn("==============================================================================================");
logger.warn("sdk.dir/ANDROID_HOME/ANDROID_SDK_ROOT are unset, gdx-tests-android will not be properly setup.");
logger.warn("==============================================================================================");
apply plugin: "java-library"
return;
}
apply plugin: "com.android.application"
apply from: "obb.gradle"
dependencies {
implementation project(":tests:gdx-tests")
implementation project(":backends:gdx-backend-android")
implementation libraries.compileOnly.android
implementation "androidx.multidex:multidex:${versions.multiDex}"
}
android {
namespace "com.badlogic.gdx.tests.android"
buildToolsVersion versions.androidBuildTools
compileSdkVersion versions.androidCompileSdk
sourceSets {
main {
manifest.srcFile 'AndroidManifest.xml'
java.srcDirs = ['src']
aidl.srcDirs = ['src']
renderscript.srcDirs = ['src']
res.srcDirs = ['res']
assets.srcDirs = ['assets']
jniLibs.srcDirs = ['libs']
}
}
defaultConfig {
multiDexEnabled true
applicationId "com.badlogic.gdx.tests.android"
minSdkVersion versions.androidMinSdk
targetSdkVersion versions.androidTargetSdk
versionCode 1
versionName "1.0"
}
}
// called every time gradle gets executed, takes the native dependencies of
// the natives configuration, and extracts them to the proper libs/ folders
// so they get packed with the APK.
tasks.register('copyAndroidNatives') {
doFirst {
file("libs/armeabi-v7a/").mkdirs();
file("libs/arm64-v8a/").mkdirs();
file("libs/x86_64/").mkdirs();
file("libs/x86/").mkdirs();
[
'arm64-v8a',
'armeabi-v7a',
'x86_64',
'x86'
].each { arch ->
[
project(":gdx"),
project(":extensions:gdx-bullet"),
project(":extensions:gdx-box2d-parent:gdx-box2d"),
project(":extensions:gdx-freetype")
].each { p ->
copy {
from new File(p.projectDir, "libs/${arch}")
into "libs/${arch}"
include "*.so"
}
}
}
}
}
tasks.matching { it.name.contains("merge") && it.name.contains("JniLibFolders") }.configureEach { packageTask ->
packageTask.dependsOn 'copyAndroidNatives'
}
| 1 |
libgdx/libgdx | 7,270 | Update missing build.gradle files with new syntax for registering tasks | Some Gradle build files were still using old syntax after https://github.com/libgdx/libgdx/pull/7134.
| obigu | "2023-11-05T15:31:03Z" | "2023-11-13T11:04:33Z" | 8e3b2ef2af2e1c1765b3441cb15cfbeddf4046fa | a25ceaddd8e9ea740b7e50e486ea4f815d2a3f58 | Update missing build.gradle files with new syntax for registering tasks. Some Gradle build files were still using old syntax after https://github.com/libgdx/libgdx/pull/7134.
| ./tests/gdx-tests-android/obb.gradle | task copyAssets {
doLast {
def assets = fileTree('assets')
copy {
from assets
into "build/obbassets"
rename { fileName ->
fileName = "obbasset-" + fileName
}
}
}
}
task zipAssets(type: Zip) {
destinationDirectory = file("build/obb")
entryCompression = ZipEntryCompression.STORED
from "build/obbassets"
archiveFileName = "main.1.com.badlogic.gdx.tests.android.obb"
}
def getADBPath() {
def path
def localProperties = new File("local.properties")
if (localProperties.exists()) {
Properties properties = new Properties()
localProperties.withInputStream { instr ->
properties.load(instr)
}
def sdkDir = properties.getProperty('sdk.dir')
if (sdkDir) {
path = sdkDir
} else {
path = "$System.env.ANDROID_HOME"
}
} else {
path = "$System.env.ANDROID_HOME"
}
def adb = path + "/platform-tools/adb"
adb
}
task createOBBDir(type: Exec) {
def adb = getADBPath()
commandLine "$adb", 'shell', 'mkdir', '-p', '/mnt/sdcard/Android/obb/com.badlogic.gdx.tests.android'
}
task uploadOBB(type: Exec) {
def adb = getADBPath()
commandLine "$adb", 'push', 'build/obb/main.1.com.badlogic.gdx.tests.android.obb', '/mnt/sdcard/Android/obb/com.badlogic.gdx.tests.android'
}
copyAssets.dependsOn clean
zipAssets.dependsOn copyAssets
createOBBDir.dependsOn zipAssets
uploadOBB.dependsOn createOBBDir
| tasks.register('copyAssets') {
doLast {
def assets = fileTree('assets')
copy {
from assets
into "build/obbassets"
rename { fileName ->
fileName = "obbasset-" + fileName
}
}
}
}
tasks.register('zipAssets', Zip) {
destinationDirectory = file("build/obb")
entryCompression = ZipEntryCompression.STORED
from "build/obbassets"
archiveFileName = "main.1.com.badlogic.gdx.tests.android.obb"
}
def getADBPath() {
def path
def localProperties = new File("local.properties")
if (localProperties.exists()) {
Properties properties = new Properties()
localProperties.withInputStream { instr ->
properties.load(instr)
}
def sdkDir = properties.getProperty('sdk.dir')
if (sdkDir) {
path = sdkDir
} else {
path = "$System.env.ANDROID_HOME"
}
} else {
path = "$System.env.ANDROID_HOME"
}
def adb = path + "/platform-tools/adb"
adb
}
tasks.register('createOBBDir', Exec) {
def adb = getADBPath()
commandLine "$adb", 'shell', 'mkdir', '-p', '/mnt/sdcard/Android/obb/com.badlogic.gdx.tests.android'
}
tasks.register('uploadOBB', Exec) {
def adb = getADBPath()
commandLine "$adb", 'push', 'build/obb/main.1.com.badlogic.gdx.tests.android.obb', '/mnt/sdcard/Android/obb/com.badlogic.gdx.tests.android'
}
copyAssets.dependsOn clean
zipAssets.dependsOn copyAssets
createOBBDir.dependsOn zipAssets
uploadOBB.dependsOn createOBBDir
| 1 |
libgdx/libgdx | 7,270 | Update missing build.gradle files with new syntax for registering tasks | Some Gradle build files were still using old syntax after https://github.com/libgdx/libgdx/pull/7134.
| obigu | "2023-11-05T15:31:03Z" | "2023-11-13T11:04:33Z" | 8e3b2ef2af2e1c1765b3441cb15cfbeddf4046fa | a25ceaddd8e9ea740b7e50e486ea4f815d2a3f58 | Update missing build.gradle files with new syntax for registering tasks. Some Gradle build files were still using old syntax after https://github.com/libgdx/libgdx/pull/7134.
| ./tests/gdx-tests-gwt/build.gradle | /*******************************************************************************
* Copyright 2011 See AUTHORS file.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
******************************************************************************/
buildscript {
dependencies {
classpath "org.docstr:gwt-gradle-plugin:${versions.gwtPlugin}"
classpath "org.gretty:gretty:${versions.gretty}"
}
}
configurations.all {
// gwt-dev pulls in apache-jsp (Tomcat), but we don't need it and it messes with gretty
exclude group: 'org.eclipse.jetty', module: 'apache-jsp'
}
apply plugin: 'gwt'
apply plugin: 'war'
apply plugin: 'org.gretty'
import org.docstr.gradle.plugins.gwt.GwtSuperDev
import org.akhikhl.gretty.AppBeforeIntegrationTestTask
gretty.httpPort = 8080
gretty.resourceBase = project.buildDir.path + "/gwt/draftOut"
gretty.contextPath = "/"
gretty.portPropertiesFileName = "TEMP_PORTS.properties"
dependencies {
implementation project(":tests:gdx-tests")
implementation project(":backends:gdx-backend-gwt")
implementation project(":extensions:gdx-box2d-parent:gdx-box2d-gwt")
compileOnly "com.google.gwt:gwt-dev:${versions.gwt}"
}
gwt {
gwtVersion='2.10.0' // Should match the gwt version used for building the gwt backend
maxHeapSize="1G" // Default 256m is not enough for gwt compiler. GWT is HUNGRY
minHeapSize="1G"
src = files(file("src/")) // Needs to be in front of "modules" below.
modules 'com.badlogic.gdx.tests.gwt.GdxTestsGwt'
devModules 'com.badlogic.gdx.tests.gwt.GdxTestsGwt'
compiler.strict = true
compiler.disableCastChecking = true
}
task startHttpServer () {
dependsOn draftCompileGwt
doFirst {
copy {
from "webapp"
into gretty.resourceBase
}
copy {
from "war"
into gretty.resourceBase
}
}
}
task beforeRun(type: AppBeforeIntegrationTestTask, dependsOn: startHttpServer) {
// The next line allows ports to be reused instead of
// needing a process to be manually terminated.
file("build/TEMP_PORTS.properties").delete()
// Somewhat of a hack; uses Gretty's support for wrapping a task in
// a start and then stop of a Jetty server that serves files while
// also running the SuperDev code server.
integrationTestTask 'superDev'
interactive false
}
task superDev (type: GwtSuperDev) {
dependsOn startHttpServer
doFirst {
gwt.modules = gwt.devModules
}
}
task dist(dependsOn: [clean, compileGwt]) {
doLast {
file("build/dist").mkdirs()
copy {
from "build/gwt/out"
into "build/dist"
}
copy {
from "webapp"
into "build/dist"
}
copy {
from "war"
into "build/dist"
}
}
}
task addSource {
doLast {
sourceSets.main.compileClasspath += files(project(':tests:gdx-tests').sourceSets.main.allJava.srcDirs)
sourceSets.main.compileClasspath += files(project(':tests:gdx-tests').sourceSets.main.resources.srcDirs)
sourceSets.main.compileClasspath += files(project(':backends:gdx-backend-gwt').sourceSets.main.allJava.srcDirs)
sourceSets.main.compileClasspath += files(project(':backends:gdx-backend-gwt').sourceSets.main.resources.srcDirs)
sourceSets.main.compileClasspath += files(project(':extensions:gdx-box2d-parent:gdx-box2d').sourceSets.main.resources.srcDirs)
sourceSets.main.compileClasspath += files(project(':extensions:gdx-box2d-parent:gdx-box2d-gwt').sourceSets.main.allJava.srcDirs)
sourceSets.main.compileClasspath += files(project(':extensions:gdx-box2d-parent:gdx-box2d-gwt').sourceSets.main.resources.srcDirs)
sourceSets.main.compileClasspath += files(project(':gdx').sourceSets.main.allJava.srcDirs)
sourceSets.main.compileClasspath += files(project(':gdx').sourceSets.main.resources.srcDirs)
sourceSets.main.compileClasspath += files(sourceSets.main.resources.srcDirs)
}
}
tasks.compileGwt.dependsOn(addSource)
tasks.draftCompileGwt.dependsOn(addSource)
eclipse {
classpath {
containers += [
'com.google.gwt.eclipse.core.GWT_CONTAINER',
'com.gwtplugins.gwt.eclipse.core.GWT_CONTAINER'
]
}
}
| /*******************************************************************************
* Copyright 2011 See AUTHORS file.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
******************************************************************************/
buildscript {
dependencies {
classpath "org.docstr:gwt-gradle-plugin:${versions.gwtPlugin}"
classpath "org.gretty:gretty:${versions.gretty}"
}
}
configurations.all {
// gwt-dev pulls in apache-jsp (Tomcat), but we don't need it and it messes with gretty
exclude group: 'org.eclipse.jetty', module: 'apache-jsp'
}
apply plugin: 'gwt'
apply plugin: 'war'
apply plugin: 'org.gretty'
import org.docstr.gradle.plugins.gwt.GwtSuperDev
import org.akhikhl.gretty.AppBeforeIntegrationTestTask
gretty.httpPort = 8080
gretty.resourceBase = project.buildDir.path + "/gwt/draftOut"
gretty.contextPath = "/"
gretty.portPropertiesFileName = "TEMP_PORTS.properties"
dependencies {
implementation project(":tests:gdx-tests")
implementation project(":backends:gdx-backend-gwt")
implementation project(":extensions:gdx-box2d-parent:gdx-box2d-gwt")
compileOnly "com.google.gwt:gwt-dev:${versions.gwt}"
}
gwt {
gwtVersion='2.10.0' // Should match the gwt version used for building the gwt backend
maxHeapSize="1G" // Default 256m is not enough for gwt compiler. GWT is HUNGRY
minHeapSize="1G"
src = files(file("src/")) // Needs to be in front of "modules" below.
modules 'com.badlogic.gdx.tests.gwt.GdxTestsGwt'
devModules 'com.badlogic.gdx.tests.gwt.GdxTestsGwt'
compiler.strict = true
compiler.disableCastChecking = true
}
tasks.register('startHttpServer') {
dependsOn draftCompileGwt
doFirst {
copy {
from "webapp"
into gretty.resourceBase
}
copy {
from "war"
into gretty.resourceBase
}
}
}
task beforeRun(type: AppBeforeIntegrationTestTask, dependsOn: startHttpServer) {
// The next line allows ports to be reused instead of
// needing a process to be manually terminated.
file("build/TEMP_PORTS.properties").delete()
// Somewhat of a hack; uses Gretty's support for wrapping a task in
// a start and then stop of a Jetty server that serves files while
// also running the SuperDev code server.
integrationTestTask 'superDev'
interactive false
}
tasks.register('superDev', GwtSuperDev) {
dependsOn startHttpServer
doFirst {
gwt.modules = gwt.devModules
}
}
tasks.register('dist') {
dependsOn clean, compileGwt
doLast {
file("build/dist").mkdirs()
copy {
from "build/gwt/out"
into "build/dist"
}
copy {
from "webapp"
into "build/dist"
}
copy {
from "war"
into "build/dist"
}
}
}
tasks.register('addSource') {
doLast {
sourceSets.main.compileClasspath += files(project(':tests:gdx-tests').sourceSets.main.allJava.srcDirs)
sourceSets.main.compileClasspath += files(project(':tests:gdx-tests').sourceSets.main.resources.srcDirs)
sourceSets.main.compileClasspath += files(project(':backends:gdx-backend-gwt').sourceSets.main.allJava.srcDirs)
sourceSets.main.compileClasspath += files(project(':backends:gdx-backend-gwt').sourceSets.main.resources.srcDirs)
sourceSets.main.compileClasspath += files(project(':extensions:gdx-box2d-parent:gdx-box2d').sourceSets.main.resources.srcDirs)
sourceSets.main.compileClasspath += files(project(':extensions:gdx-box2d-parent:gdx-box2d-gwt').sourceSets.main.allJava.srcDirs)
sourceSets.main.compileClasspath += files(project(':extensions:gdx-box2d-parent:gdx-box2d-gwt').sourceSets.main.resources.srcDirs)
sourceSets.main.compileClasspath += files(project(':gdx').sourceSets.main.allJava.srcDirs)
sourceSets.main.compileClasspath += files(project(':gdx').sourceSets.main.resources.srcDirs)
sourceSets.main.compileClasspath += files(sourceSets.main.resources.srcDirs)
}
}
tasks.compileGwt.dependsOn(addSource)
tasks.draftCompileGwt.dependsOn(addSource)
eclipse {
classpath {
containers += [
'com.google.gwt.eclipse.core.GWT_CONTAINER',
'com.gwtplugins.gwt.eclipse.core.GWT_CONTAINER'
]
}
}
| 1 |
libgdx/libgdx | 7,270 | Update missing build.gradle files with new syntax for registering tasks | Some Gradle build files were still using old syntax after https://github.com/libgdx/libgdx/pull/7134.
| obigu | "2023-11-05T15:31:03Z" | "2023-11-13T11:04:33Z" | 8e3b2ef2af2e1c1765b3441cb15cfbeddf4046fa | a25ceaddd8e9ea740b7e50e486ea4f815d2a3f58 | Update missing build.gradle files with new syntax for registering tasks. Some Gradle build files were still using old syntax after https://github.com/libgdx/libgdx/pull/7134.
| ./tests/gdx-tests-lwjgl/build.gradle | /*******************************************************************************
* Copyright 2011 See AUTHORS file.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
******************************************************************************/
ext {
mainTestClass = "com.badlogic.gdx.tests.lwjgl.LwjglTestStarter"
}
sourceSets.main.resources.srcDirs = ["../gdx-tests-android/assets"]
dependencies {
implementation project(":tests:gdx-tests")
implementation project(":backends:gdx-backend-lwjgl")
implementation testnatives.desktop
}
task launchTestsLwjgl (dependsOn: classes, type: JavaExec) {
mainClass = mainTestClass
classpath = sourceSets.main.runtimeClasspath
standardInput = System.in
workingDir = new File("../gdx-tests-android/assets")
ignoreExitValue = true
}
configure (launchTestsLwjgl) {
group "LibGDX"
description = "Run the Lwjgl tests"
}
task dist(type: Jar, dependsOn: classes) {
manifest {
attributes 'Main-Class': project.mainTestClass
}
dependsOn configurations.runtimeClasspath
from {
configurations.runtimeClasspath.collect { it.isDirectory() ? it : zipTree(it) }
}
with jar
}
| /*******************************************************************************
* Copyright 2011 See AUTHORS file.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
******************************************************************************/
ext {
mainTestClass = "com.badlogic.gdx.tests.lwjgl.LwjglTestStarter"
}
sourceSets.main.resources.srcDirs = ["../gdx-tests-android/assets"]
dependencies {
implementation project(":tests:gdx-tests")
implementation project(":backends:gdx-backend-lwjgl")
implementation testnatives.desktop
}
tasks.register('launchTestsLwjgl', JavaExec) {
dependsOn classes
mainClass = mainTestClass
classpath = sourceSets.main.runtimeClasspath
standardInput = System.in
workingDir = new File("../gdx-tests-android/assets")
ignoreExitValue = true
}
configure (launchTestsLwjgl) {
group "LibGDX"
description = "Run the Lwjgl tests"
}
tasks.register('dist', Jar) {
dependsOn classes
manifest {
attributes 'Main-Class': project.mainTestClass
}
dependsOn configurations.runtimeClasspath
from {
configurations.runtimeClasspath.collect { it.isDirectory() ? it : zipTree(it) }
}
with jar
}
| 1 |
libgdx/libgdx | 7,270 | Update missing build.gradle files with new syntax for registering tasks | Some Gradle build files were still using old syntax after https://github.com/libgdx/libgdx/pull/7134.
| obigu | "2023-11-05T15:31:03Z" | "2023-11-13T11:04:33Z" | 8e3b2ef2af2e1c1765b3441cb15cfbeddf4046fa | a25ceaddd8e9ea740b7e50e486ea4f815d2a3f58 | Update missing build.gradle files with new syntax for registering tasks. Some Gradle build files were still using old syntax after https://github.com/libgdx/libgdx/pull/7134.
| ./tests/gdx-tests-lwjgl3/build.gradle | /*******************************************************************************
* Copyright 2011 See AUTHORS file.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
******************************************************************************/
ext {
mainTestClass = "com.badlogic.gdx.tests.lwjgl3.Lwjgl3TestStarter"
}
sourceSets.main.resources.srcDirs = ["../gdx-tests-android/assets"]
if (JavaVersion.current().isJava9Compatible()) {
compileJava {
options.release = versions.javaLwjgl3
}
}
sourceCompatibility = versions.javaLwjgl3
targetCompatibility = versions.javaLwjgl3
dependencies {
implementation project(":tests:gdx-tests")
implementation project(":backends:gdx-backend-lwjgl3")
implementation project(":extensions:gdx-lwjgl3-angle")
implementation project(":extensions:gdx-lwjgl3-glfw-awt-macos")
implementation testnatives.desktop
}
task launchTestsLwjgl3 (dependsOn: classes, type: JavaExec) {
mainClass = mainTestClass
classpath = sourceSets.main.runtimeClasspath
standardInput = System.in
workingDir = new File("../gdx-tests-android/assets")
ignoreExitValue = true
}
configure (launchTestsLwjgl3) {
group "LibGDX"
description = "Run the Lwjgl3 tests"
}
task dist(type: Jar, dependsOn: classes) {
manifest {
attributes 'Main-Class': project.mainTestClass
}
dependsOn configurations.runtimeClasspath
from {
configurations.runtimeClasspath.collect { it.isDirectory() ? it : zipTree(it) }
}
with jar
}
| /*******************************************************************************
* Copyright 2011 See AUTHORS file.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
******************************************************************************/
ext {
mainTestClass = "com.badlogic.gdx.tests.lwjgl3.Lwjgl3TestStarter"
}
sourceSets.main.resources.srcDirs = ["../gdx-tests-android/assets"]
if (JavaVersion.current().isJava9Compatible()) {
compileJava {
options.release = versions.javaLwjgl3
}
}
sourceCompatibility = versions.javaLwjgl3
targetCompatibility = versions.javaLwjgl3
dependencies {
implementation project(":tests:gdx-tests")
implementation project(":backends:gdx-backend-lwjgl3")
implementation project(":extensions:gdx-lwjgl3-angle")
implementation project(":extensions:gdx-lwjgl3-glfw-awt-macos")
implementation testnatives.desktop
}
tasks.register('launchTestsLwjgl3', JavaExec) {
dependsOn classes
mainClass = mainTestClass
classpath = sourceSets.main.runtimeClasspath
standardInput = System.in
workingDir = new File("../gdx-tests-android/assets")
ignoreExitValue = true
}
configure (launchTestsLwjgl3) {
group "LibGDX"
description = "Run the Lwjgl3 tests"
}
tasks.register('dist', Jar) {
dependsOn classes
manifest {
attributes 'Main-Class': project.mainTestClass
}
dependsOn configurations.runtimeClasspath
from {
configurations.runtimeClasspath.collect { it.isDirectory() ? it : zipTree(it) }
}
with jar
}
| 1 |
libgdx/libgdx | 7,270 | Update missing build.gradle files with new syntax for registering tasks | Some Gradle build files were still using old syntax after https://github.com/libgdx/libgdx/pull/7134.
| obigu | "2023-11-05T15:31:03Z" | "2023-11-13T11:04:33Z" | 8e3b2ef2af2e1c1765b3441cb15cfbeddf4046fa | a25ceaddd8e9ea740b7e50e486ea4f815d2a3f58 | Update missing build.gradle files with new syntax for registering tasks. Some Gradle build files were still using old syntax after https://github.com/libgdx/libgdx/pull/7134.
| ./extensions/gdx-setup/res/com/badlogic/gdx/setup/resources/android/build.gradle | android {
namespace "%PACKAGE%"
buildToolsVersion "%BUILD_TOOLS_VERSION%"
compileSdkVersion %API_LEVEL%
sourceSets {
main {
manifest.srcFile 'AndroidManifest.xml'
java.srcDirs = ['src']
aidl.srcDirs = ['src']
renderscript.srcDirs = ['src']
res.srcDirs = ['res']
assets.srcDirs = ['../%ASSET_PATH%']
jniLibs.srcDirs = ['libs']
}
}
packagingOptions {
exclude 'META-INF/robovm/ios/robovm.xml'
}
defaultConfig {
applicationId "%PACKAGE%"
minSdkVersion %MIN_API_LEVEL%
targetSdkVersion %API_LEVEL%
versionCode 1
versionName "1.0"
}
buildTypes {
release {
minifyEnabled true
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
// called every time gradle gets executed, takes the native dependencies of
// the natives configuration, and extracts them to the proper libs/ folders
// so they get packed with the APK.
tasks.register('copyAndroidNatives') {
doFirst {
file("libs/armeabi-v7a/").mkdirs()
file("libs/arm64-v8a/").mkdirs()
file("libs/x86_64/").mkdirs()
file("libs/x86/").mkdirs()
configurations.natives.copy().files.each { jar ->
def outputDir = null
if (jar.name.endsWith("natives-arm64-v8a.jar")) outputDir = file("libs/arm64-v8a")
if (jar.name.endsWith("natives-armeabi-v7a.jar")) outputDir = file("libs/armeabi-v7a")
if (jar.name.endsWith("natives-x86_64.jar")) outputDir = file("libs/x86_64")
if (jar.name.endsWith("natives-x86.jar")) outputDir = file("libs/x86")
if (outputDir != null) {
copy {
from zipTree(jar)
into outputDir
include "*.so"
}
}
}
}
}
tasks.matching { it.name.contains("merge") && it.name.contains("JniLibFolders") }.configureEach { packageTask ->
packageTask.dependsOn 'copyAndroidNatives'
}
tasks.register('run', Exec) {
def path
def localProperties = project.file("../local.properties")
if (localProperties.exists()) {
Properties properties = new Properties()
localProperties.withInputStream { instr ->
properties.load(instr)
}
def sdkDir = properties.getProperty('sdk.dir')
if (sdkDir) {
path = sdkDir
} else {
path = "$System.env.ANDROID_HOME"
}
} else {
path = "$System.env.ANDROID_HOME"
}
def adb = path + "/platform-tools/adb"
commandLine "$adb", 'shell', 'am', 'start', '-n', '%PACKAGE%/%PACKAGE%.AndroidLauncher'
}
eclipse.project.name = appName + "-android"
| android {
namespace "%PACKAGE%"
buildToolsVersion "%BUILD_TOOLS_VERSION%"
compileSdkVersion %API_LEVEL%
sourceSets {
main {
manifest.srcFile 'AndroidManifest.xml'
java.srcDirs = ['src']
aidl.srcDirs = ['src']
renderscript.srcDirs = ['src']
res.srcDirs = ['res']
assets.srcDirs = ['../%ASSET_PATH%']
jniLibs.srcDirs = ['libs']
}
}
packagingOptions {
exclude 'META-INF/robovm/ios/robovm.xml'
}
defaultConfig {
applicationId "%PACKAGE%"
minSdkVersion %MIN_API_LEVEL%
targetSdkVersion %API_LEVEL%
versionCode 1
versionName "1.0"
}
buildTypes {
release {
minifyEnabled true
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
// called every time gradle gets executed, takes the native dependencies of
// the natives configuration, and extracts them to the proper libs/ folders
// so they get packed with the APK.
tasks.register('copyAndroidNatives') {
doFirst {
file("libs/armeabi-v7a/").mkdirs()
file("libs/arm64-v8a/").mkdirs()
file("libs/x86_64/").mkdirs()
file("libs/x86/").mkdirs()
configurations.natives.copy().files.each { jar ->
def outputDir = null
if (jar.name.endsWith("natives-arm64-v8a.jar")) outputDir = file("libs/arm64-v8a")
if (jar.name.endsWith("natives-armeabi-v7a.jar")) outputDir = file("libs/armeabi-v7a")
if (jar.name.endsWith("natives-x86_64.jar")) outputDir = file("libs/x86_64")
if (jar.name.endsWith("natives-x86.jar")) outputDir = file("libs/x86")
if (outputDir != null) {
copy {
from zipTree(jar)
into outputDir
include "*.so"
}
}
}
}
}
tasks.matching { it.name.contains("merge") && it.name.contains("JniLibFolders") }.configureEach { packageTask ->
packageTask.dependsOn 'copyAndroidNatives'
}
tasks.register('run', Exec) {
def path
def localProperties = project.file("../local.properties")
if (localProperties.exists()) {
Properties properties = new Properties()
localProperties.withInputStream { instr ->
properties.load(instr)
}
def sdkDir = properties.getProperty('sdk.dir')
if (sdkDir) {
path = sdkDir
} else {
path = "$System.env.ANDROID_HOME"
}
} else {
path = "$System.env.ANDROID_HOME"
}
def adb = path + "/platform-tools/adb"
commandLine "$adb", 'shell', 'am', 'start', '-n', '%PACKAGE%/%PACKAGE%.AndroidLauncher'
}
eclipse.project.name = appName + "-android"
| -1 |
libgdx/libgdx | 7,270 | Update missing build.gradle files with new syntax for registering tasks | Some Gradle build files were still using old syntax after https://github.com/libgdx/libgdx/pull/7134.
| obigu | "2023-11-05T15:31:03Z" | "2023-11-13T11:04:33Z" | 8e3b2ef2af2e1c1765b3441cb15cfbeddf4046fa | a25ceaddd8e9ea740b7e50e486ea4f815d2a3f58 | Update missing build.gradle files with new syntax for registering tasks. Some Gradle build files were still using old syntax after https://github.com/libgdx/libgdx/pull/7134.
| ./backends/gdx-backend-lwjgl3/build.gradle | /*******************************************************************************
* Copyright 2011 See AUTHORS file.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
******************************************************************************/
if (JavaVersion.current().isJava9Compatible()) {
compileJava {
options.release = versions.javaLwjgl3
}
}
sourceCompatibility = versions.javaLwjgl3
targetCompatibility = versions.javaLwjgl3
dependencies {
api libraries.lwjgl3
api gdxnatives.desktop
}
| /*******************************************************************************
* Copyright 2011 See AUTHORS file.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
******************************************************************************/
if (JavaVersion.current().isJava9Compatible()) {
compileJava {
options.release = versions.javaLwjgl3
}
}
sourceCompatibility = versions.javaLwjgl3
targetCompatibility = versions.javaLwjgl3
dependencies {
api libraries.lwjgl3
api gdxnatives.desktop
}
| -1 |
libgdx/libgdx | 7,270 | Update missing build.gradle files with new syntax for registering tasks | Some Gradle build files were still using old syntax after https://github.com/libgdx/libgdx/pull/7134.
| obigu | "2023-11-05T15:31:03Z" | "2023-11-13T11:04:33Z" | 8e3b2ef2af2e1c1765b3441cb15cfbeddf4046fa | a25ceaddd8e9ea740b7e50e486ea4f815d2a3f58 | Update missing build.gradle files with new syntax for registering tasks. Some Gradle build files were still using old syntax after https://github.com/libgdx/libgdx/pull/7134.
| ./backends/gdx-backend-robovm/build.gradle | /*******************************************************************************
* Copyright 2011 See AUTHORS file.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
******************************************************************************/
sourceSets {
main {
resources {
srcDir 'res'
}
}
}
dependencies {
api libraries.robovm
}
processResources.duplicatesStrategy = DuplicatesStrategy.EXCLUDE
sourcesJar.duplicatesStrategy = DuplicatesStrategy.EXCLUDE
| /*******************************************************************************
* Copyright 2011 See AUTHORS file.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
******************************************************************************/
sourceSets {
main {
resources {
srcDir 'res'
}
}
}
dependencies {
api libraries.robovm
}
processResources.duplicatesStrategy = DuplicatesStrategy.EXCLUDE
sourcesJar.duplicatesStrategy = DuplicatesStrategy.EXCLUDE
| -1 |
libgdx/libgdx | 7,270 | Update missing build.gradle files with new syntax for registering tasks | Some Gradle build files were still using old syntax after https://github.com/libgdx/libgdx/pull/7134.
| obigu | "2023-11-05T15:31:03Z" | "2023-11-13T11:04:33Z" | 8e3b2ef2af2e1c1765b3441cb15cfbeddf4046fa | a25ceaddd8e9ea740b7e50e486ea4f815d2a3f58 | Update missing build.gradle files with new syntax for registering tasks. Some Gradle build files were still using old syntax after https://github.com/libgdx/libgdx/pull/7134.
| ./backends/gdx-backends-gwt/build.gradle | /*******************************************************************************
* Copyright 2011 See AUTHORS file.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
******************************************************************************/
dependencies {
api libraries.gwt
compileOnly libraries.compileOnly.gwt
}
configurations.all {
// gwt-dev pulls in apache-jsp (Tomcat), but we don't need it and it messes with gretty
exclude group: 'org.eclipse.jetty', module: 'apache-jsp'
}
javadoc {
exclude "com/badlogic/gdx/backends/gwt/emu/**"
options.addStringOption("sourcepath", "src/")
}
sourceSets.main.java.exclude "**/System.java"
eclipse {
classpath {
containers += [
'com.google.gwt.eclipse.core.GWT_CONTAINER',
'com.gwtplugins.gwt.eclipse.core.GWT_CONTAINER'
]
file {
withXml {
def node = it.asNode()
//Exclude emu folder from main classpath entry
node.children().each { c ->
if(c.attribute('path').equals('src')) {
c.attributes().put('excluding', 'com/badlogic/gdx/backends/gwt/emu/')
}
}
//Add second classpath entry for emu folder if not exists
def emuNodes = node.children().findAll { it.name() == 'classpathentry' && it.'@path'.equals('src/com/badlogic/gdx/backends/gwt/emu/')}
if (emuNodes.size() == 0) {
def emuNode = node.appendNode('classpathentry')
emuNode.attributes().put('kind', 'src')
emuNode.attributes().put('path', 'src/com/badlogic/gdx/backends/gwt/emu/')
emuNode.attributes().put('excluding', 'java/lang/System.java')
}
}
}
}
} | /*******************************************************************************
* Copyright 2011 See AUTHORS file.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
******************************************************************************/
dependencies {
api libraries.gwt
compileOnly libraries.compileOnly.gwt
}
configurations.all {
// gwt-dev pulls in apache-jsp (Tomcat), but we don't need it and it messes with gretty
exclude group: 'org.eclipse.jetty', module: 'apache-jsp'
}
javadoc {
exclude "com/badlogic/gdx/backends/gwt/emu/**"
options.addStringOption("sourcepath", "src/")
}
sourceSets.main.java.exclude "**/System.java"
eclipse {
classpath {
containers += [
'com.google.gwt.eclipse.core.GWT_CONTAINER',
'com.gwtplugins.gwt.eclipse.core.GWT_CONTAINER'
]
file {
withXml {
def node = it.asNode()
//Exclude emu folder from main classpath entry
node.children().each { c ->
if(c.attribute('path').equals('src')) {
c.attributes().put('excluding', 'com/badlogic/gdx/backends/gwt/emu/')
}
}
//Add second classpath entry for emu folder if not exists
def emuNodes = node.children().findAll { it.name() == 'classpathentry' && it.'@path'.equals('src/com/badlogic/gdx/backends/gwt/emu/')}
if (emuNodes.size() == 0) {
def emuNode = node.appendNode('classpathentry')
emuNode.attributes().put('kind', 'src')
emuNode.attributes().put('path', 'src/com/badlogic/gdx/backends/gwt/emu/')
emuNode.attributes().put('excluding', 'java/lang/System.java')
}
}
}
}
} | -1 |
libgdx/libgdx | 7,270 | Update missing build.gradle files with new syntax for registering tasks | Some Gradle build files were still using old syntax after https://github.com/libgdx/libgdx/pull/7134.
| obigu | "2023-11-05T15:31:03Z" | "2023-11-13T11:04:33Z" | 8e3b2ef2af2e1c1765b3441cb15cfbeddf4046fa | a25ceaddd8e9ea740b7e50e486ea4f815d2a3f58 | Update missing build.gradle files with new syntax for registering tasks. Some Gradle build files were still using old syntax after https://github.com/libgdx/libgdx/pull/7134.
| ./tests/gdx-tests-iosrobovm/build.gradle | /*******************************************************************************
* Copyright 2011 See AUTHORS file.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
******************************************************************************/
buildscript {
dependencies {
classpath "com.mobidevelop.robovm:robovm-gradle-plugin:${versions.robovm}"
}
}
apply plugin: "robovm"
sourceCompatibility = '1.7'
targetCompatibility = '1.7'
dependencies {
implementation project(":tests:gdx-tests")
implementation project(":backends:gdx-backend-robovm")
}
ext {
mainClassName = "com.badlogic.gdx.tests.IOSRobovmTests"
}
launchIPhoneSimulator.dependsOn build
launchIPadSimulator.dependsOn build
launchIOSDevice.dependsOn build
createIPA.dependsOn build
| /*******************************************************************************
* Copyright 2011 See AUTHORS file.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
******************************************************************************/
buildscript {
dependencies {
classpath "com.mobidevelop.robovm:robovm-gradle-plugin:${versions.robovm}"
}
}
apply plugin: "robovm"
sourceCompatibility = '1.7'
targetCompatibility = '1.7'
dependencies {
implementation project(":tests:gdx-tests")
implementation project(":backends:gdx-backend-robovm")
}
ext {
mainClassName = "com.badlogic.gdx.tests.IOSRobovmTests"
}
launchIPhoneSimulator.dependsOn build
launchIPadSimulator.dependsOn build
launchIOSDevice.dependsOn build
createIPA.dependsOn build
| -1 |
libgdx/libgdx | 7,270 | Update missing build.gradle files with new syntax for registering tasks | Some Gradle build files were still using old syntax after https://github.com/libgdx/libgdx/pull/7134.
| obigu | "2023-11-05T15:31:03Z" | "2023-11-13T11:04:33Z" | 8e3b2ef2af2e1c1765b3441cb15cfbeddf4046fa | a25ceaddd8e9ea740b7e50e486ea4f815d2a3f58 | Update missing build.gradle files with new syntax for registering tasks. Some Gradle build files were still using old syntax after https://github.com/libgdx/libgdx/pull/7134.
| ./gradle/dependencies.gradle | /*******************************************************************************
* Copyright 2011 See AUTHORS file.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
******************************************************************************/
ext {
versions = [:]
libraries = [:]
testnatives = [:]
gdxnatives = [:]
}
versions.java = project.hasProperty("javaVersion") ? Integer.parseInt(project.getProperty("javaVersion")) : 7
versions.javaLwjgl3 = project.hasProperty("javaVersion") ? Integer.parseInt(project.getProperty("javaVersion")) : 8
versions.robovm = "2.3.20"
versions.gwt = "2.10.0"
versions.gwtPlugin = "1.1.29"
versions.jsinteropAnnotations = "2.0.2"
versions.gretty = "3.0.7"
versions.jglwf = "1.1"
versions.lwjgl = "2.9.3"
versions.lwjgl3 = "3.3.3"
versions.jlayer = "1.0.1-gdx"
versions.jorbis = "0.0.17"
versions.junit = "4.13.2"
versions.androidPlugin = "7.3.1"
versions.multiDex = "2.0.1"
versions.androidCompileSdk = 33
versions.androidTargetSdk = 33
versions.androidMinSdk = 14
versions.androidBuildTools = "33.0.2"
versions.androidFragment = "1.5.7"
versions.javaparser = "2.3.0"
versions.spotless = "6.7.1"
libraries.compileOnly = [:]
libraries.lwjgl = [
"org.lwjgl.lwjgl:lwjgl:${versions.lwjgl}",
"com.badlogicgames.jlayer:jlayer:${versions.jlayer}",
"org.jcraft:jorbis:${versions.jorbis}"
]
libraries.lwjgl3 = [
"org.lwjgl:lwjgl:${versions.lwjgl3}",
"org.lwjgl:lwjgl:${versions.lwjgl3}:natives-linux",
"org.lwjgl:lwjgl:${versions.lwjgl3}:natives-linux-arm32",
"org.lwjgl:lwjgl:${versions.lwjgl3}:natives-linux-arm64",
"org.lwjgl:lwjgl:${versions.lwjgl3}:natives-macos",
"org.lwjgl:lwjgl:${versions.lwjgl3}:natives-macos-arm64",
"org.lwjgl:lwjgl:${versions.lwjgl3}:natives-windows",
"org.lwjgl:lwjgl:${versions.lwjgl3}:natives-windows-x86",
"org.lwjgl:lwjgl-glfw:${versions.lwjgl3}",
"org.lwjgl:lwjgl-glfw:${versions.lwjgl3}:natives-linux",
"org.lwjgl:lwjgl-glfw:${versions.lwjgl3}:natives-linux-arm32",
"org.lwjgl:lwjgl-glfw:${versions.lwjgl3}:natives-linux-arm64",
"org.lwjgl:lwjgl-glfw:${versions.lwjgl3}:natives-macos",
"org.lwjgl:lwjgl-glfw:${versions.lwjgl3}:natives-macos-arm64",
"org.lwjgl:lwjgl-glfw:${versions.lwjgl3}:natives-windows",
"org.lwjgl:lwjgl-glfw:${versions.lwjgl3}:natives-windows-x86",
"org.lwjgl:lwjgl-jemalloc:${versions.lwjgl3}",
"org.lwjgl:lwjgl-jemalloc:${versions.lwjgl3}:natives-linux",
"org.lwjgl:lwjgl-jemalloc:${versions.lwjgl3}:natives-linux-arm32",
"org.lwjgl:lwjgl-jemalloc:${versions.lwjgl3}:natives-linux-arm64",
"org.lwjgl:lwjgl-jemalloc:${versions.lwjgl3}:natives-macos",
"org.lwjgl:lwjgl-jemalloc:${versions.lwjgl3}:natives-macos-arm64",
"org.lwjgl:lwjgl-jemalloc:${versions.lwjgl3}:natives-windows",
"org.lwjgl:lwjgl-jemalloc:${versions.lwjgl3}:natives-windows-x86",
"org.lwjgl:lwjgl-openal:${versions.lwjgl3}",
"org.lwjgl:lwjgl-openal:${versions.lwjgl3}:natives-linux",
"org.lwjgl:lwjgl-openal:${versions.lwjgl3}:natives-linux-arm32",
"org.lwjgl:lwjgl-openal:${versions.lwjgl3}:natives-linux-arm64",
"org.lwjgl:lwjgl-openal:${versions.lwjgl3}:natives-macos",
"org.lwjgl:lwjgl-openal:${versions.lwjgl3}:natives-macos-arm64",
"org.lwjgl:lwjgl-openal:${versions.lwjgl3}:natives-windows",
"org.lwjgl:lwjgl-openal:${versions.lwjgl3}:natives-windows-x86",
"org.lwjgl:lwjgl-opengl:${versions.lwjgl3}",
"org.lwjgl:lwjgl-opengl:${versions.lwjgl3}:natives-linux",
"org.lwjgl:lwjgl-opengl:${versions.lwjgl3}:natives-linux-arm32",
"org.lwjgl:lwjgl-opengl:${versions.lwjgl3}:natives-linux-arm64",
"org.lwjgl:lwjgl-opengl:${versions.lwjgl3}:natives-macos",
"org.lwjgl:lwjgl-opengl:${versions.lwjgl3}:natives-macos-arm64",
"org.lwjgl:lwjgl-opengl:${versions.lwjgl3}:natives-windows",
"org.lwjgl:lwjgl-opengl:${versions.lwjgl3}:natives-windows-x86",
"org.lwjgl:lwjgl-stb:${versions.lwjgl3}",
"org.lwjgl:lwjgl-stb:${versions.lwjgl3}:natives-linux",
"org.lwjgl:lwjgl-stb:${versions.lwjgl3}:natives-linux-arm32",
"org.lwjgl:lwjgl-stb:${versions.lwjgl3}:natives-linux-arm64",
"org.lwjgl:lwjgl-stb:${versions.lwjgl3}:natives-macos",
"org.lwjgl:lwjgl-stb:${versions.lwjgl3}:natives-macos-arm64",
"org.lwjgl:lwjgl-stb:${versions.lwjgl3}:natives-windows",
"org.lwjgl:lwjgl-stb:${versions.lwjgl3}:natives-windows-x86",
"com.badlogicgames.jlayer:jlayer:${versions.jlayer}",
"org.jcraft:jorbis:${versions.jorbis}"
]
libraries.lwjgl3GLES = [
"org.lwjgl:lwjgl-opengles:${versions.lwjgl3}",
"org.lwjgl:lwjgl-opengles:${versions.lwjgl3}:natives-linux",
"org.lwjgl:lwjgl-opengles:${versions.lwjgl3}:natives-linux-arm32",
"org.lwjgl:lwjgl-opengles:${versions.lwjgl3}:natives-linux-arm64",
"org.lwjgl:lwjgl-opengles:${versions.lwjgl3}:natives-macos",
"org.lwjgl:lwjgl-opengles:${versions.lwjgl3}:natives-macos-arm64",
"org.lwjgl:lwjgl-opengles:${versions.lwjgl3}:natives-windows",
"org.lwjgl:lwjgl-opengles:${versions.lwjgl3}:natives-windows-x86",
"org.lwjgl:lwjgl-egl:${versions.lwjgl3}",
]
libraries.robovm = [
"com.mobidevelop.robovm:robovm-rt:${versions.robovm}",
"com.mobidevelop.robovm:robovm-objc:${versions.robovm}",
"com.mobidevelop.robovm:robovm-cocoatouch:${versions.robovm}"
]
libraries.compileOnly.android = [
"androidx.fragment:fragment:${versions.androidFragment}"
]
libraries.gwt = [
"com.google.gwt:gwt-user:${versions.gwt}",
"com.google.jsinterop:jsinterop-annotations:${versions.jsinteropAnnotations}:sources"
]
libraries.compileOnly.gwt = [
"com.google.gwt:gwt-dev:${versions.gwt}"
]
libraries.junit = [
"junit:junit:${versions.junit}"
]
testnatives.desktop = [
files("gdx/libs/gdx-natives.jar"),
files("extensions/gdx-box2d/gdx-box2d/libs/gdx-box2d-natives.jar"),
files("extensions/gdx-bullet/libs/gdx-bullet-natives.jar"),
files("extensions/gdx-freetype/libs/gdx-freetype-natives.jar")
]
gdxnatives.desktop = [
files("gdx/libs/gdx-natives.jar")
]
| /*******************************************************************************
* Copyright 2011 See AUTHORS file.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
******************************************************************************/
ext {
versions = [:]
libraries = [:]
testnatives = [:]
gdxnatives = [:]
}
versions.java = project.hasProperty("javaVersion") ? Integer.parseInt(project.getProperty("javaVersion")) : 7
versions.javaLwjgl3 = project.hasProperty("javaVersion") ? Integer.parseInt(project.getProperty("javaVersion")) : 8
versions.robovm = "2.3.20"
versions.gwt = "2.10.0"
versions.gwtPlugin = "1.1.29"
versions.jsinteropAnnotations = "2.0.2"
versions.gretty = "3.0.7"
versions.jglwf = "1.1"
versions.lwjgl = "2.9.3"
versions.lwjgl3 = "3.3.3"
versions.jlayer = "1.0.1-gdx"
versions.jorbis = "0.0.17"
versions.junit = "4.13.2"
versions.androidPlugin = "7.3.1"
versions.multiDex = "2.0.1"
versions.androidCompileSdk = 33
versions.androidTargetSdk = 33
versions.androidMinSdk = 14
versions.androidBuildTools = "33.0.2"
versions.androidFragment = "1.5.7"
versions.javaparser = "2.3.0"
versions.spotless = "6.7.1"
libraries.compileOnly = [:]
libraries.lwjgl = [
"org.lwjgl.lwjgl:lwjgl:${versions.lwjgl}",
"com.badlogicgames.jlayer:jlayer:${versions.jlayer}",
"org.jcraft:jorbis:${versions.jorbis}"
]
libraries.lwjgl3 = [
"org.lwjgl:lwjgl:${versions.lwjgl3}",
"org.lwjgl:lwjgl:${versions.lwjgl3}:natives-linux",
"org.lwjgl:lwjgl:${versions.lwjgl3}:natives-linux-arm32",
"org.lwjgl:lwjgl:${versions.lwjgl3}:natives-linux-arm64",
"org.lwjgl:lwjgl:${versions.lwjgl3}:natives-macos",
"org.lwjgl:lwjgl:${versions.lwjgl3}:natives-macos-arm64",
"org.lwjgl:lwjgl:${versions.lwjgl3}:natives-windows",
"org.lwjgl:lwjgl:${versions.lwjgl3}:natives-windows-x86",
"org.lwjgl:lwjgl-glfw:${versions.lwjgl3}",
"org.lwjgl:lwjgl-glfw:${versions.lwjgl3}:natives-linux",
"org.lwjgl:lwjgl-glfw:${versions.lwjgl3}:natives-linux-arm32",
"org.lwjgl:lwjgl-glfw:${versions.lwjgl3}:natives-linux-arm64",
"org.lwjgl:lwjgl-glfw:${versions.lwjgl3}:natives-macos",
"org.lwjgl:lwjgl-glfw:${versions.lwjgl3}:natives-macos-arm64",
"org.lwjgl:lwjgl-glfw:${versions.lwjgl3}:natives-windows",
"org.lwjgl:lwjgl-glfw:${versions.lwjgl3}:natives-windows-x86",
"org.lwjgl:lwjgl-jemalloc:${versions.lwjgl3}",
"org.lwjgl:lwjgl-jemalloc:${versions.lwjgl3}:natives-linux",
"org.lwjgl:lwjgl-jemalloc:${versions.lwjgl3}:natives-linux-arm32",
"org.lwjgl:lwjgl-jemalloc:${versions.lwjgl3}:natives-linux-arm64",
"org.lwjgl:lwjgl-jemalloc:${versions.lwjgl3}:natives-macos",
"org.lwjgl:lwjgl-jemalloc:${versions.lwjgl3}:natives-macos-arm64",
"org.lwjgl:lwjgl-jemalloc:${versions.lwjgl3}:natives-windows",
"org.lwjgl:lwjgl-jemalloc:${versions.lwjgl3}:natives-windows-x86",
"org.lwjgl:lwjgl-openal:${versions.lwjgl3}",
"org.lwjgl:lwjgl-openal:${versions.lwjgl3}:natives-linux",
"org.lwjgl:lwjgl-openal:${versions.lwjgl3}:natives-linux-arm32",
"org.lwjgl:lwjgl-openal:${versions.lwjgl3}:natives-linux-arm64",
"org.lwjgl:lwjgl-openal:${versions.lwjgl3}:natives-macos",
"org.lwjgl:lwjgl-openal:${versions.lwjgl3}:natives-macos-arm64",
"org.lwjgl:lwjgl-openal:${versions.lwjgl3}:natives-windows",
"org.lwjgl:lwjgl-openal:${versions.lwjgl3}:natives-windows-x86",
"org.lwjgl:lwjgl-opengl:${versions.lwjgl3}",
"org.lwjgl:lwjgl-opengl:${versions.lwjgl3}:natives-linux",
"org.lwjgl:lwjgl-opengl:${versions.lwjgl3}:natives-linux-arm32",
"org.lwjgl:lwjgl-opengl:${versions.lwjgl3}:natives-linux-arm64",
"org.lwjgl:lwjgl-opengl:${versions.lwjgl3}:natives-macos",
"org.lwjgl:lwjgl-opengl:${versions.lwjgl3}:natives-macos-arm64",
"org.lwjgl:lwjgl-opengl:${versions.lwjgl3}:natives-windows",
"org.lwjgl:lwjgl-opengl:${versions.lwjgl3}:natives-windows-x86",
"org.lwjgl:lwjgl-stb:${versions.lwjgl3}",
"org.lwjgl:lwjgl-stb:${versions.lwjgl3}:natives-linux",
"org.lwjgl:lwjgl-stb:${versions.lwjgl3}:natives-linux-arm32",
"org.lwjgl:lwjgl-stb:${versions.lwjgl3}:natives-linux-arm64",
"org.lwjgl:lwjgl-stb:${versions.lwjgl3}:natives-macos",
"org.lwjgl:lwjgl-stb:${versions.lwjgl3}:natives-macos-arm64",
"org.lwjgl:lwjgl-stb:${versions.lwjgl3}:natives-windows",
"org.lwjgl:lwjgl-stb:${versions.lwjgl3}:natives-windows-x86",
"com.badlogicgames.jlayer:jlayer:${versions.jlayer}",
"org.jcraft:jorbis:${versions.jorbis}"
]
libraries.lwjgl3GLES = [
"org.lwjgl:lwjgl-opengles:${versions.lwjgl3}",
"org.lwjgl:lwjgl-opengles:${versions.lwjgl3}:natives-linux",
"org.lwjgl:lwjgl-opengles:${versions.lwjgl3}:natives-linux-arm32",
"org.lwjgl:lwjgl-opengles:${versions.lwjgl3}:natives-linux-arm64",
"org.lwjgl:lwjgl-opengles:${versions.lwjgl3}:natives-macos",
"org.lwjgl:lwjgl-opengles:${versions.lwjgl3}:natives-macos-arm64",
"org.lwjgl:lwjgl-opengles:${versions.lwjgl3}:natives-windows",
"org.lwjgl:lwjgl-opengles:${versions.lwjgl3}:natives-windows-x86",
"org.lwjgl:lwjgl-egl:${versions.lwjgl3}",
]
libraries.robovm = [
"com.mobidevelop.robovm:robovm-rt:${versions.robovm}",
"com.mobidevelop.robovm:robovm-objc:${versions.robovm}",
"com.mobidevelop.robovm:robovm-cocoatouch:${versions.robovm}"
]
libraries.compileOnly.android = [
"androidx.fragment:fragment:${versions.androidFragment}"
]
libraries.gwt = [
"com.google.gwt:gwt-user:${versions.gwt}",
"com.google.jsinterop:jsinterop-annotations:${versions.jsinteropAnnotations}:sources"
]
libraries.compileOnly.gwt = [
"com.google.gwt:gwt-dev:${versions.gwt}"
]
libraries.junit = [
"junit:junit:${versions.junit}"
]
testnatives.desktop = [
files("gdx/libs/gdx-natives.jar"),
files("extensions/gdx-box2d/gdx-box2d/libs/gdx-box2d-natives.jar"),
files("extensions/gdx-bullet/libs/gdx-bullet-natives.jar"),
files("extensions/gdx-freetype/libs/gdx-freetype-natives.jar")
]
gdxnatives.desktop = [
files("gdx/libs/gdx-natives.jar")
]
| -1 |
libgdx/libgdx | 7,270 | Update missing build.gradle files with new syntax for registering tasks | Some Gradle build files were still using old syntax after https://github.com/libgdx/libgdx/pull/7134.
| obigu | "2023-11-05T15:31:03Z" | "2023-11-13T11:04:33Z" | 8e3b2ef2af2e1c1765b3441cb15cfbeddf4046fa | a25ceaddd8e9ea740b7e50e486ea4f815d2a3f58 | Update missing build.gradle files with new syntax for registering tasks. Some Gradle build files were still using old syntax after https://github.com/libgdx/libgdx/pull/7134.
| ./publish.gradle | configure([
project(":gdx"),
project(":backends:gdx-backend-android"),
project(":backends:gdx-backend-headless"),
project(":backends:gdx-backend-lwjgl"),
project(":backends:gdx-backend-lwjgl3"),
project(":backends:gdx-backend-robovm"),
project(":backends:gdx-backend-robovm-metalangle"),
project(":backends:gdx-backend-gwt"),
project(":extensions:gdx-box2d-parent"),
project(":extensions:gdx-box2d-parent:gdx-box2d"),
project(":extensions:gdx-box2d-parent:gdx-box2d-gwt"),
project(":extensions:gdx-bullet"),
project(":extensions:gdx-freetype"),
project(":extensions:gdx-lwjgl3-angle"),
project(":extensions:gdx-lwjgl3-glfw-awt-macos"),
project(":extensions:gdx-tools")
]) {
apply plugin: 'maven-publish'
apply plugin: 'signing'
afterEvaluate { project ->
//Workaround android not having components populated yet.
afterEvaluate {
publishing {
publications {
mavenJava(MavenPublication) {
//Most normal java projects
if(components.findByName("java") != null)
from components.java
//Android
if(components.findByName("release") != null) {
from components.release
}
versionMapping {
usage('java-api') {
fromResolutionOf('runtimeClasspath')
}
usage('java-runtime') {
fromResolutionResult()
}
}
pom {
name = POM_NAME
if(!POM_DESCRIPTION.isEmpty())
description = POM_DESCRIPTION
url = POM_URL
licenses {
license {
name = POM_LICENCE_NAME
url = POM_LICENCE_URL
distribution = POM_LICENCE_DIST
}
}
developers {
developer {
id = "libGDX Developers"
url = "https://github.com/libgdx/libgdx/graphs/contributors"
}
}
scm {
connection = POM_SCM_CONNECTION
developerConnection = POM_SCM_DEV_CONNECTION
url = POM_SCM_URL
}
}
}
//Libgdx natives all follow the "$name-platform" artifact structure.
if(project.tasks.findByName('jnigen')) {
mavenPlatform(MavenPublication) {
artifactId = artifactId + "-platform"
if(project.tasks.findByName('jnigenJarNativesDesktop'))
artifact jnigenJarNativesDesktop { }
[
'arm64-v8a',
'armeabi-v7a',
'x86_64',
'x86'
].each { id ->
if(project.tasks.findByName("jnigenJarNativesAndroid${id}"))
artifact "jnigenJarNativesAndroid${id}" { }
}
if(project.tasks.findByName('jnigenJarNativesIOS'))
artifact jnigenJarNativesIOS { }
pom {
name = POM_NAME + " Native Libraries"
if(!POM_DESCRIPTION.isEmpty())
description = POM_DESCRIPTION
url = POM_URL
licenses {
license {
name = POM_LICENCE_NAME
url = POM_LICENCE_URL
distribution = POM_LICENCE_DIST
}
}
developers {
developer {
id = "libGDX Developers"
url = "https://github.com/libgdx/libgdx/graphs/contributors"
}
}
scm {
connection = POM_SCM_CONNECTION
developerConnection = POM_SCM_DEV_CONNECTION
url = POM_SCM_URL
}
}
}
}
}
repositories {
maven {
url = version.endsWith('SNAPSHOT') ? getSnapshotRepositoryUrl() : getReleaseRepositoryUrl()
if (getRepositoryUsername() || getRepositoryPassword())
{
credentials {
username = getRepositoryUsername()
password = getRepositoryPassword()
}
}
}
}
}
signing {
useGpgCmd()
sign publishing.publications.mavenJava
if(project.tasks.findByName('jnigen'))
sign publishing.publications.mavenPlatform
}
//Simply using "required" in signing block doesn't work because taskGraph isn't ready yet.
gradle.taskGraph.whenReady {
tasks.withType(Sign) {
onlyIf { isReleaseBuild() }
}
}
}
}
}
| configure([
project(":gdx"),
project(":backends:gdx-backend-android"),
project(":backends:gdx-backend-headless"),
project(":backends:gdx-backend-lwjgl"),
project(":backends:gdx-backend-lwjgl3"),
project(":backends:gdx-backend-robovm"),
project(":backends:gdx-backend-robovm-metalangle"),
project(":backends:gdx-backend-gwt"),
project(":extensions:gdx-box2d-parent"),
project(":extensions:gdx-box2d-parent:gdx-box2d"),
project(":extensions:gdx-box2d-parent:gdx-box2d-gwt"),
project(":extensions:gdx-bullet"),
project(":extensions:gdx-freetype"),
project(":extensions:gdx-lwjgl3-angle"),
project(":extensions:gdx-lwjgl3-glfw-awt-macos"),
project(":extensions:gdx-tools")
]) {
apply plugin: 'maven-publish'
apply plugin: 'signing'
afterEvaluate { project ->
//Workaround android not having components populated yet.
afterEvaluate {
publishing {
publications {
mavenJava(MavenPublication) {
//Most normal java projects
if(components.findByName("java") != null)
from components.java
//Android
if(components.findByName("release") != null) {
from components.release
}
versionMapping {
usage('java-api') {
fromResolutionOf('runtimeClasspath')
}
usage('java-runtime') {
fromResolutionResult()
}
}
pom {
name = POM_NAME
if(!POM_DESCRIPTION.isEmpty())
description = POM_DESCRIPTION
url = POM_URL
licenses {
license {
name = POM_LICENCE_NAME
url = POM_LICENCE_URL
distribution = POM_LICENCE_DIST
}
}
developers {
developer {
id = "libGDX Developers"
url = "https://github.com/libgdx/libgdx/graphs/contributors"
}
}
scm {
connection = POM_SCM_CONNECTION
developerConnection = POM_SCM_DEV_CONNECTION
url = POM_SCM_URL
}
}
}
//Libgdx natives all follow the "$name-platform" artifact structure.
if(project.tasks.findByName('jnigen')) {
mavenPlatform(MavenPublication) {
artifactId = artifactId + "-platform"
if(project.tasks.findByName('jnigenJarNativesDesktop'))
artifact jnigenJarNativesDesktop { }
[
'arm64-v8a',
'armeabi-v7a',
'x86_64',
'x86'
].each { id ->
if(project.tasks.findByName("jnigenJarNativesAndroid${id}"))
artifact "jnigenJarNativesAndroid${id}" { }
}
if(project.tasks.findByName('jnigenJarNativesIOS'))
artifact jnigenJarNativesIOS { }
pom {
name = POM_NAME + " Native Libraries"
if(!POM_DESCRIPTION.isEmpty())
description = POM_DESCRIPTION
url = POM_URL
licenses {
license {
name = POM_LICENCE_NAME
url = POM_LICENCE_URL
distribution = POM_LICENCE_DIST
}
}
developers {
developer {
id = "libGDX Developers"
url = "https://github.com/libgdx/libgdx/graphs/contributors"
}
}
scm {
connection = POM_SCM_CONNECTION
developerConnection = POM_SCM_DEV_CONNECTION
url = POM_SCM_URL
}
}
}
}
}
repositories {
maven {
url = version.endsWith('SNAPSHOT') ? getSnapshotRepositoryUrl() : getReleaseRepositoryUrl()
if (getRepositoryUsername() || getRepositoryPassword())
{
credentials {
username = getRepositoryUsername()
password = getRepositoryPassword()
}
}
}
}
}
signing {
useGpgCmd()
sign publishing.publications.mavenJava
if(project.tasks.findByName('jnigen'))
sign publishing.publications.mavenPlatform
}
//Simply using "required" in signing block doesn't work because taskGraph isn't ready yet.
gradle.taskGraph.whenReady {
tasks.withType(Sign) {
onlyIf { isReleaseBuild() }
}
}
}
}
}
| -1 |
libgdx/libgdx | 7,270 | Update missing build.gradle files with new syntax for registering tasks | Some Gradle build files were still using old syntax after https://github.com/libgdx/libgdx/pull/7134.
| obigu | "2023-11-05T15:31:03Z" | "2023-11-13T11:04:33Z" | 8e3b2ef2af2e1c1765b3441cb15cfbeddf4046fa | a25ceaddd8e9ea740b7e50e486ea4f815d2a3f58 | Update missing build.gradle files with new syntax for registering tasks. Some Gradle build files were still using old syntax after https://github.com/libgdx/libgdx/pull/7134.
| ./backends/gdx-backend-android/build.gradle | /*******************************************************************************
* Copyright 2011 See AUTHORS file.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
******************************************************************************/
buildscript {
dependencies {
classpath "com.android.tools.build:gradle:${versions.androidPlugin}"
}
}
apply plugin: 'com.android.library'
android {
namespace "com.badlogic.gdx.backends.android"
compileSdkVersion versions.androidCompileSdk
buildToolsVersion versions.androidBuildTools
defaultConfig {
minSdkVersion versions.androidMinSdk
}
sourceSets {
main {
manifest.srcFile 'AndroidManifest.xml'
java.srcDirs = ["src"]
}
}
compileOptions {
sourceCompatibility = versions.java
targetCompatibility = versions.java
}
publishing {
singleVariant("release") {
withSourcesJar()
withJavadocJar()
}
}
}
dependencies {
implementation project(":gdx")
compileOnly libraries.compileOnly.android
}
| /*******************************************************************************
* Copyright 2011 See AUTHORS file.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
******************************************************************************/
buildscript {
dependencies {
classpath "com.android.tools.build:gradle:${versions.androidPlugin}"
}
}
apply plugin: 'com.android.library'
android {
namespace "com.badlogic.gdx.backends.android"
compileSdkVersion versions.androidCompileSdk
buildToolsVersion versions.androidBuildTools
defaultConfig {
minSdkVersion versions.androidMinSdk
}
sourceSets {
main {
manifest.srcFile 'AndroidManifest.xml'
java.srcDirs = ["src"]
}
}
compileOptions {
sourceCompatibility = versions.java
targetCompatibility = versions.java
}
publishing {
singleVariant("release") {
withSourcesJar()
withJavadocJar()
}
}
}
dependencies {
implementation project(":gdx")
compileOnly libraries.compileOnly.android
}
| -1 |
libgdx/libgdx | 7,270 | Update missing build.gradle files with new syntax for registering tasks | Some Gradle build files were still using old syntax after https://github.com/libgdx/libgdx/pull/7134.
| obigu | "2023-11-05T15:31:03Z" | "2023-11-13T11:04:33Z" | 8e3b2ef2af2e1c1765b3441cb15cfbeddf4046fa | a25ceaddd8e9ea740b7e50e486ea4f815d2a3f58 | Update missing build.gradle files with new syntax for registering tasks. Some Gradle build files were still using old syntax after https://github.com/libgdx/libgdx/pull/7134.
| ./gradle/dist.gradle | configure(subprojects - project(":tests:gdx-tests-android") - project(":backends:gdx-backend-android")) {
tasks.register('uberJar', Jar) {
archiveClassifier = ''
archiveVersion = ''
duplicatesStrategy = 'exclude'
from sourceSets.main.output
dependsOn configurations.compileClasspath
from {
configurations.compileClasspath.findAll {
it.name.endsWith('jar') &&
!it.name.endsWith("gdx-natives.jar") &&
!it.name.endsWith("gdx-box2d-natives.jar") &&
!it.name.endsWith("gdx-freetype-natives.jar") &&
!it.name.endsWith("gdx-bullet-natives.jar") &&
!it.name.endsWith("jinput-2.0.5.jar") &&
!it.name.endsWith("jutils-1.0.0.jar") &&
!it.name.contains("platform") }.collect { zipTree(it) }
}
}
tasks.register("printCompileClasspath") {
doFirst{
sourceSets.main.compileClasspath.each { println it}
}
}
}
| configure(subprojects - project(":tests:gdx-tests-android") - project(":backends:gdx-backend-android")) {
tasks.register('uberJar', Jar) {
archiveClassifier = ''
archiveVersion = ''
duplicatesStrategy = 'exclude'
from sourceSets.main.output
dependsOn configurations.compileClasspath
from {
configurations.compileClasspath.findAll {
it.name.endsWith('jar') &&
!it.name.endsWith("gdx-natives.jar") &&
!it.name.endsWith("gdx-box2d-natives.jar") &&
!it.name.endsWith("gdx-freetype-natives.jar") &&
!it.name.endsWith("gdx-bullet-natives.jar") &&
!it.name.endsWith("jinput-2.0.5.jar") &&
!it.name.endsWith("jutils-1.0.0.jar") &&
!it.name.contains("platform") }.collect { zipTree(it) }
}
}
tasks.register("printCompileClasspath") {
doFirst{
sourceSets.main.compileClasspath.each { println it}
}
}
}
| -1 |
libgdx/libgdx | 7,270 | Update missing build.gradle files with new syntax for registering tasks | Some Gradle build files were still using old syntax after https://github.com/libgdx/libgdx/pull/7134.
| obigu | "2023-11-05T15:31:03Z" | "2023-11-13T11:04:33Z" | 8e3b2ef2af2e1c1765b3441cb15cfbeddf4046fa | a25ceaddd8e9ea740b7e50e486ea4f815d2a3f58 | Update missing build.gradle files with new syntax for registering tasks. Some Gradle build files were still using old syntax after https://github.com/libgdx/libgdx/pull/7134.
| ./extensions/gdx-lwjgl3-glfw-awt-macos/build.gradle | /*******************************************************************************
* Copyright 2011 See AUTHORS file.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
******************************************************************************/
dependencies {
implementation project(":gdx")
}
sourceSets.main.java.srcDirs = ["src"]
sourceSets.main.resources.srcDirs = ["res"]
tasks.withType(Jar) { duplicatesStrategy = DuplicatesStrategy.INCLUDE }
| /*******************************************************************************
* Copyright 2011 See AUTHORS file.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
******************************************************************************/
dependencies {
implementation project(":gdx")
}
sourceSets.main.java.srcDirs = ["src"]
sourceSets.main.resources.srcDirs = ["res"]
tasks.withType(Jar) { duplicatesStrategy = DuplicatesStrategy.INCLUDE }
| -1 |
libgdx/libgdx | 7,270 | Update missing build.gradle files with new syntax for registering tasks | Some Gradle build files were still using old syntax after https://github.com/libgdx/libgdx/pull/7134.
| obigu | "2023-11-05T15:31:03Z" | "2023-11-13T11:04:33Z" | 8e3b2ef2af2e1c1765b3441cb15cfbeddf4046fa | a25ceaddd8e9ea740b7e50e486ea4f815d2a3f58 | Update missing build.gradle files with new syntax for registering tasks. Some Gradle build files were still using old syntax after https://github.com/libgdx/libgdx/pull/7134.
| ./extensions/gdx-setup/build.gradle | /*******************************************************************************
* Copyright 2011 See AUTHORS file.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
******************************************************************************/
plugins {
id 'application'
}
application {
mainClass = 'com.badlogic.gdx.setup.GdxSetup'
}
jar {
archiveFileName = 'gdx-setup.jar'
manifest {
attributes 'Main-Class': project.application.mainClass.get()
}
}
| /*******************************************************************************
* Copyright 2011 See AUTHORS file.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
******************************************************************************/
plugins {
id 'application'
}
application {
mainClass = 'com.badlogic.gdx.setup.GdxSetup'
}
jar {
archiveFileName = 'gdx-setup.jar'
manifest {
attributes 'Main-Class': project.application.mainClass.get()
}
}
| -1 |
libgdx/libgdx | 7,270 | Update missing build.gradle files with new syntax for registering tasks | Some Gradle build files were still using old syntax after https://github.com/libgdx/libgdx/pull/7134.
| obigu | "2023-11-05T15:31:03Z" | "2023-11-13T11:04:33Z" | 8e3b2ef2af2e1c1765b3441cb15cfbeddf4046fa | a25ceaddd8e9ea740b7e50e486ea4f815d2a3f58 | Update missing build.gradle files with new syntax for registering tasks. Some Gradle build files were still using old syntax after https://github.com/libgdx/libgdx/pull/7134.
| ./backends/gdx-backend-lwjgl/build.gradle | /*******************************************************************************
* Copyright 2011 See AUTHORS file.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
******************************************************************************/
dependencies {
api libraries.lwjgl
api gdxnatives.desktop
}
| /*******************************************************************************
* Copyright 2011 See AUTHORS file.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
******************************************************************************/
dependencies {
api libraries.lwjgl
api gdxnatives.desktop
}
| -1 |
libgdx/libgdx | 7,270 | Update missing build.gradle files with new syntax for registering tasks | Some Gradle build files were still using old syntax after https://github.com/libgdx/libgdx/pull/7134.
| obigu | "2023-11-05T15:31:03Z" | "2023-11-13T11:04:33Z" | 8e3b2ef2af2e1c1765b3441cb15cfbeddf4046fa | a25ceaddd8e9ea740b7e50e486ea4f815d2a3f58 | Update missing build.gradle files with new syntax for registering tasks. Some Gradle build files were still using old syntax after https://github.com/libgdx/libgdx/pull/7134.
| ./extensions/gdx-box2d/gdx-box2d-gwt/build.gradle | /*******************************************************************************
* Copyright 2011 See AUTHORS file.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
******************************************************************************/
dependencies {
api libraries.gwt
compileOnly libraries.compileOnly.gwt
}
configurations.all {
// gwt-dev pulls in apache-jsp (Tomcat), but we don't need it and it messes with gretty
exclude group: 'org.eclipse.jetty', module: 'apache-jsp'
}
sourceSets.main.java.exclude "**/System.java"
eclipse {
classpath {
containers += [
'com.google.gwt.eclipse.core.GWT_CONTAINER',
'com.gwtplugins.gwt.eclipse.core.GWT_CONTAINER'
]
file {
withXml {
def node = it.asNode()
//Exclude emu folder from main classpath entry
node.children().each { c ->
if(c.attribute('path').equals('src')) {
c.attributes().put('excluding', 'com/badlogic/gdx/physics/box2d/gwt/emu/')
}
}
//Add second classpath entry for emu folder if not exists
def emuNodes = node.children().findAll { it.name() == 'classpathentry' && it.'@path'.equals('src/com/badlogic/gdx/physics/box2d/gwt/emu/')}
if (emuNodes.size() == 0) {
def emuNode = node.appendNode('classpathentry')
emuNode.attributes().put('kind', 'src')
emuNode.attributes().put('path', 'src/com/badlogic/gdx/physics/box2d/gwt/emu/')
emuNode.attributes().put('excluding', 'java/lang/System.java')
}
}
}
}
} | /*******************************************************************************
* Copyright 2011 See AUTHORS file.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
******************************************************************************/
dependencies {
api libraries.gwt
compileOnly libraries.compileOnly.gwt
}
configurations.all {
// gwt-dev pulls in apache-jsp (Tomcat), but we don't need it and it messes with gretty
exclude group: 'org.eclipse.jetty', module: 'apache-jsp'
}
sourceSets.main.java.exclude "**/System.java"
eclipse {
classpath {
containers += [
'com.google.gwt.eclipse.core.GWT_CONTAINER',
'com.gwtplugins.gwt.eclipse.core.GWT_CONTAINER'
]
file {
withXml {
def node = it.asNode()
//Exclude emu folder from main classpath entry
node.children().each { c ->
if(c.attribute('path').equals('src')) {
c.attributes().put('excluding', 'com/badlogic/gdx/physics/box2d/gwt/emu/')
}
}
//Add second classpath entry for emu folder if not exists
def emuNodes = node.children().findAll { it.name() == 'classpathentry' && it.'@path'.equals('src/com/badlogic/gdx/physics/box2d/gwt/emu/')}
if (emuNodes.size() == 0) {
def emuNode = node.appendNode('classpathentry')
emuNode.attributes().put('kind', 'src')
emuNode.attributes().put('path', 'src/com/badlogic/gdx/physics/box2d/gwt/emu/')
emuNode.attributes().put('excluding', 'java/lang/System.java')
}
}
}
}
} | -1 |
libgdx/libgdx | 7,270 | Update missing build.gradle files with new syntax for registering tasks | Some Gradle build files were still using old syntax after https://github.com/libgdx/libgdx/pull/7134.
| obigu | "2023-11-05T15:31:03Z" | "2023-11-13T11:04:33Z" | 8e3b2ef2af2e1c1765b3441cb15cfbeddf4046fa | a25ceaddd8e9ea740b7e50e486ea4f815d2a3f58 | Update missing build.gradle files with new syntax for registering tasks. Some Gradle build files were still using old syntax after https://github.com/libgdx/libgdx/pull/7134.
| ./extensions/gdx-freetype/build.gradle | /*******************************************************************************
* Copyright 2011 See AUTHORS file.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
******************************************************************************/
dependencies {
api project(":gdx")
}
apply plugin: "com.badlogicgames.gdx.gdx-jnigen"
jnigen {
sharedLibName = "gdx-freetype"
all {
headerDirs = ["freetype/include"]
cIncludes = [
// BASE
"freetype/src/base/ftsystem.c",
"freetype/src/base/ftinit.c",
"freetype/src/base/ftdebug.c",
"freetype/src/base/ftbase.c",
"freetype/src/base/ftbbox.c",
"freetype/src/base/ftglyph.c",
"freetype/src/base/ftbdf.c",
"freetype/src/base/ftbitmap.c",
"freetype/src/base/ftcid.c",
"freetype/src/base/ftfstype.c",
"freetype/src/base/ftgasp.c",
"freetype/src/base/ftgxval.c",
"freetype/src/base/ftmm.c",
"freetype/src/base/ftotval.c",
"freetype/src/base/ftpatent.c",
"freetype/src/base/ftpfr.c",
"freetype/src/base/ftstroke.c",
"freetype/src/base/ftsynth.c",
"freetype/src/base/fttype1.c",
"freetype/src/base/ftwinfnt.c",
"freetype/src/base/ftxf86.c",
// "freetype/src/base/ftmac.c",
// DRIVERS
"freetype/src/bdf/bdf.c",
"freetype/src/cff/cff.c",
"freetype/src/cid/type1cid.c",
"freetype/src/pcf/pcf.c",
"freetype/src/pfr/pfr.c",
"freetype/src/sdf/sdf.c",
"freetype/src/sfnt/sfnt.c",
"freetype/src/truetype/truetype.c",
"freetype/src/type1/type1.c",
"freetype/src/type42/type42.c",
"freetype/src/winfonts/winfnt.c",
// RASTERIZERS
"freetype/src/raster/raster.c",
"freetype/src/smooth/smooth.c",
// AUX
"freetype/src/autofit/autofit.c",
"freetype/src/cache/ftcache.c",
"freetype/src/gzip/ftgzip.c",
"freetype/src/lzw/ftlzw.c",
"freetype/src/bzip2/ftbzip2.c",
"freetype/src/gxvalid/gxvalid.c",
"freetype/src/otvalid/otvalid.c",
"freetype/src/psaux/psaux.c",
"freetype/src/pshinter/pshinter.c",
"freetype/src/psnames/psnames.c"
]
cppExcludes = ["freetype/subprojects/"]
cFlags += " -DFT2_BUILD_LIBRARY "
cFlags += System.getenv("CC_FLAGS") ?: ""
cppFlags += " -DFT2_BUILD_LIBRARY "
cppFlags += System.getenv("CPP_FLAGS") ?: ""
}
add(Windows, x32)
add(Windows, x64)
add(Linux, x64)
add(Linux, x32, ARM)
add(Linux, x64, ARM)
add(MacOsX, x64) {
linkerFlags += " -framework CoreServices -framework Carbon"
}
add(MacOsX, x64, ARM) {
linkerFlags += " -framework CoreServices -framework Carbon"
}
add(Android)
add(IOS)
}
| /*******************************************************************************
* Copyright 2011 See AUTHORS file.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
******************************************************************************/
dependencies {
api project(":gdx")
}
apply plugin: "com.badlogicgames.gdx.gdx-jnigen"
jnigen {
sharedLibName = "gdx-freetype"
all {
headerDirs = ["freetype/include"]
cIncludes = [
// BASE
"freetype/src/base/ftsystem.c",
"freetype/src/base/ftinit.c",
"freetype/src/base/ftdebug.c",
"freetype/src/base/ftbase.c",
"freetype/src/base/ftbbox.c",
"freetype/src/base/ftglyph.c",
"freetype/src/base/ftbdf.c",
"freetype/src/base/ftbitmap.c",
"freetype/src/base/ftcid.c",
"freetype/src/base/ftfstype.c",
"freetype/src/base/ftgasp.c",
"freetype/src/base/ftgxval.c",
"freetype/src/base/ftmm.c",
"freetype/src/base/ftotval.c",
"freetype/src/base/ftpatent.c",
"freetype/src/base/ftpfr.c",
"freetype/src/base/ftstroke.c",
"freetype/src/base/ftsynth.c",
"freetype/src/base/fttype1.c",
"freetype/src/base/ftwinfnt.c",
"freetype/src/base/ftxf86.c",
// "freetype/src/base/ftmac.c",
// DRIVERS
"freetype/src/bdf/bdf.c",
"freetype/src/cff/cff.c",
"freetype/src/cid/type1cid.c",
"freetype/src/pcf/pcf.c",
"freetype/src/pfr/pfr.c",
"freetype/src/sdf/sdf.c",
"freetype/src/sfnt/sfnt.c",
"freetype/src/truetype/truetype.c",
"freetype/src/type1/type1.c",
"freetype/src/type42/type42.c",
"freetype/src/winfonts/winfnt.c",
// RASTERIZERS
"freetype/src/raster/raster.c",
"freetype/src/smooth/smooth.c",
// AUX
"freetype/src/autofit/autofit.c",
"freetype/src/cache/ftcache.c",
"freetype/src/gzip/ftgzip.c",
"freetype/src/lzw/ftlzw.c",
"freetype/src/bzip2/ftbzip2.c",
"freetype/src/gxvalid/gxvalid.c",
"freetype/src/otvalid/otvalid.c",
"freetype/src/psaux/psaux.c",
"freetype/src/pshinter/pshinter.c",
"freetype/src/psnames/psnames.c"
]
cppExcludes = ["freetype/subprojects/"]
cFlags += " -DFT2_BUILD_LIBRARY "
cFlags += System.getenv("CC_FLAGS") ?: ""
cppFlags += " -DFT2_BUILD_LIBRARY "
cppFlags += System.getenv("CPP_FLAGS") ?: ""
}
add(Windows, x32)
add(Windows, x64)
add(Linux, x64)
add(Linux, x32, ARM)
add(Linux, x64, ARM)
add(MacOsX, x64) {
linkerFlags += " -framework CoreServices -framework Carbon"
}
add(MacOsX, x64, ARM) {
linkerFlags += " -framework CoreServices -framework Carbon"
}
add(Android)
add(IOS)
}
| -1 |
libgdx/libgdx | 7,270 | Update missing build.gradle files with new syntax for registering tasks | Some Gradle build files were still using old syntax after https://github.com/libgdx/libgdx/pull/7134.
| obigu | "2023-11-05T15:31:03Z" | "2023-11-13T11:04:33Z" | 8e3b2ef2af2e1c1765b3441cb15cfbeddf4046fa | a25ceaddd8e9ea740b7e50e486ea4f815d2a3f58 | Update missing build.gradle files with new syntax for registering tasks. Some Gradle build files were still using old syntax after https://github.com/libgdx/libgdx/pull/7134.
| ./extensions/build.gradle | /*******************************************************************************
* Copyright 2011 See AUTHORS file.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
******************************************************************************/
subprojects {
apply plugin: "java"
if (JavaVersion.current().isJava9Compatible()) {
compileJava {
options.release = versions.java
}
}
sourceCompatibility = versions.java
targetCompatibility = versions.java
sourceSets.main.java.srcDirs = ["src"]
sourceSets.main.resources.srcDirs = ["res"]
}
| /*******************************************************************************
* Copyright 2011 See AUTHORS file.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
******************************************************************************/
subprojects {
apply plugin: "java"
if (JavaVersion.current().isJava9Compatible()) {
compileJava {
options.release = versions.java
}
}
sourceCompatibility = versions.java
targetCompatibility = versions.java
sourceSets.main.java.srcDirs = ["src"]
sourceSets.main.resources.srcDirs = ["res"]
}
| -1 |
libgdx/libgdx | 7,270 | Update missing build.gradle files with new syntax for registering tasks | Some Gradle build files were still using old syntax after https://github.com/libgdx/libgdx/pull/7134.
| obigu | "2023-11-05T15:31:03Z" | "2023-11-13T11:04:33Z" | 8e3b2ef2af2e1c1765b3441cb15cfbeddf4046fa | a25ceaddd8e9ea740b7e50e486ea4f815d2a3f58 | Update missing build.gradle files with new syntax for registering tasks. Some Gradle build files were still using old syntax after https://github.com/libgdx/libgdx/pull/7134.
| ./settings.gradle | /*******************************************************************************
* Copyright 2011 See AUTHORS file.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
******************************************************************************/
include ":gdx"
include ":backends"
include ":backends:gdx-backend-android"
include ":backends:gdx-backend-headless"
include ":backends:gdx-backend-lwjgl"
include ":backends:gdx-backend-lwjgl3"
include ":backends:gdx-backend-robovm"
include ":backends:gdx-backend-robovm-metalangle"
include ":backends:gdx-backends-gwt"
project(":backends:gdx-backends-gwt").name = "gdx-backend-gwt"
include(":extensions:gdx-box2d")
project(":extensions:gdx-box2d").name = "gdx-box2d-parent"
include ":extensions:gdx-box2d-parent:gdx-box2d"
include ":extensions:gdx-box2d-parent:gdx-box2d-gwt"
include ":extensions:gdx-bullet"
include ":extensions:gdx-freetype"
include ":extensions:gdx-setup"
include ":extensions:gdx-tools"
include ":extensions:gdx-lwjgl3-angle"
include ":extensions:gdx-lwjgl3-glfw-awt-macos"
include ":tests"
include ":tests:gdx-tests"
include ":tests:gdx-tests-android"
include ":tests:gdx-tests-gwt"
include ":tests:gdx-tests-iosrobovm"
include ":tests:gdx-tests-lwjgl"
include ":tests:gdx-tests-lwjgl3"
rootProject.name = "libgdx"
| /*******************************************************************************
* Copyright 2011 See AUTHORS file.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
******************************************************************************/
include ":gdx"
include ":backends"
include ":backends:gdx-backend-android"
include ":backends:gdx-backend-headless"
include ":backends:gdx-backend-lwjgl"
include ":backends:gdx-backend-lwjgl3"
include ":backends:gdx-backend-robovm"
include ":backends:gdx-backend-robovm-metalangle"
include ":backends:gdx-backends-gwt"
project(":backends:gdx-backends-gwt").name = "gdx-backend-gwt"
include(":extensions:gdx-box2d")
project(":extensions:gdx-box2d").name = "gdx-box2d-parent"
include ":extensions:gdx-box2d-parent:gdx-box2d"
include ":extensions:gdx-box2d-parent:gdx-box2d-gwt"
include ":extensions:gdx-bullet"
include ":extensions:gdx-freetype"
include ":extensions:gdx-setup"
include ":extensions:gdx-tools"
include ":extensions:gdx-lwjgl3-angle"
include ":extensions:gdx-lwjgl3-glfw-awt-macos"
include ":tests"
include ":tests:gdx-tests"
include ":tests:gdx-tests-android"
include ":tests:gdx-tests-gwt"
include ":tests:gdx-tests-iosrobovm"
include ":tests:gdx-tests-lwjgl"
include ":tests:gdx-tests-lwjgl3"
rootProject.name = "libgdx"
| -1 |
libgdx/libgdx | 7,270 | Update missing build.gradle files with new syntax for registering tasks | Some Gradle build files were still using old syntax after https://github.com/libgdx/libgdx/pull/7134.
| obigu | "2023-11-05T15:31:03Z" | "2023-11-13T11:04:33Z" | 8e3b2ef2af2e1c1765b3441cb15cfbeddf4046fa | a25ceaddd8e9ea740b7e50e486ea4f815d2a3f58 | Update missing build.gradle files with new syntax for registering tasks. Some Gradle build files were still using old syntax after https://github.com/libgdx/libgdx/pull/7134.
| ./extensions/gdx-setup/res/com/badlogic/gdx/setup/resources/lwjgl3/build.gradle | sourceCompatibility = 1.8
sourceSets.main.java.srcDirs = [ "src/" ]
sourceSets.main.resources.srcDirs = ["../%ASSET_PATH%"]
project.ext.mainClassName = "%PACKAGE%.DesktopLauncher"
project.ext.assetsDir = new File("../%ASSET_PATH%")
import org.gradle.internal.os.OperatingSystem
tasks.register('run', JavaExec) {
dependsOn classes
mainClass = project.mainClassName
classpath = sourceSets.main.runtimeClasspath
standardInput = System.in
workingDir = project.assetsDir
ignoreExitValue = true
if (OperatingSystem.current() == OperatingSystem.MAC_OS) {
// Required to run on macOS
jvmArgs += "-XstartOnFirstThread"
}
}
tasks.register('debug', JavaExec) {
dependsOn classes
mainClass = project.mainClassName
classpath = sourceSets.main.runtimeClasspath
standardInput = System.in
workingDir = project.assetsDir
ignoreExitValue = true
debug = true
}
tasks.register('dist', Jar) {
duplicatesStrategy(DuplicatesStrategy.EXCLUDE)
manifest {
attributes 'Main-Class': project.mainClassName
}
dependsOn configurations.runtimeClasspath
from {
configurations.runtimeClasspath.collect { it.isDirectory() ? it : zipTree(it) }
}
with jar
}
dist.dependsOn classes
eclipse.project.name = appName + "-desktop"
| sourceCompatibility = 1.8
sourceSets.main.java.srcDirs = [ "src/" ]
sourceSets.main.resources.srcDirs = ["../%ASSET_PATH%"]
project.ext.mainClassName = "%PACKAGE%.DesktopLauncher"
project.ext.assetsDir = new File("../%ASSET_PATH%")
import org.gradle.internal.os.OperatingSystem
tasks.register('run', JavaExec) {
dependsOn classes
mainClass = project.mainClassName
classpath = sourceSets.main.runtimeClasspath
standardInput = System.in
workingDir = project.assetsDir
ignoreExitValue = true
if (OperatingSystem.current() == OperatingSystem.MAC_OS) {
// Required to run on macOS
jvmArgs += "-XstartOnFirstThread"
}
}
tasks.register('debug', JavaExec) {
dependsOn classes
mainClass = project.mainClassName
classpath = sourceSets.main.runtimeClasspath
standardInput = System.in
workingDir = project.assetsDir
ignoreExitValue = true
debug = true
}
tasks.register('dist', Jar) {
duplicatesStrategy(DuplicatesStrategy.EXCLUDE)
manifest {
attributes 'Main-Class': project.mainClassName
}
dependsOn configurations.runtimeClasspath
from {
configurations.runtimeClasspath.collect { it.isDirectory() ? it : zipTree(it) }
}
with jar
}
dist.dependsOn classes
eclipse.project.name = appName + "-desktop"
| -1 |
libgdx/libgdx | 7,270 | Update missing build.gradle files with new syntax for registering tasks | Some Gradle build files were still using old syntax after https://github.com/libgdx/libgdx/pull/7134.
| obigu | "2023-11-05T15:31:03Z" | "2023-11-13T11:04:33Z" | 8e3b2ef2af2e1c1765b3441cb15cfbeddf4046fa | a25ceaddd8e9ea740b7e50e486ea4f815d2a3f58 | Update missing build.gradle files with new syntax for registering tasks. Some Gradle build files were still using old syntax after https://github.com/libgdx/libgdx/pull/7134.
| ./backends/build.gradle | /*******************************************************************************
* Copyright 2011 See AUTHORS file.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
******************************************************************************/
configure(subprojects - project(":backends:gdx-backend-android")) {
apply plugin: "java"
if (JavaVersion.current().isJava9Compatible()) {
compileJava {
options.release = versions.java
}
}
sourceCompatibility = versions.java
targetCompatibility = versions.java
sourceSets.main.java.srcDirs = ["src"]
sourceSets.main.resources.srcDirs = ["res"]
dependencies {
api project(":gdx")
}
}
| /*******************************************************************************
* Copyright 2011 See AUTHORS file.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
******************************************************************************/
configure(subprojects - project(":backends:gdx-backend-android")) {
apply plugin: "java"
if (JavaVersion.current().isJava9Compatible()) {
compileJava {
options.release = versions.java
}
}
sourceCompatibility = versions.java
targetCompatibility = versions.java
sourceSets.main.java.srcDirs = ["src"]
sourceSets.main.resources.srcDirs = ["res"]
dependencies {
api project(":gdx")
}
}
| -1 |
libgdx/libgdx | 7,270 | Update missing build.gradle files with new syntax for registering tasks | Some Gradle build files were still using old syntax after https://github.com/libgdx/libgdx/pull/7134.
| obigu | "2023-11-05T15:31:03Z" | "2023-11-13T11:04:33Z" | 8e3b2ef2af2e1c1765b3441cb15cfbeddf4046fa | a25ceaddd8e9ea740b7e50e486ea4f815d2a3f58 | Update missing build.gradle files with new syntax for registering tasks. Some Gradle build files were still using old syntax after https://github.com/libgdx/libgdx/pull/7134.
| ./gdx/build.gradle | /*******************************************************************************
* Copyright 2011 See AUTHORS file.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
******************************************************************************/
apply plugin: "java"
if (JavaVersion.current().isJava9Compatible()) {
compileJava {
options.release = versions.java
}
}
sourceCompatibility = versions.java
targetCompatibility = versions.java
sourceSets.main.java.srcDirs = ["src"]
sourceSets.main.resources.srcDirs = ["res"]
sourceSets.test.java.srcDirs = ["test"]
compileJava {
options.fork = true
options.incremental = true
}
jar {
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
}
dependencies {
testImplementation libraries.junit
api "com.badlogicgames.gdx:gdx-jnigen-loader:2.3.1"
}
test {
testLogging {
events "passed", "skipped", "failed", "standardOut", "standardError"
}
}
processResources.duplicatesStrategy = DuplicatesStrategy.EXCLUDE
apply plugin: "com.badlogicgames.gdx.gdx-jnigen"
jnigen {
sharedLibName = "gdx"
temporaryDir = "../target/native"
all {
cppExcludes = ["iosgl/**"]
}
add(Windows, x32)
add(Windows, x64)
add(Linux, x64)
add(Linux, x32, ARM)
add(Linux, x64, ARM)
add(Android) {
linkerFlags += " -llog"
}
add(MacOsX, x64)
add(MacOsX, x64, ARM)
add(IOS) {
headerDirs = ["iosgl"]
cppExcludes = []
linkerFlags += " -undefined dynamic_lookup "
}
robovm {
extraXCFramework("libs/ObjectAL.xcframework")
}
}
| /*******************************************************************************
* Copyright 2011 See AUTHORS file.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
******************************************************************************/
apply plugin: "java"
if (JavaVersion.current().isJava9Compatible()) {
compileJava {
options.release = versions.java
}
}
sourceCompatibility = versions.java
targetCompatibility = versions.java
sourceSets.main.java.srcDirs = ["src"]
sourceSets.main.resources.srcDirs = ["res"]
sourceSets.test.java.srcDirs = ["test"]
compileJava {
options.fork = true
options.incremental = true
}
jar {
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
}
dependencies {
testImplementation libraries.junit
api "com.badlogicgames.gdx:gdx-jnigen-loader:2.3.1"
}
test {
testLogging {
events "passed", "skipped", "failed", "standardOut", "standardError"
}
}
processResources.duplicatesStrategy = DuplicatesStrategy.EXCLUDE
apply plugin: "com.badlogicgames.gdx.gdx-jnigen"
jnigen {
sharedLibName = "gdx"
temporaryDir = "../target/native"
all {
cppExcludes = ["iosgl/**"]
}
add(Windows, x32)
add(Windows, x64)
add(Linux, x64)
add(Linux, x32, ARM)
add(Linux, x64, ARM)
add(Android) {
linkerFlags += " -llog"
}
add(MacOsX, x64)
add(MacOsX, x64, ARM)
add(IOS) {
headerDirs = ["iosgl"]
cppExcludes = []
linkerFlags += " -undefined dynamic_lookup "
}
robovm {
extraXCFramework("libs/ObjectAL.xcframework")
}
}
| -1 |
libgdx/libgdx | 7,270 | Update missing build.gradle files with new syntax for registering tasks | Some Gradle build files were still using old syntax after https://github.com/libgdx/libgdx/pull/7134.
| obigu | "2023-11-05T15:31:03Z" | "2023-11-13T11:04:33Z" | 8e3b2ef2af2e1c1765b3441cb15cfbeddf4046fa | a25ceaddd8e9ea740b7e50e486ea4f815d2a3f58 | Update missing build.gradle files with new syntax for registering tasks. Some Gradle build files were still using old syntax after https://github.com/libgdx/libgdx/pull/7134.
| ./backends/gdx-backend-headless/build.gradle | /*******************************************************************************
* Copyright 2011 See AUTHORS file.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
******************************************************************************/
dependencies {
api gdxnatives.desktop
}
| /*******************************************************************************
* Copyright 2011 See AUTHORS file.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
******************************************************************************/
dependencies {
api gdxnatives.desktop
}
| -1 |
libgdx/libgdx | 7,270 | Update missing build.gradle files with new syntax for registering tasks | Some Gradle build files were still using old syntax after https://github.com/libgdx/libgdx/pull/7134.
| obigu | "2023-11-05T15:31:03Z" | "2023-11-13T11:04:33Z" | 8e3b2ef2af2e1c1765b3441cb15cfbeddf4046fa | a25ceaddd8e9ea740b7e50e486ea4f815d2a3f58 | Update missing build.gradle files with new syntax for registering tasks. Some Gradle build files were still using old syntax after https://github.com/libgdx/libgdx/pull/7134.
| ./extensions/gdx-bullet/build.gradle | /*******************************************************************************
* Copyright 2011 See AUTHORS file.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
******************************************************************************/
sourceSets.main.java {
srcDirs = [
"jni/swig-src/collision",
"jni/swig-src/dynamics",
"jni/swig-src/extras",
"jni/swig-src/linearmath",
"jni/swig-src/softbody",
"jni/swig-src/inversedynamics",
"src"
]
exclude "classes.i"
exclude "*.cpp"
exclude "*.h"
}
dependencies {
api project(":gdx")
}
apply plugin: "com.badlogicgames.gdx.gdx-jnigen"
jnigen {
sharedLibName = "gdx-bullet"
nativeCodeGenerator {
sourceDir = "src"
}
all {
headerDirs = [
"src/bullet/",
"src/custom/",
"src/extras/Serialize/",
"src/extras/"
]
cExcludes = [
"src/bullet/BulletMultiThreaded/GpuSoftBodySolvers/**"
]
cppExcludes = [
"src/bullet/BulletMultiThreaded/GpuSoftBodySolvers/**"
]
// SWIG doesn't emit strict aliasing compliant code
cppFlags += " -fno-strict-aliasing";
// SWIG directors aren't clearly documented to require RTTI, but SWIG
// normally generates a small number of dynamic_casts for director code.
// gdx-bullet's swig build.xml replaces these with static C casts so we
// can compile without RTTI and save some disk space. It seems to work
// with these static casts.
cppFlags += " -fno-rtti";
// Disable profiling (it's on by default). If you change this, you
// must regenerate the SWIG wrappers with the changed value.
cppFlags += " -DBT_NO_PROFILE";
//Bullet 2 compatibility with inverse dynamics
cppFlags += " -DBT_USE_INVERSE_DYNAMICS_WITH_BULLET2";
}
add(Windows, x32)
add(Windows, x64)
add(Linux, x64)
add(Linux, x32, ARM)
add(Linux, x64, ARM)
add(MacOsX, x64)
add(MacOsX, x64, ARM)
add(Android) {
cppFlags += " -fexceptions"
androidApplicationMk += "APP_STL := c++_static";
}
add(IOS) {
cppFlags += " -stdlib=libc++";
}
robovm {
forceLinkClasses "com.badlogic.gdx.physics.bullet.collision.CollisionJNI", "com.badlogic.gdx.physics.bullet.dynamics.DynamicsJNI",
"com.badlogic.gdx.physics.bullet.extras.ExtrasJNI", "com.badlogic.gdx.physics.bullet.linearmath.LinearMathJNI",
"com.badlogic.gdx.physics.bullet.softbody.SoftbodyJNI", "com.badlogic.gdx.physics.bullet.collision.btBroadphaseAabbCallback",
"com.badlogic.gdx.physics.bullet.collision.btBroadphaseRayCallback", "com.badlogic.gdx.physics.bullet.collision.btConvexTriangleCallback",
"com.badlogic.gdx.physics.bullet.collision.btGhostPairCallback", "com.badlogic.gdx.physics.bullet.collision.btInternalTriangleIndexCallback",
"com.badlogic.gdx.physics.bullet.collision.btNodeOverlapCallback", "com.badlogic.gdx.physics.bullet.collision.btOverlapCallback",
"com.badlogic.gdx.physics.bullet.collision.btOverlapFilterCallback", "com.badlogic.gdx.physics.bullet.collision.btOverlappingPairCallback",
"com.badlogic.gdx.physics.bullet.collision.btTriangleCallback", "com.badlogic.gdx.physics.bullet.collision.btTriangleConvexcastCallback",
"com.badlogic.gdx.physics.bullet.collision.btTriangleRaycastCallback", "com.badlogic.gdx.physics.bullet.collision.ContactCache",
"com.badlogic.gdx.physics.bullet.collision.ContactListener", "com.badlogic.gdx.physics.bullet.collision.CustomCollisionDispatcher",
"com.badlogic.gdx.physics.bullet.collision.LocalRayResult", "com.badlogic.gdx.physics.bullet.collision.LocalShapeInfo",
"com.badlogic.gdx.physics.bullet.collision.RayResultCallback", "com.badlogic.gdx.physics.bullet.collision.ClosestRayResultCallback",
"com.badlogic.gdx.physics.bullet.collision.AllHitsRayResultCallback", "com.badlogic.gdx.physics.bullet.collision.ConvexResultCallback",
"com.badlogic.gdx.physics.bullet.collision.LocalConvexResult", "com.badlogic.gdx.physics.bullet.collision.ContactResultCallback",
"com.badlogic.gdx.physics.bullet.dynamics.InternalTickCallback", "com.badlogic.gdx.physics.bullet.extras.btBulletWorldImporter",
"com.badlogic.gdx.physics.bullet.linearmath.btIDebugDraw", "com.badlogic.gdx.physics.bullet.linearmath.btMotionState",
"com.badlogic.gdx.physics.bullet.DebugDrawer"
}
}
| /*******************************************************************************
* Copyright 2011 See AUTHORS file.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
******************************************************************************/
sourceSets.main.java {
srcDirs = [
"jni/swig-src/collision",
"jni/swig-src/dynamics",
"jni/swig-src/extras",
"jni/swig-src/linearmath",
"jni/swig-src/softbody",
"jni/swig-src/inversedynamics",
"src"
]
exclude "classes.i"
exclude "*.cpp"
exclude "*.h"
}
dependencies {
api project(":gdx")
}
apply plugin: "com.badlogicgames.gdx.gdx-jnigen"
jnigen {
sharedLibName = "gdx-bullet"
nativeCodeGenerator {
sourceDir = "src"
}
all {
headerDirs = [
"src/bullet/",
"src/custom/",
"src/extras/Serialize/",
"src/extras/"
]
cExcludes = [
"src/bullet/BulletMultiThreaded/GpuSoftBodySolvers/**"
]
cppExcludes = [
"src/bullet/BulletMultiThreaded/GpuSoftBodySolvers/**"
]
// SWIG doesn't emit strict aliasing compliant code
cppFlags += " -fno-strict-aliasing";
// SWIG directors aren't clearly documented to require RTTI, but SWIG
// normally generates a small number of dynamic_casts for director code.
// gdx-bullet's swig build.xml replaces these with static C casts so we
// can compile without RTTI and save some disk space. It seems to work
// with these static casts.
cppFlags += " -fno-rtti";
// Disable profiling (it's on by default). If you change this, you
// must regenerate the SWIG wrappers with the changed value.
cppFlags += " -DBT_NO_PROFILE";
//Bullet 2 compatibility with inverse dynamics
cppFlags += " -DBT_USE_INVERSE_DYNAMICS_WITH_BULLET2";
}
add(Windows, x32)
add(Windows, x64)
add(Linux, x64)
add(Linux, x32, ARM)
add(Linux, x64, ARM)
add(MacOsX, x64)
add(MacOsX, x64, ARM)
add(Android) {
cppFlags += " -fexceptions"
androidApplicationMk += "APP_STL := c++_static";
}
add(IOS) {
cppFlags += " -stdlib=libc++";
}
robovm {
forceLinkClasses "com.badlogic.gdx.physics.bullet.collision.CollisionJNI", "com.badlogic.gdx.physics.bullet.dynamics.DynamicsJNI",
"com.badlogic.gdx.physics.bullet.extras.ExtrasJNI", "com.badlogic.gdx.physics.bullet.linearmath.LinearMathJNI",
"com.badlogic.gdx.physics.bullet.softbody.SoftbodyJNI", "com.badlogic.gdx.physics.bullet.collision.btBroadphaseAabbCallback",
"com.badlogic.gdx.physics.bullet.collision.btBroadphaseRayCallback", "com.badlogic.gdx.physics.bullet.collision.btConvexTriangleCallback",
"com.badlogic.gdx.physics.bullet.collision.btGhostPairCallback", "com.badlogic.gdx.physics.bullet.collision.btInternalTriangleIndexCallback",
"com.badlogic.gdx.physics.bullet.collision.btNodeOverlapCallback", "com.badlogic.gdx.physics.bullet.collision.btOverlapCallback",
"com.badlogic.gdx.physics.bullet.collision.btOverlapFilterCallback", "com.badlogic.gdx.physics.bullet.collision.btOverlappingPairCallback",
"com.badlogic.gdx.physics.bullet.collision.btTriangleCallback", "com.badlogic.gdx.physics.bullet.collision.btTriangleConvexcastCallback",
"com.badlogic.gdx.physics.bullet.collision.btTriangleRaycastCallback", "com.badlogic.gdx.physics.bullet.collision.ContactCache",
"com.badlogic.gdx.physics.bullet.collision.ContactListener", "com.badlogic.gdx.physics.bullet.collision.CustomCollisionDispatcher",
"com.badlogic.gdx.physics.bullet.collision.LocalRayResult", "com.badlogic.gdx.physics.bullet.collision.LocalShapeInfo",
"com.badlogic.gdx.physics.bullet.collision.RayResultCallback", "com.badlogic.gdx.physics.bullet.collision.ClosestRayResultCallback",
"com.badlogic.gdx.physics.bullet.collision.AllHitsRayResultCallback", "com.badlogic.gdx.physics.bullet.collision.ConvexResultCallback",
"com.badlogic.gdx.physics.bullet.collision.LocalConvexResult", "com.badlogic.gdx.physics.bullet.collision.ContactResultCallback",
"com.badlogic.gdx.physics.bullet.dynamics.InternalTickCallback", "com.badlogic.gdx.physics.bullet.extras.btBulletWorldImporter",
"com.badlogic.gdx.physics.bullet.linearmath.btIDebugDraw", "com.badlogic.gdx.physics.bullet.linearmath.btMotionState",
"com.badlogic.gdx.physics.bullet.DebugDrawer"
}
}
| -1 |
libgdx/libgdx | 7,270 | Update missing build.gradle files with new syntax for registering tasks | Some Gradle build files were still using old syntax after https://github.com/libgdx/libgdx/pull/7134.
| obigu | "2023-11-05T15:31:03Z" | "2023-11-13T11:04:33Z" | 8e3b2ef2af2e1c1765b3441cb15cfbeddf4046fa | a25ceaddd8e9ea740b7e50e486ea4f815d2a3f58 | Update missing build.gradle files with new syntax for registering tasks. Some Gradle build files were still using old syntax after https://github.com/libgdx/libgdx/pull/7134.
| ./extensions/gdx-setup/res/com/badlogic/gdx/setup/resources/core/build.gradle | sourceCompatibility = 1.7
[compileJava, compileTestJava]*.options*.encoding = 'UTF-8'
sourceSets.main.java.srcDirs = [ "src/" ]
eclipse.project.name = appName + "-core"
| sourceCompatibility = 1.7
[compileJava, compileTestJava]*.options*.encoding = 'UTF-8'
sourceSets.main.java.srcDirs = [ "src/" ]
eclipse.project.name = appName + "-core"
| -1 |
libgdx/libgdx | 7,270 | Update missing build.gradle files with new syntax for registering tasks | Some Gradle build files were still using old syntax after https://github.com/libgdx/libgdx/pull/7134.
| obigu | "2023-11-05T15:31:03Z" | "2023-11-13T11:04:33Z" | 8e3b2ef2af2e1c1765b3441cb15cfbeddf4046fa | a25ceaddd8e9ea740b7e50e486ea4f815d2a3f58 | Update missing build.gradle files with new syntax for registering tasks. Some Gradle build files were still using old syntax after https://github.com/libgdx/libgdx/pull/7134.
| ./extensions/gdx-setup/res/com/badlogic/gdx/setup/resources/html/build.gradle | gwt {
gwtVersion='%GWT_VERSION%' // Should match the gwt version used for building the gwt backend
maxHeapSize="1G" // Default 256m is not enough for gwt compiler. GWT is HUNGRY
minHeapSize="1G"
src = files(file("src/")) // Needs to be in front of "modules" below.
modules '%PACKAGE%.GdxDefinition'
devModules '%PACKAGE%.GdxDefinitionSuperdev'
project.webAppDirName = 'webapp'
compiler {
strict = true;
disableCastChecking = true;
}
}
import org.docstr.gradle.plugins.gwt.GwtSuperDev
import org.akhikhl.gretty.AppBeforeIntegrationTestTask
gretty.httpPort = 8080
gretty.resourceBase = project.buildDir.path + "/gwt/draftOut"
gretty.contextPath = "/"
gretty.portPropertiesFileName = "TEMP_PORTS.properties"
tasks.register('startHttpServer') {
dependsOn draftCompileGwt
doFirst {
copy {
from "webapp"
into gretty.resourceBase
}
copy {
from "war"
into gretty.resourceBase
}
}
}
task beforeRun(type: AppBeforeIntegrationTestTask, dependsOn: startHttpServer) {
// The next line allows ports to be reused instead of
// needing a process to be manually terminated.
file("build/TEMP_PORTS.properties").delete()
// Somewhat of a hack; uses Gretty's support for wrapping a task in
// a start and then stop of a Jetty server that serves files while
// also running the SuperDev code server.
integrationTestTask 'superDev'
interactive false
}
tasks.register('superDev', GwtSuperDev) {
dependsOn startHttpServer
doFirst {
gwt.modules = gwt.devModules
}
}
tasks.register('dist') {
dependsOn clean, compileGwt
doLast {
file("build/dist").mkdirs()
copy {
from "build/gwt/out"
into "build/dist"
}
copy {
from "webapp"
into "build/dist"
}
copy {
from "war"
into "build/dist"
}
}
}
tasks.register('addSource') {
doLast {
sourceSets.main.compileClasspath += files(project(':core').sourceSets.main.allJava.srcDirs)
}
}
tasks.compileGwt.dependsOn(addSource)
tasks.draftCompileGwt.dependsOn(addSource)
tasks.checkGwt.dependsOn(addSource)
checkGwt.war = file("war")
sourceCompatibility = 1.7
sourceSets.main.java.srcDirs = [ "src/" ]
eclipse.project.name = appName + "-html"
| gwt {
gwtVersion='%GWT_VERSION%' // Should match the gwt version used for building the gwt backend
maxHeapSize="1G" // Default 256m is not enough for gwt compiler. GWT is HUNGRY
minHeapSize="1G"
src = files(file("src/")) // Needs to be in front of "modules" below.
modules '%PACKAGE%.GdxDefinition'
devModules '%PACKAGE%.GdxDefinitionSuperdev'
project.webAppDirName = 'webapp'
compiler {
strict = true;
disableCastChecking = true;
}
}
import org.docstr.gradle.plugins.gwt.GwtSuperDev
import org.akhikhl.gretty.AppBeforeIntegrationTestTask
gretty.httpPort = 8080
gretty.resourceBase = project.buildDir.path + "/gwt/draftOut"
gretty.contextPath = "/"
gretty.portPropertiesFileName = "TEMP_PORTS.properties"
tasks.register('startHttpServer') {
dependsOn draftCompileGwt
doFirst {
copy {
from "webapp"
into gretty.resourceBase
}
copy {
from "war"
into gretty.resourceBase
}
}
}
task beforeRun(type: AppBeforeIntegrationTestTask, dependsOn: startHttpServer) {
// The next line allows ports to be reused instead of
// needing a process to be manually terminated.
file("build/TEMP_PORTS.properties").delete()
// Somewhat of a hack; uses Gretty's support for wrapping a task in
// a start and then stop of a Jetty server that serves files while
// also running the SuperDev code server.
integrationTestTask 'superDev'
interactive false
}
tasks.register('superDev', GwtSuperDev) {
dependsOn startHttpServer
doFirst {
gwt.modules = gwt.devModules
}
}
tasks.register('dist') {
dependsOn clean, compileGwt
doLast {
file("build/dist").mkdirs()
copy {
from "build/gwt/out"
into "build/dist"
}
copy {
from "webapp"
into "build/dist"
}
copy {
from "war"
into "build/dist"
}
}
}
tasks.register('addSource') {
doLast {
sourceSets.main.compileClasspath += files(project(':core').sourceSets.main.allJava.srcDirs)
}
}
tasks.compileGwt.dependsOn(addSource)
tasks.draftCompileGwt.dependsOn(addSource)
tasks.checkGwt.dependsOn(addSource)
checkGwt.war = file("war")
sourceCompatibility = 1.7
sourceSets.main.java.srcDirs = [ "src/" ]
eclipse.project.name = appName + "-html"
| -1 |
libgdx/libgdx | 7,270 | Update missing build.gradle files with new syntax for registering tasks | Some Gradle build files were still using old syntax after https://github.com/libgdx/libgdx/pull/7134.
| obigu | "2023-11-05T15:31:03Z" | "2023-11-13T11:04:33Z" | 8e3b2ef2af2e1c1765b3441cb15cfbeddf4046fa | a25ceaddd8e9ea740b7e50e486ea4f815d2a3f58 | Update missing build.gradle files with new syntax for registering tasks. Some Gradle build files were still using old syntax after https://github.com/libgdx/libgdx/pull/7134.
| ./tests/gdx-tests/build.gradle | /*******************************************************************************
* Copyright 2011 See AUTHORS file.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
******************************************************************************/
dependencies {
api project(":extensions:gdx-box2d-parent:gdx-box2d")
api project(":extensions:gdx-bullet")
api project(":extensions:gdx-freetype")
}
| /*******************************************************************************
* Copyright 2011 See AUTHORS file.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
******************************************************************************/
dependencies {
api project(":extensions:gdx-box2d-parent:gdx-box2d")
api project(":extensions:gdx-bullet")
api project(":extensions:gdx-freetype")
}
| -1 |
libgdx/libgdx | 7,270 | Update missing build.gradle files with new syntax for registering tasks | Some Gradle build files were still using old syntax after https://github.com/libgdx/libgdx/pull/7134.
| obigu | "2023-11-05T15:31:03Z" | "2023-11-13T11:04:33Z" | 8e3b2ef2af2e1c1765b3441cb15cfbeddf4046fa | a25ceaddd8e9ea740b7e50e486ea4f815d2a3f58 | Update missing build.gradle files with new syntax for registering tasks. Some Gradle build files were still using old syntax after https://github.com/libgdx/libgdx/pull/7134.
| ./extensions/gdx-lwjgl3-angle/build.gradle | /*******************************************************************************
* Copyright 2011 See AUTHORS file.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
******************************************************************************/
apply plugin: "java"
dependencies {
api project(":gdx")
api libraries.lwjgl3GLES
}
sourceSets.main.java.srcDirs = ["src"]
sourceSets.main.resources.srcDirs = ["res"]
tasks.withType(Jar) { duplicatesStrategy = DuplicatesStrategy.INCLUDE }
| /*******************************************************************************
* Copyright 2011 See AUTHORS file.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
******************************************************************************/
apply plugin: "java"
dependencies {
api project(":gdx")
api libraries.lwjgl3GLES
}
sourceSets.main.java.srcDirs = ["src"]
sourceSets.main.resources.srcDirs = ["res"]
tasks.withType(Jar) { duplicatesStrategy = DuplicatesStrategy.INCLUDE }
| -1 |
libgdx/libgdx | 7,270 | Update missing build.gradle files with new syntax for registering tasks | Some Gradle build files were still using old syntax after https://github.com/libgdx/libgdx/pull/7134.
| obigu | "2023-11-05T15:31:03Z" | "2023-11-13T11:04:33Z" | 8e3b2ef2af2e1c1765b3441cb15cfbeddf4046fa | a25ceaddd8e9ea740b7e50e486ea4f815d2a3f58 | Update missing build.gradle files with new syntax for registering tasks. Some Gradle build files were still using old syntax after https://github.com/libgdx/libgdx/pull/7134.
| ./tests/build.gradle | /*******************************************************************************
* Copyright 2011 See AUTHORS file.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
******************************************************************************/
configure(subprojects - project(":tests:gdx-tests-android")) {
apply plugin: "java"
if (JavaVersion.current().isJava9Compatible()) {
compileJava {
options.release = versions.java
}
}
sourceCompatibility = versions.java
targetCompatibility = versions.java
sourceSets.main.java.srcDirs = ["src"]
sourceSets.main.resources.srcDirs = ["res"]
configurations { natives }
}
| /*******************************************************************************
* Copyright 2011 See AUTHORS file.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
******************************************************************************/
configure(subprojects - project(":tests:gdx-tests-android")) {
apply plugin: "java"
if (JavaVersion.current().isJava9Compatible()) {
compileJava {
options.release = versions.java
}
}
sourceCompatibility = versions.java
targetCompatibility = versions.java
sourceSets.main.java.srcDirs = ["src"]
sourceSets.main.resources.srcDirs = ["res"]
configurations { natives }
}
| -1 |
libgdx/libgdx | 7,270 | Update missing build.gradle files with new syntax for registering tasks | Some Gradle build files were still using old syntax after https://github.com/libgdx/libgdx/pull/7134.
| obigu | "2023-11-05T15:31:03Z" | "2023-11-13T11:04:33Z" | 8e3b2ef2af2e1c1765b3441cb15cfbeddf4046fa | a25ceaddd8e9ea740b7e50e486ea4f815d2a3f58 | Update missing build.gradle files with new syntax for registering tasks. Some Gradle build files were still using old syntax after https://github.com/libgdx/libgdx/pull/7134.
| ./extensions/gdx-setup/res/com/badlogic/gdx/setup/resources/ios/build.gradle | sourceSets.main.java.srcDirs = [ "src/" ]
sourceCompatibility = '1.7'
[compileJava, compileTestJava]*.options*.encoding = 'UTF-8'
ext {
mainClassName = "%PACKAGE%.IOSLauncher"
}
launchIPhoneSimulator.dependsOn build
launchIPadSimulator.dependsOn build
launchIOSDevice.dependsOn build
createIPA.dependsOn build
robovm {
archs = "arm64"
}
eclipse.project.name = appName + "-ios"
| sourceSets.main.java.srcDirs = [ "src/" ]
sourceCompatibility = '1.7'
[compileJava, compileTestJava]*.options*.encoding = 'UTF-8'
ext {
mainClassName = "%PACKAGE%.IOSLauncher"
}
launchIPhoneSimulator.dependsOn build
launchIPadSimulator.dependsOn build
launchIOSDevice.dependsOn build
createIPA.dependsOn build
robovm {
archs = "arm64"
}
eclipse.project.name = appName + "-ios"
| -1 |
libgdx/libgdx | 7,270 | Update missing build.gradle files with new syntax for registering tasks | Some Gradle build files were still using old syntax after https://github.com/libgdx/libgdx/pull/7134.
| obigu | "2023-11-05T15:31:03Z" | "2023-11-13T11:04:33Z" | 8e3b2ef2af2e1c1765b3441cb15cfbeddf4046fa | a25ceaddd8e9ea740b7e50e486ea4f815d2a3f58 | Update missing build.gradle files with new syntax for registering tasks. Some Gradle build files were still using old syntax after https://github.com/libgdx/libgdx/pull/7134.
| ./extensions/gdx-box2d/build.gradle | /*******************************************************************************
* Copyright 2011 See AUTHORS file.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
******************************************************************************/
subprojects {
dependencies {
api project(":gdx")
}
}
| /*******************************************************************************
* Copyright 2011 See AUTHORS file.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
******************************************************************************/
subprojects {
dependencies {
api project(":gdx")
}
}
| -1 |
libgdx/libgdx | 7,270 | Update missing build.gradle files with new syntax for registering tasks | Some Gradle build files were still using old syntax after https://github.com/libgdx/libgdx/pull/7134.
| obigu | "2023-11-05T15:31:03Z" | "2023-11-13T11:04:33Z" | 8e3b2ef2af2e1c1765b3441cb15cfbeddf4046fa | a25ceaddd8e9ea740b7e50e486ea4f815d2a3f58 | Update missing build.gradle files with new syntax for registering tasks. Some Gradle build files were still using old syntax after https://github.com/libgdx/libgdx/pull/7134.
| ./extensions/gdx-box2d/gdx-box2d/build.gradle | /*******************************************************************************
* Copyright 2011 See AUTHORS file.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
******************************************************************************/
apply plugin: "com.badlogicgames.gdx.gdx-jnigen"
jnigen {
sharedLibName = "gdx-box2d"
add(Windows, x32)
add(Windows, x64)
add(Linux, x64)
add(Linux, x32, ARM)
add(Linux, x64, ARM)
add(MacOsX, x64)
add(MacOsX, x64, ARM)
add(Android)
add(IOS)
robovm {
forceLinkClasses "com.badlogic.gdx.physics.box2d.*"
}
} | /*******************************************************************************
* Copyright 2011 See AUTHORS file.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
******************************************************************************/
apply plugin: "com.badlogicgames.gdx.gdx-jnigen"
jnigen {
sharedLibName = "gdx-box2d"
add(Windows, x32)
add(Windows, x64)
add(Linux, x64)
add(Linux, x32, ARM)
add(Linux, x64, ARM)
add(MacOsX, x64)
add(MacOsX, x64, ARM)
add(Android)
add(IOS)
robovm {
forceLinkClasses "com.badlogic.gdx.physics.box2d.*"
}
} | -1 |
libgdx/libgdx | 7,270 | Update missing build.gradle files with new syntax for registering tasks | Some Gradle build files were still using old syntax after https://github.com/libgdx/libgdx/pull/7134.
| obigu | "2023-11-05T15:31:03Z" | "2023-11-13T11:04:33Z" | 8e3b2ef2af2e1c1765b3441cb15cfbeddf4046fa | a25ceaddd8e9ea740b7e50e486ea4f815d2a3f58 | Update missing build.gradle files with new syntax for registering tasks. Some Gradle build files were still using old syntax after https://github.com/libgdx/libgdx/pull/7134.
| ./extensions/gdx-setup/res/com/badlogic/gdx/setup/resources/lwjgl2/build.gradle | sourceCompatibility = 1.7
sourceSets.main.java.srcDirs = [ "src/" ]
sourceSets.main.resources.srcDirs = ["../%ASSET_PATH%"]
project.ext.mainClassName = "%PACKAGE%.DesktopLauncher"
project.ext.assetsDir = new File("../%ASSET_PATH%")
tasks.register('run', JavaExec) {
dependsOn classes
mainClass = project.mainClassName
classpath = sourceSets.main.runtimeClasspath
standardInput = System.in
workingDir = project.assetsDir
ignoreExitValue = true
}
tasks.register('debug', JavaExec) {
dependsOn classes
mainClass = project.mainClassName
classpath = sourceSets.main.runtimeClasspath
standardInput = System.in
workingDir = project.assetsDir
ignoreExitValue = true
debug = true
}
tasks.register('dist', Jar) {
manifest {
attributes 'Main-Class': project.mainClassName
}
dependsOn configurations.runtimeClasspath
from {
configurations.runtimeClasspath.collect { it.isDirectory() ? it : zipTree(it) }
}
with jar
}
dist.dependsOn classes
eclipse.project.name = appName + "-legacy_desktop"
| sourceCompatibility = 1.7
sourceSets.main.java.srcDirs = [ "src/" ]
sourceSets.main.resources.srcDirs = ["../%ASSET_PATH%"]
project.ext.mainClassName = "%PACKAGE%.DesktopLauncher"
project.ext.assetsDir = new File("../%ASSET_PATH%")
tasks.register('run', JavaExec) {
dependsOn classes
mainClass = project.mainClassName
classpath = sourceSets.main.runtimeClasspath
standardInput = System.in
workingDir = project.assetsDir
ignoreExitValue = true
}
tasks.register('debug', JavaExec) {
dependsOn classes
mainClass = project.mainClassName
classpath = sourceSets.main.runtimeClasspath
standardInput = System.in
workingDir = project.assetsDir
ignoreExitValue = true
debug = true
}
tasks.register('dist', Jar) {
manifest {
attributes 'Main-Class': project.mainClassName
}
dependsOn configurations.runtimeClasspath
from {
configurations.runtimeClasspath.collect { it.isDirectory() ? it : zipTree(it) }
}
with jar
}
dist.dependsOn classes
eclipse.project.name = appName + "-legacy_desktop"
| -1 |
libgdx/libgdx | 7,270 | Update missing build.gradle files with new syntax for registering tasks | Some Gradle build files were still using old syntax after https://github.com/libgdx/libgdx/pull/7134.
| obigu | "2023-11-05T15:31:03Z" | "2023-11-13T11:04:33Z" | 8e3b2ef2af2e1c1765b3441cb15cfbeddf4046fa | a25ceaddd8e9ea740b7e50e486ea4f815d2a3f58 | Update missing build.gradle files with new syntax for registering tasks. Some Gradle build files were still using old syntax after https://github.com/libgdx/libgdx/pull/7134.
| ./extensions/gdx-bullet/jni/swig-src/collision/com/badlogic/gdx/physics/bullet/collision/btTriangleCallback.java | /* ----------------------------------------------------------------------------
* 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.collision;
import com.badlogic.gdx.physics.bullet.BulletBase;
import com.badlogic.gdx.physics.bullet.linearmath.*;
public class btTriangleCallback extends BulletBase {
private long swigCPtr;
protected btTriangleCallback (final String className, long cPtr, boolean cMemoryOwn) {
super(className, cPtr, cMemoryOwn);
swigCPtr = cPtr;
}
/** Construct a new btTriangleCallback, normally you should not need this constructor it's intended for low-level usage. */
public btTriangleCallback (long cPtr, boolean cMemoryOwn) {
this("btTriangleCallback", cPtr, cMemoryOwn);
construct();
}
@Override
protected void reset (long cPtr, boolean cMemoryOwn) {
if (!destroyed) destroy();
super.reset(swigCPtr = cPtr, cMemoryOwn);
}
public static long getCPtr (btTriangleCallback 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;
CollisionJNI.delete_btTriangleCallback(swigCPtr);
}
swigCPtr = 0;
}
super.delete();
}
protected void swigDirectorDisconnect () {
swigCMemOwn = false;
delete();
}
public void swigReleaseOwnership () {
swigCMemOwn = false;
CollisionJNI.btTriangleCallback_change_ownership(this, swigCPtr, false);
}
public void swigTakeOwnership () {
swigCMemOwn = true;
CollisionJNI.btTriangleCallback_change_ownership(this, swigCPtr, true);
}
public void processTriangle (btVector3 triangle, int partId, int triangleIndex) {
CollisionJNI.btTriangleCallback_processTriangle(swigCPtr, this, btVector3.getCPtr(triangle), triangle, partId,
triangleIndex);
}
public btTriangleCallback () {
this(CollisionJNI.new_btTriangleCallback(), true);
CollisionJNI.btTriangleCallback_director_connect(this, swigCPtr, swigCMemOwn, true);
}
}
| /* ----------------------------------------------------------------------------
* 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.collision;
import com.badlogic.gdx.physics.bullet.BulletBase;
import com.badlogic.gdx.physics.bullet.linearmath.*;
public class btTriangleCallback extends BulletBase {
private long swigCPtr;
protected btTriangleCallback (final String className, long cPtr, boolean cMemoryOwn) {
super(className, cPtr, cMemoryOwn);
swigCPtr = cPtr;
}
/** Construct a new btTriangleCallback, normally you should not need this constructor it's intended for low-level usage. */
public btTriangleCallback (long cPtr, boolean cMemoryOwn) {
this("btTriangleCallback", cPtr, cMemoryOwn);
construct();
}
@Override
protected void reset (long cPtr, boolean cMemoryOwn) {
if (!destroyed) destroy();
super.reset(swigCPtr = cPtr, cMemoryOwn);
}
public static long getCPtr (btTriangleCallback 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;
CollisionJNI.delete_btTriangleCallback(swigCPtr);
}
swigCPtr = 0;
}
super.delete();
}
protected void swigDirectorDisconnect () {
swigCMemOwn = false;
delete();
}
public void swigReleaseOwnership () {
swigCMemOwn = false;
CollisionJNI.btTriangleCallback_change_ownership(this, swigCPtr, false);
}
public void swigTakeOwnership () {
swigCMemOwn = true;
CollisionJNI.btTriangleCallback_change_ownership(this, swigCPtr, true);
}
public void processTriangle (btVector3 triangle, int partId, int triangleIndex) {
CollisionJNI.btTriangleCallback_processTriangle(swigCPtr, this, btVector3.getCPtr(triangle), triangle, partId,
triangleIndex);
}
public btTriangleCallback () {
this(CollisionJNI.new_btTriangleCallback(), true);
CollisionJNI.btTriangleCallback_director_connect(this, swigCPtr, swigCMemOwn, true);
}
}
| -1 |
libgdx/libgdx | 7,270 | Update missing build.gradle files with new syntax for registering tasks | Some Gradle build files were still using old syntax after https://github.com/libgdx/libgdx/pull/7134.
| obigu | "2023-11-05T15:31:03Z" | "2023-11-13T11:04:33Z" | 8e3b2ef2af2e1c1765b3441cb15cfbeddf4046fa | a25ceaddd8e9ea740b7e50e486ea4f815d2a3f58 | Update missing build.gradle files with new syntax for registering tasks. Some Gradle build files were still using old syntax after https://github.com/libgdx/libgdx/pull/7134.
| ./gdx/src/com/badlogic/gdx/math/Ellipse.java | /*******************************************************************************
* Copyright 2011 See AUTHORS file.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
******************************************************************************/
package com.badlogic.gdx.math;
import java.io.Serializable;
import com.badlogic.gdx.utils.NumberUtils;
/** A convenient 2D ellipse class, based on the circle class
* @author tonyp7 */
public class Ellipse implements Serializable, Shape2D {
public float x, y;
public float width, height;
private static final long serialVersionUID = 7381533206532032099L;
/** Construct a new ellipse with all values set to zero */
public Ellipse () {
}
/** Copy constructor
*
* @param ellipse Ellipse to construct a copy of. */
public Ellipse (Ellipse ellipse) {
this.x = ellipse.x;
this.y = ellipse.y;
this.width = ellipse.width;
this.height = ellipse.height;
}
/** Constructs a new ellipse
*
* @param x X coordinate
* @param y Y coordinate
* @param width the width of the ellipse
* @param height the height of the ellipse */
public Ellipse (float x, float y, float width, float height) {
this.x = x;
this.y = y;
this.width = width;
this.height = height;
}
/** Constructs a new ellipse
*
* @param position Position vector
* @param width the width of the ellipse
* @param height the height of the ellipse */
public Ellipse (Vector2 position, float width, float height) {
this.x = position.x;
this.y = position.y;
this.width = width;
this.height = height;
}
/** Constructs a new ellipse
*
* @param position Position vector
* @param size Size vector */
public Ellipse (Vector2 position, Vector2 size) {
this.x = position.x;
this.y = position.y;
this.width = size.x;
this.height = size.y;
}
/** Constructs a new {@link Ellipse} from the position and radius of a {@link Circle} (since circles are special cases of
* ellipses).
* @param circle The circle to take the values of */
public Ellipse (Circle circle) {
this.x = circle.x;
this.y = circle.y;
this.width = circle.radius * 2f;
this.height = circle.radius * 2f;
}
/** Checks whether or not this ellipse contains the given point.
*
* @param x X coordinate
* @param y Y coordinate
*
* @return true if this ellipse contains the given point; false otherwise. */
public boolean contains (float x, float y) {
x = x - this.x;
y = y - this.y;
return (x * x) / (width * 0.5f * width * 0.5f) + (y * y) / (height * 0.5f * height * 0.5f) <= 1.0f;
}
/** Checks whether or not this ellipse contains the given point.
*
* @param point Position vector
*
* @return true if this ellipse contains the given point; false otherwise. */
public boolean contains (Vector2 point) {
return contains(point.x, point.y);
}
/** Sets a new position and size for this ellipse.
*
* @param x X coordinate
* @param y Y coordinate
* @param width the width of the ellipse
* @param height the height of the ellipse */
public void set (float x, float y, float width, float height) {
this.x = x;
this.y = y;
this.width = width;
this.height = height;
}
/** Sets a new position and size for this ellipse based upon another ellipse.
*
* @param ellipse The ellipse to copy the position and size of. */
public void set (Ellipse ellipse) {
x = ellipse.x;
y = ellipse.y;
width = ellipse.width;
height = ellipse.height;
}
public void set (Circle circle) {
this.x = circle.x;
this.y = circle.y;
this.width = circle.radius * 2f;
this.height = circle.radius * 2f;
}
public void set (Vector2 position, Vector2 size) {
this.x = position.x;
this.y = position.y;
this.width = size.x;
this.height = size.y;
}
/** Sets the x and y-coordinates of ellipse center from a {@link Vector2}.
* @param position The position vector
* @return this ellipse for chaining */
public Ellipse setPosition (Vector2 position) {
this.x = position.x;
this.y = position.y;
return this;
}
/** Sets the x and y-coordinates of ellipse center
* @param x The x-coordinate
* @param y The y-coordinate
* @return this ellipse for chaining */
public Ellipse setPosition (float x, float y) {
this.x = x;
this.y = y;
return this;
}
/** Sets the width and height of this ellipse
* @param width The width
* @param height The height
* @return this ellipse for chaining */
public Ellipse setSize (float width, float height) {
this.width = width;
this.height = height;
return this;
}
/** @return The area of this {@link Ellipse} as {@link MathUtils#PI} * {@link Ellipse#width} * {@link Ellipse#height} */
public float area () {
return MathUtils.PI * (this.width * this.height) / 4;
}
/** Approximates the circumference of this {@link Ellipse}. Oddly enough, the circumference of an ellipse is actually difficult
* to compute exactly.
* @return The Ramanujan approximation to the circumference of an ellipse if one dimension is at least three times longer than
* the other, else the simpler approximation */
public float circumference () {
float a = this.width / 2;
float b = this.height / 2;
if (a * 3 > b || b * 3 > a) {
// If one dimension is three times as long as the other...
return (float)(MathUtils.PI * ((3 * (a + b)) - Math.sqrt((3 * a + b) * (a + 3 * b))));
} else {
// We can use the simpler approximation, then
return (float)(MathUtils.PI2 * Math.sqrt((a * a + b * b) / 2));
}
}
@Override
public boolean equals (Object o) {
if (o == this) return true;
if (o == null || o.getClass() != this.getClass()) return false;
Ellipse e = (Ellipse)o;
return this.x == e.x && this.y == e.y && this.width == e.width && this.height == e.height;
}
@Override
public int hashCode () {
final int prime = 53;
int result = 1;
result = prime * result + NumberUtils.floatToRawIntBits(this.height);
result = prime * result + NumberUtils.floatToRawIntBits(this.width);
result = prime * result + NumberUtils.floatToRawIntBits(this.x);
result = prime * result + NumberUtils.floatToRawIntBits(this.y);
return result;
}
}
| /*******************************************************************************
* Copyright 2011 See AUTHORS file.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
******************************************************************************/
package com.badlogic.gdx.math;
import java.io.Serializable;
import com.badlogic.gdx.utils.NumberUtils;
/** A convenient 2D ellipse class, based on the circle class
* @author tonyp7 */
public class Ellipse implements Serializable, Shape2D {
public float x, y;
public float width, height;
private static final long serialVersionUID = 7381533206532032099L;
/** Construct a new ellipse with all values set to zero */
public Ellipse () {
}
/** Copy constructor
*
* @param ellipse Ellipse to construct a copy of. */
public Ellipse (Ellipse ellipse) {
this.x = ellipse.x;
this.y = ellipse.y;
this.width = ellipse.width;
this.height = ellipse.height;
}
/** Constructs a new ellipse
*
* @param x X coordinate
* @param y Y coordinate
* @param width the width of the ellipse
* @param height the height of the ellipse */
public Ellipse (float x, float y, float width, float height) {
this.x = x;
this.y = y;
this.width = width;
this.height = height;
}
/** Constructs a new ellipse
*
* @param position Position vector
* @param width the width of the ellipse
* @param height the height of the ellipse */
public Ellipse (Vector2 position, float width, float height) {
this.x = position.x;
this.y = position.y;
this.width = width;
this.height = height;
}
/** Constructs a new ellipse
*
* @param position Position vector
* @param size Size vector */
public Ellipse (Vector2 position, Vector2 size) {
this.x = position.x;
this.y = position.y;
this.width = size.x;
this.height = size.y;
}
/** Constructs a new {@link Ellipse} from the position and radius of a {@link Circle} (since circles are special cases of
* ellipses).
* @param circle The circle to take the values of */
public Ellipse (Circle circle) {
this.x = circle.x;
this.y = circle.y;
this.width = circle.radius * 2f;
this.height = circle.radius * 2f;
}
/** Checks whether or not this ellipse contains the given point.
*
* @param x X coordinate
* @param y Y coordinate
*
* @return true if this ellipse contains the given point; false otherwise. */
public boolean contains (float x, float y) {
x = x - this.x;
y = y - this.y;
return (x * x) / (width * 0.5f * width * 0.5f) + (y * y) / (height * 0.5f * height * 0.5f) <= 1.0f;
}
/** Checks whether or not this ellipse contains the given point.
*
* @param point Position vector
*
* @return true if this ellipse contains the given point; false otherwise. */
public boolean contains (Vector2 point) {
return contains(point.x, point.y);
}
/** Sets a new position and size for this ellipse.
*
* @param x X coordinate
* @param y Y coordinate
* @param width the width of the ellipse
* @param height the height of the ellipse */
public void set (float x, float y, float width, float height) {
this.x = x;
this.y = y;
this.width = width;
this.height = height;
}
/** Sets a new position and size for this ellipse based upon another ellipse.
*
* @param ellipse The ellipse to copy the position and size of. */
public void set (Ellipse ellipse) {
x = ellipse.x;
y = ellipse.y;
width = ellipse.width;
height = ellipse.height;
}
public void set (Circle circle) {
this.x = circle.x;
this.y = circle.y;
this.width = circle.radius * 2f;
this.height = circle.radius * 2f;
}
public void set (Vector2 position, Vector2 size) {
this.x = position.x;
this.y = position.y;
this.width = size.x;
this.height = size.y;
}
/** Sets the x and y-coordinates of ellipse center from a {@link Vector2}.
* @param position The position vector
* @return this ellipse for chaining */
public Ellipse setPosition (Vector2 position) {
this.x = position.x;
this.y = position.y;
return this;
}
/** Sets the x and y-coordinates of ellipse center
* @param x The x-coordinate
* @param y The y-coordinate
* @return this ellipse for chaining */
public Ellipse setPosition (float x, float y) {
this.x = x;
this.y = y;
return this;
}
/** Sets the width and height of this ellipse
* @param width The width
* @param height The height
* @return this ellipse for chaining */
public Ellipse setSize (float width, float height) {
this.width = width;
this.height = height;
return this;
}
/** @return The area of this {@link Ellipse} as {@link MathUtils#PI} * {@link Ellipse#width} * {@link Ellipse#height} */
public float area () {
return MathUtils.PI * (this.width * this.height) / 4;
}
/** Approximates the circumference of this {@link Ellipse}. Oddly enough, the circumference of an ellipse is actually difficult
* to compute exactly.
* @return The Ramanujan approximation to the circumference of an ellipse if one dimension is at least three times longer than
* the other, else the simpler approximation */
public float circumference () {
float a = this.width / 2;
float b = this.height / 2;
if (a * 3 > b || b * 3 > a) {
// If one dimension is three times as long as the other...
return (float)(MathUtils.PI * ((3 * (a + b)) - Math.sqrt((3 * a + b) * (a + 3 * b))));
} else {
// We can use the simpler approximation, then
return (float)(MathUtils.PI2 * Math.sqrt((a * a + b * b) / 2));
}
}
@Override
public boolean equals (Object o) {
if (o == this) return true;
if (o == null || o.getClass() != this.getClass()) return false;
Ellipse e = (Ellipse)o;
return this.x == e.x && this.y == e.y && this.width == e.width && this.height == e.height;
}
@Override
public int hashCode () {
final int prime = 53;
int result = 1;
result = prime * result + NumberUtils.floatToRawIntBits(this.height);
result = prime * result + NumberUtils.floatToRawIntBits(this.width);
result = prime * result + NumberUtils.floatToRawIntBits(this.x);
result = prime * result + NumberUtils.floatToRawIntBits(this.y);
return result;
}
}
| -1 |
libgdx/libgdx | 7,270 | Update missing build.gradle files with new syntax for registering tasks | Some Gradle build files were still using old syntax after https://github.com/libgdx/libgdx/pull/7134.
| obigu | "2023-11-05T15:31:03Z" | "2023-11-13T11:04:33Z" | 8e3b2ef2af2e1c1765b3441cb15cfbeddf4046fa | a25ceaddd8e9ea740b7e50e486ea4f815d2a3f58 | Update missing build.gradle files with new syntax for registering tasks. Some Gradle build files were still using old syntax after https://github.com/libgdx/libgdx/pull/7134.
| ./gdx/res/com/badlogic/gdx/utils/lsans-15.fnt | info face="LSans" size=15 bold=0 italic=0 charset="" unicode=0 stretchH=100 smooth=1 aa=1 padding=1,1,1,1 spacing=-2,-2
common lineHeight=18 base=14 scaleW=256 scaleH=128 pages=1 packed=0
page id=0 file="lsans-15.png"
chars count=168
char id=0 x=83 y=85 width=11 height=13 xoffset=0 yoffset=2 xadvance=11 page=0 chnl=0
char id=32 x=0 y=0 width=0 height=0 xoffset=-1 yoffset=0 xadvance=4 page=0 chnl=0
char id=33 x=184 y=17 width=5 height=13 xoffset=0 yoffset=2 xadvance=5 page=0 chnl=0
char id=34 x=27 y=85 width=7 height=5 xoffset=-1 yoffset=2 xadvance=5 page=0 chnl=0
char id=35 x=189 y=17 width=10 height=13 xoffset=-1 yoffset=2 xadvance=8 page=0 chnl=0
char id=36 x=125 y=17 width=10 height=15 xoffset=-1 yoffset=1 xadvance=8 page=0 chnl=0
char id=37 x=199 y=17 width=15 height=13 xoffset=-1 yoffset=2 xadvance=13 page=0 chnl=0
char id=38 x=10 y=72 width=12 height=12 xoffset=-1 yoffset=3 xadvance=10 page=0 chnl=0
char id=39 x=34 y=85 width=5 height=5 xoffset=-1 yoffset=2 xadvance=3 page=0 chnl=0
char id=40 x=24 y=0 width=7 height=16 xoffset=-1 yoffset=2 xadvance=5 page=0 chnl=0
char id=41 x=31 y=0 width=7 height=16 xoffset=-1 yoffset=2 xadvance=5 page=0 chnl=0
char id=42 x=0 y=85 width=8 height=7 xoffset=-1 yoffset=2 xadvance=6 page=0 chnl=0
char id=43 x=57 y=72 width=11 height=11 xoffset=-1 yoffset=3 xadvance=9 page=0 chnl=0
char id=44 x=251 y=72 width=4 height=6 xoffset=0 yoffset=11 xadvance=4 page=0 chnl=0
char id=45 x=50 y=85 width=7 height=4 xoffset=-1 yoffset=8 xadvance=5 page=0 chnl=0
char id=46 x=57 y=85 width=4 height=4 xoffset=0 yoffset=11 xadvance=4 page=0 chnl=0
char id=47 x=214 y=17 width=6 height=13 xoffset=-1 yoffset=2 xadvance=4 page=0 chnl=0
char id=48 x=220 y=17 width=10 height=13 xoffset=-1 yoffset=2 xadvance=8 page=0 chnl=0
char id=49 x=230 y=17 width=9 height=13 xoffset=0 yoffset=2 xadvance=8 page=0 chnl=0
char id=50 x=239 y=17 width=10 height=13 xoffset=-1 yoffset=2 xadvance=8 page=0 chnl=0
char id=51 x=0 y=33 width=10 height=13 xoffset=-1 yoffset=2 xadvance=8 page=0 chnl=0
char id=52 x=10 y=33 width=10 height=13 xoffset=-1 yoffset=2 xadvance=8 page=0 chnl=0
char id=53 x=20 y=33 width=10 height=13 xoffset=-1 yoffset=2 xadvance=8 page=0 chnl=0
char id=54 x=30 y=33 width=10 height=13 xoffset=-1 yoffset=2 xadvance=8 page=0 chnl=0
char id=55 x=40 y=33 width=10 height=13 xoffset=-1 yoffset=2 xadvance=8 page=0 chnl=0
char id=56 x=50 y=33 width=10 height=13 xoffset=-1 yoffset=2 xadvance=8 page=0 chnl=0
char id=57 x=60 y=33 width=10 height=13 xoffset=-1 yoffset=2 xadvance=8 page=0 chnl=0
char id=58 x=68 y=72 width=4 height=10 xoffset=0 yoffset=5 xadvance=4 page=0 chnl=0
char id=59 x=22 y=72 width=4 height=12 xoffset=0 yoffset=5 xadvance=4 page=0 chnl=0
char id=60 x=229 y=72 width=11 height=9 xoffset=-1 yoffset=4 xadvance=9 page=0 chnl=0
char id=61 x=8 y=85 width=11 height=7 xoffset=-1 yoffset=6 xadvance=9 page=0 chnl=0
char id=62 x=240 y=72 width=11 height=9 xoffset=-1 yoffset=4 xadvance=9 page=0 chnl=0
char id=63 x=70 y=33 width=10 height=13 xoffset=-1 yoffset=2 xadvance=8 page=0 chnl=0
char id=64 x=135 y=17 width=15 height=15 xoffset=0 yoffset=2 xadvance=15 page=0 chnl=0
char id=65 x=80 y=33 width=11 height=13 xoffset=-1 yoffset=2 xadvance=9 page=0 chnl=0
char id=66 x=91 y=33 width=11 height=13 xoffset=0 yoffset=2 xadvance=10 page=0 chnl=0
char id=67 x=102 y=33 width=13 height=13 xoffset=-1 yoffset=2 xadvance=11 page=0 chnl=0
char id=68 x=115 y=33 width=12 height=13 xoffset=0 yoffset=2 xadvance=11 page=0 chnl=0
char id=69 x=127 y=33 width=11 height=13 xoffset=0 yoffset=2 xadvance=10 page=0 chnl=0
char id=70 x=138 y=33 width=10 height=13 xoffset=0 yoffset=2 xadvance=9 page=0 chnl=0
char id=71 x=148 y=33 width=12 height=13 xoffset=-1 yoffset=2 xadvance=11 page=0 chnl=0
char id=72 x=160 y=33 width=10 height=13 xoffset=0 yoffset=2 xadvance=10 page=0 chnl=0
char id=73 x=249 y=17 width=4 height=13 xoffset=0 yoffset=2 xadvance=3 page=0 chnl=0
char id=74 x=170 y=33 width=8 height=13 xoffset=-1 yoffset=2 xadvance=7 page=0 chnl=0
char id=75 x=178 y=33 width=11 height=13 xoffset=0 yoffset=2 xadvance=10 page=0 chnl=0
char id=76 x=189 y=33 width=9 height=13 xoffset=0 yoffset=2 xadvance=8 page=0 chnl=0
char id=77 x=198 y=33 width=11 height=13 xoffset=0 yoffset=2 xadvance=11 page=0 chnl=0
char id=78 x=209 y=33 width=10 height=13 xoffset=0 yoffset=2 xadvance=10 page=0 chnl=0
char id=79 x=219 y=33 width=14 height=13 xoffset=-1 yoffset=2 xadvance=12 page=0 chnl=0
char id=80 x=233 y=33 width=11 height=13 xoffset=0 yoffset=2 xadvance=10 page=0 chnl=0
char id=81 x=38 y=0 width=14 height=16 xoffset=-1 yoffset=2 xadvance=12 page=0 chnl=0
char id=82 x=0 y=46 width=12 height=13 xoffset=0 yoffset=2 xadvance=11 page=0 chnl=0
char id=83 x=12 y=46 width=12 height=13 xoffset=-1 yoffset=2 xadvance=10 page=0 chnl=0
char id=84 x=244 y=33 width=11 height=13 xoffset=-1 yoffset=2 xadvance=9 page=0 chnl=0
char id=85 x=24 y=46 width=10 height=13 xoffset=0 yoffset=2 xadvance=10 page=0 chnl=0
char id=86 x=34 y=46 width=11 height=13 xoffset=-1 yoffset=2 xadvance=9 page=0 chnl=0
char id=87 x=45 y=46 width=17 height=13 xoffset=-1 yoffset=2 xadvance=15 page=0 chnl=0
char id=88 x=62 y=46 width=11 height=13 xoffset=-1 yoffset=2 xadvance=9 page=0 chnl=0
char id=89 x=73 y=46 width=11 height=13 xoffset=-1 yoffset=2 xadvance=9 page=0 chnl=0
char id=90 x=84 y=46 width=10 height=13 xoffset=-1 yoffset=2 xadvance=8 page=0 chnl=0
char id=91 x=52 y=0 width=5 height=16 xoffset=0 yoffset=2 xadvance=4 page=0 chnl=0
char id=92 x=94 y=46 width=6 height=13 xoffset=-1 yoffset=2 xadvance=4 page=0 chnl=0
char id=93 x=57 y=0 width=5 height=16 xoffset=-1 yoffset=2 xadvance=4 page=0 chnl=0
char id=94 x=19 y=85 width=8 height=7 xoffset=-1 yoffset=2 xadvance=5 page=0 chnl=0
char id=95 x=71 y=85 width=12 height=3 xoffset=-2 yoffset=15 xadvance=8 page=0 chnl=0
char id=96 x=61 y=85 width=6 height=4 xoffset=-1 yoffset=2 xadvance=5 page=0 chnl=0
char id=97 x=72 y=72 width=10 height=10 xoffset=-1 yoffset=5 xadvance=8 page=0 chnl=0
char id=98 x=100 y=46 width=10 height=13 xoffset=-1 yoffset=2 xadvance=8 page=0 chnl=0
char id=99 x=82 y=72 width=10 height=10 xoffset=-1 yoffset=5 xadvance=8 page=0 chnl=0
char id=100 x=110 y=46 width=10 height=13 xoffset=-1 yoffset=2 xadvance=8 page=0 chnl=0
char id=101 x=92 y=72 width=10 height=10 xoffset=-1 yoffset=5 xadvance=8 page=0 chnl=0
char id=102 x=120 y=46 width=7 height=13 xoffset=-1 yoffset=2 xadvance=4 page=0 chnl=0
char id=103 x=127 y=46 width=10 height=13 xoffset=-1 yoffset=5 xadvance=8 page=0 chnl=0
char id=104 x=137 y=46 width=9 height=13 xoffset=0 yoffset=2 xadvance=8 page=0 chnl=0
char id=105 x=146 y=46 width=5 height=13 xoffset=-1 yoffset=2 xadvance=3 page=0 chnl=0
char id=106 x=62 y=0 width=6 height=16 xoffset=-2 yoffset=2 xadvance=3 page=0 chnl=0
char id=107 x=151 y=46 width=10 height=13 xoffset=-1 yoffset=2 xadvance=7 page=0 chnl=0
char id=108 x=161 y=46 width=5 height=13 xoffset=-1 yoffset=2 xadvance=3 page=0 chnl=0
char id=109 x=102 y=72 width=13 height=10 xoffset=0 yoffset=5 xadvance=13 page=0 chnl=0
char id=110 x=115 y=72 width=10 height=10 xoffset=-1 yoffset=5 xadvance=8 page=0 chnl=0
char id=111 x=125 y=72 width=10 height=10 xoffset=-1 yoffset=5 xadvance=8 page=0 chnl=0
char id=112 x=166 y=46 width=10 height=13 xoffset=-1 yoffset=5 xadvance=8 page=0 chnl=0
char id=113 x=176 y=46 width=10 height=13 xoffset=-1 yoffset=5 xadvance=8 page=0 chnl=0
char id=114 x=135 y=72 width=6 height=10 xoffset=0 yoffset=5 xadvance=5 page=0 chnl=0
char id=115 x=141 y=72 width=10 height=10 xoffset=-1 yoffset=5 xadvance=8 page=0 chnl=0
char id=116 x=26 y=72 width=6 height=12 xoffset=-1 yoffset=3 xadvance=4 page=0 chnl=0
char id=117 x=151 y=72 width=10 height=10 xoffset=-1 yoffset=5 xadvance=8 page=0 chnl=0
char id=118 x=161 y=72 width=9 height=10 xoffset=-1 yoffset=5 xadvance=7 page=0 chnl=0
char id=119 x=170 y=72 width=15 height=10 xoffset=-2 yoffset=5 xadvance=11 page=0 chnl=0
char id=120 x=185 y=72 width=9 height=10 xoffset=-1 yoffset=5 xadvance=7 page=0 chnl=0
char id=121 x=186 y=46 width=9 height=13 xoffset=-1 yoffset=5 xadvance=7 page=0 chnl=0
char id=122 x=194 y=72 width=10 height=10 xoffset=-1 yoffset=5 xadvance=8 page=0 chnl=0
char id=123 x=68 y=0 width=7 height=16 xoffset=-1 yoffset=2 xadvance=5 page=0 chnl=0
char id=124 x=75 y=0 width=4 height=16 xoffset=0 yoffset=2 xadvance=3 page=0 chnl=0
char id=125 x=79 y=0 width=7 height=16 xoffset=-1 yoffset=2 xadvance=5 page=0 chnl=0
char id=126 x=39 y=85 width=11 height=5 xoffset=-1 yoffset=6 xadvance=9 page=0 chnl=0
char id=160 x=0 y=0 width=0 height=0 xoffset=-1 yoffset=0 xadvance=4 page=0 chnl=0
char id=161 x=32 y=72 width=5 height=12 xoffset=0 yoffset=5 xadvance=5 page=0 chnl=0
char id=162 x=195 y=46 width=10 height=13 xoffset=-1 yoffset=2 xadvance=8 page=0 chnl=0
char id=163 x=205 y=46 width=10 height=13 xoffset=-1 yoffset=2 xadvance=8 page=0 chnl=0
char id=164 x=204 y=72 width=10 height=10 xoffset=-1 yoffset=4 xadvance=8 page=0 chnl=0
char id=165 x=215 y=46 width=12 height=13 xoffset=-2 yoffset=2 xadvance=8 page=0 chnl=0
char id=166 x=86 y=0 width=4 height=16 xoffset=0 yoffset=2 xadvance=3 page=0 chnl=0
char id=181 x=227 y=46 width=10 height=13 xoffset=-1 yoffset=5 xadvance=8 page=0 chnl=0
char id=183 x=67 y=85 width=4 height=4 xoffset=1 yoffset=7 xadvance=5 page=0 chnl=0
char id=191 x=37 y=72 width=10 height=12 xoffset=-1 yoffset=5 xadvance=9 page=0 chnl=0
char id=192 x=90 y=0 width=11 height=16 xoffset=-1 yoffset=-1 xadvance=9 page=0 chnl=0
char id=193 x=101 y=0 width=11 height=16 xoffset=-1 yoffset=-1 xadvance=9 page=0 chnl=0
char id=194 x=112 y=0 width=11 height=16 xoffset=-1 yoffset=-1 xadvance=9 page=0 chnl=0
char id=195 x=123 y=0 width=11 height=16 xoffset=-1 yoffset=-1 xadvance=9 page=0 chnl=0
char id=196 x=134 y=0 width=11 height=16 xoffset=-1 yoffset=-1 xadvance=9 page=0 chnl=0
char id=197 x=0 y=0 width=11 height=17 xoffset=-1 yoffset=-2 xadvance=9 page=0 chnl=0
char id=198 x=237 y=46 width=17 height=13 xoffset=-1 yoffset=2 xadvance=15 page=0 chnl=0
char id=199 x=11 y=0 width=13 height=17 xoffset=-1 yoffset=2 xadvance=11 page=0 chnl=0
char id=200 x=145 y=0 width=11 height=16 xoffset=0 yoffset=-1 xadvance=10 page=0 chnl=0
char id=201 x=156 y=0 width=11 height=16 xoffset=0 yoffset=-1 xadvance=10 page=0 chnl=0
char id=202 x=167 y=0 width=11 height=16 xoffset=0 yoffset=-1 xadvance=10 page=0 chnl=0
char id=203 x=178 y=0 width=11 height=16 xoffset=0 yoffset=-1 xadvance=10 page=0 chnl=0
char id=204 x=189 y=0 width=6 height=16 xoffset=-2 yoffset=-1 xadvance=3 page=0 chnl=0
char id=205 x=195 y=0 width=7 height=16 xoffset=0 yoffset=-1 xadvance=3 page=0 chnl=0
char id=206 x=202 y=0 width=8 height=16 xoffset=-2 yoffset=-1 xadvance=3 page=0 chnl=0
char id=207 x=210 y=0 width=8 height=16 xoffset=-2 yoffset=-1 xadvance=3 page=0 chnl=0
char id=208 x=0 y=59 width=13 height=13 xoffset=-1 yoffset=2 xadvance=11 page=0 chnl=0
char id=209 x=218 y=0 width=10 height=16 xoffset=0 yoffset=-1 xadvance=10 page=0 chnl=0
char id=210 x=228 y=0 width=14 height=16 xoffset=-1 yoffset=-1 xadvance=12 page=0 chnl=0
char id=211 x=0 y=17 width=14 height=16 xoffset=-1 yoffset=-1 xadvance=12 page=0 chnl=0
char id=212 x=14 y=17 width=14 height=16 xoffset=-1 yoffset=-1 xadvance=12 page=0 chnl=0
char id=213 x=28 y=17 width=14 height=16 xoffset=-1 yoffset=-1 xadvance=12 page=0 chnl=0
char id=214 x=42 y=17 width=14 height=16 xoffset=-1 yoffset=-1 xadvance=12 page=0 chnl=0
char id=216 x=150 y=17 width=14 height=15 xoffset=-1 yoffset=1 xadvance=12 page=0 chnl=0
char id=217 x=242 y=0 width=10 height=16 xoffset=0 yoffset=-1 xadvance=10 page=0 chnl=0
char id=218 x=56 y=17 width=10 height=16 xoffset=0 yoffset=-1 xadvance=10 page=0 chnl=0
char id=219 x=66 y=17 width=10 height=16 xoffset=0 yoffset=-1 xadvance=10 page=0 chnl=0
char id=220 x=76 y=17 width=10 height=16 xoffset=0 yoffset=-1 xadvance=10 page=0 chnl=0
char id=221 x=86 y=17 width=11 height=16 xoffset=-1 yoffset=-1 xadvance=9 page=0 chnl=0
char id=222 x=13 y=59 width=11 height=13 xoffset=0 yoffset=2 xadvance=10 page=0 chnl=0
char id=223 x=24 y=59 width=10 height=13 xoffset=0 yoffset=2 xadvance=9 page=0 chnl=0
char id=224 x=34 y=59 width=10 height=13 xoffset=-1 yoffset=2 xadvance=8 page=0 chnl=0
char id=225 x=44 y=59 width=10 height=13 xoffset=-1 yoffset=2 xadvance=8 page=0 chnl=0
char id=226 x=54 y=59 width=10 height=13 xoffset=-1 yoffset=2 xadvance=8 page=0 chnl=0
char id=227 x=64 y=59 width=10 height=13 xoffset=-1 yoffset=2 xadvance=8 page=0 chnl=0
char id=228 x=74 y=59 width=10 height=13 xoffset=-1 yoffset=2 xadvance=8 page=0 chnl=0
char id=229 x=164 y=17 width=10 height=15 xoffset=-1 yoffset=0 xadvance=8 page=0 chnl=0
char id=230 x=214 y=72 width=15 height=10 xoffset=-1 yoffset=5 xadvance=13 page=0 chnl=0
char id=231 x=174 y=17 width=10 height=14 xoffset=-1 yoffset=5 xadvance=8 page=0 chnl=0
char id=232 x=84 y=59 width=10 height=13 xoffset=-1 yoffset=2 xadvance=8 page=0 chnl=0
char id=233 x=94 y=59 width=10 height=13 xoffset=-1 yoffset=2 xadvance=8 page=0 chnl=0
char id=234 x=104 y=59 width=10 height=13 xoffset=-1 yoffset=2 xadvance=8 page=0 chnl=0
char id=235 x=114 y=59 width=10 height=13 xoffset=-1 yoffset=2 xadvance=8 page=0 chnl=0
char id=236 x=124 y=59 width=6 height=13 xoffset=-2 yoffset=2 xadvance=3 page=0 chnl=0
char id=237 x=130 y=59 width=7 height=13 xoffset=-1 yoffset=2 xadvance=3 page=0 chnl=0
char id=238 x=137 y=59 width=8 height=13 xoffset=-2 yoffset=2 xadvance=3 page=0 chnl=0
char id=239 x=145 y=59 width=8 height=13 xoffset=-1 yoffset=2 xadvance=3 page=0 chnl=0
char id=240 x=153 y=59 width=10 height=13 xoffset=-1 yoffset=2 xadvance=8 page=0 chnl=0
char id=241 x=163 y=59 width=10 height=13 xoffset=-1 yoffset=2 xadvance=8 page=0 chnl=0
char id=242 x=173 y=59 width=10 height=13 xoffset=-1 yoffset=2 xadvance=8 page=0 chnl=0
char id=243 x=183 y=59 width=10 height=13 xoffset=-1 yoffset=2 xadvance=8 page=0 chnl=0
char id=244 x=193 y=59 width=10 height=13 xoffset=-1 yoffset=2 xadvance=8 page=0 chnl=0
char id=245 x=203 y=59 width=10 height=13 xoffset=-1 yoffset=2 xadvance=8 page=0 chnl=0
char id=246 x=213 y=59 width=10 height=13 xoffset=-1 yoffset=2 xadvance=8 page=0 chnl=0
char id=248 x=47 y=72 width=10 height=12 xoffset=-1 yoffset=4 xadvance=8 page=0 chnl=0
char id=249 x=223 y=59 width=10 height=13 xoffset=-1 yoffset=2 xadvance=8 page=0 chnl=0
char id=250 x=233 y=59 width=10 height=13 xoffset=-1 yoffset=2 xadvance=8 page=0 chnl=0
char id=251 x=243 y=59 width=10 height=13 xoffset=-1 yoffset=2 xadvance=8 page=0 chnl=0
char id=252 x=0 y=72 width=10 height=13 xoffset=-1 yoffset=2 xadvance=8 page=0 chnl=0
char id=253 x=97 y=17 width=9 height=16 xoffset=-1 yoffset=2 xadvance=7 page=0 chnl=0
char id=254 x=106 y=17 width=10 height=16 xoffset=-1 yoffset=2 xadvance=8 page=0 chnl=0
char id=255 x=116 y=17 width=9 height=16 xoffset=-1 yoffset=2 xadvance=7 page=0 chnl=0
kernings count=73
kerning first=70 second=46 amount=-2
kerning first=84 second=121 amount=-1
kerning first=121 second=44 amount=-1
kerning first=86 second=58 amount=-1
kerning first=89 second=101 amount=-1
kerning first=89 second=46 amount=-2
kerning first=84 second=45 amount=-1
kerning first=119 second=44 amount=-1
kerning first=89 second=59 amount=-1
kerning first=84 second=58 amount=-2
kerning first=87 second=46 amount=-1
kerning first=65 second=84 amount=-1
kerning first=84 second=105 amount=-1
kerning first=86 second=97 amount=-1
kerning first=84 second=97 amount=-2
kerning first=76 second=87 amount=-1
kerning first=65 second=89 amount=-1
kerning first=76 second=32 amount=-1
kerning first=76 second=121 amount=-1
kerning first=89 second=111 amount=-1
kerning first=121 second=46 amount=-1
kerning first=119 second=46 amount=-1
kerning first=84 second=115 amount=-2
kerning first=76 second=84 amount=-1
kerning first=65 second=86 amount=-1
kerning first=86 second=65 amount=-1
kerning first=86 second=44 amount=-1
kerning first=84 second=65 amount=-1
kerning first=84 second=99 amount=-2
kerning first=89 second=45 amount=-1
kerning first=84 second=44 amount=-2
kerning first=76 second=89 amount=-1
kerning first=89 second=113 amount=-1
kerning first=89 second=58 amount=-1
kerning first=86 second=117 amount=-1
kerning first=80 second=65 amount=-1
kerning first=89 second=105 amount=-1
kerning first=80 second=44 amount=-2
kerning first=89 second=118 amount=-1
kerning first=84 second=117 amount=-1
kerning first=89 second=97 amount=-1
kerning first=76 second=86 amount=-1
kerning first=118 second=44 amount=-1
kerning first=86 second=101 amount=-1
kerning first=87 second=97 amount=-1
kerning first=86 second=46 amount=-1
kerning first=86 second=114 amount=-1
kerning first=86 second=59 amount=-1
kerning first=84 second=101 amount=-2
kerning first=84 second=46 amount=-2
kerning first=32 second=65 amount=-1
kerning first=84 second=114 amount=-1
kerning first=114 second=44 amount=-1
kerning first=84 second=59 amount=-2
kerning first=70 second=65 amount=-1
kerning first=80 second=46 amount=-2
kerning first=70 second=44 amount=-2
kerning first=84 second=119 amount=-1
kerning first=89 second=65 amount=-1
kerning first=86 second=111 amount=-1
kerning first=89 second=44 amount=-2
kerning first=89 second=112 amount=-1
kerning first=87 second=65 amount=-1
kerning first=118 second=46 amount=-1
kerning first=84 second=111 amount=-2
kerning first=87 second=44 amount=-1
kerning first=49 second=49 amount=-1
kerning first=89 second=117 amount=-1
kerning first=114 second=46 amount=-1
kerning first=86 second=121 amount=-1
kerning first=65 second=87 amount=-1
kerning first=65 second=32 amount=-1
kerning first=86 second=45 amount=-1
| info face="LSans" size=15 bold=0 italic=0 charset="" unicode=0 stretchH=100 smooth=1 aa=1 padding=1,1,1,1 spacing=-2,-2
common lineHeight=18 base=14 scaleW=256 scaleH=128 pages=1 packed=0
page id=0 file="lsans-15.png"
chars count=168
char id=0 x=83 y=85 width=11 height=13 xoffset=0 yoffset=2 xadvance=11 page=0 chnl=0
char id=32 x=0 y=0 width=0 height=0 xoffset=-1 yoffset=0 xadvance=4 page=0 chnl=0
char id=33 x=184 y=17 width=5 height=13 xoffset=0 yoffset=2 xadvance=5 page=0 chnl=0
char id=34 x=27 y=85 width=7 height=5 xoffset=-1 yoffset=2 xadvance=5 page=0 chnl=0
char id=35 x=189 y=17 width=10 height=13 xoffset=-1 yoffset=2 xadvance=8 page=0 chnl=0
char id=36 x=125 y=17 width=10 height=15 xoffset=-1 yoffset=1 xadvance=8 page=0 chnl=0
char id=37 x=199 y=17 width=15 height=13 xoffset=-1 yoffset=2 xadvance=13 page=0 chnl=0
char id=38 x=10 y=72 width=12 height=12 xoffset=-1 yoffset=3 xadvance=10 page=0 chnl=0
char id=39 x=34 y=85 width=5 height=5 xoffset=-1 yoffset=2 xadvance=3 page=0 chnl=0
char id=40 x=24 y=0 width=7 height=16 xoffset=-1 yoffset=2 xadvance=5 page=0 chnl=0
char id=41 x=31 y=0 width=7 height=16 xoffset=-1 yoffset=2 xadvance=5 page=0 chnl=0
char id=42 x=0 y=85 width=8 height=7 xoffset=-1 yoffset=2 xadvance=6 page=0 chnl=0
char id=43 x=57 y=72 width=11 height=11 xoffset=-1 yoffset=3 xadvance=9 page=0 chnl=0
char id=44 x=251 y=72 width=4 height=6 xoffset=0 yoffset=11 xadvance=4 page=0 chnl=0
char id=45 x=50 y=85 width=7 height=4 xoffset=-1 yoffset=8 xadvance=5 page=0 chnl=0
char id=46 x=57 y=85 width=4 height=4 xoffset=0 yoffset=11 xadvance=4 page=0 chnl=0
char id=47 x=214 y=17 width=6 height=13 xoffset=-1 yoffset=2 xadvance=4 page=0 chnl=0
char id=48 x=220 y=17 width=10 height=13 xoffset=-1 yoffset=2 xadvance=8 page=0 chnl=0
char id=49 x=230 y=17 width=9 height=13 xoffset=0 yoffset=2 xadvance=8 page=0 chnl=0
char id=50 x=239 y=17 width=10 height=13 xoffset=-1 yoffset=2 xadvance=8 page=0 chnl=0
char id=51 x=0 y=33 width=10 height=13 xoffset=-1 yoffset=2 xadvance=8 page=0 chnl=0
char id=52 x=10 y=33 width=10 height=13 xoffset=-1 yoffset=2 xadvance=8 page=0 chnl=0
char id=53 x=20 y=33 width=10 height=13 xoffset=-1 yoffset=2 xadvance=8 page=0 chnl=0
char id=54 x=30 y=33 width=10 height=13 xoffset=-1 yoffset=2 xadvance=8 page=0 chnl=0
char id=55 x=40 y=33 width=10 height=13 xoffset=-1 yoffset=2 xadvance=8 page=0 chnl=0
char id=56 x=50 y=33 width=10 height=13 xoffset=-1 yoffset=2 xadvance=8 page=0 chnl=0
char id=57 x=60 y=33 width=10 height=13 xoffset=-1 yoffset=2 xadvance=8 page=0 chnl=0
char id=58 x=68 y=72 width=4 height=10 xoffset=0 yoffset=5 xadvance=4 page=0 chnl=0
char id=59 x=22 y=72 width=4 height=12 xoffset=0 yoffset=5 xadvance=4 page=0 chnl=0
char id=60 x=229 y=72 width=11 height=9 xoffset=-1 yoffset=4 xadvance=9 page=0 chnl=0
char id=61 x=8 y=85 width=11 height=7 xoffset=-1 yoffset=6 xadvance=9 page=0 chnl=0
char id=62 x=240 y=72 width=11 height=9 xoffset=-1 yoffset=4 xadvance=9 page=0 chnl=0
char id=63 x=70 y=33 width=10 height=13 xoffset=-1 yoffset=2 xadvance=8 page=0 chnl=0
char id=64 x=135 y=17 width=15 height=15 xoffset=0 yoffset=2 xadvance=15 page=0 chnl=0
char id=65 x=80 y=33 width=11 height=13 xoffset=-1 yoffset=2 xadvance=9 page=0 chnl=0
char id=66 x=91 y=33 width=11 height=13 xoffset=0 yoffset=2 xadvance=10 page=0 chnl=0
char id=67 x=102 y=33 width=13 height=13 xoffset=-1 yoffset=2 xadvance=11 page=0 chnl=0
char id=68 x=115 y=33 width=12 height=13 xoffset=0 yoffset=2 xadvance=11 page=0 chnl=0
char id=69 x=127 y=33 width=11 height=13 xoffset=0 yoffset=2 xadvance=10 page=0 chnl=0
char id=70 x=138 y=33 width=10 height=13 xoffset=0 yoffset=2 xadvance=9 page=0 chnl=0
char id=71 x=148 y=33 width=12 height=13 xoffset=-1 yoffset=2 xadvance=11 page=0 chnl=0
char id=72 x=160 y=33 width=10 height=13 xoffset=0 yoffset=2 xadvance=10 page=0 chnl=0
char id=73 x=249 y=17 width=4 height=13 xoffset=0 yoffset=2 xadvance=3 page=0 chnl=0
char id=74 x=170 y=33 width=8 height=13 xoffset=-1 yoffset=2 xadvance=7 page=0 chnl=0
char id=75 x=178 y=33 width=11 height=13 xoffset=0 yoffset=2 xadvance=10 page=0 chnl=0
char id=76 x=189 y=33 width=9 height=13 xoffset=0 yoffset=2 xadvance=8 page=0 chnl=0
char id=77 x=198 y=33 width=11 height=13 xoffset=0 yoffset=2 xadvance=11 page=0 chnl=0
char id=78 x=209 y=33 width=10 height=13 xoffset=0 yoffset=2 xadvance=10 page=0 chnl=0
char id=79 x=219 y=33 width=14 height=13 xoffset=-1 yoffset=2 xadvance=12 page=0 chnl=0
char id=80 x=233 y=33 width=11 height=13 xoffset=0 yoffset=2 xadvance=10 page=0 chnl=0
char id=81 x=38 y=0 width=14 height=16 xoffset=-1 yoffset=2 xadvance=12 page=0 chnl=0
char id=82 x=0 y=46 width=12 height=13 xoffset=0 yoffset=2 xadvance=11 page=0 chnl=0
char id=83 x=12 y=46 width=12 height=13 xoffset=-1 yoffset=2 xadvance=10 page=0 chnl=0
char id=84 x=244 y=33 width=11 height=13 xoffset=-1 yoffset=2 xadvance=9 page=0 chnl=0
char id=85 x=24 y=46 width=10 height=13 xoffset=0 yoffset=2 xadvance=10 page=0 chnl=0
char id=86 x=34 y=46 width=11 height=13 xoffset=-1 yoffset=2 xadvance=9 page=0 chnl=0
char id=87 x=45 y=46 width=17 height=13 xoffset=-1 yoffset=2 xadvance=15 page=0 chnl=0
char id=88 x=62 y=46 width=11 height=13 xoffset=-1 yoffset=2 xadvance=9 page=0 chnl=0
char id=89 x=73 y=46 width=11 height=13 xoffset=-1 yoffset=2 xadvance=9 page=0 chnl=0
char id=90 x=84 y=46 width=10 height=13 xoffset=-1 yoffset=2 xadvance=8 page=0 chnl=0
char id=91 x=52 y=0 width=5 height=16 xoffset=0 yoffset=2 xadvance=4 page=0 chnl=0
char id=92 x=94 y=46 width=6 height=13 xoffset=-1 yoffset=2 xadvance=4 page=0 chnl=0
char id=93 x=57 y=0 width=5 height=16 xoffset=-1 yoffset=2 xadvance=4 page=0 chnl=0
char id=94 x=19 y=85 width=8 height=7 xoffset=-1 yoffset=2 xadvance=5 page=0 chnl=0
char id=95 x=71 y=85 width=12 height=3 xoffset=-2 yoffset=15 xadvance=8 page=0 chnl=0
char id=96 x=61 y=85 width=6 height=4 xoffset=-1 yoffset=2 xadvance=5 page=0 chnl=0
char id=97 x=72 y=72 width=10 height=10 xoffset=-1 yoffset=5 xadvance=8 page=0 chnl=0
char id=98 x=100 y=46 width=10 height=13 xoffset=-1 yoffset=2 xadvance=8 page=0 chnl=0
char id=99 x=82 y=72 width=10 height=10 xoffset=-1 yoffset=5 xadvance=8 page=0 chnl=0
char id=100 x=110 y=46 width=10 height=13 xoffset=-1 yoffset=2 xadvance=8 page=0 chnl=0
char id=101 x=92 y=72 width=10 height=10 xoffset=-1 yoffset=5 xadvance=8 page=0 chnl=0
char id=102 x=120 y=46 width=7 height=13 xoffset=-1 yoffset=2 xadvance=4 page=0 chnl=0
char id=103 x=127 y=46 width=10 height=13 xoffset=-1 yoffset=5 xadvance=8 page=0 chnl=0
char id=104 x=137 y=46 width=9 height=13 xoffset=0 yoffset=2 xadvance=8 page=0 chnl=0
char id=105 x=146 y=46 width=5 height=13 xoffset=-1 yoffset=2 xadvance=3 page=0 chnl=0
char id=106 x=62 y=0 width=6 height=16 xoffset=-2 yoffset=2 xadvance=3 page=0 chnl=0
char id=107 x=151 y=46 width=10 height=13 xoffset=-1 yoffset=2 xadvance=7 page=0 chnl=0
char id=108 x=161 y=46 width=5 height=13 xoffset=-1 yoffset=2 xadvance=3 page=0 chnl=0
char id=109 x=102 y=72 width=13 height=10 xoffset=0 yoffset=5 xadvance=13 page=0 chnl=0
char id=110 x=115 y=72 width=10 height=10 xoffset=-1 yoffset=5 xadvance=8 page=0 chnl=0
char id=111 x=125 y=72 width=10 height=10 xoffset=-1 yoffset=5 xadvance=8 page=0 chnl=0
char id=112 x=166 y=46 width=10 height=13 xoffset=-1 yoffset=5 xadvance=8 page=0 chnl=0
char id=113 x=176 y=46 width=10 height=13 xoffset=-1 yoffset=5 xadvance=8 page=0 chnl=0
char id=114 x=135 y=72 width=6 height=10 xoffset=0 yoffset=5 xadvance=5 page=0 chnl=0
char id=115 x=141 y=72 width=10 height=10 xoffset=-1 yoffset=5 xadvance=8 page=0 chnl=0
char id=116 x=26 y=72 width=6 height=12 xoffset=-1 yoffset=3 xadvance=4 page=0 chnl=0
char id=117 x=151 y=72 width=10 height=10 xoffset=-1 yoffset=5 xadvance=8 page=0 chnl=0
char id=118 x=161 y=72 width=9 height=10 xoffset=-1 yoffset=5 xadvance=7 page=0 chnl=0
char id=119 x=170 y=72 width=15 height=10 xoffset=-2 yoffset=5 xadvance=11 page=0 chnl=0
char id=120 x=185 y=72 width=9 height=10 xoffset=-1 yoffset=5 xadvance=7 page=0 chnl=0
char id=121 x=186 y=46 width=9 height=13 xoffset=-1 yoffset=5 xadvance=7 page=0 chnl=0
char id=122 x=194 y=72 width=10 height=10 xoffset=-1 yoffset=5 xadvance=8 page=0 chnl=0
char id=123 x=68 y=0 width=7 height=16 xoffset=-1 yoffset=2 xadvance=5 page=0 chnl=0
char id=124 x=75 y=0 width=4 height=16 xoffset=0 yoffset=2 xadvance=3 page=0 chnl=0
char id=125 x=79 y=0 width=7 height=16 xoffset=-1 yoffset=2 xadvance=5 page=0 chnl=0
char id=126 x=39 y=85 width=11 height=5 xoffset=-1 yoffset=6 xadvance=9 page=0 chnl=0
char id=160 x=0 y=0 width=0 height=0 xoffset=-1 yoffset=0 xadvance=4 page=0 chnl=0
char id=161 x=32 y=72 width=5 height=12 xoffset=0 yoffset=5 xadvance=5 page=0 chnl=0
char id=162 x=195 y=46 width=10 height=13 xoffset=-1 yoffset=2 xadvance=8 page=0 chnl=0
char id=163 x=205 y=46 width=10 height=13 xoffset=-1 yoffset=2 xadvance=8 page=0 chnl=0
char id=164 x=204 y=72 width=10 height=10 xoffset=-1 yoffset=4 xadvance=8 page=0 chnl=0
char id=165 x=215 y=46 width=12 height=13 xoffset=-2 yoffset=2 xadvance=8 page=0 chnl=0
char id=166 x=86 y=0 width=4 height=16 xoffset=0 yoffset=2 xadvance=3 page=0 chnl=0
char id=181 x=227 y=46 width=10 height=13 xoffset=-1 yoffset=5 xadvance=8 page=0 chnl=0
char id=183 x=67 y=85 width=4 height=4 xoffset=1 yoffset=7 xadvance=5 page=0 chnl=0
char id=191 x=37 y=72 width=10 height=12 xoffset=-1 yoffset=5 xadvance=9 page=0 chnl=0
char id=192 x=90 y=0 width=11 height=16 xoffset=-1 yoffset=-1 xadvance=9 page=0 chnl=0
char id=193 x=101 y=0 width=11 height=16 xoffset=-1 yoffset=-1 xadvance=9 page=0 chnl=0
char id=194 x=112 y=0 width=11 height=16 xoffset=-1 yoffset=-1 xadvance=9 page=0 chnl=0
char id=195 x=123 y=0 width=11 height=16 xoffset=-1 yoffset=-1 xadvance=9 page=0 chnl=0
char id=196 x=134 y=0 width=11 height=16 xoffset=-1 yoffset=-1 xadvance=9 page=0 chnl=0
char id=197 x=0 y=0 width=11 height=17 xoffset=-1 yoffset=-2 xadvance=9 page=0 chnl=0
char id=198 x=237 y=46 width=17 height=13 xoffset=-1 yoffset=2 xadvance=15 page=0 chnl=0
char id=199 x=11 y=0 width=13 height=17 xoffset=-1 yoffset=2 xadvance=11 page=0 chnl=0
char id=200 x=145 y=0 width=11 height=16 xoffset=0 yoffset=-1 xadvance=10 page=0 chnl=0
char id=201 x=156 y=0 width=11 height=16 xoffset=0 yoffset=-1 xadvance=10 page=0 chnl=0
char id=202 x=167 y=0 width=11 height=16 xoffset=0 yoffset=-1 xadvance=10 page=0 chnl=0
char id=203 x=178 y=0 width=11 height=16 xoffset=0 yoffset=-1 xadvance=10 page=0 chnl=0
char id=204 x=189 y=0 width=6 height=16 xoffset=-2 yoffset=-1 xadvance=3 page=0 chnl=0
char id=205 x=195 y=0 width=7 height=16 xoffset=0 yoffset=-1 xadvance=3 page=0 chnl=0
char id=206 x=202 y=0 width=8 height=16 xoffset=-2 yoffset=-1 xadvance=3 page=0 chnl=0
char id=207 x=210 y=0 width=8 height=16 xoffset=-2 yoffset=-1 xadvance=3 page=0 chnl=0
char id=208 x=0 y=59 width=13 height=13 xoffset=-1 yoffset=2 xadvance=11 page=0 chnl=0
char id=209 x=218 y=0 width=10 height=16 xoffset=0 yoffset=-1 xadvance=10 page=0 chnl=0
char id=210 x=228 y=0 width=14 height=16 xoffset=-1 yoffset=-1 xadvance=12 page=0 chnl=0
char id=211 x=0 y=17 width=14 height=16 xoffset=-1 yoffset=-1 xadvance=12 page=0 chnl=0
char id=212 x=14 y=17 width=14 height=16 xoffset=-1 yoffset=-1 xadvance=12 page=0 chnl=0
char id=213 x=28 y=17 width=14 height=16 xoffset=-1 yoffset=-1 xadvance=12 page=0 chnl=0
char id=214 x=42 y=17 width=14 height=16 xoffset=-1 yoffset=-1 xadvance=12 page=0 chnl=0
char id=216 x=150 y=17 width=14 height=15 xoffset=-1 yoffset=1 xadvance=12 page=0 chnl=0
char id=217 x=242 y=0 width=10 height=16 xoffset=0 yoffset=-1 xadvance=10 page=0 chnl=0
char id=218 x=56 y=17 width=10 height=16 xoffset=0 yoffset=-1 xadvance=10 page=0 chnl=0
char id=219 x=66 y=17 width=10 height=16 xoffset=0 yoffset=-1 xadvance=10 page=0 chnl=0
char id=220 x=76 y=17 width=10 height=16 xoffset=0 yoffset=-1 xadvance=10 page=0 chnl=0
char id=221 x=86 y=17 width=11 height=16 xoffset=-1 yoffset=-1 xadvance=9 page=0 chnl=0
char id=222 x=13 y=59 width=11 height=13 xoffset=0 yoffset=2 xadvance=10 page=0 chnl=0
char id=223 x=24 y=59 width=10 height=13 xoffset=0 yoffset=2 xadvance=9 page=0 chnl=0
char id=224 x=34 y=59 width=10 height=13 xoffset=-1 yoffset=2 xadvance=8 page=0 chnl=0
char id=225 x=44 y=59 width=10 height=13 xoffset=-1 yoffset=2 xadvance=8 page=0 chnl=0
char id=226 x=54 y=59 width=10 height=13 xoffset=-1 yoffset=2 xadvance=8 page=0 chnl=0
char id=227 x=64 y=59 width=10 height=13 xoffset=-1 yoffset=2 xadvance=8 page=0 chnl=0
char id=228 x=74 y=59 width=10 height=13 xoffset=-1 yoffset=2 xadvance=8 page=0 chnl=0
char id=229 x=164 y=17 width=10 height=15 xoffset=-1 yoffset=0 xadvance=8 page=0 chnl=0
char id=230 x=214 y=72 width=15 height=10 xoffset=-1 yoffset=5 xadvance=13 page=0 chnl=0
char id=231 x=174 y=17 width=10 height=14 xoffset=-1 yoffset=5 xadvance=8 page=0 chnl=0
char id=232 x=84 y=59 width=10 height=13 xoffset=-1 yoffset=2 xadvance=8 page=0 chnl=0
char id=233 x=94 y=59 width=10 height=13 xoffset=-1 yoffset=2 xadvance=8 page=0 chnl=0
char id=234 x=104 y=59 width=10 height=13 xoffset=-1 yoffset=2 xadvance=8 page=0 chnl=0
char id=235 x=114 y=59 width=10 height=13 xoffset=-1 yoffset=2 xadvance=8 page=0 chnl=0
char id=236 x=124 y=59 width=6 height=13 xoffset=-2 yoffset=2 xadvance=3 page=0 chnl=0
char id=237 x=130 y=59 width=7 height=13 xoffset=-1 yoffset=2 xadvance=3 page=0 chnl=0
char id=238 x=137 y=59 width=8 height=13 xoffset=-2 yoffset=2 xadvance=3 page=0 chnl=0
char id=239 x=145 y=59 width=8 height=13 xoffset=-1 yoffset=2 xadvance=3 page=0 chnl=0
char id=240 x=153 y=59 width=10 height=13 xoffset=-1 yoffset=2 xadvance=8 page=0 chnl=0
char id=241 x=163 y=59 width=10 height=13 xoffset=-1 yoffset=2 xadvance=8 page=0 chnl=0
char id=242 x=173 y=59 width=10 height=13 xoffset=-1 yoffset=2 xadvance=8 page=0 chnl=0
char id=243 x=183 y=59 width=10 height=13 xoffset=-1 yoffset=2 xadvance=8 page=0 chnl=0
char id=244 x=193 y=59 width=10 height=13 xoffset=-1 yoffset=2 xadvance=8 page=0 chnl=0
char id=245 x=203 y=59 width=10 height=13 xoffset=-1 yoffset=2 xadvance=8 page=0 chnl=0
char id=246 x=213 y=59 width=10 height=13 xoffset=-1 yoffset=2 xadvance=8 page=0 chnl=0
char id=248 x=47 y=72 width=10 height=12 xoffset=-1 yoffset=4 xadvance=8 page=0 chnl=0
char id=249 x=223 y=59 width=10 height=13 xoffset=-1 yoffset=2 xadvance=8 page=0 chnl=0
char id=250 x=233 y=59 width=10 height=13 xoffset=-1 yoffset=2 xadvance=8 page=0 chnl=0
char id=251 x=243 y=59 width=10 height=13 xoffset=-1 yoffset=2 xadvance=8 page=0 chnl=0
char id=252 x=0 y=72 width=10 height=13 xoffset=-1 yoffset=2 xadvance=8 page=0 chnl=0
char id=253 x=97 y=17 width=9 height=16 xoffset=-1 yoffset=2 xadvance=7 page=0 chnl=0
char id=254 x=106 y=17 width=10 height=16 xoffset=-1 yoffset=2 xadvance=8 page=0 chnl=0
char id=255 x=116 y=17 width=9 height=16 xoffset=-1 yoffset=2 xadvance=7 page=0 chnl=0
kernings count=73
kerning first=70 second=46 amount=-2
kerning first=84 second=121 amount=-1
kerning first=121 second=44 amount=-1
kerning first=86 second=58 amount=-1
kerning first=89 second=101 amount=-1
kerning first=89 second=46 amount=-2
kerning first=84 second=45 amount=-1
kerning first=119 second=44 amount=-1
kerning first=89 second=59 amount=-1
kerning first=84 second=58 amount=-2
kerning first=87 second=46 amount=-1
kerning first=65 second=84 amount=-1
kerning first=84 second=105 amount=-1
kerning first=86 second=97 amount=-1
kerning first=84 second=97 amount=-2
kerning first=76 second=87 amount=-1
kerning first=65 second=89 amount=-1
kerning first=76 second=32 amount=-1
kerning first=76 second=121 amount=-1
kerning first=89 second=111 amount=-1
kerning first=121 second=46 amount=-1
kerning first=119 second=46 amount=-1
kerning first=84 second=115 amount=-2
kerning first=76 second=84 amount=-1
kerning first=65 second=86 amount=-1
kerning first=86 second=65 amount=-1
kerning first=86 second=44 amount=-1
kerning first=84 second=65 amount=-1
kerning first=84 second=99 amount=-2
kerning first=89 second=45 amount=-1
kerning first=84 second=44 amount=-2
kerning first=76 second=89 amount=-1
kerning first=89 second=113 amount=-1
kerning first=89 second=58 amount=-1
kerning first=86 second=117 amount=-1
kerning first=80 second=65 amount=-1
kerning first=89 second=105 amount=-1
kerning first=80 second=44 amount=-2
kerning first=89 second=118 amount=-1
kerning first=84 second=117 amount=-1
kerning first=89 second=97 amount=-1
kerning first=76 second=86 amount=-1
kerning first=118 second=44 amount=-1
kerning first=86 second=101 amount=-1
kerning first=87 second=97 amount=-1
kerning first=86 second=46 amount=-1
kerning first=86 second=114 amount=-1
kerning first=86 second=59 amount=-1
kerning first=84 second=101 amount=-2
kerning first=84 second=46 amount=-2
kerning first=32 second=65 amount=-1
kerning first=84 second=114 amount=-1
kerning first=114 second=44 amount=-1
kerning first=84 second=59 amount=-2
kerning first=70 second=65 amount=-1
kerning first=80 second=46 amount=-2
kerning first=70 second=44 amount=-2
kerning first=84 second=119 amount=-1
kerning first=89 second=65 amount=-1
kerning first=86 second=111 amount=-1
kerning first=89 second=44 amount=-2
kerning first=89 second=112 amount=-1
kerning first=87 second=65 amount=-1
kerning first=118 second=46 amount=-1
kerning first=84 second=111 amount=-2
kerning first=87 second=44 amount=-1
kerning first=49 second=49 amount=-1
kerning first=89 second=117 amount=-1
kerning first=114 second=46 amount=-1
kerning first=86 second=121 amount=-1
kerning first=65 second=87 amount=-1
kerning first=65 second=32 amount=-1
kerning first=86 second=45 amount=-1
| -1 |
libgdx/libgdx | 7,270 | Update missing build.gradle files with new syntax for registering tasks | Some Gradle build files were still using old syntax after https://github.com/libgdx/libgdx/pull/7134.
| obigu | "2023-11-05T15:31:03Z" | "2023-11-13T11:04:33Z" | 8e3b2ef2af2e1c1765b3441cb15cfbeddf4046fa | a25ceaddd8e9ea740b7e50e486ea4f815d2a3f58 | Update missing build.gradle files with new syntax for registering tasks. Some Gradle build files were still using old syntax after https://github.com/libgdx/libgdx/pull/7134.
| ./tests/gdx-tests/src/com/badlogic/gdx/tests/GLProfilerErrorTest.java | /*******************************************************************************
* Copyright 2015 See AUTHORS file.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
******************************************************************************/
package com.badlogic.gdx.tests;
import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.graphics.GL20;
import com.badlogic.gdx.graphics.profiling.GLProfiler;
import com.badlogic.gdx.graphics.profiling.GLErrorListener;
import com.badlogic.gdx.graphics.g2d.BitmapFont;
import com.badlogic.gdx.graphics.g2d.SpriteBatch;
import com.badlogic.gdx.tests.utils.GdxTest;
import com.badlogic.gdx.utils.GdxRuntimeException;
import com.badlogic.gdx.utils.ScreenUtils;
public class GLProfilerErrorTest extends GdxTest {
SpriteBatch batch;
BitmapFont font;
GLProfiler glProfiler;
String message = "GLProfiler is currently disabled";
boolean makeGlError = false;
final GLErrorListener customListener = new GLErrorListener() {
@Override
public void onError (int error) {
if (error == GL20.GL_INVALID_VALUE) {
message = "Correctly raised GL_INVALID_VALUE";
} else {
message = "Raised error but something unexpected: " + error;
}
}
};
@Override
public void create () {
batch = new SpriteBatch();
font = new BitmapFont();
Gdx.input.setInputProcessor(this);
glProfiler = new GLProfiler(Gdx.graphics);
}
@Override
public void render () {
ScreenUtils.clear(0.2f, 0.2f, 0.2f, 1);
batch.begin();
if (makeGlError) {
makeGlError = false;
try {
Gdx.gl.glClear(42); // Random invalid value, will raise GL_INVALID_VALUE (0x501, 1281)
} catch (GdxRuntimeException glError) {
if ("GLProfiler: Got gl error GL_INVALID_VALUE".equals(glError.getMessage())) {
message = "Got expected exception.";
} else {
message = "Got GdxRuntimeException (correct) but with unexpected message: " + glError.getMessage();
}
Gdx.app.log("GLProfilerTest", "Caught exception: ", glError);
}
}
int x = 10;
int y = Gdx.graphics.getHeight() - 10;
y -= font.draw(batch, "e - Enable debugging\n" + "d - Disable debugging\n" + "l - Test log error listener\n"
+ "t - Test throw error listener\n" + "c - Test custom listener\n\n" + "Expected error: GL_INVALID_VALUE (0x501, 1281)",
x, y).height;
y -= 10;
font.draw(batch, message, x, y);
batch.end();
}
@Override
public boolean keyTyped (char character) {
String DEBUGGER_DISABLED_MESSAGE = "Error will be detected after enabling the debugger";
switch (character) {
case 'e':
glProfiler.enable();
message = "GLProfiler enabled (isEnabled(): " + glProfiler.isEnabled() + ")";
break;
case 'd':
glProfiler.disable();
message = "GLProfiler disabled (isEnabled(): " + glProfiler.isEnabled() + ")";
break;
case 'l':
glProfiler.setListener(GLErrorListener.LOGGING_LISTENER);
makeGlError = true;
if (glProfiler.isEnabled()) {
message = "Log should contain info about error, which happened in glClear.";
} else {
message = DEBUGGER_DISABLED_MESSAGE;
}
break;
case 't':
glProfiler.setListener(GLErrorListener.THROWING_LISTENER);
makeGlError = true;
if (glProfiler.isEnabled()) {
message = "This should be soon replaced with info about caught exception.";
} else {
message = DEBUGGER_DISABLED_MESSAGE;
}
break;
case 'c':
glProfiler.setListener(customListener);
makeGlError = true;
if (glProfiler.isEnabled()) {
message = "This should be soon replaced about info about success.";
} else {
message = DEBUGGER_DISABLED_MESSAGE;
}
break;
default:
return false;
}
return true;
}
@Override
public void dispose () {
batch.dispose();
font.dispose();
}
}
| /*******************************************************************************
* Copyright 2015 See AUTHORS file.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
******************************************************************************/
package com.badlogic.gdx.tests;
import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.graphics.GL20;
import com.badlogic.gdx.graphics.profiling.GLProfiler;
import com.badlogic.gdx.graphics.profiling.GLErrorListener;
import com.badlogic.gdx.graphics.g2d.BitmapFont;
import com.badlogic.gdx.graphics.g2d.SpriteBatch;
import com.badlogic.gdx.tests.utils.GdxTest;
import com.badlogic.gdx.utils.GdxRuntimeException;
import com.badlogic.gdx.utils.ScreenUtils;
public class GLProfilerErrorTest extends GdxTest {
SpriteBatch batch;
BitmapFont font;
GLProfiler glProfiler;
String message = "GLProfiler is currently disabled";
boolean makeGlError = false;
final GLErrorListener customListener = new GLErrorListener() {
@Override
public void onError (int error) {
if (error == GL20.GL_INVALID_VALUE) {
message = "Correctly raised GL_INVALID_VALUE";
} else {
message = "Raised error but something unexpected: " + error;
}
}
};
@Override
public void create () {
batch = new SpriteBatch();
font = new BitmapFont();
Gdx.input.setInputProcessor(this);
glProfiler = new GLProfiler(Gdx.graphics);
}
@Override
public void render () {
ScreenUtils.clear(0.2f, 0.2f, 0.2f, 1);
batch.begin();
if (makeGlError) {
makeGlError = false;
try {
Gdx.gl.glClear(42); // Random invalid value, will raise GL_INVALID_VALUE (0x501, 1281)
} catch (GdxRuntimeException glError) {
if ("GLProfiler: Got gl error GL_INVALID_VALUE".equals(glError.getMessage())) {
message = "Got expected exception.";
} else {
message = "Got GdxRuntimeException (correct) but with unexpected message: " + glError.getMessage();
}
Gdx.app.log("GLProfilerTest", "Caught exception: ", glError);
}
}
int x = 10;
int y = Gdx.graphics.getHeight() - 10;
y -= font.draw(batch, "e - Enable debugging\n" + "d - Disable debugging\n" + "l - Test log error listener\n"
+ "t - Test throw error listener\n" + "c - Test custom listener\n\n" + "Expected error: GL_INVALID_VALUE (0x501, 1281)",
x, y).height;
y -= 10;
font.draw(batch, message, x, y);
batch.end();
}
@Override
public boolean keyTyped (char character) {
String DEBUGGER_DISABLED_MESSAGE = "Error will be detected after enabling the debugger";
switch (character) {
case 'e':
glProfiler.enable();
message = "GLProfiler enabled (isEnabled(): " + glProfiler.isEnabled() + ")";
break;
case 'd':
glProfiler.disable();
message = "GLProfiler disabled (isEnabled(): " + glProfiler.isEnabled() + ")";
break;
case 'l':
glProfiler.setListener(GLErrorListener.LOGGING_LISTENER);
makeGlError = true;
if (glProfiler.isEnabled()) {
message = "Log should contain info about error, which happened in glClear.";
} else {
message = DEBUGGER_DISABLED_MESSAGE;
}
break;
case 't':
glProfiler.setListener(GLErrorListener.THROWING_LISTENER);
makeGlError = true;
if (glProfiler.isEnabled()) {
message = "This should be soon replaced with info about caught exception.";
} else {
message = DEBUGGER_DISABLED_MESSAGE;
}
break;
case 'c':
glProfiler.setListener(customListener);
makeGlError = true;
if (glProfiler.isEnabled()) {
message = "This should be soon replaced about info about success.";
} else {
message = DEBUGGER_DISABLED_MESSAGE;
}
break;
default:
return false;
}
return true;
}
@Override
public void dispose () {
batch.dispose();
font.dispose();
}
}
| -1 |
libgdx/libgdx | 7,270 | Update missing build.gradle files with new syntax for registering tasks | Some Gradle build files were still using old syntax after https://github.com/libgdx/libgdx/pull/7134.
| obigu | "2023-11-05T15:31:03Z" | "2023-11-13T11:04:33Z" | 8e3b2ef2af2e1c1765b3441cb15cfbeddf4046fa | a25ceaddd8e9ea740b7e50e486ea4f815d2a3f58 | Update missing build.gradle files with new syntax for registering tasks. Some Gradle build files were still using old syntax after https://github.com/libgdx/libgdx/pull/7134.
| ./extensions/gdx-bullet/jni/swig-src/collision/com/badlogic/gdx/physics/bullet/collision/btContactArray.java | /* ----------------------------------------------------------------------------
* 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.collision;
import com.badlogic.gdx.physics.bullet.linearmath.*;
import com.badlogic.gdx.math.Vector3;
public class btContactArray extends btGimContactArray {
private long swigCPtr;
protected btContactArray (final String className, long cPtr, boolean cMemoryOwn) {
super(className, CollisionJNI.btContactArray_SWIGUpcast(cPtr), cMemoryOwn);
swigCPtr = cPtr;
}
/** Construct a new btContactArray, normally you should not need this constructor it's intended for low-level usage. */
public btContactArray (long cPtr, boolean cMemoryOwn) {
this("btContactArray", cPtr, cMemoryOwn);
construct();
}
@Override
protected void reset (long cPtr, boolean cMemoryOwn) {
if (!destroyed) destroy();
super.reset(CollisionJNI.btContactArray_SWIGUpcast(swigCPtr = cPtr), cMemoryOwn);
}
public static long getCPtr (btContactArray 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;
CollisionJNI.delete_btContactArray(swigCPtr);
}
swigCPtr = 0;
}
super.delete();
}
public btContactArray () {
this(CollisionJNI.new_btContactArray(), true);
}
public void push_contact (Vector3 point, Vector3 normal, float depth, int feature1, int feature2) {
CollisionJNI.btContactArray_push_contact(swigCPtr, this, point, normal, depth, feature1, feature2);
}
public void push_triangle_contacts (GIM_TRIANGLE_CONTACT tricontact, int feature1, int feature2) {
CollisionJNI.btContactArray_push_triangle_contacts(swigCPtr, this, GIM_TRIANGLE_CONTACT.getCPtr(tricontact), tricontact,
feature1, feature2);
}
public void merge_contacts (btContactArray contacts, boolean normal_contact_average) {
CollisionJNI.btContactArray_merge_contacts__SWIG_0(swigCPtr, this, btContactArray.getCPtr(contacts), contacts,
normal_contact_average);
}
public void merge_contacts (btContactArray contacts) {
CollisionJNI.btContactArray_merge_contacts__SWIG_1(swigCPtr, this, btContactArray.getCPtr(contacts), contacts);
}
public void merge_contacts_unique (btContactArray contacts) {
CollisionJNI.btContactArray_merge_contacts_unique(swigCPtr, this, btContactArray.getCPtr(contacts), contacts);
}
}
| /* ----------------------------------------------------------------------------
* 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.collision;
import com.badlogic.gdx.physics.bullet.linearmath.*;
import com.badlogic.gdx.math.Vector3;
public class btContactArray extends btGimContactArray {
private long swigCPtr;
protected btContactArray (final String className, long cPtr, boolean cMemoryOwn) {
super(className, CollisionJNI.btContactArray_SWIGUpcast(cPtr), cMemoryOwn);
swigCPtr = cPtr;
}
/** Construct a new btContactArray, normally you should not need this constructor it's intended for low-level usage. */
public btContactArray (long cPtr, boolean cMemoryOwn) {
this("btContactArray", cPtr, cMemoryOwn);
construct();
}
@Override
protected void reset (long cPtr, boolean cMemoryOwn) {
if (!destroyed) destroy();
super.reset(CollisionJNI.btContactArray_SWIGUpcast(swigCPtr = cPtr), cMemoryOwn);
}
public static long getCPtr (btContactArray 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;
CollisionJNI.delete_btContactArray(swigCPtr);
}
swigCPtr = 0;
}
super.delete();
}
public btContactArray () {
this(CollisionJNI.new_btContactArray(), true);
}
public void push_contact (Vector3 point, Vector3 normal, float depth, int feature1, int feature2) {
CollisionJNI.btContactArray_push_contact(swigCPtr, this, point, normal, depth, feature1, feature2);
}
public void push_triangle_contacts (GIM_TRIANGLE_CONTACT tricontact, int feature1, int feature2) {
CollisionJNI.btContactArray_push_triangle_contacts(swigCPtr, this, GIM_TRIANGLE_CONTACT.getCPtr(tricontact), tricontact,
feature1, feature2);
}
public void merge_contacts (btContactArray contacts, boolean normal_contact_average) {
CollisionJNI.btContactArray_merge_contacts__SWIG_0(swigCPtr, this, btContactArray.getCPtr(contacts), contacts,
normal_contact_average);
}
public void merge_contacts (btContactArray contacts) {
CollisionJNI.btContactArray_merge_contacts__SWIG_1(swigCPtr, this, btContactArray.getCPtr(contacts), contacts);
}
public void merge_contacts_unique (btContactArray contacts) {
CollisionJNI.btContactArray_merge_contacts_unique(swigCPtr, this, btContactArray.getCPtr(contacts), contacts);
}
}
| -1 |
libgdx/libgdx | 7,270 | Update missing build.gradle files with new syntax for registering tasks | Some Gradle build files were still using old syntax after https://github.com/libgdx/libgdx/pull/7134.
| obigu | "2023-11-05T15:31:03Z" | "2023-11-13T11:04:33Z" | 8e3b2ef2af2e1c1765b3441cb15cfbeddf4046fa | a25ceaddd8e9ea740b7e50e486ea4f815d2a3f58 | Update missing build.gradle files with new syntax for registering tasks. Some Gradle build files were still using old syntax after https://github.com/libgdx/libgdx/pull/7134.
| ./tests/gdx-tests-android/assets/data/maps/tiled/super-koalio/level1.tmx | <?xml version="1.0" encoding="UTF-8"?>
<map version="1.0" orientation="orthogonal" renderorder="right-down" width="212" height="20" tilewidth="16" tileheight="16" nextobjectid="1">
<tileset firstgid="1" name="tileSet-hd" tilewidth="16" tileheight="16">
<image source="tileSet.png" trans="fe80fe" width="256" height="256"/>
</tileset>
<layer name="background" width="212" height="20">
<data encoding="base64">
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIoAAACLAAAAjAAAAI0AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACKAAAAiwAAAIwAAACNAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACKAAAAiwAAAIwAAACNAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAmgAAAJsAAACcAAAAnQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAJoAAACbAAAAnAAAAJ0AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAJoAAACbAAAAnAAAAJ0AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAKEAAACiAAAAowAAAKQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAChAAAAogAAAKMAAACkAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAigAAAIsAAACMAAAAjQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAsQAAALIAAACzAAAAtAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAALEAAACyAAAAswAAALQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACaAAAAmwAAAJwAAACdAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAoQAAAKIAAACjAAAApAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAoQAAAKIAAACjAAAApAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIoAAACLAAAAjAAAAI0AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAIAAAADAAAABAAAAAUAAAAGAAAABwAAAAgAAAAJAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACKAAAAiwAAAIwAAACNAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACxAAAAsgAAALMAAAC0AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACKAAAAiwAAAIwAAACNAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACxAAAAsgAAALMAAAC0AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAmgAAAJsAAACcAAAAnQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAARAAAAEgAAABMAAAAUAAAAFQAAABYAAAAXAAAAGAAAABkAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAoQAAAKIAAACjAAAApAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAJoAAACbAAAAnAAAAJ0AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAJoAAACbAAAAnAAAAJ0AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAKEAAACiAAAAowAAAKQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACEAAAAiAAAAIwAAACQAAAAlAAAAJgAAACcAAAAoAAAAKQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACxAAAAsgAAALMAAAC0AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAKEAAACiAAAAowAAAKQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAsQAAALIAAACzAAAAtAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMQAAADIAAAAzAAAANAAAADUAAAA2AAAANwAAADgAAAA5AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAsQAAALIAAACzAAAAtAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABBAAAAQgAAAEMAAABEAAAARQAAAEYAAABHAAAASAAAAEkAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAwAAAANAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACKAAAAiwAAAIwAAACNAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAChAAAAogAAAKMAAACkAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFEAAABSAAAAUwAAAFQAAABVAAAAVgAAAFcAAABYAAAAWQAAAAAAAAAAAAAAAAAAAAAAAAAbAAAAHAAAAB0AAAAeAAAAHwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAoAAAALAAAADAAAAA0AAAAOAAAADwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAJoAAACbAAAAnAAAAJ0AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAALEAAACyAAAAswAAALQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAYQAAAGIAAABjAAAAZAAAAGUAAABmAAAAZwAAAGgAAABpAAAAAAAAAAAAAAAAAAAAKgAAACsAAAAsAAAALQAAAC4AAAAvAAAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGgAAABsAAAAcAAAAHQAAAB4AAAAfAAAAIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAWgAAAFsAAABcAAAAXQAAAF4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAoAAAALAAAADAAAAA0AAAAOAAAADwAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAWgAAAFsAAABcAAAAXQAAAF4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAKAAAACwAAAAwAAAANAAAADgAAAA8AAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAWgAAAFsAAABcAAAAXQAAAF4AAAAAAAAAAAAAAFoAAABbAAAAXAAAAF0AAABeAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACgAAAAsAAAAMAAAADQAAAA4AAAAPAAAAEAAAAAAAAABxAAAAcgAAAHMAAAB0AAAAdQAAAHYAAAB3AAAAeAAAAHkAAAAAAAAAAAAAAAAAAAA6AAAAOwAAADwAAAA9AAAAPgAAAD8AAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAWwAAAFwAAABdAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAqAAAAKwAAACwAAAAtAAAALgAAAC8AAAAwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABqAAAAawAAAGwAAABtAAAAbgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGgAAABsAAAAcAAAAHQAAAB4AAAAfAAAAIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABqAAAAawAAAGwAAABtAAAAbgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABoAAAAbAAAAHAAAAB0AAAAeAAAAHwAAACAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABqAAAAawAAAGwAAABtAAAAbgAAAAAAAAAAAAAAagAAAGsAAABsAAAAbQAAAG4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAaAAAAGwAAABwAAAAdAAAAHgAAAB8AAAAgAAAAAAAAAIEAAACCAAAAgwAAAIQAAACFAAAAhgAAAIcAAACIAAAAiQAAAAAAAAAAAAAAAAAAAEoAAABLAAAATAAAAE0AAABOAAAATwAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGoAAABrAAAAbAAAAG0AAABuAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADoAAAA7AAAAPAAAAD0AAAA+AAAAPwAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHoAAAB7AAAAfAAAAH0AAAB+AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAqAAAAKwAAACwAAAAtAAAALgAAAC8AAAAwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHoAAAB7AAAAfAAAAH0AAAB+AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAKgAAACsAAAAsAAAALQAAAC4AAAAvAAAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHoAAAB7AAAAfAAAAH0AAAB+AAAAAAAAAAAAAAB6AAAAewAAAHwAAAB9AAAAfgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACoAAAArAAAALAAAAC0AAAAuAAAALwAAADAAAAAAAAAAkQAAAJIAAACTAAAAlAAAAJUAAACWAAAAlwAAAJgAAACZAAAAAAAAAAAAAAAAAAAASgAAAEsAAABMAAAATQAAAE4AAABPAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAegAAAHsAAAB8AAAAfQAAAH4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAASgAAAEsAAABMAAAATQAAAE4AAABPAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAegAAAHsAAAB8AAAAfQAAAH4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADoAAAA7AAAAPAAAAD0AAAA+AAAAPwAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAegAAAHsAAAB8AAAAfQAAAH4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA6AAAAOwAAADwAAAA9AAAAPgAAAD8AAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAagAAAGsAAABsAAAAbQAAAG4AAAAAAAAAAAAAAGoAAABrAAAAbAAAAG0AAABuAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOgAAADsAAAA8AAAAPQAAAD4AAAA/AAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAASgAAAEsAAABMAAAATQAAAE4AAABPAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEoAAABLAAAATAAAAE0AAABOAAAATwAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAB6AAAAewAAAHwAAAB9AAAAfgAAAAAAAAAAAAAAegAAAHsAAAB8AAAAfQAAAH4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABKAAAASwAAAEwAAABNAAAATgAAAE8AAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==
</data>
</layer>
<imagelayer name="koalio" x="241" y="200">
<image source="koalio-single.png"/>
</imagelayer>
<layer name="walls" width="212" height="20">
<data encoding="base64">
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAI8AAACPAAAAjwAAAI8AAACPAAAAjwAAAI8AAACPAAAAAAAAAAAAAAAAAAAAjwAAAI8AAACPAAAAgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAjwAAAI8AAACPAAAAAAAAAAAAAAAAAAAAAAAAAI8AAACAAAAAgAAAAI8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAH8AAAB/AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAB/AAAAfwAAAH8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAfwAAAH8AAAB/AAAAfwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAH8AAAB/AAAAfwAAAH8AAAB/AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACAAAAAAAAAAAAAAAAAAAAAjwAAAIAAAACPAAAAgAAAAI8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAF8AAABgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAjwAAAIAAAACPAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACPAAAAgAAAAAAAAAAAAAAAAAAAAAAAAACAAAAAAAAAAAAAAACAAAAAAAAAAAAAAACAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACPAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAI8AAACPAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAfwAAAAAAAAAAAAAAfwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAB/AAAAfwAAAAAAAAAAAAAAfwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAI8AAACPAAAAgAAAAI8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAB/AAAAfwAAAH8AAAB/AAAAfwAAAH8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABfAAAAYAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAF8AAABgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAbwAAAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAH8AAAB/AAAAAAAAAAAAAAB/AAAAfwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAfwAAAH8AAAB/AAAAAAAAAAAAAAB/AAAAfwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAfwAAAH8AAAB/AAAAfwAAAH8AAAB/AAAAfwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAXwAAAGAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAG8AAABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAbwAAAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACOAAAAjgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAB/AAAAfwAAAH8AAAAAAAAAAAAAAH8AAAB/AAAAfwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAH8AAAB/AAAAfwAAAH8AAAAAAAAAAAAAAH8AAAB/AAAAfwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAXwAAAGAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAF8AAABgAAAAAAAAAH8AAAB/AAAAfwAAAH8AAAB/AAAAfwAAAH8AAAB/AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABvAAAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAjgAAAI4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACOAAAAjgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAI4AAACOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAfwAAAH8AAAB/AAAAfwAAAAAAAAAAAAAAfwAAAH8AAAB/AAAAfwAAAAAAAAAAAAAAAAAAAAAAAAB/AAAAfwAAAH8AAAB/AAAAfwAAAAAAAAAAAAAAfwAAAH8AAAB/AAAAfwAAAAAAAAAAAAAAAAAAAAAAAABvAAAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAbwAAAHAAAAB/AAAAfwAAAH8AAAB/AAAAfwAAAH8AAAB/AAAAfwAAAH8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAAAAAAAAAAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAAAAAAAAAAAAAAAAAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAAAAAAAAAAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAAAAAAAAAAAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAAAAAAAAAAAAAAAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAAAAAAAAAAAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAA==
</data>
</layer>
<imagelayer name="koalio-color" x="352" y="136" opacity="0.5">
<image source="koalio-single.png" trans="127c91"/>
</imagelayer>
</map>
| <?xml version="1.0" encoding="UTF-8"?>
<map version="1.0" orientation="orthogonal" renderorder="right-down" width="212" height="20" tilewidth="16" tileheight="16" nextobjectid="1">
<tileset firstgid="1" name="tileSet-hd" tilewidth="16" tileheight="16">
<image source="tileSet.png" trans="fe80fe" width="256" height="256"/>
</tileset>
<layer name="background" width="212" height="20">
<data encoding="base64">
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIoAAACLAAAAjAAAAI0AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACKAAAAiwAAAIwAAACNAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACKAAAAiwAAAIwAAACNAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAmgAAAJsAAACcAAAAnQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAJoAAACbAAAAnAAAAJ0AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAJoAAACbAAAAnAAAAJ0AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAKEAAACiAAAAowAAAKQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAChAAAAogAAAKMAAACkAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAigAAAIsAAACMAAAAjQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAsQAAALIAAACzAAAAtAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAALEAAACyAAAAswAAALQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACaAAAAmwAAAJwAAACdAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAoQAAAKIAAACjAAAApAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAoQAAAKIAAACjAAAApAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIoAAACLAAAAjAAAAI0AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAIAAAADAAAABAAAAAUAAAAGAAAABwAAAAgAAAAJAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACKAAAAiwAAAIwAAACNAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACxAAAAsgAAALMAAAC0AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACKAAAAiwAAAIwAAACNAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACxAAAAsgAAALMAAAC0AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAmgAAAJsAAACcAAAAnQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAARAAAAEgAAABMAAAAUAAAAFQAAABYAAAAXAAAAGAAAABkAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAoQAAAKIAAACjAAAApAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAJoAAACbAAAAnAAAAJ0AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAJoAAACbAAAAnAAAAJ0AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAKEAAACiAAAAowAAAKQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACEAAAAiAAAAIwAAACQAAAAlAAAAJgAAACcAAAAoAAAAKQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACxAAAAsgAAALMAAAC0AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAKEAAACiAAAAowAAAKQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAsQAAALIAAACzAAAAtAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMQAAADIAAAAzAAAANAAAADUAAAA2AAAANwAAADgAAAA5AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAsQAAALIAAACzAAAAtAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABBAAAAQgAAAEMAAABEAAAARQAAAEYAAABHAAAASAAAAEkAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAwAAAANAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACKAAAAiwAAAIwAAACNAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAChAAAAogAAAKMAAACkAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFEAAABSAAAAUwAAAFQAAABVAAAAVgAAAFcAAABYAAAAWQAAAAAAAAAAAAAAAAAAAAAAAAAbAAAAHAAAAB0AAAAeAAAAHwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAoAAAALAAAADAAAAA0AAAAOAAAADwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAJoAAACbAAAAnAAAAJ0AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAALEAAACyAAAAswAAALQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAYQAAAGIAAABjAAAAZAAAAGUAAABmAAAAZwAAAGgAAABpAAAAAAAAAAAAAAAAAAAAKgAAACsAAAAsAAAALQAAAC4AAAAvAAAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGgAAABsAAAAcAAAAHQAAAB4AAAAfAAAAIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAWgAAAFsAAABcAAAAXQAAAF4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAoAAAALAAAADAAAAA0AAAAOAAAADwAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAWgAAAFsAAABcAAAAXQAAAF4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAKAAAACwAAAAwAAAANAAAADgAAAA8AAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAWgAAAFsAAABcAAAAXQAAAF4AAAAAAAAAAAAAAFoAAABbAAAAXAAAAF0AAABeAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACgAAAAsAAAAMAAAADQAAAA4AAAAPAAAAEAAAAAAAAABxAAAAcgAAAHMAAAB0AAAAdQAAAHYAAAB3AAAAeAAAAHkAAAAAAAAAAAAAAAAAAAA6AAAAOwAAADwAAAA9AAAAPgAAAD8AAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAWwAAAFwAAABdAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAqAAAAKwAAACwAAAAtAAAALgAAAC8AAAAwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABqAAAAawAAAGwAAABtAAAAbgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGgAAABsAAAAcAAAAHQAAAB4AAAAfAAAAIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABqAAAAawAAAGwAAABtAAAAbgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABoAAAAbAAAAHAAAAB0AAAAeAAAAHwAAACAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABqAAAAawAAAGwAAABtAAAAbgAAAAAAAAAAAAAAagAAAGsAAABsAAAAbQAAAG4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAaAAAAGwAAABwAAAAdAAAAHgAAAB8AAAAgAAAAAAAAAIEAAACCAAAAgwAAAIQAAACFAAAAhgAAAIcAAACIAAAAiQAAAAAAAAAAAAAAAAAAAEoAAABLAAAATAAAAE0AAABOAAAATwAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGoAAABrAAAAbAAAAG0AAABuAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADoAAAA7AAAAPAAAAD0AAAA+AAAAPwAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHoAAAB7AAAAfAAAAH0AAAB+AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAqAAAAKwAAACwAAAAtAAAALgAAAC8AAAAwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHoAAAB7AAAAfAAAAH0AAAB+AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAKgAAACsAAAAsAAAALQAAAC4AAAAvAAAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHoAAAB7AAAAfAAAAH0AAAB+AAAAAAAAAAAAAAB6AAAAewAAAHwAAAB9AAAAfgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACoAAAArAAAALAAAAC0AAAAuAAAALwAAADAAAAAAAAAAkQAAAJIAAACTAAAAlAAAAJUAAACWAAAAlwAAAJgAAACZAAAAAAAAAAAAAAAAAAAASgAAAEsAAABMAAAATQAAAE4AAABPAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAegAAAHsAAAB8AAAAfQAAAH4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAASgAAAEsAAABMAAAATQAAAE4AAABPAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAegAAAHsAAAB8AAAAfQAAAH4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADoAAAA7AAAAPAAAAD0AAAA+AAAAPwAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAegAAAHsAAAB8AAAAfQAAAH4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA6AAAAOwAAADwAAAA9AAAAPgAAAD8AAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAagAAAGsAAABsAAAAbQAAAG4AAAAAAAAAAAAAAGoAAABrAAAAbAAAAG0AAABuAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOgAAADsAAAA8AAAAPQAAAD4AAAA/AAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAASgAAAEsAAABMAAAATQAAAE4AAABPAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEoAAABLAAAATAAAAE0AAABOAAAATwAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAB6AAAAewAAAHwAAAB9AAAAfgAAAAAAAAAAAAAAegAAAHsAAAB8AAAAfQAAAH4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABKAAAASwAAAEwAAABNAAAATgAAAE8AAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==
</data>
</layer>
<imagelayer name="koalio" x="241" y="200">
<image source="koalio-single.png"/>
</imagelayer>
<layer name="walls" width="212" height="20">
<data encoding="base64">
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAI8AAACPAAAAjwAAAI8AAACPAAAAjwAAAI8AAACPAAAAAAAAAAAAAAAAAAAAjwAAAI8AAACPAAAAgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAjwAAAI8AAACPAAAAAAAAAAAAAAAAAAAAAAAAAI8AAACAAAAAgAAAAI8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAH8AAAB/AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAB/AAAAfwAAAH8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAfwAAAH8AAAB/AAAAfwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAH8AAAB/AAAAfwAAAH8AAAB/AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACAAAAAAAAAAAAAAAAAAAAAjwAAAIAAAACPAAAAgAAAAI8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAF8AAABgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAjwAAAIAAAACPAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACPAAAAgAAAAAAAAAAAAAAAAAAAAAAAAACAAAAAAAAAAAAAAACAAAAAAAAAAAAAAACAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACPAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAI8AAACPAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAfwAAAAAAAAAAAAAAfwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAB/AAAAfwAAAAAAAAAAAAAAfwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAI8AAACPAAAAgAAAAI8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAB/AAAAfwAAAH8AAAB/AAAAfwAAAH8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABfAAAAYAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAF8AAABgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAbwAAAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAH8AAAB/AAAAAAAAAAAAAAB/AAAAfwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAfwAAAH8AAAB/AAAAAAAAAAAAAAB/AAAAfwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAfwAAAH8AAAB/AAAAfwAAAH8AAAB/AAAAfwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAXwAAAGAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAG8AAABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAbwAAAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACOAAAAjgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAB/AAAAfwAAAH8AAAAAAAAAAAAAAH8AAAB/AAAAfwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAH8AAAB/AAAAfwAAAH8AAAAAAAAAAAAAAH8AAAB/AAAAfwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAXwAAAGAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAF8AAABgAAAAAAAAAH8AAAB/AAAAfwAAAH8AAAB/AAAAfwAAAH8AAAB/AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABvAAAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAjgAAAI4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACOAAAAjgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAI4AAACOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAfwAAAH8AAAB/AAAAfwAAAAAAAAAAAAAAfwAAAH8AAAB/AAAAfwAAAAAAAAAAAAAAAAAAAAAAAAB/AAAAfwAAAH8AAAB/AAAAfwAAAAAAAAAAAAAAfwAAAH8AAAB/AAAAfwAAAAAAAAAAAAAAAAAAAAAAAABvAAAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAbwAAAHAAAAB/AAAAfwAAAH8AAAB/AAAAfwAAAH8AAAB/AAAAfwAAAH8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAAAAAAAAAAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAAAAAAAAAAAAAAAAAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAAAAAAAAAAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAAAAAAAAAAAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAAAAAAAAAAAAAAAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAAAAAAAAAAAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAI4AAACOAAAAjgAAAA==
</data>
</layer>
<imagelayer name="koalio-color" x="352" y="136" opacity="0.5">
<image source="koalio-single.png" trans="127c91"/>
</imagelayer>
</map>
| -1 |
libgdx/libgdx | 7,270 | Update missing build.gradle files with new syntax for registering tasks | Some Gradle build files were still using old syntax after https://github.com/libgdx/libgdx/pull/7134.
| obigu | "2023-11-05T15:31:03Z" | "2023-11-13T11:04:33Z" | 8e3b2ef2af2e1c1765b3441cb15cfbeddf4046fa | a25ceaddd8e9ea740b7e50e486ea4f815d2a3f58 | Update missing build.gradle files with new syntax for registering tasks. Some Gradle build files were still using old syntax after https://github.com/libgdx/libgdx/pull/7134.
| ./tests/gdx-tests/src/com/badlogic/gdx/tests/TiledMapDirectLoaderTest.java | /*******************************************************************************
* Copyright 2011 See AUTHORS file.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
******************************************************************************/
package com.badlogic.gdx.tests;
import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.graphics.OrthographicCamera;
import com.badlogic.gdx.graphics.g2d.BitmapFont;
import com.badlogic.gdx.graphics.g2d.SpriteBatch;
import com.badlogic.gdx.maps.tiled.TiledMap;
import com.badlogic.gdx.maps.tiled.TiledMapRenderer;
import com.badlogic.gdx.maps.tiled.TmxMapLoader;
import com.badlogic.gdx.maps.tiled.renderers.OrthogonalTiledMapRenderer;
import com.badlogic.gdx.tests.utils.GdxTest;
import com.badlogic.gdx.tests.utils.OrthoCamController;
import com.badlogic.gdx.utils.ScreenUtils;
public class TiledMapDirectLoaderTest extends GdxTest {
private TiledMap map;
private TiledMapRenderer renderer;
private OrthographicCamera camera;
private OrthoCamController cameraController;
private BitmapFont font;
private SpriteBatch batch;
@Override
public void create () {
float w = Gdx.graphics.getWidth();
float h = Gdx.graphics.getHeight();
camera = new OrthographicCamera();
camera.setToOrtho(false, (w / h) * 10, 10);
camera.update();
cameraController = new OrthoCamController(camera);
Gdx.input.setInputProcessor(cameraController);
font = new BitmapFont();
batch = new SpriteBatch();
map = new TmxMapLoader().load("data/maps/tiled/super-koalio/level1.tmx");
renderer = new OrthogonalTiledMapRenderer(map, 1f / 32f);
}
@Override
public void render () {
ScreenUtils.clear(0.55f, 0.55f, 0.55f, 1f);
camera.update();
renderer.setView(camera);
renderer.render();
batch.begin();
font.draw(batch, "FPS: " + Gdx.graphics.getFramesPerSecond(), 10, 20);
batch.end();
}
@Override
public void dispose () {
map.dispose();
}
}
| /*******************************************************************************
* Copyright 2011 See AUTHORS file.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
******************************************************************************/
package com.badlogic.gdx.tests;
import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.graphics.OrthographicCamera;
import com.badlogic.gdx.graphics.g2d.BitmapFont;
import com.badlogic.gdx.graphics.g2d.SpriteBatch;
import com.badlogic.gdx.maps.tiled.TiledMap;
import com.badlogic.gdx.maps.tiled.TiledMapRenderer;
import com.badlogic.gdx.maps.tiled.TmxMapLoader;
import com.badlogic.gdx.maps.tiled.renderers.OrthogonalTiledMapRenderer;
import com.badlogic.gdx.tests.utils.GdxTest;
import com.badlogic.gdx.tests.utils.OrthoCamController;
import com.badlogic.gdx.utils.ScreenUtils;
public class TiledMapDirectLoaderTest extends GdxTest {
private TiledMap map;
private TiledMapRenderer renderer;
private OrthographicCamera camera;
private OrthoCamController cameraController;
private BitmapFont font;
private SpriteBatch batch;
@Override
public void create () {
float w = Gdx.graphics.getWidth();
float h = Gdx.graphics.getHeight();
camera = new OrthographicCamera();
camera.setToOrtho(false, (w / h) * 10, 10);
camera.update();
cameraController = new OrthoCamController(camera);
Gdx.input.setInputProcessor(cameraController);
font = new BitmapFont();
batch = new SpriteBatch();
map = new TmxMapLoader().load("data/maps/tiled/super-koalio/level1.tmx");
renderer = new OrthogonalTiledMapRenderer(map, 1f / 32f);
}
@Override
public void render () {
ScreenUtils.clear(0.55f, 0.55f, 0.55f, 1f);
camera.update();
renderer.setView(camera);
renderer.render();
batch.begin();
font.draw(batch, "FPS: " + Gdx.graphics.getFramesPerSecond(), 10, 20);
batch.end();
}
@Override
public void dispose () {
map.dispose();
}
}
| -1 |
libgdx/libgdx | 7,270 | Update missing build.gradle files with new syntax for registering tasks | Some Gradle build files were still using old syntax after https://github.com/libgdx/libgdx/pull/7134.
| obigu | "2023-11-05T15:31:03Z" | "2023-11-13T11:04:33Z" | 8e3b2ef2af2e1c1765b3441cb15cfbeddf4046fa | a25ceaddd8e9ea740b7e50e486ea4f815d2a3f58 | Update missing build.gradle files with new syntax for registering tasks. Some Gradle build files were still using old syntax after https://github.com/libgdx/libgdx/pull/7134.
| ./extensions/gdx-bullet/jni/src/bullet/BulletCollision/Gimpact/btTriangleShapeEx.cpp | /*! \file btGImpactTriangleShape.h
\author Francisco Leon Najera
*/
/*
This source file is part of GIMPACT Library.
For the latest info, see http://gimpact.sourceforge.net/
Copyright (c) 2007 Francisco Leon Najera. C.C. 80087371.
email: projectileman@yahoo.com
This software is provided 'as-is', without any express or implied warranty.
In no event will the authors be held liable for any damages arising from the use of this software.
Permission is granted to anyone to use this software for any purpose,
including commercial applications, and to alter it and redistribute it freely,
subject to the following restrictions:
1. The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment in the product documentation would be appreciated but is not required.
2. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software.
3. This notice may not be removed or altered from any source distribution.
*/
#include "btTriangleShapeEx.h"
void GIM_TRIANGLE_CONTACT::merge_points(const btVector4 & plane,
btScalar margin, const btVector3 * points, int point_count)
{
m_point_count = 0;
m_penetration_depth= -1000.0f;
int point_indices[MAX_TRI_CLIPPING];
int _k;
for ( _k=0;_k<point_count;_k++)
{
btScalar _dist = - bt_distance_point_plane(plane,points[_k]) + margin;
if (_dist>=0.0f)
{
if (_dist>m_penetration_depth)
{
m_penetration_depth = _dist;
point_indices[0] = _k;
m_point_count=1;
}
else if ((_dist+SIMD_EPSILON)>=m_penetration_depth)
{
point_indices[m_point_count] = _k;
m_point_count++;
}
}
}
for ( _k=0;_k<m_point_count;_k++)
{
m_points[_k] = points[point_indices[_k]];
}
}
///class btPrimitiveTriangle
bool btPrimitiveTriangle::overlap_test_conservative(const btPrimitiveTriangle& other)
{
btScalar total_margin = m_margin + other.m_margin;
// classify points on other triangle
btScalar dis0 = bt_distance_point_plane(m_plane,other.m_vertices[0]) - total_margin;
btScalar dis1 = bt_distance_point_plane(m_plane,other.m_vertices[1]) - total_margin;
btScalar dis2 = bt_distance_point_plane(m_plane,other.m_vertices[2]) - total_margin;
if (dis0>0.0f&&dis1>0.0f&&dis2>0.0f) return false;
// classify points on this triangle
dis0 = bt_distance_point_plane(other.m_plane,m_vertices[0]) - total_margin;
dis1 = bt_distance_point_plane(other.m_plane,m_vertices[1]) - total_margin;
dis2 = bt_distance_point_plane(other.m_plane,m_vertices[2]) - total_margin;
if (dis0>0.0f&&dis1>0.0f&&dis2>0.0f) return false;
return true;
}
int btPrimitiveTriangle::clip_triangle(btPrimitiveTriangle & other, btVector3 * clipped_points )
{
// edge 0
btVector3 temp_points[MAX_TRI_CLIPPING];
btVector4 edgeplane;
get_edge_plane(0,edgeplane);
int clipped_count = bt_plane_clip_triangle(
edgeplane,other.m_vertices[0],other.m_vertices[1],other.m_vertices[2],temp_points);
if (clipped_count == 0) return 0;
btVector3 temp_points1[MAX_TRI_CLIPPING];
// edge 1
get_edge_plane(1,edgeplane);
clipped_count = bt_plane_clip_polygon(edgeplane,temp_points,clipped_count,temp_points1);
if (clipped_count == 0) return 0;
// edge 2
get_edge_plane(2,edgeplane);
clipped_count = bt_plane_clip_polygon(
edgeplane,temp_points1,clipped_count,clipped_points);
return clipped_count;
}
bool btPrimitiveTriangle::find_triangle_collision_clip_method(btPrimitiveTriangle & other, GIM_TRIANGLE_CONTACT & contacts)
{
btScalar margin = m_margin + other.m_margin;
btVector3 clipped_points[MAX_TRI_CLIPPING];
int clipped_count;
//create planes
// plane v vs U points
GIM_TRIANGLE_CONTACT contacts1;
contacts1.m_separating_normal = m_plane;
clipped_count = clip_triangle(other,clipped_points);
if (clipped_count == 0 )
{
return false;//Reject
}
//find most deep interval face1
contacts1.merge_points(contacts1.m_separating_normal,margin,clipped_points,clipped_count);
if (contacts1.m_point_count == 0) return false; // too far
//Normal pointing to this triangle
contacts1.m_separating_normal *= -1.f;
//Clip tri1 by tri2 edges
GIM_TRIANGLE_CONTACT contacts2;
contacts2.m_separating_normal = other.m_plane;
clipped_count = other.clip_triangle(*this,clipped_points);
if (clipped_count == 0 )
{
return false;//Reject
}
//find most deep interval face1
contacts2.merge_points(contacts2.m_separating_normal,margin,clipped_points,clipped_count);
if (contacts2.m_point_count == 0) return false; // too far
////check most dir for contacts
if (contacts2.m_penetration_depth<contacts1.m_penetration_depth)
{
contacts.copy_from(contacts2);
}
else
{
contacts.copy_from(contacts1);
}
return true;
}
///class btTriangleShapeEx: public btTriangleShape
bool btTriangleShapeEx::overlap_test_conservative(const btTriangleShapeEx& other)
{
btScalar total_margin = getMargin() + other.getMargin();
btVector4 plane0;
buildTriPlane(plane0);
btVector4 plane1;
other.buildTriPlane(plane1);
// classify points on other triangle
btScalar dis0 = bt_distance_point_plane(plane0,other.m_vertices1[0]) - total_margin;
btScalar dis1 = bt_distance_point_plane(plane0,other.m_vertices1[1]) - total_margin;
btScalar dis2 = bt_distance_point_plane(plane0,other.m_vertices1[2]) - total_margin;
if (dis0>0.0f&&dis1>0.0f&&dis2>0.0f) return false;
// classify points on this triangle
dis0 = bt_distance_point_plane(plane1,m_vertices1[0]) - total_margin;
dis1 = bt_distance_point_plane(plane1,m_vertices1[1]) - total_margin;
dis2 = bt_distance_point_plane(plane1,m_vertices1[2]) - total_margin;
if (dis0>0.0f&&dis1>0.0f&&dis2>0.0f) return false;
return true;
}
| /*! \file btGImpactTriangleShape.h
\author Francisco Leon Najera
*/
/*
This source file is part of GIMPACT Library.
For the latest info, see http://gimpact.sourceforge.net/
Copyright (c) 2007 Francisco Leon Najera. C.C. 80087371.
email: projectileman@yahoo.com
This software is provided 'as-is', without any express or implied warranty.
In no event will the authors be held liable for any damages arising from the use of this software.
Permission is granted to anyone to use this software for any purpose,
including commercial applications, and to alter it and redistribute it freely,
subject to the following restrictions:
1. The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment in the product documentation would be appreciated but is not required.
2. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software.
3. This notice may not be removed or altered from any source distribution.
*/
#include "btTriangleShapeEx.h"
void GIM_TRIANGLE_CONTACT::merge_points(const btVector4 & plane,
btScalar margin, const btVector3 * points, int point_count)
{
m_point_count = 0;
m_penetration_depth= -1000.0f;
int point_indices[MAX_TRI_CLIPPING];
int _k;
for ( _k=0;_k<point_count;_k++)
{
btScalar _dist = - bt_distance_point_plane(plane,points[_k]) + margin;
if (_dist>=0.0f)
{
if (_dist>m_penetration_depth)
{
m_penetration_depth = _dist;
point_indices[0] = _k;
m_point_count=1;
}
else if ((_dist+SIMD_EPSILON)>=m_penetration_depth)
{
point_indices[m_point_count] = _k;
m_point_count++;
}
}
}
for ( _k=0;_k<m_point_count;_k++)
{
m_points[_k] = points[point_indices[_k]];
}
}
///class btPrimitiveTriangle
bool btPrimitiveTriangle::overlap_test_conservative(const btPrimitiveTriangle& other)
{
btScalar total_margin = m_margin + other.m_margin;
// classify points on other triangle
btScalar dis0 = bt_distance_point_plane(m_plane,other.m_vertices[0]) - total_margin;
btScalar dis1 = bt_distance_point_plane(m_plane,other.m_vertices[1]) - total_margin;
btScalar dis2 = bt_distance_point_plane(m_plane,other.m_vertices[2]) - total_margin;
if (dis0>0.0f&&dis1>0.0f&&dis2>0.0f) return false;
// classify points on this triangle
dis0 = bt_distance_point_plane(other.m_plane,m_vertices[0]) - total_margin;
dis1 = bt_distance_point_plane(other.m_plane,m_vertices[1]) - total_margin;
dis2 = bt_distance_point_plane(other.m_plane,m_vertices[2]) - total_margin;
if (dis0>0.0f&&dis1>0.0f&&dis2>0.0f) return false;
return true;
}
int btPrimitiveTriangle::clip_triangle(btPrimitiveTriangle & other, btVector3 * clipped_points )
{
// edge 0
btVector3 temp_points[MAX_TRI_CLIPPING];
btVector4 edgeplane;
get_edge_plane(0,edgeplane);
int clipped_count = bt_plane_clip_triangle(
edgeplane,other.m_vertices[0],other.m_vertices[1],other.m_vertices[2],temp_points);
if (clipped_count == 0) return 0;
btVector3 temp_points1[MAX_TRI_CLIPPING];
// edge 1
get_edge_plane(1,edgeplane);
clipped_count = bt_plane_clip_polygon(edgeplane,temp_points,clipped_count,temp_points1);
if (clipped_count == 0) return 0;
// edge 2
get_edge_plane(2,edgeplane);
clipped_count = bt_plane_clip_polygon(
edgeplane,temp_points1,clipped_count,clipped_points);
return clipped_count;
}
bool btPrimitiveTriangle::find_triangle_collision_clip_method(btPrimitiveTriangle & other, GIM_TRIANGLE_CONTACT & contacts)
{
btScalar margin = m_margin + other.m_margin;
btVector3 clipped_points[MAX_TRI_CLIPPING];
int clipped_count;
//create planes
// plane v vs U points
GIM_TRIANGLE_CONTACT contacts1;
contacts1.m_separating_normal = m_plane;
clipped_count = clip_triangle(other,clipped_points);
if (clipped_count == 0 )
{
return false;//Reject
}
//find most deep interval face1
contacts1.merge_points(contacts1.m_separating_normal,margin,clipped_points,clipped_count);
if (contacts1.m_point_count == 0) return false; // too far
//Normal pointing to this triangle
contacts1.m_separating_normal *= -1.f;
//Clip tri1 by tri2 edges
GIM_TRIANGLE_CONTACT contacts2;
contacts2.m_separating_normal = other.m_plane;
clipped_count = other.clip_triangle(*this,clipped_points);
if (clipped_count == 0 )
{
return false;//Reject
}
//find most deep interval face1
contacts2.merge_points(contacts2.m_separating_normal,margin,clipped_points,clipped_count);
if (contacts2.m_point_count == 0) return false; // too far
////check most dir for contacts
if (contacts2.m_penetration_depth<contacts1.m_penetration_depth)
{
contacts.copy_from(contacts2);
}
else
{
contacts.copy_from(contacts1);
}
return true;
}
///class btTriangleShapeEx: public btTriangleShape
bool btTriangleShapeEx::overlap_test_conservative(const btTriangleShapeEx& other)
{
btScalar total_margin = getMargin() + other.getMargin();
btVector4 plane0;
buildTriPlane(plane0);
btVector4 plane1;
other.buildTriPlane(plane1);
// classify points on other triangle
btScalar dis0 = bt_distance_point_plane(plane0,other.m_vertices1[0]) - total_margin;
btScalar dis1 = bt_distance_point_plane(plane0,other.m_vertices1[1]) - total_margin;
btScalar dis2 = bt_distance_point_plane(plane0,other.m_vertices1[2]) - total_margin;
if (dis0>0.0f&&dis1>0.0f&&dis2>0.0f) return false;
// classify points on this triangle
dis0 = bt_distance_point_plane(plane1,m_vertices1[0]) - total_margin;
dis1 = bt_distance_point_plane(plane1,m_vertices1[1]) - total_margin;
dis2 = bt_distance_point_plane(plane1,m_vertices1[2]) - total_margin;
if (dis0>0.0f&&dis1>0.0f&&dis2>0.0f) return false;
return true;
}
| -1 |
libgdx/libgdx | 7,270 | Update missing build.gradle files with new syntax for registering tasks | Some Gradle build files were still using old syntax after https://github.com/libgdx/libgdx/pull/7134.
| obigu | "2023-11-05T15:31:03Z" | "2023-11-13T11:04:33Z" | 8e3b2ef2af2e1c1765b3441cb15cfbeddf4046fa | a25ceaddd8e9ea740b7e50e486ea4f815d2a3f58 | Update missing build.gradle files with new syntax for registering tasks. Some Gradle build files were still using old syntax after https://github.com/libgdx/libgdx/pull/7134.
| ./extensions/gdx-bullet/jni/swig-src/dynamics/com/badlogic/gdx/physics/bullet/dynamics/btMultibodyLink.java | /* ----------------------------------------------------------------------------
* 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.*;
import com.badlogic.gdx.math.Vector3;
public class btMultibodyLink extends BulletBase {
private long swigCPtr;
protected btMultibodyLink (final String className, long cPtr, boolean cMemoryOwn) {
super(className, cPtr, cMemoryOwn);
swigCPtr = cPtr;
}
/** Construct a new btMultibodyLink, normally you should not need this constructor it's intended for low-level usage. */
public btMultibodyLink (long cPtr, boolean cMemoryOwn) {
this("btMultibodyLink", cPtr, cMemoryOwn);
construct();
}
@Override
protected void reset (long cPtr, boolean cMemoryOwn) {
if (!destroyed) destroy();
super.reset(swigCPtr = cPtr, cMemoryOwn);
}
public static long getCPtr (btMultibodyLink 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_btMultibodyLink(swigCPtr);
}
swigCPtr = 0;
}
super.delete();
}
public long operatorNew (long sizeInBytes) {
return DynamicsJNI.btMultibodyLink_operatorNew__SWIG_0(swigCPtr, this, sizeInBytes);
}
public void operatorDelete (long ptr) {
DynamicsJNI.btMultibodyLink_operatorDelete__SWIG_0(swigCPtr, this, ptr);
}
public long operatorNew (long arg0, long ptr) {
return DynamicsJNI.btMultibodyLink_operatorNew__SWIG_1(swigCPtr, this, arg0, ptr);
}
public void operatorDelete (long arg0, long arg1) {
DynamicsJNI.btMultibodyLink_operatorDelete__SWIG_1(swigCPtr, this, arg0, arg1);
}
public long operatorNewArray (long sizeInBytes) {
return DynamicsJNI.btMultibodyLink_operatorNewArray__SWIG_0(swigCPtr, this, sizeInBytes);
}
public void operatorDeleteArray (long ptr) {
DynamicsJNI.btMultibodyLink_operatorDeleteArray__SWIG_0(swigCPtr, this, ptr);
}
public long operatorNewArray (long arg0, long ptr) {
return DynamicsJNI.btMultibodyLink_operatorNewArray__SWIG_1(swigCPtr, this, arg0, ptr);
}
public void operatorDeleteArray (long arg0, long arg1) {
DynamicsJNI.btMultibodyLink_operatorDeleteArray__SWIG_1(swigCPtr, this, arg0, arg1);
}
public void setMass (float value) {
DynamicsJNI.btMultibodyLink_mass_set(swigCPtr, this, value);
}
public float getMass () {
return DynamicsJNI.btMultibodyLink_mass_get(swigCPtr, this);
}
public void setInertiaLocal (btVector3 value) {
DynamicsJNI.btMultibodyLink_inertiaLocal_set(swigCPtr, this, btVector3.getCPtr(value), value);
}
public btVector3 getInertiaLocal () {
long cPtr = DynamicsJNI.btMultibodyLink_inertiaLocal_get(swigCPtr, this);
return (cPtr == 0) ? null : new btVector3(cPtr, false);
}
public void setParent (int value) {
DynamicsJNI.btMultibodyLink_parent_set(swigCPtr, this, value);
}
public int getParent () {
return DynamicsJNI.btMultibodyLink_parent_get(swigCPtr, this);
}
public void setZeroRotParentToThis (btQuaternion value) {
DynamicsJNI.btMultibodyLink_zeroRotParentToThis_set(swigCPtr, this, btQuaternion.getCPtr(value), value);
}
public btQuaternion getZeroRotParentToThis () {
long cPtr = DynamicsJNI.btMultibodyLink_zeroRotParentToThis_get(swigCPtr, this);
return (cPtr == 0) ? null : new btQuaternion(cPtr, false);
}
public void setDVector (btVector3 value) {
DynamicsJNI.btMultibodyLink_dVector_set(swigCPtr, this, btVector3.getCPtr(value), value);
}
public btVector3 getDVector () {
long cPtr = DynamicsJNI.btMultibodyLink_dVector_get(swigCPtr, this);
return (cPtr == 0) ? null : new btVector3(cPtr, false);
}
public void setEVector (btVector3 value) {
DynamicsJNI.btMultibodyLink_eVector_set(swigCPtr, this, btVector3.getCPtr(value), value);
}
public btVector3 getEVector () {
long cPtr = DynamicsJNI.btMultibodyLink_eVector_get(swigCPtr, this);
return (cPtr == 0) ? null : new btVector3(cPtr, false);
}
public void setAbsFrameTotVelocity (btSpatialMotionVector value) {
DynamicsJNI.btMultibodyLink_absFrameTotVelocity_set(swigCPtr, this, btSpatialMotionVector.getCPtr(value), value);
}
public btSpatialMotionVector getAbsFrameTotVelocity () {
long cPtr = DynamicsJNI.btMultibodyLink_absFrameTotVelocity_get(swigCPtr, this);
return (cPtr == 0) ? null : new btSpatialMotionVector(cPtr, false);
}
public void setAbsFrameLocVelocity (btSpatialMotionVector value) {
DynamicsJNI.btMultibodyLink_absFrameLocVelocity_set(swigCPtr, this, btSpatialMotionVector.getCPtr(value), value);
}
public btSpatialMotionVector getAbsFrameLocVelocity () {
long cPtr = DynamicsJNI.btMultibodyLink_absFrameLocVelocity_get(swigCPtr, this);
return (cPtr == 0) ? null : new btSpatialMotionVector(cPtr, false);
}
public void setAxes (btSpatialMotionVector value) {
DynamicsJNI.btMultibodyLink_axes_set(swigCPtr, this, btSpatialMotionVector.getCPtr(value), value);
}
public btSpatialMotionVector getAxes () {
long cPtr = DynamicsJNI.btMultibodyLink_axes_get(swigCPtr, this);
return (cPtr == 0) ? null : new btSpatialMotionVector(cPtr, false);
}
public void setAxisTop (int dof, Vector3 axis) {
DynamicsJNI.btMultibodyLink_setAxisTop__SWIG_0(swigCPtr, this, dof, axis);
}
public void setAxisBottom (int dof, Vector3 axis) {
DynamicsJNI.btMultibodyLink_setAxisBottom__SWIG_0(swigCPtr, this, dof, axis);
}
public void setAxisTop (int dof, float x, float y, float z) {
DynamicsJNI.btMultibodyLink_setAxisTop__SWIG_1(swigCPtr, this, dof, x, y, z);
}
public void setAxisBottom (int dof, float x, float y, float z) {
DynamicsJNI.btMultibodyLink_setAxisBottom__SWIG_1(swigCPtr, this, dof, x, y, z);
}
public Vector3 getAxisTop (int dof) {
return DynamicsJNI.btMultibodyLink_getAxisTop(swigCPtr, this, dof);
}
public Vector3 getAxisBottom (int dof) {
return DynamicsJNI.btMultibodyLink_getAxisBottom(swigCPtr, this, dof);
}
public void setDofOffset (int value) {
DynamicsJNI.btMultibodyLink_dofOffset_set(swigCPtr, this, value);
}
public int getDofOffset () {
return DynamicsJNI.btMultibodyLink_dofOffset_get(swigCPtr, this);
}
public void setCfgOffset (int value) {
DynamicsJNI.btMultibodyLink_cfgOffset_set(swigCPtr, this, value);
}
public int getCfgOffset () {
return DynamicsJNI.btMultibodyLink_cfgOffset_get(swigCPtr, this);
}
public void setCachedRotParentToThis (btQuaternion value) {
DynamicsJNI.btMultibodyLink_cachedRotParentToThis_set(swigCPtr, this, btQuaternion.getCPtr(value), value);
}
public btQuaternion getCachedRotParentToThis () {
long cPtr = DynamicsJNI.btMultibodyLink_cachedRotParentToThis_get(swigCPtr, this);
return (cPtr == 0) ? null : new btQuaternion(cPtr, false);
}
public void setCachedRVector (btVector3 value) {
DynamicsJNI.btMultibodyLink_cachedRVector_set(swigCPtr, this, btVector3.getCPtr(value), value);
}
public btVector3 getCachedRVector () {
long cPtr = DynamicsJNI.btMultibodyLink_cachedRVector_get(swigCPtr, this);
return (cPtr == 0) ? null : new btVector3(cPtr, false);
}
public void setAppliedForce (btVector3 value) {
DynamicsJNI.btMultibodyLink_appliedForce_set(swigCPtr, this, btVector3.getCPtr(value), value);
}
public btVector3 getAppliedForce () {
long cPtr = DynamicsJNI.btMultibodyLink_appliedForce_get(swigCPtr, this);
return (cPtr == 0) ? null : new btVector3(cPtr, false);
}
public void setAppliedTorque (btVector3 value) {
DynamicsJNI.btMultibodyLink_appliedTorque_set(swigCPtr, this, btVector3.getCPtr(value), value);
}
public btVector3 getAppliedTorque () {
long cPtr = DynamicsJNI.btMultibodyLink_appliedTorque_get(swigCPtr, this);
return (cPtr == 0) ? null : new btVector3(cPtr, false);
}
public void setAppliedConstraintForce (btVector3 value) {
DynamicsJNI.btMultibodyLink_appliedConstraintForce_set(swigCPtr, this, btVector3.getCPtr(value), value);
}
public btVector3 getAppliedConstraintForce () {
long cPtr = DynamicsJNI.btMultibodyLink_appliedConstraintForce_get(swigCPtr, this);
return (cPtr == 0) ? null : new btVector3(cPtr, false);
}
public void setAppliedConstraintTorque (btVector3 value) {
DynamicsJNI.btMultibodyLink_appliedConstraintTorque_set(swigCPtr, this, btVector3.getCPtr(value), value);
}
public btVector3 getAppliedConstraintTorque () {
long cPtr = DynamicsJNI.btMultibodyLink_appliedConstraintTorque_get(swigCPtr, this);
return (cPtr == 0) ? null : new btVector3(cPtr, false);
}
public void setJointPos (float[] value) {
DynamicsJNI.btMultibodyLink_jointPos_set(swigCPtr, this, value);
}
public float[] getJointPos () {
return DynamicsJNI.btMultibodyLink_jointPos_get(swigCPtr, this);
}
public void setJointTorque (float[] value) {
DynamicsJNI.btMultibodyLink_jointTorque_set(swigCPtr, this, value);
}
public float[] getJointTorque () {
return DynamicsJNI.btMultibodyLink_jointTorque_get(swigCPtr, this);
}
public void setCollider (btMultiBodyLinkCollider value) {
DynamicsJNI.btMultibodyLink_collider_set(swigCPtr, this, btMultiBodyLinkCollider.getCPtr(value), value);
}
public btMultiBodyLinkCollider getCollider () {
long cPtr = DynamicsJNI.btMultibodyLink_collider_get(swigCPtr, this);
return (cPtr == 0) ? null : new btMultiBodyLinkCollider(cPtr, false);
}
public void setFlags (int value) {
DynamicsJNI.btMultibodyLink_flags_set(swigCPtr, this, value);
}
public int getFlags () {
return DynamicsJNI.btMultibodyLink_flags_get(swigCPtr, this);
}
public void setDofCount (int value) {
DynamicsJNI.btMultibodyLink_dofCount_set(swigCPtr, this, value);
}
public int getDofCount () {
return DynamicsJNI.btMultibodyLink_dofCount_get(swigCPtr, this);
}
public void setPosVarCount (int value) {
DynamicsJNI.btMultibodyLink_posVarCount_set(swigCPtr, this, value);
}
public int getPosVarCount () {
return DynamicsJNI.btMultibodyLink_posVarCount_get(swigCPtr, this);
}
public void setJointType (int value) {
DynamicsJNI.btMultibodyLink_jointType_set(swigCPtr, this, value);
}
public int getJointType () {
return DynamicsJNI.btMultibodyLink_jointType_get(swigCPtr, this);
}
public void setJointFeedback (btMultiBodyJointFeedback value) {
DynamicsJNI.btMultibodyLink_jointFeedback_set(swigCPtr, this, btMultiBodyJointFeedback.getCPtr(value), value);
}
public btMultiBodyJointFeedback getJointFeedback () {
long cPtr = DynamicsJNI.btMultibodyLink_jointFeedback_get(swigCPtr, this);
return (cPtr == 0) ? null : new btMultiBodyJointFeedback(cPtr, false);
}
public void setCachedWorldTransform (btTransform value) {
DynamicsJNI.btMultibodyLink_cachedWorldTransform_set(swigCPtr, this, btTransform.getCPtr(value), value);
}
public btTransform getCachedWorldTransform () {
long cPtr = DynamicsJNI.btMultibodyLink_cachedWorldTransform_get(swigCPtr, this);
return (cPtr == 0) ? null : new btTransform(cPtr, false);
}
public String getLinkName () {
return DynamicsJNI.btMultibodyLink_linkName_get(swigCPtr, this);
}
public String getJointName () {
return DynamicsJNI.btMultibodyLink_jointName_get(swigCPtr, this);
}
public void setUserPtr (long value) {
DynamicsJNI.btMultibodyLink_userPtr_set(swigCPtr, this, value);
}
public long getUserPtr () {
return DynamicsJNI.btMultibodyLink_userPtr_get(swigCPtr, this);
}
public void setJointDamping (float value) {
DynamicsJNI.btMultibodyLink_jointDamping_set(swigCPtr, this, value);
}
public float getJointDamping () {
return DynamicsJNI.btMultibodyLink_jointDamping_get(swigCPtr, this);
}
public void setJointFriction (float value) {
DynamicsJNI.btMultibodyLink_jointFriction_set(swigCPtr, this, value);
}
public float getJointFriction () {
return DynamicsJNI.btMultibodyLink_jointFriction_get(swigCPtr, this);
}
public void setJointLowerLimit (float value) {
DynamicsJNI.btMultibodyLink_jointLowerLimit_set(swigCPtr, this, value);
}
public float getJointLowerLimit () {
return DynamicsJNI.btMultibodyLink_jointLowerLimit_get(swigCPtr, this);
}
public void setJointUpperLimit (float value) {
DynamicsJNI.btMultibodyLink_jointUpperLimit_set(swigCPtr, this, value);
}
public float getJointUpperLimit () {
return DynamicsJNI.btMultibodyLink_jointUpperLimit_get(swigCPtr, this);
}
public void setJointMaxForce (float value) {
DynamicsJNI.btMultibodyLink_jointMaxForce_set(swigCPtr, this, value);
}
public float getJointMaxForce () {
return DynamicsJNI.btMultibodyLink_jointMaxForce_get(swigCPtr, this);
}
public void setJointMaxVelocity (float value) {
DynamicsJNI.btMultibodyLink_jointMaxVelocity_set(swigCPtr, this, value);
}
public float getJointMaxVelocity () {
return DynamicsJNI.btMultibodyLink_jointMaxVelocity_get(swigCPtr, this);
}
public btMultibodyLink () {
this(DynamicsJNI.new_btMultibodyLink(), true);
}
public void updateCacheMultiDof (java.nio.FloatBuffer pq) {
assert pq.isDirect() : "Buffer must be allocated direct.";
{
DynamicsJNI.btMultibodyLink_updateCacheMultiDof__SWIG_0(swigCPtr, this, pq);
}
}
public void updateCacheMultiDof () {
DynamicsJNI.btMultibodyLink_updateCacheMultiDof__SWIG_1(swigCPtr, this);
}
public final static class eFeatherstoneJointType {
public final static int eRevolute = 0;
public final static int ePrismatic = 1;
public final static int eSpherical = 2;
public final static int ePlanar = 3;
public final static int eFixed = 4;
public final static int eInvalid = eFixed + 1;
}
}
| /* ----------------------------------------------------------------------------
* 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.*;
import com.badlogic.gdx.math.Vector3;
public class btMultibodyLink extends BulletBase {
private long swigCPtr;
protected btMultibodyLink (final String className, long cPtr, boolean cMemoryOwn) {
super(className, cPtr, cMemoryOwn);
swigCPtr = cPtr;
}
/** Construct a new btMultibodyLink, normally you should not need this constructor it's intended for low-level usage. */
public btMultibodyLink (long cPtr, boolean cMemoryOwn) {
this("btMultibodyLink", cPtr, cMemoryOwn);
construct();
}
@Override
protected void reset (long cPtr, boolean cMemoryOwn) {
if (!destroyed) destroy();
super.reset(swigCPtr = cPtr, cMemoryOwn);
}
public static long getCPtr (btMultibodyLink 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_btMultibodyLink(swigCPtr);
}
swigCPtr = 0;
}
super.delete();
}
public long operatorNew (long sizeInBytes) {
return DynamicsJNI.btMultibodyLink_operatorNew__SWIG_0(swigCPtr, this, sizeInBytes);
}
public void operatorDelete (long ptr) {
DynamicsJNI.btMultibodyLink_operatorDelete__SWIG_0(swigCPtr, this, ptr);
}
public long operatorNew (long arg0, long ptr) {
return DynamicsJNI.btMultibodyLink_operatorNew__SWIG_1(swigCPtr, this, arg0, ptr);
}
public void operatorDelete (long arg0, long arg1) {
DynamicsJNI.btMultibodyLink_operatorDelete__SWIG_1(swigCPtr, this, arg0, arg1);
}
public long operatorNewArray (long sizeInBytes) {
return DynamicsJNI.btMultibodyLink_operatorNewArray__SWIG_0(swigCPtr, this, sizeInBytes);
}
public void operatorDeleteArray (long ptr) {
DynamicsJNI.btMultibodyLink_operatorDeleteArray__SWIG_0(swigCPtr, this, ptr);
}
public long operatorNewArray (long arg0, long ptr) {
return DynamicsJNI.btMultibodyLink_operatorNewArray__SWIG_1(swigCPtr, this, arg0, ptr);
}
public void operatorDeleteArray (long arg0, long arg1) {
DynamicsJNI.btMultibodyLink_operatorDeleteArray__SWIG_1(swigCPtr, this, arg0, arg1);
}
public void setMass (float value) {
DynamicsJNI.btMultibodyLink_mass_set(swigCPtr, this, value);
}
public float getMass () {
return DynamicsJNI.btMultibodyLink_mass_get(swigCPtr, this);
}
public void setInertiaLocal (btVector3 value) {
DynamicsJNI.btMultibodyLink_inertiaLocal_set(swigCPtr, this, btVector3.getCPtr(value), value);
}
public btVector3 getInertiaLocal () {
long cPtr = DynamicsJNI.btMultibodyLink_inertiaLocal_get(swigCPtr, this);
return (cPtr == 0) ? null : new btVector3(cPtr, false);
}
public void setParent (int value) {
DynamicsJNI.btMultibodyLink_parent_set(swigCPtr, this, value);
}
public int getParent () {
return DynamicsJNI.btMultibodyLink_parent_get(swigCPtr, this);
}
public void setZeroRotParentToThis (btQuaternion value) {
DynamicsJNI.btMultibodyLink_zeroRotParentToThis_set(swigCPtr, this, btQuaternion.getCPtr(value), value);
}
public btQuaternion getZeroRotParentToThis () {
long cPtr = DynamicsJNI.btMultibodyLink_zeroRotParentToThis_get(swigCPtr, this);
return (cPtr == 0) ? null : new btQuaternion(cPtr, false);
}
public void setDVector (btVector3 value) {
DynamicsJNI.btMultibodyLink_dVector_set(swigCPtr, this, btVector3.getCPtr(value), value);
}
public btVector3 getDVector () {
long cPtr = DynamicsJNI.btMultibodyLink_dVector_get(swigCPtr, this);
return (cPtr == 0) ? null : new btVector3(cPtr, false);
}
public void setEVector (btVector3 value) {
DynamicsJNI.btMultibodyLink_eVector_set(swigCPtr, this, btVector3.getCPtr(value), value);
}
public btVector3 getEVector () {
long cPtr = DynamicsJNI.btMultibodyLink_eVector_get(swigCPtr, this);
return (cPtr == 0) ? null : new btVector3(cPtr, false);
}
public void setAbsFrameTotVelocity (btSpatialMotionVector value) {
DynamicsJNI.btMultibodyLink_absFrameTotVelocity_set(swigCPtr, this, btSpatialMotionVector.getCPtr(value), value);
}
public btSpatialMotionVector getAbsFrameTotVelocity () {
long cPtr = DynamicsJNI.btMultibodyLink_absFrameTotVelocity_get(swigCPtr, this);
return (cPtr == 0) ? null : new btSpatialMotionVector(cPtr, false);
}
public void setAbsFrameLocVelocity (btSpatialMotionVector value) {
DynamicsJNI.btMultibodyLink_absFrameLocVelocity_set(swigCPtr, this, btSpatialMotionVector.getCPtr(value), value);
}
public btSpatialMotionVector getAbsFrameLocVelocity () {
long cPtr = DynamicsJNI.btMultibodyLink_absFrameLocVelocity_get(swigCPtr, this);
return (cPtr == 0) ? null : new btSpatialMotionVector(cPtr, false);
}
public void setAxes (btSpatialMotionVector value) {
DynamicsJNI.btMultibodyLink_axes_set(swigCPtr, this, btSpatialMotionVector.getCPtr(value), value);
}
public btSpatialMotionVector getAxes () {
long cPtr = DynamicsJNI.btMultibodyLink_axes_get(swigCPtr, this);
return (cPtr == 0) ? null : new btSpatialMotionVector(cPtr, false);
}
public void setAxisTop (int dof, Vector3 axis) {
DynamicsJNI.btMultibodyLink_setAxisTop__SWIG_0(swigCPtr, this, dof, axis);
}
public void setAxisBottom (int dof, Vector3 axis) {
DynamicsJNI.btMultibodyLink_setAxisBottom__SWIG_0(swigCPtr, this, dof, axis);
}
public void setAxisTop (int dof, float x, float y, float z) {
DynamicsJNI.btMultibodyLink_setAxisTop__SWIG_1(swigCPtr, this, dof, x, y, z);
}
public void setAxisBottom (int dof, float x, float y, float z) {
DynamicsJNI.btMultibodyLink_setAxisBottom__SWIG_1(swigCPtr, this, dof, x, y, z);
}
public Vector3 getAxisTop (int dof) {
return DynamicsJNI.btMultibodyLink_getAxisTop(swigCPtr, this, dof);
}
public Vector3 getAxisBottom (int dof) {
return DynamicsJNI.btMultibodyLink_getAxisBottom(swigCPtr, this, dof);
}
public void setDofOffset (int value) {
DynamicsJNI.btMultibodyLink_dofOffset_set(swigCPtr, this, value);
}
public int getDofOffset () {
return DynamicsJNI.btMultibodyLink_dofOffset_get(swigCPtr, this);
}
public void setCfgOffset (int value) {
DynamicsJNI.btMultibodyLink_cfgOffset_set(swigCPtr, this, value);
}
public int getCfgOffset () {
return DynamicsJNI.btMultibodyLink_cfgOffset_get(swigCPtr, this);
}
public void setCachedRotParentToThis (btQuaternion value) {
DynamicsJNI.btMultibodyLink_cachedRotParentToThis_set(swigCPtr, this, btQuaternion.getCPtr(value), value);
}
public btQuaternion getCachedRotParentToThis () {
long cPtr = DynamicsJNI.btMultibodyLink_cachedRotParentToThis_get(swigCPtr, this);
return (cPtr == 0) ? null : new btQuaternion(cPtr, false);
}
public void setCachedRVector (btVector3 value) {
DynamicsJNI.btMultibodyLink_cachedRVector_set(swigCPtr, this, btVector3.getCPtr(value), value);
}
public btVector3 getCachedRVector () {
long cPtr = DynamicsJNI.btMultibodyLink_cachedRVector_get(swigCPtr, this);
return (cPtr == 0) ? null : new btVector3(cPtr, false);
}
public void setAppliedForce (btVector3 value) {
DynamicsJNI.btMultibodyLink_appliedForce_set(swigCPtr, this, btVector3.getCPtr(value), value);
}
public btVector3 getAppliedForce () {
long cPtr = DynamicsJNI.btMultibodyLink_appliedForce_get(swigCPtr, this);
return (cPtr == 0) ? null : new btVector3(cPtr, false);
}
public void setAppliedTorque (btVector3 value) {
DynamicsJNI.btMultibodyLink_appliedTorque_set(swigCPtr, this, btVector3.getCPtr(value), value);
}
public btVector3 getAppliedTorque () {
long cPtr = DynamicsJNI.btMultibodyLink_appliedTorque_get(swigCPtr, this);
return (cPtr == 0) ? null : new btVector3(cPtr, false);
}
public void setAppliedConstraintForce (btVector3 value) {
DynamicsJNI.btMultibodyLink_appliedConstraintForce_set(swigCPtr, this, btVector3.getCPtr(value), value);
}
public btVector3 getAppliedConstraintForce () {
long cPtr = DynamicsJNI.btMultibodyLink_appliedConstraintForce_get(swigCPtr, this);
return (cPtr == 0) ? null : new btVector3(cPtr, false);
}
public void setAppliedConstraintTorque (btVector3 value) {
DynamicsJNI.btMultibodyLink_appliedConstraintTorque_set(swigCPtr, this, btVector3.getCPtr(value), value);
}
public btVector3 getAppliedConstraintTorque () {
long cPtr = DynamicsJNI.btMultibodyLink_appliedConstraintTorque_get(swigCPtr, this);
return (cPtr == 0) ? null : new btVector3(cPtr, false);
}
public void setJointPos (float[] value) {
DynamicsJNI.btMultibodyLink_jointPos_set(swigCPtr, this, value);
}
public float[] getJointPos () {
return DynamicsJNI.btMultibodyLink_jointPos_get(swigCPtr, this);
}
public void setJointTorque (float[] value) {
DynamicsJNI.btMultibodyLink_jointTorque_set(swigCPtr, this, value);
}
public float[] getJointTorque () {
return DynamicsJNI.btMultibodyLink_jointTorque_get(swigCPtr, this);
}
public void setCollider (btMultiBodyLinkCollider value) {
DynamicsJNI.btMultibodyLink_collider_set(swigCPtr, this, btMultiBodyLinkCollider.getCPtr(value), value);
}
public btMultiBodyLinkCollider getCollider () {
long cPtr = DynamicsJNI.btMultibodyLink_collider_get(swigCPtr, this);
return (cPtr == 0) ? null : new btMultiBodyLinkCollider(cPtr, false);
}
public void setFlags (int value) {
DynamicsJNI.btMultibodyLink_flags_set(swigCPtr, this, value);
}
public int getFlags () {
return DynamicsJNI.btMultibodyLink_flags_get(swigCPtr, this);
}
public void setDofCount (int value) {
DynamicsJNI.btMultibodyLink_dofCount_set(swigCPtr, this, value);
}
public int getDofCount () {
return DynamicsJNI.btMultibodyLink_dofCount_get(swigCPtr, this);
}
public void setPosVarCount (int value) {
DynamicsJNI.btMultibodyLink_posVarCount_set(swigCPtr, this, value);
}
public int getPosVarCount () {
return DynamicsJNI.btMultibodyLink_posVarCount_get(swigCPtr, this);
}
public void setJointType (int value) {
DynamicsJNI.btMultibodyLink_jointType_set(swigCPtr, this, value);
}
public int getJointType () {
return DynamicsJNI.btMultibodyLink_jointType_get(swigCPtr, this);
}
public void setJointFeedback (btMultiBodyJointFeedback value) {
DynamicsJNI.btMultibodyLink_jointFeedback_set(swigCPtr, this, btMultiBodyJointFeedback.getCPtr(value), value);
}
public btMultiBodyJointFeedback getJointFeedback () {
long cPtr = DynamicsJNI.btMultibodyLink_jointFeedback_get(swigCPtr, this);
return (cPtr == 0) ? null : new btMultiBodyJointFeedback(cPtr, false);
}
public void setCachedWorldTransform (btTransform value) {
DynamicsJNI.btMultibodyLink_cachedWorldTransform_set(swigCPtr, this, btTransform.getCPtr(value), value);
}
public btTransform getCachedWorldTransform () {
long cPtr = DynamicsJNI.btMultibodyLink_cachedWorldTransform_get(swigCPtr, this);
return (cPtr == 0) ? null : new btTransform(cPtr, false);
}
public String getLinkName () {
return DynamicsJNI.btMultibodyLink_linkName_get(swigCPtr, this);
}
public String getJointName () {
return DynamicsJNI.btMultibodyLink_jointName_get(swigCPtr, this);
}
public void setUserPtr (long value) {
DynamicsJNI.btMultibodyLink_userPtr_set(swigCPtr, this, value);
}
public long getUserPtr () {
return DynamicsJNI.btMultibodyLink_userPtr_get(swigCPtr, this);
}
public void setJointDamping (float value) {
DynamicsJNI.btMultibodyLink_jointDamping_set(swigCPtr, this, value);
}
public float getJointDamping () {
return DynamicsJNI.btMultibodyLink_jointDamping_get(swigCPtr, this);
}
public void setJointFriction (float value) {
DynamicsJNI.btMultibodyLink_jointFriction_set(swigCPtr, this, value);
}
public float getJointFriction () {
return DynamicsJNI.btMultibodyLink_jointFriction_get(swigCPtr, this);
}
public void setJointLowerLimit (float value) {
DynamicsJNI.btMultibodyLink_jointLowerLimit_set(swigCPtr, this, value);
}
public float getJointLowerLimit () {
return DynamicsJNI.btMultibodyLink_jointLowerLimit_get(swigCPtr, this);
}
public void setJointUpperLimit (float value) {
DynamicsJNI.btMultibodyLink_jointUpperLimit_set(swigCPtr, this, value);
}
public float getJointUpperLimit () {
return DynamicsJNI.btMultibodyLink_jointUpperLimit_get(swigCPtr, this);
}
public void setJointMaxForce (float value) {
DynamicsJNI.btMultibodyLink_jointMaxForce_set(swigCPtr, this, value);
}
public float getJointMaxForce () {
return DynamicsJNI.btMultibodyLink_jointMaxForce_get(swigCPtr, this);
}
public void setJointMaxVelocity (float value) {
DynamicsJNI.btMultibodyLink_jointMaxVelocity_set(swigCPtr, this, value);
}
public float getJointMaxVelocity () {
return DynamicsJNI.btMultibodyLink_jointMaxVelocity_get(swigCPtr, this);
}
public btMultibodyLink () {
this(DynamicsJNI.new_btMultibodyLink(), true);
}
public void updateCacheMultiDof (java.nio.FloatBuffer pq) {
assert pq.isDirect() : "Buffer must be allocated direct.";
{
DynamicsJNI.btMultibodyLink_updateCacheMultiDof__SWIG_0(swigCPtr, this, pq);
}
}
public void updateCacheMultiDof () {
DynamicsJNI.btMultibodyLink_updateCacheMultiDof__SWIG_1(swigCPtr, this);
}
public final static class eFeatherstoneJointType {
public final static int eRevolute = 0;
public final static int ePrismatic = 1;
public final static int eSpherical = 2;
public final static int ePlanar = 3;
public final static int eFixed = 4;
public final static int eInvalid = eFixed + 1;
}
}
| -1 |
libgdx/libgdx | 7,270 | Update missing build.gradle files with new syntax for registering tasks | Some Gradle build files were still using old syntax after https://github.com/libgdx/libgdx/pull/7134.
| obigu | "2023-11-05T15:31:03Z" | "2023-11-13T11:04:33Z" | 8e3b2ef2af2e1c1765b3441cb15cfbeddf4046fa | a25ceaddd8e9ea740b7e50e486ea4f815d2a3f58 | Update missing build.gradle files with new syntax for registering tasks. Some Gradle build files were still using old syntax after https://github.com/libgdx/libgdx/pull/7134.
| ./extensions/gdx-tools/src/com/badlogic/gdx/tools/hiero/unicodefont/GlyphPage.java | /*******************************************************************************
* Copyright 2011 See AUTHORS file.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
******************************************************************************/
package com.badlogic.gdx.tools.hiero.unicodefont;
import java.awt.AlphaComposite;
import java.awt.Graphics2D;
import java.awt.RenderingHints;
import java.awt.font.FontRenderContext;
import java.awt.image.BufferedImage;
import java.awt.image.WritableRaster;
import java.math.BigInteger;
import java.nio.Buffer;
import java.nio.ByteBuffer;
import java.nio.ByteOrder;
import java.nio.IntBuffer;
import java.security.MessageDigest;
import java.security.NoSuchAlgorithmException;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import org.lwjgl.opengl.GL11;
import org.lwjgl.opengl.GL12;
import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.graphics.Pixmap;
import com.badlogic.gdx.graphics.Pixmap.Format;
import com.badlogic.gdx.graphics.Texture;
import com.badlogic.gdx.graphics.g2d.BitmapFont;
import com.badlogic.gdx.graphics.g2d.BitmapFont.BitmapFontData;
import com.badlogic.gdx.tools.hiero.unicodefont.UnicodeFont.RenderType;
import com.badlogic.gdx.tools.hiero.unicodefont.effects.ColorEffect;
import com.badlogic.gdx.tools.hiero.unicodefont.effects.Effect;
import com.badlogic.gdx.utils.Array;
/** Stores a number of glyphs on a single texture.
* @author Nathan Sweet */
public class GlyphPage {
private final UnicodeFont unicodeFont;
private final int pageWidth, pageHeight;
private final Texture texture;
private final List<Glyph> pageGlyphs = new ArrayList(32);
private final List<String> hashes = new ArrayList(32);
Array<Row> rows = new Array();
/** @param pageWidth The width of the backing texture.
* @param pageHeight The height of the backing texture. */
GlyphPage (UnicodeFont unicodeFont, int pageWidth, int pageHeight) {
this.unicodeFont = unicodeFont;
this.pageWidth = pageWidth;
this.pageHeight = pageHeight;
texture = new Texture(pageWidth, pageHeight, Format.RGBA8888);
rows.add(new Row());
}
/** Loads glyphs to the backing texture and sets the image on each loaded glyph. Loaded glyphs are removed from the list.
*
* If this page already has glyphs and maxGlyphsToLoad is -1, then this method will return 0 if all the new glyphs don't fit.
* This reduces texture binds when drawing since glyphs loaded at once are typically displayed together.
* @param glyphs The glyphs to load.
* @param maxGlyphsToLoad This is the maximum number of glyphs to load from the list. Set to -1 to attempt to load all the
* glyphs.
* @return The number of glyphs that were actually loaded. */
int loadGlyphs (List glyphs, int maxGlyphsToLoad) {
GL11.glColor4f(1, 1, 1, 1);
texture.bind();
int loadedCount = 0;
for (Iterator iter = glyphs.iterator(); iter.hasNext();) {
Glyph glyph = (Glyph)iter.next();
int width = Math.min(MAX_GLYPH_SIZE, glyph.getWidth());
int height = Math.min(MAX_GLYPH_SIZE, glyph.getHeight());
if (width == 0 || height == 0)
pageGlyphs.add(glyph);
else {
Row bestRow = null;
// Fit in any row before the last.
for (int ii = 0, nn = rows.size - 1; ii < nn; ii++) {
Row row = rows.get(ii);
if (row.x + width >= pageWidth) continue;
if (row.y + height >= pageHeight) continue;
if (height > row.height) continue;
if (bestRow == null || row.height < bestRow.height) bestRow = row;
}
if (bestRow == null) {
// Fit in last row, increasing height.
Row row = rows.peek();
if (row.y + height >= pageHeight) continue;
if (row.x + width < pageWidth) {
row.height = Math.max(row.height, height);
bestRow = row;
} else if (row.y + row.height + height < pageHeight) {
// Fit in new row.
bestRow = new Row();
bestRow.y = row.y + row.height;
bestRow.height = height;
rows.add(bestRow);
}
}
if (bestRow == null) continue;
if (renderGlyph(glyph, bestRow.x, bestRow.y, width, height)) bestRow.x += width;
}
iter.remove();
loadedCount++;
if (loadedCount == maxGlyphsToLoad) break;
}
return loadedCount;
}
static class Row {
int x, y, height;
}
/** Loads a single glyph to the backing texture, if it fits. */
private boolean renderGlyph (Glyph glyph, int pageX, int pageY, int width, int height) {
scratchGraphics.setComposite(AlphaComposite.Clear);
scratchGraphics.fillRect(0, 0, MAX_GLYPH_SIZE, MAX_GLYPH_SIZE);
scratchGraphics.setComposite(AlphaComposite.SrcOver);
ByteBuffer glyphPixels = scratchByteBuffer;
int format;
if (unicodeFont.getRenderType() == RenderType.FreeType && unicodeFont.bitmapFont != null) {
BitmapFontData data = unicodeFont.bitmapFont.getData();
BitmapFont.Glyph g = data.getGlyph((char)glyph.getCodePoint());
Pixmap fontPixmap = unicodeFont.bitmapFont.getRegions().get(g.page).getTexture().getTextureData().consumePixmap();
int fontWidth = fontPixmap.getWidth();
int padTop = unicodeFont.getPaddingTop(), padBottom = unicodeFont.getPaddingBottom();
int padLeftBytes = unicodeFont.getPaddingLeft() * 4;
int padXBytes = padLeftBytes + unicodeFont.getPaddingRight() * 4;
int glyphRowBytes = width * 4, fontRowBytes = g.width * 4;
ByteBuffer fontPixels = fontPixmap.getPixels();
byte[] row = new byte[glyphRowBytes];
((Buffer)glyphPixels).position(0);
for (int i = 0; i < padTop; i++)
glyphPixels.put(row);
((Buffer)glyphPixels).position((height - padBottom) * glyphRowBytes);
for (int i = 0; i < padBottom; i++)
glyphPixels.put(row);
((Buffer)glyphPixels).position(padTop * glyphRowBytes);
for (int y = 0, n = g.height; y < n; y++) {
((Buffer)fontPixels).position(((g.srcY + y) * fontWidth + g.srcX) * 4);
fontPixels.get(row, padLeftBytes, fontRowBytes);
glyphPixels.put(row);
}
((Buffer)fontPixels).position(0);
((Buffer)glyphPixels).position(height * glyphRowBytes);
((Buffer)glyphPixels).flip();
format = GL11.GL_RGBA;
} else {
// Draw the glyph to the scratch image using Java2D.
if (unicodeFont.getRenderType() == RenderType.Native) {
for (Iterator iter = unicodeFont.getEffects().iterator(); iter.hasNext();) {
Effect effect = (Effect)iter.next();
if (effect instanceof ColorEffect) scratchGraphics.setColor(((ColorEffect)effect).getColor());
}
scratchGraphics.setColor(java.awt.Color.white);
scratchGraphics.setFont(unicodeFont.getFont());
scratchGraphics.drawString("" + (char)glyph.getCodePoint(), 0, unicodeFont.getAscent());
} else if (unicodeFont.getRenderType() == RenderType.Java) {
scratchGraphics.setColor(java.awt.Color.white);
for (Iterator iter = unicodeFont.getEffects().iterator(); iter.hasNext();)
((Effect)iter.next()).draw(scratchImage, scratchGraphics, unicodeFont, glyph);
glyph.setShape(null); // The shape will never be needed again.
}
width = Math.min(width, texture.getWidth());
height = Math.min(height, texture.getHeight());
WritableRaster raster = scratchImage.getRaster();
int[] row = new int[width];
for (int y = 0; y < height; y++) {
raster.getDataElements(0, y, width, 1, row);
scratchIntBuffer.put(row);
}
format = GL12.GL_BGRA;
}
// Simple deduplication, doesn't work across pages of course.
String hash = "";
try {
MessageDigest md = MessageDigest.getInstance("SHA-256");
md.update(glyphPixels);
BigInteger bigInt = new BigInteger(1, md.digest());
hash = bigInt.toString(16);
} catch (NoSuchAlgorithmException ex) {
}
((Buffer)scratchByteBuffer).clear();
((Buffer)scratchIntBuffer).clear();
try {
for (int i = 0, n = hashes.size(); i < n; i++) {
String other = hashes.get(i);
if (other.equals(hash)) {
Glyph dupe = pageGlyphs.get(i);
glyph.setTexture(dupe.texture, dupe.u, dupe.v, dupe.u2, dupe.v2);
return false;
}
}
} finally {
hashes.add(hash);
pageGlyphs.add(glyph);
}
Gdx.gl.glTexSubImage2D(texture.glTarget, 0, pageX, pageY, width, height, format, GL11.GL_UNSIGNED_BYTE, glyphPixels);
float u = pageX / (float)texture.getWidth();
float v = pageY / (float)texture.getHeight();
float u2 = (pageX + width) / (float)texture.getWidth();
float v2 = (pageY + height) / (float)texture.getHeight();
glyph.setTexture(texture, u, v, u2, v2);
return true;
}
/** Returns the glyphs stored on this page. */
public List<Glyph> getGlyphs () {
return pageGlyphs;
}
/** Returns the backing texture for this page. */
public Texture getTexture () {
return texture;
}
static public final int MAX_GLYPH_SIZE = 256;
static private ByteBuffer scratchByteBuffer = ByteBuffer.allocateDirect(MAX_GLYPH_SIZE * MAX_GLYPH_SIZE * 4);
static {
scratchByteBuffer.order(ByteOrder.LITTLE_ENDIAN);
}
static private IntBuffer scratchIntBuffer = scratchByteBuffer.asIntBuffer();
static private BufferedImage scratchImage = new BufferedImage(MAX_GLYPH_SIZE, MAX_GLYPH_SIZE, BufferedImage.TYPE_INT_ARGB);
static Graphics2D scratchGraphics = (Graphics2D)scratchImage.getGraphics();
static {
scratchGraphics.setRenderingHint(RenderingHints.KEY_ANTIALIASING, RenderingHints.VALUE_ANTIALIAS_ON);
scratchGraphics.setRenderingHint(RenderingHints.KEY_TEXT_ANTIALIASING, RenderingHints.VALUE_TEXT_ANTIALIAS_ON);
}
static public FontRenderContext renderContext = scratchGraphics.getFontRenderContext();
}
| /*******************************************************************************
* Copyright 2011 See AUTHORS file.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
******************************************************************************/
package com.badlogic.gdx.tools.hiero.unicodefont;
import java.awt.AlphaComposite;
import java.awt.Graphics2D;
import java.awt.RenderingHints;
import java.awt.font.FontRenderContext;
import java.awt.image.BufferedImage;
import java.awt.image.WritableRaster;
import java.math.BigInteger;
import java.nio.Buffer;
import java.nio.ByteBuffer;
import java.nio.ByteOrder;
import java.nio.IntBuffer;
import java.security.MessageDigest;
import java.security.NoSuchAlgorithmException;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import org.lwjgl.opengl.GL11;
import org.lwjgl.opengl.GL12;
import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.graphics.Pixmap;
import com.badlogic.gdx.graphics.Pixmap.Format;
import com.badlogic.gdx.graphics.Texture;
import com.badlogic.gdx.graphics.g2d.BitmapFont;
import com.badlogic.gdx.graphics.g2d.BitmapFont.BitmapFontData;
import com.badlogic.gdx.tools.hiero.unicodefont.UnicodeFont.RenderType;
import com.badlogic.gdx.tools.hiero.unicodefont.effects.ColorEffect;
import com.badlogic.gdx.tools.hiero.unicodefont.effects.Effect;
import com.badlogic.gdx.utils.Array;
/** Stores a number of glyphs on a single texture.
* @author Nathan Sweet */
public class GlyphPage {
private final UnicodeFont unicodeFont;
private final int pageWidth, pageHeight;
private final Texture texture;
private final List<Glyph> pageGlyphs = new ArrayList(32);
private final List<String> hashes = new ArrayList(32);
Array<Row> rows = new Array();
/** @param pageWidth The width of the backing texture.
* @param pageHeight The height of the backing texture. */
GlyphPage (UnicodeFont unicodeFont, int pageWidth, int pageHeight) {
this.unicodeFont = unicodeFont;
this.pageWidth = pageWidth;
this.pageHeight = pageHeight;
texture = new Texture(pageWidth, pageHeight, Format.RGBA8888);
rows.add(new Row());
}
/** Loads glyphs to the backing texture and sets the image on each loaded glyph. Loaded glyphs are removed from the list.
*
* If this page already has glyphs and maxGlyphsToLoad is -1, then this method will return 0 if all the new glyphs don't fit.
* This reduces texture binds when drawing since glyphs loaded at once are typically displayed together.
* @param glyphs The glyphs to load.
* @param maxGlyphsToLoad This is the maximum number of glyphs to load from the list. Set to -1 to attempt to load all the
* glyphs.
* @return The number of glyphs that were actually loaded. */
int loadGlyphs (List glyphs, int maxGlyphsToLoad) {
GL11.glColor4f(1, 1, 1, 1);
texture.bind();
int loadedCount = 0;
for (Iterator iter = glyphs.iterator(); iter.hasNext();) {
Glyph glyph = (Glyph)iter.next();
int width = Math.min(MAX_GLYPH_SIZE, glyph.getWidth());
int height = Math.min(MAX_GLYPH_SIZE, glyph.getHeight());
if (width == 0 || height == 0)
pageGlyphs.add(glyph);
else {
Row bestRow = null;
// Fit in any row before the last.
for (int ii = 0, nn = rows.size - 1; ii < nn; ii++) {
Row row = rows.get(ii);
if (row.x + width >= pageWidth) continue;
if (row.y + height >= pageHeight) continue;
if (height > row.height) continue;
if (bestRow == null || row.height < bestRow.height) bestRow = row;
}
if (bestRow == null) {
// Fit in last row, increasing height.
Row row = rows.peek();
if (row.y + height >= pageHeight) continue;
if (row.x + width < pageWidth) {
row.height = Math.max(row.height, height);
bestRow = row;
} else if (row.y + row.height + height < pageHeight) {
// Fit in new row.
bestRow = new Row();
bestRow.y = row.y + row.height;
bestRow.height = height;
rows.add(bestRow);
}
}
if (bestRow == null) continue;
if (renderGlyph(glyph, bestRow.x, bestRow.y, width, height)) bestRow.x += width;
}
iter.remove();
loadedCount++;
if (loadedCount == maxGlyphsToLoad) break;
}
return loadedCount;
}
static class Row {
int x, y, height;
}
/** Loads a single glyph to the backing texture, if it fits. */
private boolean renderGlyph (Glyph glyph, int pageX, int pageY, int width, int height) {
scratchGraphics.setComposite(AlphaComposite.Clear);
scratchGraphics.fillRect(0, 0, MAX_GLYPH_SIZE, MAX_GLYPH_SIZE);
scratchGraphics.setComposite(AlphaComposite.SrcOver);
ByteBuffer glyphPixels = scratchByteBuffer;
int format;
if (unicodeFont.getRenderType() == RenderType.FreeType && unicodeFont.bitmapFont != null) {
BitmapFontData data = unicodeFont.bitmapFont.getData();
BitmapFont.Glyph g = data.getGlyph((char)glyph.getCodePoint());
Pixmap fontPixmap = unicodeFont.bitmapFont.getRegions().get(g.page).getTexture().getTextureData().consumePixmap();
int fontWidth = fontPixmap.getWidth();
int padTop = unicodeFont.getPaddingTop(), padBottom = unicodeFont.getPaddingBottom();
int padLeftBytes = unicodeFont.getPaddingLeft() * 4;
int padXBytes = padLeftBytes + unicodeFont.getPaddingRight() * 4;
int glyphRowBytes = width * 4, fontRowBytes = g.width * 4;
ByteBuffer fontPixels = fontPixmap.getPixels();
byte[] row = new byte[glyphRowBytes];
((Buffer)glyphPixels).position(0);
for (int i = 0; i < padTop; i++)
glyphPixels.put(row);
((Buffer)glyphPixels).position((height - padBottom) * glyphRowBytes);
for (int i = 0; i < padBottom; i++)
glyphPixels.put(row);
((Buffer)glyphPixels).position(padTop * glyphRowBytes);
for (int y = 0, n = g.height; y < n; y++) {
((Buffer)fontPixels).position(((g.srcY + y) * fontWidth + g.srcX) * 4);
fontPixels.get(row, padLeftBytes, fontRowBytes);
glyphPixels.put(row);
}
((Buffer)fontPixels).position(0);
((Buffer)glyphPixels).position(height * glyphRowBytes);
((Buffer)glyphPixels).flip();
format = GL11.GL_RGBA;
} else {
// Draw the glyph to the scratch image using Java2D.
if (unicodeFont.getRenderType() == RenderType.Native) {
for (Iterator iter = unicodeFont.getEffects().iterator(); iter.hasNext();) {
Effect effect = (Effect)iter.next();
if (effect instanceof ColorEffect) scratchGraphics.setColor(((ColorEffect)effect).getColor());
}
scratchGraphics.setColor(java.awt.Color.white);
scratchGraphics.setFont(unicodeFont.getFont());
scratchGraphics.drawString("" + (char)glyph.getCodePoint(), 0, unicodeFont.getAscent());
} else if (unicodeFont.getRenderType() == RenderType.Java) {
scratchGraphics.setColor(java.awt.Color.white);
for (Iterator iter = unicodeFont.getEffects().iterator(); iter.hasNext();)
((Effect)iter.next()).draw(scratchImage, scratchGraphics, unicodeFont, glyph);
glyph.setShape(null); // The shape will never be needed again.
}
width = Math.min(width, texture.getWidth());
height = Math.min(height, texture.getHeight());
WritableRaster raster = scratchImage.getRaster();
int[] row = new int[width];
for (int y = 0; y < height; y++) {
raster.getDataElements(0, y, width, 1, row);
scratchIntBuffer.put(row);
}
format = GL12.GL_BGRA;
}
// Simple deduplication, doesn't work across pages of course.
String hash = "";
try {
MessageDigest md = MessageDigest.getInstance("SHA-256");
md.update(glyphPixels);
BigInteger bigInt = new BigInteger(1, md.digest());
hash = bigInt.toString(16);
} catch (NoSuchAlgorithmException ex) {
}
((Buffer)scratchByteBuffer).clear();
((Buffer)scratchIntBuffer).clear();
try {
for (int i = 0, n = hashes.size(); i < n; i++) {
String other = hashes.get(i);
if (other.equals(hash)) {
Glyph dupe = pageGlyphs.get(i);
glyph.setTexture(dupe.texture, dupe.u, dupe.v, dupe.u2, dupe.v2);
return false;
}
}
} finally {
hashes.add(hash);
pageGlyphs.add(glyph);
}
Gdx.gl.glTexSubImage2D(texture.glTarget, 0, pageX, pageY, width, height, format, GL11.GL_UNSIGNED_BYTE, glyphPixels);
float u = pageX / (float)texture.getWidth();
float v = pageY / (float)texture.getHeight();
float u2 = (pageX + width) / (float)texture.getWidth();
float v2 = (pageY + height) / (float)texture.getHeight();
glyph.setTexture(texture, u, v, u2, v2);
return true;
}
/** Returns the glyphs stored on this page. */
public List<Glyph> getGlyphs () {
return pageGlyphs;
}
/** Returns the backing texture for this page. */
public Texture getTexture () {
return texture;
}
static public final int MAX_GLYPH_SIZE = 256;
static private ByteBuffer scratchByteBuffer = ByteBuffer.allocateDirect(MAX_GLYPH_SIZE * MAX_GLYPH_SIZE * 4);
static {
scratchByteBuffer.order(ByteOrder.LITTLE_ENDIAN);
}
static private IntBuffer scratchIntBuffer = scratchByteBuffer.asIntBuffer();
static private BufferedImage scratchImage = new BufferedImage(MAX_GLYPH_SIZE, MAX_GLYPH_SIZE, BufferedImage.TYPE_INT_ARGB);
static Graphics2D scratchGraphics = (Graphics2D)scratchImage.getGraphics();
static {
scratchGraphics.setRenderingHint(RenderingHints.KEY_ANTIALIASING, RenderingHints.VALUE_ANTIALIAS_ON);
scratchGraphics.setRenderingHint(RenderingHints.KEY_TEXT_ANTIALIASING, RenderingHints.VALUE_TEXT_ANTIALIAS_ON);
}
static public FontRenderContext renderContext = scratchGraphics.getFontRenderContext();
}
| -1 |
libgdx/libgdx | 7,270 | Update missing build.gradle files with new syntax for registering tasks | Some Gradle build files were still using old syntax after https://github.com/libgdx/libgdx/pull/7134.
| obigu | "2023-11-05T15:31:03Z" | "2023-11-13T11:04:33Z" | 8e3b2ef2af2e1c1765b3441cb15cfbeddf4046fa | a25ceaddd8e9ea740b7e50e486ea4f815d2a3f58 | Update missing build.gradle files with new syntax for registering tasks. Some Gradle build files were still using old syntax after https://github.com/libgdx/libgdx/pull/7134.
| ./extensions/gdx-bullet/jni/swig-src/dynamics/dynamics_wrap.cpp | /* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 3.0.11
*
* This file is not intended to be easily readable and contains a number of
* coding conventions designed to improve portability and efficiency. Do not make
* changes to this file unless you know what you are doing--modify the SWIG
* interface file instead.
* ----------------------------------------------------------------------------- */
#ifndef SWIGJAVA
#define SWIGJAVA
#endif
#define SWIG_DIRECTORS
#ifdef __cplusplus
/* SwigValueWrapper is described in swig.swg */
template<typename T> class SwigValueWrapper {
struct SwigMovePointer {
T *ptr;
SwigMovePointer(T *p) : ptr(p) { }
~SwigMovePointer() { delete ptr; }
SwigMovePointer& operator=(SwigMovePointer& rhs) { T* oldptr = ptr; ptr = 0; delete oldptr; ptr = rhs.ptr; rhs.ptr = 0; return *this; }
} pointer;
SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
SwigValueWrapper(const SwigValueWrapper<T>& rhs);
public:
SwigValueWrapper() : pointer(0) { }
SwigValueWrapper& operator=(const T& t) { SwigMovePointer tmp(new T(t)); pointer = tmp; return *this; }
operator T&() const { return *pointer.ptr; }
T *operator&() { return pointer.ptr; }
};
template <typename T> T SwigValueInit() {
return T();
}
#endif
/* -----------------------------------------------------------------------------
* This section contains generic SWIG labels for method/variable
* declarations/attributes, and other compiler dependent labels.
* ----------------------------------------------------------------------------- */
/* template workaround for compilers that cannot correctly implement the C++ standard */
#ifndef SWIGTEMPLATEDISAMBIGUATOR
# if defined(__SUNPRO_CC) && (__SUNPRO_CC <= 0x560)
# define SWIGTEMPLATEDISAMBIGUATOR template
# elif defined(__HP_aCC)
/* Needed even with `aCC -AA' when `aCC -V' reports HP ANSI C++ B3910B A.03.55 */
/* If we find a maximum version that requires this, the test would be __HP_aCC <= 35500 for A.03.55 */
# define SWIGTEMPLATEDISAMBIGUATOR template
# else
# define SWIGTEMPLATEDISAMBIGUATOR
# endif
#endif
/* inline attribute */
#ifndef SWIGINLINE
# if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
# define SWIGINLINE inline
# else
# define SWIGINLINE
# endif
#endif
/* attribute recognised by some compilers to avoid 'unused' warnings */
#ifndef SWIGUNUSED
# if defined(__GNUC__)
# if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
# define SWIGUNUSED __attribute__ ((__unused__))
# else
# define SWIGUNUSED
# endif
# elif defined(__ICC)
# define SWIGUNUSED __attribute__ ((__unused__))
# else
# define SWIGUNUSED
# endif
#endif
#ifndef SWIG_MSC_UNSUPPRESS_4505
# if defined(_MSC_VER)
# pragma warning(disable : 4505) /* unreferenced local function has been removed */
# endif
#endif
#ifndef SWIGUNUSEDPARM
# ifdef __cplusplus
# define SWIGUNUSEDPARM(p)
# else
# define SWIGUNUSEDPARM(p) p SWIGUNUSED
# endif
#endif
/* internal SWIG method */
#ifndef SWIGINTERN
# define SWIGINTERN static SWIGUNUSED
#endif
/* internal inline SWIG method */
#ifndef SWIGINTERNINLINE
# define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
#endif
/* exporting methods */
#if defined(__GNUC__)
# if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
# ifndef GCC_HASCLASSVISIBILITY
# define GCC_HASCLASSVISIBILITY
# endif
# endif
#endif
#ifndef SWIGEXPORT
# if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
# if defined(STATIC_LINKED)
# define SWIGEXPORT
# else
# define SWIGEXPORT __declspec(dllexport)
# endif
# else
# if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
# define SWIGEXPORT __attribute__ ((visibility("default")))
# else
# define SWIGEXPORT
# endif
# endif
#endif
/* calling conventions for Windows */
#ifndef SWIGSTDCALL
# if defined(_WIN32) || defined(__WIN32__)
# define SWIGSTDCALL __stdcall
# else
# define SWIGSTDCALL
# endif
#endif
/* Deal with Microsoft's attempt at deprecating C standard runtime functions */
#if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER) && !defined(_CRT_SECURE_NO_DEPRECATE)
# define _CRT_SECURE_NO_DEPRECATE
#endif
/* Deal with Microsoft's attempt at deprecating methods in the standard C++ library */
#if !defined(SWIG_NO_SCL_SECURE_NO_DEPRECATE) && defined(_MSC_VER) && !defined(_SCL_SECURE_NO_DEPRECATE)
# define _SCL_SECURE_NO_DEPRECATE
#endif
/* Deal with Apple's deprecated 'AssertMacros.h' from Carbon-framework */
#if defined(__APPLE__) && !defined(__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES)
# define __ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES 0
#endif
/* Intel's compiler complains if a variable which was never initialised is
* cast to void, which is a common idiom which we use to indicate that we
* are aware a variable isn't used. So we just silence that warning.
* See: https://github.com/swig/swig/issues/192 for more discussion.
*/
#ifdef __INTEL_COMPILER
# pragma warning disable 592
#endif
/* Fix for jlong on some versions of gcc on Windows */
#if defined(__GNUC__) && !defined(__INTEL_COMPILER)
typedef long long __int64;
#endif
/* Fix for jlong on 64-bit x86 Solaris */
#if defined(__x86_64)
# ifdef _LP64
# undef _LP64
# endif
#endif
#include <jni.h>
#include <stdlib.h>
#include <string.h>
/* Support for throwing Java exceptions */
typedef enum {
SWIG_JavaOutOfMemoryError = 1,
SWIG_JavaIOException,
SWIG_JavaRuntimeException,
SWIG_JavaIndexOutOfBoundsException,
SWIG_JavaArithmeticException,
SWIG_JavaIllegalArgumentException,
SWIG_JavaNullPointerException,
SWIG_JavaDirectorPureVirtual,
SWIG_JavaUnknownError
} SWIG_JavaExceptionCodes;
typedef struct {
SWIG_JavaExceptionCodes code;
const char *java_exception;
} SWIG_JavaExceptions_t;
static void SWIGUNUSED SWIG_JavaThrowException(JNIEnv *jenv, SWIG_JavaExceptionCodes code, const char *msg) {
jclass excep;
static const SWIG_JavaExceptions_t java_exceptions[] = {
{ SWIG_JavaOutOfMemoryError, "java/lang/OutOfMemoryError" },
{ SWIG_JavaIOException, "java/io/IOException" },
{ SWIG_JavaRuntimeException, "java/lang/RuntimeException" },
{ SWIG_JavaIndexOutOfBoundsException, "java/lang/IndexOutOfBoundsException" },
{ SWIG_JavaArithmeticException, "java/lang/ArithmeticException" },
{ SWIG_JavaIllegalArgumentException, "java/lang/IllegalArgumentException" },
{ SWIG_JavaNullPointerException, "java/lang/NullPointerException" },
{ SWIG_JavaDirectorPureVirtual, "java/lang/RuntimeException" },
{ SWIG_JavaUnknownError, "java/lang/UnknownError" },
{ (SWIG_JavaExceptionCodes)0, "java/lang/UnknownError" }
};
const SWIG_JavaExceptions_t *except_ptr = java_exceptions;
while (except_ptr->code != code && except_ptr->code)
except_ptr++;
jenv->ExceptionClear();
excep = jenv->FindClass(except_ptr->java_exception);
if (excep)
jenv->ThrowNew(excep, msg);
}
/* Contract support */
#define SWIG_contract_assert(nullreturn, expr, msg) if (!(expr)) {SWIG_JavaThrowException(jenv, SWIG_JavaIllegalArgumentException, msg); return nullreturn; } else
/* -----------------------------------------------------------------------------
* director_common.swg
*
* This file contains support for director classes which is common between
* languages.
* ----------------------------------------------------------------------------- */
/*
Use -DSWIG_DIRECTOR_STATIC if you prefer to avoid the use of the
'Swig' namespace. This could be useful for multi-modules projects.
*/
#ifdef SWIG_DIRECTOR_STATIC
/* Force anonymous (static) namespace */
#define Swig
#endif
/* -----------------------------------------------------------------------------
* director.swg
*
* This file contains support for director classes so that Java proxy
* methods can be called from C++.
* ----------------------------------------------------------------------------- */
#if defined(DEBUG_DIRECTOR_OWNED) || defined(DEBUG_DIRECTOR_EXCEPTION)
#include <iostream>
#endif
#include <exception>
namespace Swig {
/* Java object wrapper */
class JObjectWrapper {
public:
JObjectWrapper() : jthis_(NULL), weak_global_(true) {
}
~JObjectWrapper() {
jthis_ = NULL;
weak_global_ = true;
}
bool set(JNIEnv *jenv, jobject jobj, bool mem_own, bool weak_global) {
if (!jthis_) {
weak_global_ = !mem_own; // hold as weak global if explicitly requested or not owned
if (jobj)
jthis_ = weak_global_ ? jenv->NewWeakGlobalRef(jobj) : jenv->NewGlobalRef(jobj);
#if defined(DEBUG_DIRECTOR_OWNED)
std::cout << "JObjectWrapper::set(" << jobj << ", " << (weak_global ? "weak_global" : "global_ref") << ") -> " << jthis_ << std::endl;
#endif
return true;
} else {
#if defined(DEBUG_DIRECTOR_OWNED)
std::cout << "JObjectWrapper::set(" << jobj << ", " << (weak_global ? "weak_global" : "global_ref") << ") -> already set" << std::endl;
#endif
return false;
}
}
jobject get(JNIEnv *jenv) const {
#if defined(DEBUG_DIRECTOR_OWNED)
std::cout << "JObjectWrapper::get(";
if (jthis_)
std::cout << jthis_;
else
std::cout << "null";
std::cout << ") -> return new local ref" << std::endl;
#endif
return (jthis_ ? jenv->NewLocalRef(jthis_) : jthis_);
}
void release(JNIEnv *jenv) {
#if defined(DEBUG_DIRECTOR_OWNED)
std::cout << "JObjectWrapper::release(" << jthis_ << "): " << (weak_global_ ? "weak global ref" : "global ref") << std::endl;
#endif
if (jthis_) {
if (weak_global_) {
if (jenv->IsSameObject(jthis_, NULL) == JNI_FALSE)
jenv->DeleteWeakGlobalRef((jweak)jthis_);
} else
jenv->DeleteGlobalRef(jthis_);
}
jthis_ = NULL;
weak_global_ = true;
}
/* Only call peek if you know what you are doing wrt to weak/global references */
jobject peek() {
return jthis_;
}
/* Java proxy releases ownership of C++ object, C++ object is now
responsible for destruction (creates NewGlobalRef to pin Java proxy) */
void java_change_ownership(JNIEnv *jenv, jobject jself, bool take_or_release) {
if (take_or_release) { /* Java takes ownership of C++ object's lifetime. */
if (!weak_global_) {
jenv->DeleteGlobalRef(jthis_);
jthis_ = jenv->NewWeakGlobalRef(jself);
weak_global_ = true;
}
} else {
/* Java releases ownership of C++ object's lifetime */
if (weak_global_) {
jenv->DeleteWeakGlobalRef((jweak)jthis_);
jthis_ = jenv->NewGlobalRef(jself);
weak_global_ = false;
}
}
}
private:
/* pointer to Java object */
jobject jthis_;
/* Local or global reference flag */
bool weak_global_;
};
/* Local JNI reference deleter */
class LocalRefGuard {
JNIEnv *jenv_;
jobject jobj_;
// non-copyable
LocalRefGuard(const LocalRefGuard &);
LocalRefGuard &operator=(const LocalRefGuard &);
public:
LocalRefGuard(JNIEnv *jenv, jobject jobj): jenv_(jenv), jobj_(jobj) {}
~LocalRefGuard() {
if (jobj_)
jenv_->DeleteLocalRef(jobj_);
}
};
/* director base class */
class Director {
/* pointer to Java virtual machine */
JavaVM *swig_jvm_;
protected:
#if defined (_MSC_VER) && (_MSC_VER<1300)
class JNIEnvWrapper;
friend class JNIEnvWrapper;
#endif
/* Utility class for managing the JNI environment */
class JNIEnvWrapper {
const Director *director_;
JNIEnv *jenv_;
int env_status;
public:
JNIEnvWrapper(const Director *director) : director_(director), jenv_(0), env_status(0) {
#if defined(__ANDROID__)
JNIEnv **jenv = &jenv_;
#else
void **jenv = (void **)&jenv_;
#endif
env_status = director_->swig_jvm_->GetEnv((void **)&jenv_, JNI_VERSION_1_2);
#if defined(SWIG_JAVA_ATTACH_CURRENT_THREAD_AS_DAEMON)
// Attach a daemon thread to the JVM. Useful when the JVM should not wait for
// the thread to exit upon shutdown. Only for jdk-1.4 and later.
director_->swig_jvm_->AttachCurrentThreadAsDaemon(jenv, NULL);
#else
director_->swig_jvm_->AttachCurrentThread(jenv, NULL);
#endif
}
~JNIEnvWrapper() {
#if !defined(SWIG_JAVA_NO_DETACH_CURRENT_THREAD)
// Some JVMs, eg jdk-1.4.2 and lower on Solaris have a bug and crash with the DetachCurrentThread call.
// However, without this call, the JVM hangs on exit when the thread was not created by the JVM and creates a memory leak.
if (env_status == JNI_EDETACHED)
director_->swig_jvm_->DetachCurrentThread();
#endif
}
JNIEnv *getJNIEnv() const {
return jenv_;
}
};
/* Java object wrapper */
JObjectWrapper swig_self_;
/* Disconnect director from Java object */
void swig_disconnect_director_self(const char *disconn_method) {
JNIEnvWrapper jnienv(this) ;
JNIEnv *jenv = jnienv.getJNIEnv() ;
jobject jobj = swig_self_.get(jenv);
LocalRefGuard ref_deleter(jenv, jobj);
#if defined(DEBUG_DIRECTOR_OWNED)
std::cout << "Swig::Director::disconnect_director_self(" << jobj << ")" << std::endl;
#endif
if (jobj && jenv->IsSameObject(jobj, NULL) == JNI_FALSE) {
jmethodID disconn_meth = jenv->GetMethodID(jenv->GetObjectClass(jobj), disconn_method, "()V");
if (disconn_meth) {
#if defined(DEBUG_DIRECTOR_OWNED)
std::cout << "Swig::Director::disconnect_director_self upcall to " << disconn_method << std::endl;
#endif
jenv->CallVoidMethod(jobj, disconn_meth);
}
}
}
public:
Director(JNIEnv *jenv) : swig_jvm_((JavaVM *) NULL), swig_self_() {
/* Acquire the Java VM pointer */
jenv->GetJavaVM(&swig_jvm_);
}
virtual ~Director() {
JNIEnvWrapper jnienv(this) ;
JNIEnv *jenv = jnienv.getJNIEnv() ;
swig_self_.release(jenv);
}
bool swig_set_self(JNIEnv *jenv, jobject jself, bool mem_own, bool weak_global) {
return swig_self_.set(jenv, jself, mem_own, weak_global);
}
jobject swig_get_self(JNIEnv *jenv) const {
return swig_self_.get(jenv);
}
// Change C++ object's ownership, relative to Java
void swig_java_change_ownership(JNIEnv *jenv, jobject jself, bool take_or_release) {
swig_self_.java_change_ownership(jenv, jself, take_or_release);
}
};
// Zero initialized bool array
template<size_t N> class BoolArray {
bool array_[N];
public:
BoolArray() {
memset(array_, 0, sizeof(array_));
}
bool& operator[](size_t n) {
return array_[n];
}
bool operator[](size_t n) const {
return array_[n];
}
};
// Utility classes and functions for exception handling.
// Simple holder for a Java string during exception handling, providing access to a c-style string
class JavaString {
public:
JavaString(JNIEnv *jenv, jstring jstr) : jenv_(jenv), jstr_(jstr), cstr_(0) {
if (jenv_ && jstr_)
cstr_ = (const char *) jenv_->GetStringUTFChars(jstr_, NULL);
}
~JavaString() {
if (jenv_ && jstr_ && cstr_)
jenv_->ReleaseStringUTFChars(jstr_, cstr_);
}
const char *c_str(const char *null_string = "null JavaString") const {
return cstr_ ? cstr_ : null_string;
}
private:
// non-copyable
JavaString(const JavaString &);
JavaString &operator=(const JavaString &);
JNIEnv *jenv_;
jstring jstr_;
const char *cstr_;
};
// Helper class to extract the exception message from a Java throwable
class JavaExceptionMessage {
public:
JavaExceptionMessage(JNIEnv *jenv, jthrowable throwable) : message_(jenv, exceptionMessageFromThrowable(jenv, throwable)) {
}
const char *message() const {
return message_.c_str("Could not get exception message in JavaExceptionMessage");
}
private:
// non-copyable
JavaExceptionMessage(const JavaExceptionMessage &);
JavaExceptionMessage &operator=(const JavaExceptionMessage &);
// Get exception message by calling Java method Throwable.getMessage()
static jstring exceptionMessageFromThrowable(JNIEnv *jenv, jthrowable throwable) {
jstring jmsg = NULL;
if (jenv && throwable) {
jenv->ExceptionClear(); // Cannot invoke methods with any pending exceptions
jclass throwclz = jenv->GetObjectClass(throwable);
if (throwclz) {
// All Throwable classes have a getMessage() method, so call it to extract the exception message
jmethodID getMessageMethodID = jenv->GetMethodID(throwclz, "getMessage", "()Ljava/lang/String;");
if (getMessageMethodID)
jmsg = (jstring)jenv->CallObjectMethod(throwable, getMessageMethodID);
}
if (jmsg == NULL && jenv->ExceptionCheck())
jenv->ExceptionClear();
}
return jmsg;
}
JavaString message_;
};
// C++ Exception class for handling Java exceptions thrown during a director method Java upcall
class DirectorException : public std::exception {
public:
// Construct exception from a Java throwable
DirectorException(JNIEnv *jenv, jthrowable throwable) : classname_(0), msg_(0) {
// Call Java method Object.getClass().getName() to obtain the throwable's class name (delimited by '/')
if (throwable) {
jclass throwclz = jenv->GetObjectClass(throwable);
if (throwclz) {
jclass clzclz = jenv->GetObjectClass(throwclz);
if (clzclz) {
jmethodID getNameMethodID = jenv->GetMethodID(clzclz, "getName", "()Ljava/lang/String;");
if (getNameMethodID) {
jstring jstr_classname = (jstring)(jenv->CallObjectMethod(throwclz, getNameMethodID));
// Copy strings, since there is no guarantee that jenv will be active when handled
if (jstr_classname) {
JavaString jsclassname(jenv, jstr_classname);
const char *classname = jsclassname.c_str(0);
if (classname)
classname_ = copypath(classname);
}
}
}
}
}
JavaExceptionMessage exceptionmsg(jenv, throwable);
msg_ = copystr(exceptionmsg.message());
}
// More general constructor for handling as a java.lang.RuntimeException
DirectorException(const char *msg) : classname_(0), msg_(copystr(msg ? msg : "Unspecified DirectorException message")) {
}
~DirectorException() throw() {
delete[] classname_;
delete[] msg_;
}
const char *what() const throw() {
return msg_;
}
// Reconstruct and raise/throw the Java Exception that caused the DirectorException
// Note that any error in the JNI exception handling results in a Java RuntimeException
void raiseJavaException(JNIEnv *jenv) const {
if (jenv) {
jenv->ExceptionClear();
jmethodID ctorMethodID = 0;
jclass throwableclass = 0;
if (classname_) {
throwableclass = jenv->FindClass(classname_);
if (throwableclass)
ctorMethodID = jenv->GetMethodID(throwableclass, "<init>", "(Ljava/lang/String;)V");
}
if (ctorMethodID) {
jenv->ThrowNew(throwableclass, what());
} else {
SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, what());
}
}
}
private:
static char *copypath(const char *srcmsg) {
char *target = copystr(srcmsg);
for (char *c=target; *c; ++c) {
if ('.' == *c)
*c = '/';
}
return target;
}
static char *copystr(const char *srcmsg) {
char *target = 0;
if (srcmsg) {
size_t msglen = strlen(srcmsg) + 1;
target = new char[msglen];
strncpy(target, srcmsg, msglen);
}
return target;
}
const char *classname_;
const char *msg_;
};
// Helper method to determine if a Java throwable matches a particular Java class type
SWIGINTERN inline bool ExceptionMatches(JNIEnv *jenv, jthrowable throwable, const char *classname) {
bool matches = false;
if (throwable && jenv && classname) {
// Exceptions need to be cleared for correct behavior.
// The caller of ExceptionMatches should restore pending exceptions if desired -
// the caller already has the throwable.
jenv->ExceptionClear();
jclass clz = jenv->FindClass(classname);
if (clz) {
jclass classclz = jenv->GetObjectClass(clz);
jmethodID isInstanceMethodID = jenv->GetMethodID(classclz, "isInstance", "(Ljava/lang/Object;)Z");
if (isInstanceMethodID) {
matches = jenv->CallBooleanMethod(clz, isInstanceMethodID, throwable) != 0;
}
}
#if defined(DEBUG_DIRECTOR_EXCEPTION)
if (jenv->ExceptionCheck()) {
// Typically occurs when an invalid classname argument is passed resulting in a ClassNotFoundException
JavaExceptionMessage exc(jenv, jenv->ExceptionOccurred());
std::cout << "Error: ExceptionMatches: class '" << classname << "' : " << exc.message() << std::endl;
}
#endif
}
return matches;
}
}
namespace Swig {
namespace {
jclass jclass_DynamicsJNI = NULL;
jmethodID director_method_ids[3];
}
}
#if defined(SWIG_NOINCLUDE) || defined(SWIG_NOARRAYS)
static int SWIG_JavaArrayInBool (JNIEnv *jenv, jboolean **jarr, bool **carr, jbooleanArray input);
static void SWIG_JavaArrayArgoutBool (JNIEnv *jenv, jboolean *jarr, bool *carr, jbooleanArray input);
static jbooleanArray SWIG_JavaArrayOutBool (JNIEnv *jenv, bool *result, jsize sz);
static int SWIG_JavaArrayInSchar (JNIEnv *jenv, jbyte **jarr, signed char **carr, jbyteArray input);
static void SWIG_JavaArrayArgoutSchar (JNIEnv *jenv, jbyte *jarr, signed char *carr, jbyteArray input);
static jbyteArray SWIG_JavaArrayOutSchar (JNIEnv *jenv, signed char *result, jsize sz);
static int SWIG_JavaArrayInUchar (JNIEnv *jenv, jshort **jarr, unsigned char **carr, jshortArray input);
static void SWIG_JavaArrayArgoutUchar (JNIEnv *jenv, jshort *jarr, unsigned char *carr, jshortArray input);
static jshortArray SWIG_JavaArrayOutUchar (JNIEnv *jenv, unsigned char *result, jsize sz);
static int SWIG_JavaArrayInShort (JNIEnv *jenv, jshort **jarr, short **carr, jshortArray input);
static void SWIG_JavaArrayArgoutShort (JNIEnv *jenv, jshort *jarr, short *carr, jshortArray input);
static jshortArray SWIG_JavaArrayOutShort (JNIEnv *jenv, short *result, jsize sz);
static int SWIG_JavaArrayInUshort (JNIEnv *jenv, jint **jarr, unsigned short **carr, jintArray input);
static void SWIG_JavaArrayArgoutUshort (JNIEnv *jenv, jint *jarr, unsigned short *carr, jintArray input);
static jintArray SWIG_JavaArrayOutUshort (JNIEnv *jenv, unsigned short *result, jsize sz);
static int SWIG_JavaArrayInInt (JNIEnv *jenv, jint **jarr, int **carr, jintArray input);
static void SWIG_JavaArrayArgoutInt (JNIEnv *jenv, jint *jarr, int *carr, jintArray input);
static jintArray SWIG_JavaArrayOutInt (JNIEnv *jenv, int *result, jsize sz);
static int SWIG_JavaArrayInUint (JNIEnv *jenv, jlong **jarr, unsigned int **carr, jlongArray input);
static void SWIG_JavaArrayArgoutUint (JNIEnv *jenv, jlong *jarr, unsigned int *carr, jlongArray input);
static jlongArray SWIG_JavaArrayOutUint (JNIEnv *jenv, unsigned int *result, jsize sz);
static int SWIG_JavaArrayInLong (JNIEnv *jenv, jint **jarr, long **carr, jintArray input);
static void SWIG_JavaArrayArgoutLong (JNIEnv *jenv, jint *jarr, long *carr, jintArray input);
static jintArray SWIG_JavaArrayOutLong (JNIEnv *jenv, long *result, jsize sz);
static int SWIG_JavaArrayInUlong (JNIEnv *jenv, jlong **jarr, unsigned long **carr, jlongArray input);
static void SWIG_JavaArrayArgoutUlong (JNIEnv *jenv, jlong *jarr, unsigned long *carr, jlongArray input);
static jlongArray SWIG_JavaArrayOutUlong (JNIEnv *jenv, unsigned long *result, jsize sz);
static int SWIG_JavaArrayInLonglong (JNIEnv *jenv, jlong **jarr, jlong **carr, jlongArray input);
static void SWIG_JavaArrayArgoutLonglong (JNIEnv *jenv, jlong *jarr, jlong *carr, jlongArray input);
static jlongArray SWIG_JavaArrayOutLonglong (JNIEnv *jenv, jlong *result, jsize sz);
static int SWIG_JavaArrayInFloat (JNIEnv *jenv, jfloat **jarr, float **carr, jfloatArray input);
static void SWIG_JavaArrayArgoutFloat (JNIEnv *jenv, jfloat *jarr, float *carr, jfloatArray input);
static jfloatArray SWIG_JavaArrayOutFloat (JNIEnv *jenv, float *result, jsize sz);
static int SWIG_JavaArrayInDouble (JNIEnv *jenv, jdouble **jarr, double **carr, jdoubleArray input);
static void SWIG_JavaArrayArgoutDouble (JNIEnv *jenv, jdouble *jarr, double *carr, jdoubleArray input);
static jdoubleArray SWIG_JavaArrayOutDouble (JNIEnv *jenv, double *result, jsize sz);
#else
/* bool[] support */
static int SWIG_JavaArrayInBool (JNIEnv *jenv, jboolean **jarr, bool **carr, jbooleanArray input) {
int i;
jsize sz;
if (!input) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null array");
return 0;
}
sz = jenv->GetArrayLength(input);
*jarr = jenv->GetBooleanArrayElements(input, 0);
if (!*jarr)
return 0;
*carr = new bool[sz];
if (!*carr) {
SWIG_JavaThrowException(jenv, SWIG_JavaOutOfMemoryError, "array memory allocation failed");
return 0;
}
for (i=0; i<sz; i++)
(*carr)[i] = ((*jarr)[i] != 0);
return 1;
}
static void SWIG_JavaArrayArgoutBool (JNIEnv *jenv, jboolean *jarr, bool *carr, jbooleanArray input) {
int i;
jsize sz = jenv->GetArrayLength(input);
for (i=0; i<sz; i++)
jarr[i] = (jboolean)carr[i];
jenv->ReleaseBooleanArrayElements(input, jarr, 0);
}
static jbooleanArray SWIG_JavaArrayOutBool (JNIEnv *jenv, bool *result, jsize sz) {
jboolean *arr;
int i;
jbooleanArray jresult = jenv->NewBooleanArray(sz);
if (!jresult)
return NULL;
arr = jenv->GetBooleanArrayElements(jresult, 0);
if (!arr)
return NULL;
for (i=0; i<sz; i++)
arr[i] = (jboolean)result[i];
jenv->ReleaseBooleanArrayElements(jresult, arr, 0);
return jresult;
}
/* signed char[] support */
static int SWIG_JavaArrayInSchar (JNIEnv *jenv, jbyte **jarr, signed char **carr, jbyteArray input) {
int i;
jsize sz;
if (!input) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null array");
return 0;
}
sz = jenv->GetArrayLength(input);
*jarr = jenv->GetByteArrayElements(input, 0);
if (!*jarr)
return 0;
*carr = new signed char[sz];
if (!*carr) {
SWIG_JavaThrowException(jenv, SWIG_JavaOutOfMemoryError, "array memory allocation failed");
return 0;
}
for (i=0; i<sz; i++)
(*carr)[i] = (signed char)(*jarr)[i];
return 1;
}
static void SWIG_JavaArrayArgoutSchar (JNIEnv *jenv, jbyte *jarr, signed char *carr, jbyteArray input) {
int i;
jsize sz = jenv->GetArrayLength(input);
for (i=0; i<sz; i++)
jarr[i] = (jbyte)carr[i];
jenv->ReleaseByteArrayElements(input, jarr, 0);
}
static jbyteArray SWIG_JavaArrayOutSchar (JNIEnv *jenv, signed char *result, jsize sz) {
jbyte *arr;
int i;
jbyteArray jresult = jenv->NewByteArray(sz);
if (!jresult)
return NULL;
arr = jenv->GetByteArrayElements(jresult, 0);
if (!arr)
return NULL;
for (i=0; i<sz; i++)
arr[i] = (jbyte)result[i];
jenv->ReleaseByteArrayElements(jresult, arr, 0);
return jresult;
}
/* unsigned char[] support */
static int SWIG_JavaArrayInUchar (JNIEnv *jenv, jshort **jarr, unsigned char **carr, jshortArray input) {
int i;
jsize sz;
if (!input) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null array");
return 0;
}
sz = jenv->GetArrayLength(input);
*jarr = jenv->GetShortArrayElements(input, 0);
if (!*jarr)
return 0;
*carr = new unsigned char[sz];
if (!*carr) {
SWIG_JavaThrowException(jenv, SWIG_JavaOutOfMemoryError, "array memory allocation failed");
return 0;
}
for (i=0; i<sz; i++)
(*carr)[i] = (unsigned char)(*jarr)[i];
return 1;
}
static void SWIG_JavaArrayArgoutUchar (JNIEnv *jenv, jshort *jarr, unsigned char *carr, jshortArray input) {
int i;
jsize sz = jenv->GetArrayLength(input);
for (i=0; i<sz; i++)
jarr[i] = (jshort)carr[i];
jenv->ReleaseShortArrayElements(input, jarr, 0);
}
static jshortArray SWIG_JavaArrayOutUchar (JNIEnv *jenv, unsigned char *result, jsize sz) {
jshort *arr;
int i;
jshortArray jresult = jenv->NewShortArray(sz);
if (!jresult)
return NULL;
arr = jenv->GetShortArrayElements(jresult, 0);
if (!arr)
return NULL;
for (i=0; i<sz; i++)
arr[i] = (jshort)result[i];
jenv->ReleaseShortArrayElements(jresult, arr, 0);
return jresult;
}
/* short[] support */
static int SWIG_JavaArrayInShort (JNIEnv *jenv, jshort **jarr, short **carr, jshortArray input) {
int i;
jsize sz;
if (!input) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null array");
return 0;
}
sz = jenv->GetArrayLength(input);
*jarr = jenv->GetShortArrayElements(input, 0);
if (!*jarr)
return 0;
*carr = new short[sz];
if (!*carr) {
SWIG_JavaThrowException(jenv, SWIG_JavaOutOfMemoryError, "array memory allocation failed");
return 0;
}
for (i=0; i<sz; i++)
(*carr)[i] = (short)(*jarr)[i];
return 1;
}
static void SWIG_JavaArrayArgoutShort (JNIEnv *jenv, jshort *jarr, short *carr, jshortArray input) {
int i;
jsize sz = jenv->GetArrayLength(input);
for (i=0; i<sz; i++)
jarr[i] = (jshort)carr[i];
jenv->ReleaseShortArrayElements(input, jarr, 0);
}
static jshortArray SWIG_JavaArrayOutShort (JNIEnv *jenv, short *result, jsize sz) {
jshort *arr;
int i;
jshortArray jresult = jenv->NewShortArray(sz);
if (!jresult)
return NULL;
arr = jenv->GetShortArrayElements(jresult, 0);
if (!arr)
return NULL;
for (i=0; i<sz; i++)
arr[i] = (jshort)result[i];
jenv->ReleaseShortArrayElements(jresult, arr, 0);
return jresult;
}
/* unsigned short[] support */
static int SWIG_JavaArrayInUshort (JNIEnv *jenv, jint **jarr, unsigned short **carr, jintArray input) {
int i;
jsize sz;
if (!input) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null array");
return 0;
}
sz = jenv->GetArrayLength(input);
*jarr = jenv->GetIntArrayElements(input, 0);
if (!*jarr)
return 0;
*carr = new unsigned short[sz];
if (!*carr) {
SWIG_JavaThrowException(jenv, SWIG_JavaOutOfMemoryError, "array memory allocation failed");
return 0;
}
for (i=0; i<sz; i++)
(*carr)[i] = (unsigned short)(*jarr)[i];
return 1;
}
static void SWIG_JavaArrayArgoutUshort (JNIEnv *jenv, jint *jarr, unsigned short *carr, jintArray input) {
int i;
jsize sz = jenv->GetArrayLength(input);
for (i=0; i<sz; i++)
jarr[i] = (jint)carr[i];
jenv->ReleaseIntArrayElements(input, jarr, 0);
}
static jintArray SWIG_JavaArrayOutUshort (JNIEnv *jenv, unsigned short *result, jsize sz) {
jint *arr;
int i;
jintArray jresult = jenv->NewIntArray(sz);
if (!jresult)
return NULL;
arr = jenv->GetIntArrayElements(jresult, 0);
if (!arr)
return NULL;
for (i=0; i<sz; i++)
arr[i] = (jint)result[i];
jenv->ReleaseIntArrayElements(jresult, arr, 0);
return jresult;
}
/* int[] support */
static int SWIG_JavaArrayInInt (JNIEnv *jenv, jint **jarr, int **carr, jintArray input) {
int i;
jsize sz;
if (!input) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null array");
return 0;
}
sz = jenv->GetArrayLength(input);
*jarr = jenv->GetIntArrayElements(input, 0);
if (!*jarr)
return 0;
*carr = new int[sz];
if (!*carr) {
SWIG_JavaThrowException(jenv, SWIG_JavaOutOfMemoryError, "array memory allocation failed");
return 0;
}
for (i=0; i<sz; i++)
(*carr)[i] = (int)(*jarr)[i];
return 1;
}
static void SWIG_JavaArrayArgoutInt (JNIEnv *jenv, jint *jarr, int *carr, jintArray input) {
int i;
jsize sz = jenv->GetArrayLength(input);
for (i=0; i<sz; i++)
jarr[i] = (jint)carr[i];
jenv->ReleaseIntArrayElements(input, jarr, 0);
}
static jintArray SWIG_JavaArrayOutInt (JNIEnv *jenv, int *result, jsize sz) {
jint *arr;
int i;
jintArray jresult = jenv->NewIntArray(sz);
if (!jresult)
return NULL;
arr = jenv->GetIntArrayElements(jresult, 0);
if (!arr)
return NULL;
for (i=0; i<sz; i++)
arr[i] = (jint)result[i];
jenv->ReleaseIntArrayElements(jresult, arr, 0);
return jresult;
}
/* unsigned int[] support */
static int SWIG_JavaArrayInUint (JNIEnv *jenv, jlong **jarr, unsigned int **carr, jlongArray input) {
int i;
jsize sz;
if (!input) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null array");
return 0;
}
sz = jenv->GetArrayLength(input);
*jarr = jenv->GetLongArrayElements(input, 0);
if (!*jarr)
return 0;
*carr = new unsigned int[sz];
if (!*carr) {
SWIG_JavaThrowException(jenv, SWIG_JavaOutOfMemoryError, "array memory allocation failed");
return 0;
}
for (i=0; i<sz; i++)
(*carr)[i] = (unsigned int)(*jarr)[i];
return 1;
}
static void SWIG_JavaArrayArgoutUint (JNIEnv *jenv, jlong *jarr, unsigned int *carr, jlongArray input) {
int i;
jsize sz = jenv->GetArrayLength(input);
for (i=0; i<sz; i++)
jarr[i] = (jlong)carr[i];
jenv->ReleaseLongArrayElements(input, jarr, 0);
}
static jlongArray SWIG_JavaArrayOutUint (JNIEnv *jenv, unsigned int *result, jsize sz) {
jlong *arr;
int i;
jlongArray jresult = jenv->NewLongArray(sz);
if (!jresult)
return NULL;
arr = jenv->GetLongArrayElements(jresult, 0);
if (!arr)
return NULL;
for (i=0; i<sz; i++)
arr[i] = (jlong)result[i];
jenv->ReleaseLongArrayElements(jresult, arr, 0);
return jresult;
}
/* long[] support */
static int SWIG_JavaArrayInLong (JNIEnv *jenv, jint **jarr, long **carr, jintArray input) {
int i;
jsize sz;
if (!input) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null array");
return 0;
}
sz = jenv->GetArrayLength(input);
*jarr = jenv->GetIntArrayElements(input, 0);
if (!*jarr)
return 0;
*carr = new long[sz];
if (!*carr) {
SWIG_JavaThrowException(jenv, SWIG_JavaOutOfMemoryError, "array memory allocation failed");
return 0;
}
for (i=0; i<sz; i++)
(*carr)[i] = (long)(*jarr)[i];
return 1;
}
static void SWIG_JavaArrayArgoutLong (JNIEnv *jenv, jint *jarr, long *carr, jintArray input) {
int i;
jsize sz = jenv->GetArrayLength(input);
for (i=0; i<sz; i++)
jarr[i] = (jint)carr[i];
jenv->ReleaseIntArrayElements(input, jarr, 0);
}
static jintArray SWIG_JavaArrayOutLong (JNIEnv *jenv, long *result, jsize sz) {
jint *arr;
int i;
jintArray jresult = jenv->NewIntArray(sz);
if (!jresult)
return NULL;
arr = jenv->GetIntArrayElements(jresult, 0);
if (!arr)
return NULL;
for (i=0; i<sz; i++)
arr[i] = (jint)result[i];
jenv->ReleaseIntArrayElements(jresult, arr, 0);
return jresult;
}
/* unsigned long[] support */
static int SWIG_JavaArrayInUlong (JNIEnv *jenv, jlong **jarr, unsigned long **carr, jlongArray input) {
int i;
jsize sz;
if (!input) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null array");
return 0;
}
sz = jenv->GetArrayLength(input);
*jarr = jenv->GetLongArrayElements(input, 0);
if (!*jarr)
return 0;
*carr = new unsigned long[sz];
if (!*carr) {
SWIG_JavaThrowException(jenv, SWIG_JavaOutOfMemoryError, "array memory allocation failed");
return 0;
}
for (i=0; i<sz; i++)
(*carr)[i] = (unsigned long)(*jarr)[i];
return 1;
}
static void SWIG_JavaArrayArgoutUlong (JNIEnv *jenv, jlong *jarr, unsigned long *carr, jlongArray input) {
int i;
jsize sz = jenv->GetArrayLength(input);
for (i=0; i<sz; i++)
jarr[i] = (jlong)carr[i];
jenv->ReleaseLongArrayElements(input, jarr, 0);
}
static jlongArray SWIG_JavaArrayOutUlong (JNIEnv *jenv, unsigned long *result, jsize sz) {
jlong *arr;
int i;
jlongArray jresult = jenv->NewLongArray(sz);
if (!jresult)
return NULL;
arr = jenv->GetLongArrayElements(jresult, 0);
if (!arr)
return NULL;
for (i=0; i<sz; i++)
arr[i] = (jlong)result[i];
jenv->ReleaseLongArrayElements(jresult, arr, 0);
return jresult;
}
/* jlong[] support */
static int SWIG_JavaArrayInLonglong (JNIEnv *jenv, jlong **jarr, jlong **carr, jlongArray input) {
int i;
jsize sz;
if (!input) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null array");
return 0;
}
sz = jenv->GetArrayLength(input);
*jarr = jenv->GetLongArrayElements(input, 0);
if (!*jarr)
return 0;
*carr = new jlong[sz];
if (!*carr) {
SWIG_JavaThrowException(jenv, SWIG_JavaOutOfMemoryError, "array memory allocation failed");
return 0;
}
for (i=0; i<sz; i++)
(*carr)[i] = (jlong)(*jarr)[i];
return 1;
}
static void SWIG_JavaArrayArgoutLonglong (JNIEnv *jenv, jlong *jarr, jlong *carr, jlongArray input) {
int i;
jsize sz = jenv->GetArrayLength(input);
for (i=0; i<sz; i++)
jarr[i] = (jlong)carr[i];
jenv->ReleaseLongArrayElements(input, jarr, 0);
}
static jlongArray SWIG_JavaArrayOutLonglong (JNIEnv *jenv, jlong *result, jsize sz) {
jlong *arr;
int i;
jlongArray jresult = jenv->NewLongArray(sz);
if (!jresult)
return NULL;
arr = jenv->GetLongArrayElements(jresult, 0);
if (!arr)
return NULL;
for (i=0; i<sz; i++)
arr[i] = (jlong)result[i];
jenv->ReleaseLongArrayElements(jresult, arr, 0);
return jresult;
}
/* float[] support */
static int SWIG_JavaArrayInFloat (JNIEnv *jenv, jfloat **jarr, float **carr, jfloatArray input) {
int i;
jsize sz;
if (!input) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null array");
return 0;
}
sz = jenv->GetArrayLength(input);
*jarr = jenv->GetFloatArrayElements(input, 0);
if (!*jarr)
return 0;
*carr = new float[sz];
if (!*carr) {
SWIG_JavaThrowException(jenv, SWIG_JavaOutOfMemoryError, "array memory allocation failed");
return 0;
}
for (i=0; i<sz; i++)
(*carr)[i] = (float)(*jarr)[i];
return 1;
}
static void SWIG_JavaArrayArgoutFloat (JNIEnv *jenv, jfloat *jarr, float *carr, jfloatArray input) {
int i;
jsize sz = jenv->GetArrayLength(input);
for (i=0; i<sz; i++)
jarr[i] = (jfloat)carr[i];
jenv->ReleaseFloatArrayElements(input, jarr, 0);
}
static jfloatArray SWIG_JavaArrayOutFloat (JNIEnv *jenv, float *result, jsize sz) {
jfloat *arr;
int i;
jfloatArray jresult = jenv->NewFloatArray(sz);
if (!jresult)
return NULL;
arr = jenv->GetFloatArrayElements(jresult, 0);
if (!arr)
return NULL;
for (i=0; i<sz; i++)
arr[i] = (jfloat)result[i];
jenv->ReleaseFloatArrayElements(jresult, arr, 0);
return jresult;
}
/* double[] support */
static int SWIG_JavaArrayInDouble (JNIEnv *jenv, jdouble **jarr, double **carr, jdoubleArray input) {
int i;
jsize sz;
if (!input) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null array");
return 0;
}
sz = jenv->GetArrayLength(input);
*jarr = jenv->GetDoubleArrayElements(input, 0);
if (!*jarr)
return 0;
*carr = new double[sz];
if (!*carr) {
SWIG_JavaThrowException(jenv, SWIG_JavaOutOfMemoryError, "array memory allocation failed");
return 0;
}
for (i=0; i<sz; i++)
(*carr)[i] = (double)(*jarr)[i];
return 1;
}
static void SWIG_JavaArrayArgoutDouble (JNIEnv *jenv, jdouble *jarr, double *carr, jdoubleArray input) {
int i;
jsize sz = jenv->GetArrayLength(input);
for (i=0; i<sz; i++)
jarr[i] = (jdouble)carr[i];
jenv->ReleaseDoubleArrayElements(input, jarr, 0);
}
static jdoubleArray SWIG_JavaArrayOutDouble (JNIEnv *jenv, double *result, jsize sz) {
jdouble *arr;
int i;
jdoubleArray jresult = jenv->NewDoubleArray(sz);
if (!jresult)
return NULL;
arr = jenv->GetDoubleArrayElements(jresult, 0);
if (!arr)
return NULL;
for (i=0; i<sz; i++)
arr[i] = (jdouble)result[i];
jenv->ReleaseDoubleArrayElements(jresult, arr, 0);
return jresult;
}
#endif
#include <gdx/common/jniHelpers.h>
#include <stdint.h>
#include <gdx/linearmath/mathtypes.h>
#include <LinearMath/btVector3.h>
#include <LinearMath/btQuaternion.h>
#include <LinearMath/btMatrix3x3.h>
#include <LinearMath/btTransform.h>
#include <BulletDynamics/Dynamics/btRigidBody.h>
/* Gets a global ref to the temp class. Do not release this. */
SWIGINTERN inline jclass gdx_getTempClassVector3(JNIEnv * jenv) {
static jclass cls = NULL;
if (cls == NULL) {
cls = (jclass) jenv->NewGlobalRef(jenv->FindClass("com/badlogic/gdx/physics/bullet/linearmath/LinearMath"));
}
return cls;
}
SWIGINTERN inline jobject gdx_takePoolObjectVector3(JNIEnv * jenv, const char * poolName) {
jclass tempClass = gdx_getTempClassVector3(jenv);
static jfieldID poolField = NULL;
if (poolField == NULL) {
poolField = jenv->GetStaticFieldID(tempClass, poolName, "Lcom/badlogic/gdx/utils/Pool;");
}
jobject poolObject = jenv->GetStaticObjectField(tempClass, poolField);
jclass poolClass = jenv->GetObjectClass(poolObject);
static jmethodID obtainMethod = NULL;
if (obtainMethod == NULL) {
obtainMethod = (jmethodID) jenv->GetMethodID(poolClass, "obtain", "()Ljava/lang/Object;");
}
jobject ret = jenv->CallObjectMethod(poolObject, obtainMethod);
jenv->DeleteLocalRef(poolObject);
jenv->DeleteLocalRef(poolClass);
return ret;
}
SWIGINTERN inline void gdx_releasePoolObjectVector3(JNIEnv * jenv, const char * poolName, jobject obj) {
jclass tempClass = gdx_getTempClassVector3(jenv);
static jfieldID poolField = NULL;
if (poolField == NULL) {
poolField = jenv->GetStaticFieldID(tempClass, poolName, "Lcom/badlogic/gdx/utils/Pool;");
}
jobject poolObject = jenv->GetStaticObjectField(tempClass, poolField);
jclass poolClass = jenv->GetObjectClass(poolObject);
static jmethodID freeMethod = NULL;
if (freeMethod == NULL) {
freeMethod = (jmethodID) jenv->GetMethodID(poolClass, "free", "(Ljava/lang/Object;)V");
}
jenv->CallVoidMethod(poolObject, freeMethod, obj);
jenv->DeleteLocalRef(poolObject);
jenv->DeleteLocalRef(poolClass);
jenv->DeleteLocalRef(obj);
}
/*
* A simple RAII wrapper to release jobjects we obtain from pools in
* directorin typemaps. SWIG doesn't have hooks to release them after
* they're used.
*/
class gdxPoolAutoReleaseVector3 {
private:
JNIEnv * jenv;
const char * poolName;
jobject obj;
public:
gdxPoolAutoReleaseVector3(JNIEnv * jenv, const char * poolName, jobject obj) :
jenv(jenv), poolName(poolName), obj(obj) { };
virtual ~gdxPoolAutoReleaseVector3() {
gdx_releasePoolObjectVector3(this->jenv, this->poolName, this->obj);
};
};
// Workaround for some strange swig behaviour
/* Gets a global ref to the temp class's Return Vector3. Do not release this. */
SWIGINTERN inline jobject gdx_getReturnVector3(JNIEnv * jenv) {
static jobject ret = NULL;
if (ret == NULL) {
jclass tempClass = gdx_getTempClassVector3(jenv);
jfieldID field = jenv->GetStaticFieldID(tempClass, "staticVector3", "Lcom/badlogic/gdx/math/Vector3;");
ret = jenv->NewGlobalRef(jenv->GetStaticObjectField(tempClass, field));
}
return ret;
}
/* Sets the data in the Bullet type from the Gdx type. */
SWIGINTERN inline void gdx_setbtVector3FromVector3(JNIEnv * jenv, btVector3 & target, jobject source) {
Vector3_to_btVector3(jenv, target, source);
}
SWIGINTERN inline void gdx_setbtVector3FromVector3(JNIEnv * jenv, btVector3 * target, jobject source) {
gdx_setbtVector3FromVector3(jenv, *target, source);
}
/* Sets the data in the Gdx type from the Bullet type. */
SWIGINTERN inline void gdx_setVector3FrombtVector3(JNIEnv * jenv, jobject target, const btVector3 & source) {
btVector3_to_Vector3(jenv, target, source);
}
SWIGINTERN inline void gdx_setVector3FrombtVector3(JNIEnv * jenv, jobject target, const btVector3 * source) {
gdx_setVector3FrombtVector3(jenv, target, *source);
}
/*
* RAII wrapper to commit changes made to a local btVector3 back to Vector3
*/
class gdxAutoCommitVector3 {
private:
JNIEnv * jenv;
jobject jVector3;
btVector3 & cbtVector3;
public:
gdxAutoCommitVector3(JNIEnv * jenv, jobject jVector3, btVector3 & cbtVector3) :
jenv(jenv), jVector3(jVector3), cbtVector3(cbtVector3) { };
gdxAutoCommitVector3(JNIEnv * jenv, jobject jVector3, btVector3 * cbtVector3) :
jenv(jenv), jVector3(jVector3), cbtVector3(*cbtVector3) { };
virtual ~gdxAutoCommitVector3() {
gdx_setVector3FrombtVector3(this->jenv, this->jVector3, this->cbtVector3);
};
};
class gdxAutoCommitbtVector3AndReleaseVector3 {
private:
JNIEnv * jenv;
jobject jVector3;
btVector3 & cbtVector3;
const char * poolName;
public:
gdxAutoCommitbtVector3AndReleaseVector3(JNIEnv * jenv, jobject jVector3, btVector3 & cbtVector3, const char *poolName) :
jenv(jenv), jVector3(jVector3), cbtVector3(cbtVector3), poolName(poolName) { };
gdxAutoCommitbtVector3AndReleaseVector3(JNIEnv * jenv, jobject jVector3, btVector3 * cbtVector3, const char *poolName) :
jenv(jenv), jVector3(jVector3), cbtVector3(*cbtVector3), poolName(poolName) { };
virtual ~gdxAutoCommitbtVector3AndReleaseVector3() {
gdx_setbtVector3FromVector3(this->jenv, this->cbtVector3, this->jVector3);
gdx_releasePoolObjectVector3(this->jenv, this->poolName, this->jVector3);
};
};
SWIGINTERN btRigidBody::btRigidBodyConstructionInfo *new_btRigidBody_btRigidBodyConstructionInfo__SWIG_0(bool dummy,btScalar mass,btMotionState *motionState,btCollisionShape *collisionShape,btVector3 const &localInertia=btVector3(0,0,0)){
return new btRigidBody::btRigidBodyConstructionInfo(mass, motionState, collisionShape, localInertia);
}
/* Gets a global ref to the temp class. Do not release this. */
SWIGINTERN inline jclass gdx_getTempClassMatrix4(JNIEnv * jenv) {
static jclass cls = NULL;
if (cls == NULL) {
cls = (jclass) jenv->NewGlobalRef(jenv->FindClass("com/badlogic/gdx/physics/bullet/linearmath/LinearMath"));
}
return cls;
}
SWIGINTERN inline jobject gdx_takePoolObjectMatrix4(JNIEnv * jenv, const char * poolName) {
jclass tempClass = gdx_getTempClassMatrix4(jenv);
static jfieldID poolField = NULL;
if (poolField == NULL) {
poolField = jenv->GetStaticFieldID(tempClass, poolName, "Lcom/badlogic/gdx/utils/Pool;");
}
jobject poolObject = jenv->GetStaticObjectField(tempClass, poolField);
jclass poolClass = jenv->GetObjectClass(poolObject);
static jmethodID obtainMethod = NULL;
if (obtainMethod == NULL) {
obtainMethod = (jmethodID) jenv->GetMethodID(poolClass, "obtain", "()Ljava/lang/Object;");
}
jobject ret = jenv->CallObjectMethod(poolObject, obtainMethod);
jenv->DeleteLocalRef(poolObject);
jenv->DeleteLocalRef(poolClass);
return ret;
}
SWIGINTERN inline void gdx_releasePoolObjectMatrix4(JNIEnv * jenv, const char * poolName, jobject obj) {
jclass tempClass = gdx_getTempClassMatrix4(jenv);
static jfieldID poolField = NULL;
if (poolField == NULL) {
poolField = jenv->GetStaticFieldID(tempClass, poolName, "Lcom/badlogic/gdx/utils/Pool;");
}
jobject poolObject = jenv->GetStaticObjectField(tempClass, poolField);
jclass poolClass = jenv->GetObjectClass(poolObject);
static jmethodID freeMethod = NULL;
if (freeMethod == NULL) {
freeMethod = (jmethodID) jenv->GetMethodID(poolClass, "free", "(Ljava/lang/Object;)V");
}
jenv->CallVoidMethod(poolObject, freeMethod, obj);
jenv->DeleteLocalRef(poolObject);
jenv->DeleteLocalRef(poolClass);
jenv->DeleteLocalRef(obj);
}
/*
* A simple RAII wrapper to release jobjects we obtain from pools in
* directorin typemaps. SWIG doesn't have hooks to release them after
* they're used.
*/
class gdxPoolAutoReleaseMatrix4 {
private:
JNIEnv * jenv;
const char * poolName;
jobject obj;
public:
gdxPoolAutoReleaseMatrix4(JNIEnv * jenv, const char * poolName, jobject obj) :
jenv(jenv), poolName(poolName), obj(obj) { };
virtual ~gdxPoolAutoReleaseMatrix4() {
gdx_releasePoolObjectMatrix4(this->jenv, this->poolName, this->obj);
};
};
// Workaround for some strange swig behaviour
/* Gets a global ref to the temp class's Return Matrix4. Do not release this. */
SWIGINTERN inline jobject gdx_getReturnMatrix4(JNIEnv * jenv) {
static jobject ret = NULL;
if (ret == NULL) {
jclass tempClass = gdx_getTempClassMatrix4(jenv);
jfieldID field = jenv->GetStaticFieldID(tempClass, "staticMatrix4", "Lcom/badlogic/gdx/math/Matrix4;");
ret = jenv->NewGlobalRef(jenv->GetStaticObjectField(tempClass, field));
}
return ret;
}
/* Sets the data in the Bullet type from the Gdx type. */
SWIGINTERN inline void gdx_setbtTransformFromMatrix4(JNIEnv * jenv, btTransform & target, jobject source) {
Matrix4_to_btTransform(jenv, target, source);
}
SWIGINTERN inline void gdx_setbtTransformFromMatrix4(JNIEnv * jenv, btTransform * target, jobject source) {
gdx_setbtTransformFromMatrix4(jenv, *target, source);
}
/* Sets the data in the Gdx type from the Bullet type. */
SWIGINTERN inline void gdx_setMatrix4FrombtTransform(JNIEnv * jenv, jobject target, const btTransform & source) {
btTransform_to_Matrix4(jenv, target, source);
}
SWIGINTERN inline void gdx_setMatrix4FrombtTransform(JNIEnv * jenv, jobject target, const btTransform * source) {
gdx_setMatrix4FrombtTransform(jenv, target, *source);
}
/*
* RAII wrapper to commit changes made to a local btTransform back to Matrix4
*/
class gdxAutoCommitMatrix4 {
private:
JNIEnv * jenv;
jobject jMatrix4;
btTransform & cbtTransform;
public:
gdxAutoCommitMatrix4(JNIEnv * jenv, jobject jMatrix4, btTransform & cbtTransform) :
jenv(jenv), jMatrix4(jMatrix4), cbtTransform(cbtTransform) { };
gdxAutoCommitMatrix4(JNIEnv * jenv, jobject jMatrix4, btTransform * cbtTransform) :
jenv(jenv), jMatrix4(jMatrix4), cbtTransform(*cbtTransform) { };
virtual ~gdxAutoCommitMatrix4() {
gdx_setMatrix4FrombtTransform(this->jenv, this->jMatrix4, this->cbtTransform);
};
};
class gdxAutoCommitbtTransformAndReleaseMatrix4 {
private:
JNIEnv * jenv;
jobject jMatrix4;
btTransform & cbtTransform;
const char * poolName;
public:
gdxAutoCommitbtTransformAndReleaseMatrix4(JNIEnv * jenv, jobject jMatrix4, btTransform & cbtTransform, const char *poolName) :
jenv(jenv), jMatrix4(jMatrix4), cbtTransform(cbtTransform), poolName(poolName) { };
gdxAutoCommitbtTransformAndReleaseMatrix4(JNIEnv * jenv, jobject jMatrix4, btTransform * cbtTransform, const char *poolName) :
jenv(jenv), jMatrix4(jMatrix4), cbtTransform(*cbtTransform), poolName(poolName) { };
virtual ~gdxAutoCommitbtTransformAndReleaseMatrix4() {
gdx_setbtTransformFromMatrix4(this->jenv, this->cbtTransform, this->jMatrix4);
gdx_releasePoolObjectMatrix4(this->jenv, this->poolName, this->jMatrix4);
};
};
/* Gets a global ref to the temp class. Do not release this. */
SWIGINTERN inline jclass gdx_getTempClassMatrix3(JNIEnv * jenv) {
static jclass cls = NULL;
if (cls == NULL) {
cls = (jclass) jenv->NewGlobalRef(jenv->FindClass("com/badlogic/gdx/physics/bullet/linearmath/LinearMath"));
}
return cls;
}
SWIGINTERN inline jobject gdx_takePoolObjectMatrix3(JNIEnv * jenv, const char * poolName) {
jclass tempClass = gdx_getTempClassMatrix3(jenv);
static jfieldID poolField = NULL;
if (poolField == NULL) {
poolField = jenv->GetStaticFieldID(tempClass, poolName, "Lcom/badlogic/gdx/utils/Pool;");
}
jobject poolObject = jenv->GetStaticObjectField(tempClass, poolField);
jclass poolClass = jenv->GetObjectClass(poolObject);
static jmethodID obtainMethod = NULL;
if (obtainMethod == NULL) {
obtainMethod = (jmethodID) jenv->GetMethodID(poolClass, "obtain", "()Ljava/lang/Object;");
}
jobject ret = jenv->CallObjectMethod(poolObject, obtainMethod);
jenv->DeleteLocalRef(poolObject);
jenv->DeleteLocalRef(poolClass);
return ret;
}
SWIGINTERN inline void gdx_releasePoolObjectMatrix3(JNIEnv * jenv, const char * poolName, jobject obj) {
jclass tempClass = gdx_getTempClassMatrix3(jenv);
static jfieldID poolField = NULL;
if (poolField == NULL) {
poolField = jenv->GetStaticFieldID(tempClass, poolName, "Lcom/badlogic/gdx/utils/Pool;");
}
jobject poolObject = jenv->GetStaticObjectField(tempClass, poolField);
jclass poolClass = jenv->GetObjectClass(poolObject);
static jmethodID freeMethod = NULL;
if (freeMethod == NULL) {
freeMethod = (jmethodID) jenv->GetMethodID(poolClass, "free", "(Ljava/lang/Object;)V");
}
jenv->CallVoidMethod(poolObject, freeMethod, obj);
jenv->DeleteLocalRef(poolObject);
jenv->DeleteLocalRef(poolClass);
jenv->DeleteLocalRef(obj);
}
/*
* A simple RAII wrapper to release jobjects we obtain from pools in
* directorin typemaps. SWIG doesn't have hooks to release them after
* they're used.
*/
class gdxPoolAutoReleaseMatrix3 {
private:
JNIEnv * jenv;
const char * poolName;
jobject obj;
public:
gdxPoolAutoReleaseMatrix3(JNIEnv * jenv, const char * poolName, jobject obj) :
jenv(jenv), poolName(poolName), obj(obj) { };
virtual ~gdxPoolAutoReleaseMatrix3() {
gdx_releasePoolObjectMatrix3(this->jenv, this->poolName, this->obj);
};
};
// Workaround for some strange swig behaviour
/* Gets a global ref to the temp class's Return Matrix3. Do not release this. */
SWIGINTERN inline jobject gdx_getReturnMatrix3(JNIEnv * jenv) {
static jobject ret = NULL;
if (ret == NULL) {
jclass tempClass = gdx_getTempClassMatrix3(jenv);
jfieldID field = jenv->GetStaticFieldID(tempClass, "staticMatrix3", "Lcom/badlogic/gdx/math/Matrix3;");
ret = jenv->NewGlobalRef(jenv->GetStaticObjectField(tempClass, field));
}
return ret;
}
/* Sets the data in the Bullet type from the Gdx type. */
SWIGINTERN inline void gdx_setbtMatrix3x3FromMatrix3(JNIEnv * jenv, btMatrix3x3 & target, jobject source) {
Matrix3_to_btMatrix3(jenv, target, source);
}
SWIGINTERN inline void gdx_setbtMatrix3x3FromMatrix3(JNIEnv * jenv, btMatrix3x3 * target, jobject source) {
gdx_setbtMatrix3x3FromMatrix3(jenv, *target, source);
}
/* Sets the data in the Gdx type from the Bullet type. */
SWIGINTERN inline void gdx_setMatrix3FrombtMatrix3x3(JNIEnv * jenv, jobject target, const btMatrix3x3 & source) {
btMatrix3_to_Matrix3(jenv, target, source);
}
SWIGINTERN inline void gdx_setMatrix3FrombtMatrix3x3(JNIEnv * jenv, jobject target, const btMatrix3x3 * source) {
gdx_setMatrix3FrombtMatrix3x3(jenv, target, *source);
}
/*
* RAII wrapper to commit changes made to a local btMatrix3x3 back to Matrix3
*/
class gdxAutoCommitMatrix3 {
private:
JNIEnv * jenv;
jobject jMatrix3;
btMatrix3x3 & cbtMatrix3x3;
public:
gdxAutoCommitMatrix3(JNIEnv * jenv, jobject jMatrix3, btMatrix3x3 & cbtMatrix3x3) :
jenv(jenv), jMatrix3(jMatrix3), cbtMatrix3x3(cbtMatrix3x3) { };
gdxAutoCommitMatrix3(JNIEnv * jenv, jobject jMatrix3, btMatrix3x3 * cbtMatrix3x3) :
jenv(jenv), jMatrix3(jMatrix3), cbtMatrix3x3(*cbtMatrix3x3) { };
virtual ~gdxAutoCommitMatrix3() {
gdx_setMatrix3FrombtMatrix3x3(this->jenv, this->jMatrix3, this->cbtMatrix3x3);
};
};
class gdxAutoCommitbtMatrix3x3AndReleaseMatrix3 {
private:
JNIEnv * jenv;
jobject jMatrix3;
btMatrix3x3 & cbtMatrix3x3;
const char * poolName;
public:
gdxAutoCommitbtMatrix3x3AndReleaseMatrix3(JNIEnv * jenv, jobject jMatrix3, btMatrix3x3 & cbtMatrix3x3, const char *poolName) :
jenv(jenv), jMatrix3(jMatrix3), cbtMatrix3x3(cbtMatrix3x3), poolName(poolName) { };
gdxAutoCommitbtMatrix3x3AndReleaseMatrix3(JNIEnv * jenv, jobject jMatrix3, btMatrix3x3 * cbtMatrix3x3, const char *poolName) :
jenv(jenv), jMatrix3(jMatrix3), cbtMatrix3x3(*cbtMatrix3x3), poolName(poolName) { };
virtual ~gdxAutoCommitbtMatrix3x3AndReleaseMatrix3() {
gdx_setbtMatrix3x3FromMatrix3(this->jenv, this->cbtMatrix3x3, this->jMatrix3);
gdx_releasePoolObjectMatrix3(this->jenv, this->poolName, this->jMatrix3);
};
};
/* Gets a global ref to the temp class. Do not release this. */
SWIGINTERN inline jclass gdx_getTempClassQuaternion(JNIEnv * jenv) {
static jclass cls = NULL;
if (cls == NULL) {
cls = (jclass) jenv->NewGlobalRef(jenv->FindClass("com/badlogic/gdx/physics/bullet/linearmath/LinearMath"));
}
return cls;
}
SWIGINTERN inline jobject gdx_takePoolObjectQuaternion(JNIEnv * jenv, const char * poolName) {
jclass tempClass = gdx_getTempClassQuaternion(jenv);
static jfieldID poolField = NULL;
if (poolField == NULL) {
poolField = jenv->GetStaticFieldID(tempClass, poolName, "Lcom/badlogic/gdx/utils/Pool;");
}
jobject poolObject = jenv->GetStaticObjectField(tempClass, poolField);
jclass poolClass = jenv->GetObjectClass(poolObject);
static jmethodID obtainMethod = NULL;
if (obtainMethod == NULL) {
obtainMethod = (jmethodID) jenv->GetMethodID(poolClass, "obtain", "()Ljava/lang/Object;");
}
jobject ret = jenv->CallObjectMethod(poolObject, obtainMethod);
jenv->DeleteLocalRef(poolObject);
jenv->DeleteLocalRef(poolClass);
return ret;
}
SWIGINTERN inline void gdx_releasePoolObjectQuaternion(JNIEnv * jenv, const char * poolName, jobject obj) {
jclass tempClass = gdx_getTempClassQuaternion(jenv);
static jfieldID poolField = NULL;
if (poolField == NULL) {
poolField = jenv->GetStaticFieldID(tempClass, poolName, "Lcom/badlogic/gdx/utils/Pool;");
}
jobject poolObject = jenv->GetStaticObjectField(tempClass, poolField);
jclass poolClass = jenv->GetObjectClass(poolObject);
static jmethodID freeMethod = NULL;
if (freeMethod == NULL) {
freeMethod = (jmethodID) jenv->GetMethodID(poolClass, "free", "(Ljava/lang/Object;)V");
}
jenv->CallVoidMethod(poolObject, freeMethod, obj);
jenv->DeleteLocalRef(poolObject);
jenv->DeleteLocalRef(poolClass);
jenv->DeleteLocalRef(obj);
}
/*
* A simple RAII wrapper to release jobjects we obtain from pools in
* directorin typemaps. SWIG doesn't have hooks to release them after
* they're used.
*/
class gdxPoolAutoReleaseQuaternion {
private:
JNIEnv * jenv;
const char * poolName;
jobject obj;
public:
gdxPoolAutoReleaseQuaternion(JNIEnv * jenv, const char * poolName, jobject obj) :
jenv(jenv), poolName(poolName), obj(obj) { };
virtual ~gdxPoolAutoReleaseQuaternion() {
gdx_releasePoolObjectQuaternion(this->jenv, this->poolName, this->obj);
};
};
// Workaround for some strange swig behaviour
/* Gets a global ref to the temp class's Return Quaternion. Do not release this. */
SWIGINTERN inline jobject gdx_getReturnQuaternion(JNIEnv * jenv) {
static jobject ret = NULL;
if (ret == NULL) {
jclass tempClass = gdx_getTempClassQuaternion(jenv);
jfieldID field = jenv->GetStaticFieldID(tempClass, "staticQuaternion", "Lcom/badlogic/gdx/math/Quaternion;");
ret = jenv->NewGlobalRef(jenv->GetStaticObjectField(tempClass, field));
}
return ret;
}
/* Sets the data in the Bullet type from the Gdx type. */
SWIGINTERN inline void gdx_setbtQuaternionFromQuaternion(JNIEnv * jenv, btQuaternion & target, jobject source) {
Quaternion_to_btQuaternion(jenv, target, source);
}
SWIGINTERN inline void gdx_setbtQuaternionFromQuaternion(JNIEnv * jenv, btQuaternion * target, jobject source) {
gdx_setbtQuaternionFromQuaternion(jenv, *target, source);
}
/* Sets the data in the Gdx type from the Bullet type. */
SWIGINTERN inline void gdx_setQuaternionFrombtQuaternion(JNIEnv * jenv, jobject target, const btQuaternion & source) {
btQuaternion_to_Quaternion(jenv, target, source);
}
SWIGINTERN inline void gdx_setQuaternionFrombtQuaternion(JNIEnv * jenv, jobject target, const btQuaternion * source) {
gdx_setQuaternionFrombtQuaternion(jenv, target, *source);
}
/*
* RAII wrapper to commit changes made to a local btQuaternion back to Quaternion
*/
class gdxAutoCommitQuaternion {
private:
JNIEnv * jenv;
jobject jQuaternion;
btQuaternion & cbtQuaternion;
public:
gdxAutoCommitQuaternion(JNIEnv * jenv, jobject jQuaternion, btQuaternion & cbtQuaternion) :
jenv(jenv), jQuaternion(jQuaternion), cbtQuaternion(cbtQuaternion) { };
gdxAutoCommitQuaternion(JNIEnv * jenv, jobject jQuaternion, btQuaternion * cbtQuaternion) :
jenv(jenv), jQuaternion(jQuaternion), cbtQuaternion(*cbtQuaternion) { };
virtual ~gdxAutoCommitQuaternion() {
gdx_setQuaternionFrombtQuaternion(this->jenv, this->jQuaternion, this->cbtQuaternion);
};
};
class gdxAutoCommitbtQuaternionAndReleaseQuaternion {
private:
JNIEnv * jenv;
jobject jQuaternion;
btQuaternion & cbtQuaternion;
const char * poolName;
public:
gdxAutoCommitbtQuaternionAndReleaseQuaternion(JNIEnv * jenv, jobject jQuaternion, btQuaternion & cbtQuaternion, const char *poolName) :
jenv(jenv), jQuaternion(jQuaternion), cbtQuaternion(cbtQuaternion), poolName(poolName) { };
gdxAutoCommitbtQuaternionAndReleaseQuaternion(JNIEnv * jenv, jobject jQuaternion, btQuaternion * cbtQuaternion, const char *poolName) :
jenv(jenv), jQuaternion(jQuaternion), cbtQuaternion(*cbtQuaternion), poolName(poolName) { };
virtual ~gdxAutoCommitbtQuaternionAndReleaseQuaternion() {
gdx_setbtQuaternionFromQuaternion(this->jenv, this->cbtQuaternion, this->jQuaternion);
gdx_releasePoolObjectQuaternion(this->jenv, this->poolName, this->jQuaternion);
};
};
SWIGINTERN btRigidBody *new_btRigidBody__SWIG_0(bool dummy,btRigidBody::btRigidBodyConstructionInfo const &constructionInfo){
return new btRigidBody(constructionInfo);
}
SWIGINTERN btRigidBody *new_btRigidBody__SWIG_1(bool dummy,btScalar mass,btMotionState *motionState,btCollisionShape *collisionShape,btVector3 const &localInertia=btVector3(0,0,0)){
return new btRigidBody(mass, motionState, collisionShape, localInertia);
}
#include <BulletDynamics/ConstraintSolver/btTypedConstraint.h>
#include <BulletDynamics/Dynamics/btDynamicsWorld.h>
#include <gdx/dynamics/InternalTickCallback.h>
#include <BulletDynamics/Dynamics/btSimpleDynamicsWorld.h>
#include <BulletDynamics/Dynamics/btActionInterface.h>
#include <gdx/dynamics/CustomActionInterface.h>
#include <BulletDynamics/Dynamics/btDiscreteDynamicsWorld.h>
#include <BulletDynamics/Character/btCharacterControllerInterface.h>
#include <BulletDynamics/Character/btKinematicCharacterController.h>
#include <BulletDynamics/ConstraintSolver/btContactSolverInfo.h>
#include <BulletDynamics/ConstraintSolver/btConstraintSolver.h>
#include <BulletDynamics/ConstraintSolver/btSequentialImpulseConstraintSolver.h>
#include <BulletDynamics/ConstraintSolver/btSolverBody.h>
#include <BulletDynamics/ConstraintSolver/btSliderConstraint.h>
#include <BulletDynamics/ConstraintSolver/btPoint2PointConstraint.h>
#include <BulletDynamics/ConstraintSolver/btJacobianEntry.h>
#include <BulletDynamics/ConstraintSolver/btSolve2LinearConstraint.h>
#include <BulletDynamics/ConstraintSolver/btGeneric6DofConstraint.h>
#include <BulletDynamics/ConstraintSolver/btUniversalConstraint.h>
#include <BulletDynamics/ConstraintSolver/btContactConstraint.h>
#include <BulletDynamics/ConstraintSolver/btConeTwistConstraint.h>
#include <BulletDynamics/ConstraintSolver/btGeneric6DofSpringConstraint.h>
#include <BulletDynamics/ConstraintSolver/btGeneric6DofSpring2Constraint.h>
#include <BulletDynamics/ConstraintSolver/btHingeConstraint.h>
#include <BulletDynamics/ConstraintSolver/btSolverConstraint.h>
#include <BulletDynamics/ConstraintSolver/btHinge2Constraint.h>
#include <BulletDynamics/ConstraintSolver/btFixedConstraint.h>
#include <BulletDynamics/Vehicle/btVehicleRaycaster.h>
#include <BulletDynamics/Vehicle/btWheelInfo.h>
#include <BulletDynamics/Vehicle/btRaycastVehicle.h>
#include <gdx/dynamics/FilterableVehicleRaycaster.h>
#include <BulletDynamics/ConstraintSolver/btGearConstraint.h>
#include <BulletDynamics/ConstraintSolver/btNNCGConstraintSolver.h>
#include <BulletDynamics/Dynamics/btDiscreteDynamicsWorldMt.h>
#include <BulletDynamics/Dynamics/btSimulationIslandManagerMt.h>
#include <BulletDynamics/Featherstone/btMultiBody.h>
#include <BulletDynamics/Featherstone/btMultiBodyConstraint.h>
#include <BulletDynamics/Featherstone/btMultiBodyGearConstraint.h>
#include <BulletDynamics/Featherstone/btMultiBodyConstraintSolver.h>
#include <BulletDynamics/Featherstone/btMultiBodyDynamicsWorld.h>
#include <BulletDynamics/Featherstone/btMultiBodyFixedConstraint.h>
#include <BulletDynamics/Featherstone/btMultiBodyJointFeedback.h>
#include <BulletDynamics/Featherstone/btMultiBodyJointLimitConstraint.h>
#include <BulletDynamics/Featherstone/btMultiBodyJointMotor.h>
#include <BulletDynamics/Featherstone/btMultiBodyLink.h>
#include <BulletDynamics/Featherstone/btMultiBodyLinkCollider.h>
#include <BulletDynamics/Featherstone/btMultiBodyPoint2Point.h>
#include <BulletDynamics/Featherstone/btMultiBodySliderConstraint.h>
#include <BulletDynamics/Featherstone/btMultiBodySolverConstraint.h>
#include <BulletDynamics/MLCPSolvers/btDantzigLCP.h>
#include <BulletDynamics/MLCPSolvers/btMLCPSolverInterface.h>
#include <BulletDynamics/MLCPSolvers/btDantzigSolver.h>
#include <BulletDynamics/MLCPSolvers/btLemkeAlgorithm.h>
#include <BulletDynamics/MLCPSolvers/btLemkeSolver.h>
#include <BulletDynamics/MLCPSolvers/btMLCPSolver.h>
#include <BulletDynamics/MLCPSolvers/btPATHSolver.h>
#include <BulletDynamics/MLCPSolvers/btSolveProjectedGaussSeidel.h>
#include <BulletDynamics/Vehicle/btRaycastVehicle.h>
#include <BulletDynamics/Vehicle/btVehicleRaycaster.h>
#include <BulletDynamics/Vehicle/btWheelInfo.h>
/* ---------------------------------------------------
* C++ director class methods
* --------------------------------------------------- */
#include "dynamics_wrap.h"
SwigDirector_InternalTickCallback::SwigDirector_InternalTickCallback(JNIEnv *jenv, btDynamicsWorld *dynamicsWorld, bool isPreTick) : InternalTickCallback(dynamicsWorld, isPreTick), Swig::Director(jenv) {
}
void SwigDirector_InternalTickCallback::onInternalTick(btDynamicsWorld *dynamicsWorld, btScalar timeStep) {
JNIEnvWrapper swigjnienv(this) ;
JNIEnv * jenv = swigjnienv.getJNIEnv() ;
jobject swigjobj = (jobject) NULL ;
jlong jdynamicsWorld = 0 ;
jfloat jtimeStep ;
if (!swig_override[0]) {
InternalTickCallback::onInternalTick(dynamicsWorld,timeStep);
return;
}
swigjobj = swig_get_self(jenv);
if (swigjobj && jenv->IsSameObject(swigjobj, NULL) == JNI_FALSE) {
*((btDynamicsWorld **)&jdynamicsWorld) = (btDynamicsWorld *) dynamicsWorld;
jtimeStep = (jfloat) timeStep;
jenv->CallStaticVoidMethod(Swig::jclass_DynamicsJNI, Swig::director_method_ids[0], swigjobj, jdynamicsWorld, jtimeStep);
jthrowable swigerror = jenv->ExceptionOccurred();
if (swigerror) {
jenv->ExceptionClear();
throw Swig::DirectorException(jenv, swigerror);
}
} else {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null upcall object in InternalTickCallback::onInternalTick ");
}
if (swigjobj) jenv->DeleteLocalRef(swigjobj);
}
void SwigDirector_InternalTickCallback::swig_connect_director(JNIEnv *jenv, jobject jself, jclass jcls, bool swig_mem_own, bool weak_global) {
static struct {
const char *mname;
const char *mdesc;
jmethodID base_methid;
} methods[] = {
{
"onInternalTick", "(Lcom/badlogic/gdx/physics/bullet/dynamics/btDynamicsWorld;F)V", NULL
}
};
static jclass baseclass = 0 ;
if (swig_set_self(jenv, jself, swig_mem_own, weak_global)) {
if (!baseclass) {
baseclass = jenv->FindClass("com/badlogic/gdx/physics/bullet/dynamics/InternalTickCallback");
if (!baseclass) return;
baseclass = (jclass) jenv->NewGlobalRef(baseclass);
}
bool derived = (jenv->IsSameObject(baseclass, jcls) ? false : true);
for (int i = 0; i < 1; ++i) {
if (!methods[i].base_methid) {
methods[i].base_methid = jenv->GetMethodID(baseclass, methods[i].mname, methods[i].mdesc);
if (!methods[i].base_methid) return;
}
swig_override[i] = false;
if (derived) {
jmethodID methid = jenv->GetMethodID(jcls, methods[i].mname, methods[i].mdesc);
swig_override[i] = (methid != methods[i].base_methid);
jenv->ExceptionClear();
}
}
}
}
SwigDirector_CustomActionInterface::SwigDirector_CustomActionInterface(JNIEnv *jenv) : CustomActionInterface(), Swig::Director(jenv) {
}
SwigDirector_CustomActionInterface::~SwigDirector_CustomActionInterface() {
swig_disconnect_director_self("swigDirectorDisconnect");
}
void SwigDirector_CustomActionInterface::updateAction(btCollisionWorld *collisionWorld, btScalar timeStep) {
CustomActionInterface::updateAction(collisionWorld,timeStep);
}
void SwigDirector_CustomActionInterface::debugDraw(btIDebugDraw *debugDrawer) {
CustomActionInterface::debugDraw(debugDrawer);
}
void SwigDirector_CustomActionInterface::updateAction(btScalar timeStep) {
JNIEnvWrapper swigjnienv(this) ;
JNIEnv * jenv = swigjnienv.getJNIEnv() ;
jobject swigjobj = (jobject) NULL ;
jfloat jtimeStep ;
if (!swig_override[0]) {
SWIG_JavaThrowException(JNIEnvWrapper(this).getJNIEnv(), SWIG_JavaDirectorPureVirtual, "Attempted to invoke pure virtual method CustomActionInterface::updateAction.");
return;
}
swigjobj = swig_get_self(jenv);
if (swigjobj && jenv->IsSameObject(swigjobj, NULL) == JNI_FALSE) {
jtimeStep = (jfloat) timeStep;
jenv->CallStaticVoidMethod(Swig::jclass_DynamicsJNI, Swig::director_method_ids[1], swigjobj, jtimeStep);
jthrowable swigerror = jenv->ExceptionOccurred();
if (swigerror) {
jenv->ExceptionClear();
throw Swig::DirectorException(jenv, swigerror);
}
} else {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null upcall object in CustomActionInterface::updateAction ");
}
if (swigjobj) jenv->DeleteLocalRef(swigjobj);
}
void SwigDirector_CustomActionInterface::debugDraw() {
JNIEnvWrapper swigjnienv(this) ;
JNIEnv * jenv = swigjnienv.getJNIEnv() ;
jobject swigjobj = (jobject) NULL ;
if (!swig_override[1]) {
SWIG_JavaThrowException(JNIEnvWrapper(this).getJNIEnv(), SWIG_JavaDirectorPureVirtual, "Attempted to invoke pure virtual method CustomActionInterface::debugDraw.");
return;
}
swigjobj = swig_get_self(jenv);
if (swigjobj && jenv->IsSameObject(swigjobj, NULL) == JNI_FALSE) {
jenv->CallStaticVoidMethod(Swig::jclass_DynamicsJNI, Swig::director_method_ids[2], swigjobj);
jthrowable swigerror = jenv->ExceptionOccurred();
if (swigerror) {
jenv->ExceptionClear();
throw Swig::DirectorException(jenv, swigerror);
}
} else {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null upcall object in CustomActionInterface::debugDraw ");
}
if (swigjobj) jenv->DeleteLocalRef(swigjobj);
}
void SwigDirector_CustomActionInterface::swig_connect_director(JNIEnv *jenv, jobject jself, jclass jcls, bool swig_mem_own, bool weak_global) {
static struct {
const char *mname;
const char *mdesc;
jmethodID base_methid;
} methods[] = {
{
"updateAction", "(F)V", NULL
},
{
"debugDraw", "()V", NULL
}
};
static jclass baseclass = 0 ;
if (swig_set_self(jenv, jself, swig_mem_own, weak_global)) {
if (!baseclass) {
baseclass = jenv->FindClass("com/badlogic/gdx/physics/bullet/dynamics/CustomActionInterface");
if (!baseclass) return;
baseclass = (jclass) jenv->NewGlobalRef(baseclass);
}
bool derived = (jenv->IsSameObject(baseclass, jcls) ? false : true);
for (int i = 0; i < 2; ++i) {
if (!methods[i].base_methid) {
methods[i].base_methid = jenv->GetMethodID(baseclass, methods[i].mname, methods[i].mdesc);
if (!methods[i].base_methid) return;
}
swig_override[i] = false;
if (derived) {
jmethodID methid = jenv->GetMethodID(jcls, methods[i].mname, methods[i].mdesc);
swig_override[i] = (methid != methods[i].base_methid);
jenv->ExceptionClear();
}
}
}
}
#ifdef __cplusplus
extern "C" {
#endif
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_gDeactivationTime_1set(JNIEnv *jenv, jclass jcls, jfloat jarg1) {
btScalar arg1 ;
(void)jenv;
(void)jcls;
arg1 = (btScalar)jarg1;
gDeactivationTime = arg1;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_gDeactivationTime_1get(JNIEnv *jenv, jclass jcls) {
jfloat jresult = 0 ;
btScalar result;
(void)jenv;
(void)jcls;
result = (btScalar)gDeactivationTime;
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_gDisableDeactivation_1set(JNIEnv *jenv, jclass jcls, jboolean jarg1) {
bool arg1 ;
(void)jenv;
(void)jcls;
arg1 = jarg1 ? true : false;
gDisableDeactivation = arg1;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_gDisableDeactivation_1get(JNIEnv *jenv, jclass jcls) {
jboolean jresult = 0 ;
bool result;
(void)jenv;
(void)jcls;
result = (bool)gDisableDeactivation;
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1btRigidBodyConstructionInfo_1mass_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btRigidBody::btRigidBodyConstructionInfo *arg1 = (btRigidBody::btRigidBodyConstructionInfo *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody::btRigidBodyConstructionInfo **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_mass = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1btRigidBodyConstructionInfo_1mass_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btRigidBody::btRigidBodyConstructionInfo *arg1 = (btRigidBody::btRigidBodyConstructionInfo *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody::btRigidBodyConstructionInfo **)&jarg1;
result = (btScalar) ((arg1)->m_mass);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1btRigidBodyConstructionInfo_1i_1motionState_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btRigidBody::btRigidBodyConstructionInfo *arg1 = (btRigidBody::btRigidBodyConstructionInfo *) 0 ;
btMotionState *arg2 = (btMotionState *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btRigidBody::btRigidBodyConstructionInfo **)&jarg1;
arg2 = *(btMotionState **)&jarg2;
if (arg1) (arg1)->m_motionState = arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1btRigidBodyConstructionInfo_1i_1motionState_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btRigidBody::btRigidBodyConstructionInfo *arg1 = (btRigidBody::btRigidBodyConstructionInfo *) 0 ;
btMotionState *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody::btRigidBodyConstructionInfo **)&jarg1;
result = (btMotionState *) ((arg1)->m_motionState);
*(btMotionState **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1btRigidBodyConstructionInfo_1startWorldTransform_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btRigidBody::btRigidBodyConstructionInfo *arg1 = (btRigidBody::btRigidBodyConstructionInfo *) 0 ;
btTransform *arg2 = (btTransform *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btRigidBody::btRigidBodyConstructionInfo **)&jarg1;
arg2 = *(btTransform **)&jarg2;
if (arg1) (arg1)->m_startWorldTransform = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1btRigidBodyConstructionInfo_1startWorldTransform_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btRigidBody::btRigidBodyConstructionInfo *arg1 = (btRigidBody::btRigidBodyConstructionInfo *) 0 ;
btTransform *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody::btRigidBodyConstructionInfo **)&jarg1;
result = (btTransform *)& ((arg1)->m_startWorldTransform);
*(btTransform **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1btRigidBodyConstructionInfo_1i_1collisionShape_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btRigidBody::btRigidBodyConstructionInfo *arg1 = (btRigidBody::btRigidBodyConstructionInfo *) 0 ;
btCollisionShape *arg2 = (btCollisionShape *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btRigidBody::btRigidBodyConstructionInfo **)&jarg1;
arg2 = *(btCollisionShape **)&jarg2;
if (arg1) (arg1)->m_collisionShape = arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1btRigidBodyConstructionInfo_1i_1collisionShape_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btRigidBody::btRigidBodyConstructionInfo *arg1 = (btRigidBody::btRigidBodyConstructionInfo *) 0 ;
btCollisionShape *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody::btRigidBodyConstructionInfo **)&jarg1;
result = (btCollisionShape *) ((arg1)->m_collisionShape);
*(btCollisionShape **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1btRigidBodyConstructionInfo_1localInertia_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btRigidBody::btRigidBodyConstructionInfo *arg1 = (btRigidBody::btRigidBodyConstructionInfo *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btRigidBody::btRigidBodyConstructionInfo **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->m_localInertia = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1btRigidBodyConstructionInfo_1localInertia_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btRigidBody::btRigidBodyConstructionInfo *arg1 = (btRigidBody::btRigidBodyConstructionInfo *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody::btRigidBodyConstructionInfo **)&jarg1;
result = (btVector3 *)& ((arg1)->m_localInertia);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1btRigidBodyConstructionInfo_1linearDamping_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btRigidBody::btRigidBodyConstructionInfo *arg1 = (btRigidBody::btRigidBodyConstructionInfo *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody::btRigidBodyConstructionInfo **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_linearDamping = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1btRigidBodyConstructionInfo_1linearDamping_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btRigidBody::btRigidBodyConstructionInfo *arg1 = (btRigidBody::btRigidBodyConstructionInfo *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody::btRigidBodyConstructionInfo **)&jarg1;
result = (btScalar) ((arg1)->m_linearDamping);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1btRigidBodyConstructionInfo_1angularDamping_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btRigidBody::btRigidBodyConstructionInfo *arg1 = (btRigidBody::btRigidBodyConstructionInfo *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody::btRigidBodyConstructionInfo **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_angularDamping = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1btRigidBodyConstructionInfo_1angularDamping_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btRigidBody::btRigidBodyConstructionInfo *arg1 = (btRigidBody::btRigidBodyConstructionInfo *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody::btRigidBodyConstructionInfo **)&jarg1;
result = (btScalar) ((arg1)->m_angularDamping);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1btRigidBodyConstructionInfo_1friction_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btRigidBody::btRigidBodyConstructionInfo *arg1 = (btRigidBody::btRigidBodyConstructionInfo *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody::btRigidBodyConstructionInfo **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_friction = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1btRigidBodyConstructionInfo_1friction_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btRigidBody::btRigidBodyConstructionInfo *arg1 = (btRigidBody::btRigidBodyConstructionInfo *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody::btRigidBodyConstructionInfo **)&jarg1;
result = (btScalar) ((arg1)->m_friction);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1btRigidBodyConstructionInfo_1rollingFriction_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btRigidBody::btRigidBodyConstructionInfo *arg1 = (btRigidBody::btRigidBodyConstructionInfo *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody::btRigidBodyConstructionInfo **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_rollingFriction = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1btRigidBodyConstructionInfo_1rollingFriction_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btRigidBody::btRigidBodyConstructionInfo *arg1 = (btRigidBody::btRigidBodyConstructionInfo *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody::btRigidBodyConstructionInfo **)&jarg1;
result = (btScalar) ((arg1)->m_rollingFriction);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1btRigidBodyConstructionInfo_1spinningFriction_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btRigidBody::btRigidBodyConstructionInfo *arg1 = (btRigidBody::btRigidBodyConstructionInfo *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody::btRigidBodyConstructionInfo **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_spinningFriction = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1btRigidBodyConstructionInfo_1spinningFriction_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btRigidBody::btRigidBodyConstructionInfo *arg1 = (btRigidBody::btRigidBodyConstructionInfo *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody::btRigidBodyConstructionInfo **)&jarg1;
result = (btScalar) ((arg1)->m_spinningFriction);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1btRigidBodyConstructionInfo_1restitution_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btRigidBody::btRigidBodyConstructionInfo *arg1 = (btRigidBody::btRigidBodyConstructionInfo *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody::btRigidBodyConstructionInfo **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_restitution = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1btRigidBodyConstructionInfo_1restitution_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btRigidBody::btRigidBodyConstructionInfo *arg1 = (btRigidBody::btRigidBodyConstructionInfo *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody::btRigidBodyConstructionInfo **)&jarg1;
result = (btScalar) ((arg1)->m_restitution);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1btRigidBodyConstructionInfo_1linearSleepingThreshold_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btRigidBody::btRigidBodyConstructionInfo *arg1 = (btRigidBody::btRigidBodyConstructionInfo *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody::btRigidBodyConstructionInfo **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_linearSleepingThreshold = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1btRigidBodyConstructionInfo_1linearSleepingThreshold_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btRigidBody::btRigidBodyConstructionInfo *arg1 = (btRigidBody::btRigidBodyConstructionInfo *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody::btRigidBodyConstructionInfo **)&jarg1;
result = (btScalar) ((arg1)->m_linearSleepingThreshold);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1btRigidBodyConstructionInfo_1angularSleepingThreshold_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btRigidBody::btRigidBodyConstructionInfo *arg1 = (btRigidBody::btRigidBodyConstructionInfo *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody::btRigidBodyConstructionInfo **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_angularSleepingThreshold = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1btRigidBodyConstructionInfo_1angularSleepingThreshold_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btRigidBody::btRigidBodyConstructionInfo *arg1 = (btRigidBody::btRigidBodyConstructionInfo *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody::btRigidBodyConstructionInfo **)&jarg1;
result = (btScalar) ((arg1)->m_angularSleepingThreshold);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1btRigidBodyConstructionInfo_1additionalDamping_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jboolean jarg2) {
btRigidBody::btRigidBodyConstructionInfo *arg1 = (btRigidBody::btRigidBodyConstructionInfo *) 0 ;
bool arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody::btRigidBodyConstructionInfo **)&jarg1;
arg2 = jarg2 ? true : false;
if (arg1) (arg1)->m_additionalDamping = arg2;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1btRigidBodyConstructionInfo_1additionalDamping_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jboolean jresult = 0 ;
btRigidBody::btRigidBodyConstructionInfo *arg1 = (btRigidBody::btRigidBodyConstructionInfo *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody::btRigidBodyConstructionInfo **)&jarg1;
result = (bool) ((arg1)->m_additionalDamping);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1btRigidBodyConstructionInfo_1additionalDampingFactor_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btRigidBody::btRigidBodyConstructionInfo *arg1 = (btRigidBody::btRigidBodyConstructionInfo *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody::btRigidBodyConstructionInfo **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_additionalDampingFactor = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1btRigidBodyConstructionInfo_1additionalDampingFactor_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btRigidBody::btRigidBodyConstructionInfo *arg1 = (btRigidBody::btRigidBodyConstructionInfo *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody::btRigidBodyConstructionInfo **)&jarg1;
result = (btScalar) ((arg1)->m_additionalDampingFactor);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1btRigidBodyConstructionInfo_1additionalLinearDampingThresholdSqr_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btRigidBody::btRigidBodyConstructionInfo *arg1 = (btRigidBody::btRigidBodyConstructionInfo *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody::btRigidBodyConstructionInfo **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_additionalLinearDampingThresholdSqr = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1btRigidBodyConstructionInfo_1additionalLinearDampingThresholdSqr_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btRigidBody::btRigidBodyConstructionInfo *arg1 = (btRigidBody::btRigidBodyConstructionInfo *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody::btRigidBodyConstructionInfo **)&jarg1;
result = (btScalar) ((arg1)->m_additionalLinearDampingThresholdSqr);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1btRigidBodyConstructionInfo_1additionalAngularDampingThresholdSqr_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btRigidBody::btRigidBodyConstructionInfo *arg1 = (btRigidBody::btRigidBodyConstructionInfo *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody::btRigidBodyConstructionInfo **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_additionalAngularDampingThresholdSqr = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1btRigidBodyConstructionInfo_1additionalAngularDampingThresholdSqr_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btRigidBody::btRigidBodyConstructionInfo *arg1 = (btRigidBody::btRigidBodyConstructionInfo *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody::btRigidBodyConstructionInfo **)&jarg1;
result = (btScalar) ((arg1)->m_additionalAngularDampingThresholdSqr);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1btRigidBodyConstructionInfo_1additionalAngularDampingFactor_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btRigidBody::btRigidBodyConstructionInfo *arg1 = (btRigidBody::btRigidBodyConstructionInfo *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody::btRigidBodyConstructionInfo **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_additionalAngularDampingFactor = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1btRigidBodyConstructionInfo_1additionalAngularDampingFactor_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btRigidBody::btRigidBodyConstructionInfo *arg1 = (btRigidBody::btRigidBodyConstructionInfo *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody::btRigidBodyConstructionInfo **)&jarg1;
result = (btScalar) ((arg1)->m_additionalAngularDampingFactor);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btRigidBody_1btRigidBodyConstructionInfo_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jboolean jarg1, jfloat jarg2, jlong jarg3, jobject jarg3_, jlong jarg4, jobject jarg4_, jobject jarg5) {
jlong jresult = 0 ;
bool arg1 ;
btScalar arg2 ;
btMotionState *arg3 = (btMotionState *) 0 ;
btCollisionShape *arg4 = (btCollisionShape *) 0 ;
btVector3 *arg5 = 0 ;
btRigidBody::btRigidBodyConstructionInfo *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg3_;
(void)jarg4_;
arg1 = jarg1 ? true : false;
arg2 = (btScalar)jarg2;
arg3 = *(btMotionState **)&jarg3;
arg4 = *(btCollisionShape **)&jarg4;
btVector3 local_arg5;
gdx_setbtVector3FromVector3(jenv, local_arg5, jarg5);
arg5 = &local_arg5;
gdxAutoCommitVector3 auto_commit_arg5(jenv, jarg5, &local_arg5);
result = (btRigidBody::btRigidBodyConstructionInfo *)new_btRigidBody_btRigidBodyConstructionInfo__SWIG_0(arg1,arg2,arg3,arg4,(btVector3 const &)*arg5);
*(btRigidBody::btRigidBodyConstructionInfo **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btRigidBody_1btRigidBodyConstructionInfo_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jboolean jarg1, jfloat jarg2, jlong jarg3, jobject jarg3_, jlong jarg4, jobject jarg4_) {
jlong jresult = 0 ;
bool arg1 ;
btScalar arg2 ;
btMotionState *arg3 = (btMotionState *) 0 ;
btCollisionShape *arg4 = (btCollisionShape *) 0 ;
btRigidBody::btRigidBodyConstructionInfo *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg3_;
(void)jarg4_;
arg1 = jarg1 ? true : false;
arg2 = (btScalar)jarg2;
arg3 = *(btMotionState **)&jarg3;
arg4 = *(btCollisionShape **)&jarg4;
result = (btRigidBody::btRigidBodyConstructionInfo *)new_btRigidBody_btRigidBodyConstructionInfo__SWIG_0(arg1,arg2,arg3,arg4);
*(btRigidBody::btRigidBodyConstructionInfo **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btRigidBody_1btRigidBodyConstructionInfo(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btRigidBody::btRigidBodyConstructionInfo *arg1 = (btRigidBody::btRigidBodyConstructionInfo *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btRigidBody::btRigidBodyConstructionInfo **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btRigidBody(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btRigidBody *arg1 = (btRigidBody *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btRigidBody **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1proceedToTransform(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btRigidBody *arg1 = (btRigidBody *) 0 ;
btTransform *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody **)&jarg1;
btTransform local_arg2;
gdx_setbtTransformFromMatrix4(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitMatrix4 auto_commit_arg2(jenv, jarg2, &local_arg2);
(arg1)->proceedToTransform((btTransform const &)*arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1predictIntegratedTransform(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2, jobject jarg3) {
btRigidBody *arg1 = (btRigidBody *) 0 ;
btScalar arg2 ;
btTransform *arg3 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody **)&jarg1;
arg2 = (btScalar)jarg2;
btTransform local_arg3;
gdx_setbtTransformFromMatrix4(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitMatrix4 auto_commit_arg3(jenv, jarg3, &local_arg3);
(arg1)->predictIntegratedTransform(arg2,*arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1saveKinematicState(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btRigidBody *arg1 = (btRigidBody *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody **)&jarg1;
arg2 = (btScalar)jarg2;
(arg1)->saveKinematicState(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1applyGravity(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
btRigidBody *arg1 = (btRigidBody *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody **)&jarg1;
(arg1)->applyGravity();
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1setGravity(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btRigidBody *arg1 = (btRigidBody *) 0 ;
btVector3 *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
(arg1)->setGravity((btVector3 const &)*arg2);
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1getGravity(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btRigidBody *arg1 = (btRigidBody *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody **)&jarg1;
result = (btVector3 *) &((btRigidBody const *)arg1)->getGravity();
jresult = gdx_getReturnVector3(jenv);
gdx_setVector3FrombtVector3(jenv, jresult, result);
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1setDamping(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2, jfloat jarg3) {
btRigidBody *arg1 = (btRigidBody *) 0 ;
btScalar arg2 ;
btScalar arg3 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody **)&jarg1;
arg2 = (btScalar)jarg2;
arg3 = (btScalar)jarg3;
(arg1)->setDamping(arg2,arg3);
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1getLinearDamping(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btRigidBody *arg1 = (btRigidBody *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody **)&jarg1;
result = (btScalar)((btRigidBody const *)arg1)->getLinearDamping();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1getAngularDamping(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btRigidBody *arg1 = (btRigidBody *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody **)&jarg1;
result = (btScalar)((btRigidBody const *)arg1)->getAngularDamping();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1getLinearSleepingThreshold(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btRigidBody *arg1 = (btRigidBody *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody **)&jarg1;
result = (btScalar)((btRigidBody const *)arg1)->getLinearSleepingThreshold();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1getAngularSleepingThreshold(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btRigidBody *arg1 = (btRigidBody *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody **)&jarg1;
result = (btScalar)((btRigidBody const *)arg1)->getAngularSleepingThreshold();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1applyDamping(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btRigidBody *arg1 = (btRigidBody *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody **)&jarg1;
arg2 = (btScalar)jarg2;
(arg1)->applyDamping(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1setMassProps(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2, jobject jarg3) {
btRigidBody *arg1 = (btRigidBody *) 0 ;
btScalar arg2 ;
btVector3 *arg3 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody **)&jarg1;
arg2 = (btScalar)jarg2;
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
(arg1)->setMassProps(arg2,(btVector3 const &)*arg3);
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1getLinearFactor(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btRigidBody *arg1 = (btRigidBody *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody **)&jarg1;
result = (btVector3 *) &((btRigidBody const *)arg1)->getLinearFactor();
jresult = gdx_getReturnVector3(jenv);
gdx_setVector3FrombtVector3(jenv, jresult, result);
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1setLinearFactor(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btRigidBody *arg1 = (btRigidBody *) 0 ;
btVector3 *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
(arg1)->setLinearFactor((btVector3 const &)*arg2);
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1getInvMass(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btRigidBody *arg1 = (btRigidBody *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody **)&jarg1;
result = (btScalar)((btRigidBody const *)arg1)->getInvMass();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1getInvInertiaTensorWorld(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btRigidBody *arg1 = (btRigidBody *) 0 ;
btMatrix3x3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody **)&jarg1;
result = (btMatrix3x3 *) &((btRigidBody const *)arg1)->getInvInertiaTensorWorld();
jresult = gdx_getReturnMatrix3(jenv);
gdx_setMatrix3FrombtMatrix3x3(jenv, jresult, result);
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1integrateVelocities(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btRigidBody *arg1 = (btRigidBody *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody **)&jarg1;
arg2 = (btScalar)jarg2;
(arg1)->integrateVelocities(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1setCenterOfMassTransform(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btRigidBody *arg1 = (btRigidBody *) 0 ;
btTransform *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody **)&jarg1;
btTransform local_arg2;
gdx_setbtTransformFromMatrix4(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitMatrix4 auto_commit_arg2(jenv, jarg2, &local_arg2);
(arg1)->setCenterOfMassTransform((btTransform const &)*arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1applyCentralForce(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btRigidBody *arg1 = (btRigidBody *) 0 ;
btVector3 *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
(arg1)->applyCentralForce((btVector3 const &)*arg2);
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1getTotalForce(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btRigidBody *arg1 = (btRigidBody *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody **)&jarg1;
result = (btVector3 *) &((btRigidBody const *)arg1)->getTotalForce();
jresult = gdx_getReturnVector3(jenv);
gdx_setVector3FrombtVector3(jenv, jresult, result);
return jresult;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1getTotalTorque(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btRigidBody *arg1 = (btRigidBody *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody **)&jarg1;
result = (btVector3 *) &((btRigidBody const *)arg1)->getTotalTorque();
jresult = gdx_getReturnVector3(jenv);
gdx_setVector3FrombtVector3(jenv, jresult, result);
return jresult;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1getInvInertiaDiagLocal(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btRigidBody *arg1 = (btRigidBody *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody **)&jarg1;
result = (btVector3 *) &((btRigidBody const *)arg1)->getInvInertiaDiagLocal();
jresult = gdx_getReturnVector3(jenv);
gdx_setVector3FrombtVector3(jenv, jresult, result);
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1setInvInertiaDiagLocal(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btRigidBody *arg1 = (btRigidBody *) 0 ;
btVector3 *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
(arg1)->setInvInertiaDiagLocal((btVector3 const &)*arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1setSleepingThresholds(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2, jfloat jarg3) {
btRigidBody *arg1 = (btRigidBody *) 0 ;
btScalar arg2 ;
btScalar arg3 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody **)&jarg1;
arg2 = (btScalar)jarg2;
arg3 = (btScalar)jarg3;
(arg1)->setSleepingThresholds(arg2,arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1applyTorque(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btRigidBody *arg1 = (btRigidBody *) 0 ;
btVector3 *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
(arg1)->applyTorque((btVector3 const &)*arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1applyForce(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jobject jarg3) {
btRigidBody *arg1 = (btRigidBody *) 0 ;
btVector3 *arg2 = 0 ;
btVector3 *arg3 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
(arg1)->applyForce((btVector3 const &)*arg2,(btVector3 const &)*arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1applyCentralImpulse(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btRigidBody *arg1 = (btRigidBody *) 0 ;
btVector3 *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
(arg1)->applyCentralImpulse((btVector3 const &)*arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1applyTorqueImpulse(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btRigidBody *arg1 = (btRigidBody *) 0 ;
btVector3 *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
(arg1)->applyTorqueImpulse((btVector3 const &)*arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1applyImpulse(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jobject jarg3) {
btRigidBody *arg1 = (btRigidBody *) 0 ;
btVector3 *arg2 = 0 ;
btVector3 *arg3 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
(arg1)->applyImpulse((btVector3 const &)*arg2,(btVector3 const &)*arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1clearForces(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
btRigidBody *arg1 = (btRigidBody *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody **)&jarg1;
(arg1)->clearForces();
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1updateInertiaTensor(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
btRigidBody *arg1 = (btRigidBody *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody **)&jarg1;
(arg1)->updateInertiaTensor();
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1getCenterOfMassPosition(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btRigidBody *arg1 = (btRigidBody *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody **)&jarg1;
result = (btVector3 *) &((btRigidBody const *)arg1)->getCenterOfMassPosition();
jresult = gdx_getReturnVector3(jenv);
gdx_setVector3FrombtVector3(jenv, jresult, result);
return jresult;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1getOrientation(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btRigidBody *arg1 = (btRigidBody *) 0 ;
btQuaternion result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody **)&jarg1;
result = ((btRigidBody const *)arg1)->getOrientation();
jresult = gdx_getReturnQuaternion(jenv);
gdx_setQuaternionFrombtQuaternion(jenv, jresult, result);
return jresult;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1getCenterOfMassTransform(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btRigidBody *arg1 = (btRigidBody *) 0 ;
btTransform *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody **)&jarg1;
result = (btTransform *) &((btRigidBody const *)arg1)->getCenterOfMassTransform();
jresult = gdx_getReturnMatrix4(jenv);
gdx_setMatrix4FrombtTransform(jenv, jresult, result);
return jresult;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1getLinearVelocity(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btRigidBody *arg1 = (btRigidBody *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody **)&jarg1;
result = (btVector3 *) &((btRigidBody const *)arg1)->getLinearVelocity();
jresult = gdx_getReturnVector3(jenv);
gdx_setVector3FrombtVector3(jenv, jresult, result);
return jresult;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1getAngularVelocity(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btRigidBody *arg1 = (btRigidBody *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody **)&jarg1;
result = (btVector3 *) &((btRigidBody const *)arg1)->getAngularVelocity();
jresult = gdx_getReturnVector3(jenv);
gdx_setVector3FrombtVector3(jenv, jresult, result);
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1setLinearVelocity(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btRigidBody *arg1 = (btRigidBody *) 0 ;
btVector3 *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
(arg1)->setLinearVelocity((btVector3 const &)*arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1setAngularVelocity(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btRigidBody *arg1 = (btRigidBody *) 0 ;
btVector3 *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
(arg1)->setAngularVelocity((btVector3 const &)*arg2);
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1getVelocityInLocalPoint(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
jobject jresult = 0 ;
btRigidBody *arg1 = (btRigidBody *) 0 ;
btVector3 *arg2 = 0 ;
btVector3 result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
result = ((btRigidBody const *)arg1)->getVelocityInLocalPoint((btVector3 const &)*arg2);
jresult = gdx_getReturnVector3(jenv);
gdx_setVector3FrombtVector3(jenv, jresult, result);
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1translate(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btRigidBody *arg1 = (btRigidBody *) 0 ;
btVector3 *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
(arg1)->translate((btVector3 const &)*arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1getAabb(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jobject jarg3) {
btRigidBody *arg1 = (btRigidBody *) 0 ;
btVector3 *arg2 = 0 ;
btVector3 *arg3 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
((btRigidBody const *)arg1)->getAabb(*arg2,*arg3);
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1computeImpulseDenominator(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jobject jarg3) {
jfloat jresult = 0 ;
btRigidBody *arg1 = (btRigidBody *) 0 ;
btVector3 *arg2 = 0 ;
btVector3 *arg3 = 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
result = (btScalar)((btRigidBody const *)arg1)->computeImpulseDenominator((btVector3 const &)*arg2,(btVector3 const &)*arg3);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1computeAngularImpulseDenominator(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
jfloat jresult = 0 ;
btRigidBody *arg1 = (btRigidBody *) 0 ;
btVector3 *arg2 = 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
result = (btScalar)((btRigidBody const *)arg1)->computeAngularImpulseDenominator((btVector3 const &)*arg2);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1updateDeactivation(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btRigidBody *arg1 = (btRigidBody *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody **)&jarg1;
arg2 = (btScalar)jarg2;
(arg1)->updateDeactivation(arg2);
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1wantsSleeping(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jboolean jresult = 0 ;
btRigidBody *arg1 = (btRigidBody *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody **)&jarg1;
result = (bool)(arg1)->wantsSleeping();
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1getBroadphaseProxyConst(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btRigidBody *arg1 = (btRigidBody *) 0 ;
btBroadphaseProxy *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody **)&jarg1;
result = (btBroadphaseProxy *)((btRigidBody const *)arg1)->getBroadphaseProxy();
*(btBroadphaseProxy **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1getBroadphaseProxy(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btRigidBody *arg1 = (btRigidBody *) 0 ;
btBroadphaseProxy *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody **)&jarg1;
result = (btBroadphaseProxy *)(arg1)->getBroadphaseProxy();
*(btBroadphaseProxy **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1setNewBroadphaseProxy(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btRigidBody *arg1 = (btRigidBody *) 0 ;
btBroadphaseProxy *arg2 = (btBroadphaseProxy *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btRigidBody **)&jarg1;
arg2 = *(btBroadphaseProxy **)&jarg2;
(arg1)->setNewBroadphaseProxy(arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1internalGetMotionState(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btRigidBody *arg1 = (btRigidBody *) 0 ;
btMotionState *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody **)&jarg1;
result = (btMotionState *)(arg1)->getMotionState();
*(btMotionState **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1getMotionStateConst(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btRigidBody *arg1 = (btRigidBody *) 0 ;
btMotionState *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody **)&jarg1;
result = (btMotionState *)((btRigidBody const *)arg1)->getMotionState();
*(btMotionState **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1internalSetMotionState(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btRigidBody *arg1 = (btRigidBody *) 0 ;
btMotionState *arg2 = (btMotionState *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btRigidBody **)&jarg1;
arg2 = *(btMotionState **)&jarg2;
(arg1)->setMotionState(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1contactSolverType_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btRigidBody *arg1 = (btRigidBody *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_contactSolverType = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1contactSolverType_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btRigidBody *arg1 = (btRigidBody *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody **)&jarg1;
result = (int) ((arg1)->m_contactSolverType);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1frictionSolverType_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btRigidBody *arg1 = (btRigidBody *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_frictionSolverType = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1frictionSolverType_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btRigidBody *arg1 = (btRigidBody *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody **)&jarg1;
result = (int) ((arg1)->m_frictionSolverType);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1setAngularFactor_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btRigidBody *arg1 = (btRigidBody *) 0 ;
btVector3 *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
(arg1)->setAngularFactor((btVector3 const &)*arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1setAngularFactor_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btRigidBody *arg1 = (btRigidBody *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody **)&jarg1;
arg2 = (btScalar)jarg2;
(arg1)->setAngularFactor(arg2);
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1getAngularFactor(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btRigidBody *arg1 = (btRigidBody *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody **)&jarg1;
result = (btVector3 *) &((btRigidBody const *)arg1)->getAngularFactor();
jresult = gdx_getReturnVector3(jenv);
gdx_setVector3FrombtVector3(jenv, jresult, result);
return jresult;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1isInWorld(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jboolean jresult = 0 ;
btRigidBody *arg1 = (btRigidBody *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody **)&jarg1;
result = (bool)((btRigidBody const *)arg1)->isInWorld();
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1addConstraintRef(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btRigidBody *arg1 = (btRigidBody *) 0 ;
btTypedConstraint *arg2 = (btTypedConstraint *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btRigidBody **)&jarg1;
arg2 = *(btTypedConstraint **)&jarg2;
(arg1)->addConstraintRef(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1removeConstraintRef(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btRigidBody *arg1 = (btRigidBody *) 0 ;
btTypedConstraint *arg2 = (btTypedConstraint *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btRigidBody **)&jarg1;
arg2 = *(btTypedConstraint **)&jarg2;
(arg1)->removeConstraintRef(arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1getConstraintRef(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jlong jresult = 0 ;
btRigidBody *arg1 = (btRigidBody *) 0 ;
int arg2 ;
btTypedConstraint *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody **)&jarg1;
arg2 = (int)jarg2;
result = (btTypedConstraint *)(arg1)->getConstraintRef(arg2);
*(btTypedConstraint **)&jresult = result;
return jresult;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1getNumConstraintRefs(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btRigidBody *arg1 = (btRigidBody *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody **)&jarg1;
result = (int)((btRigidBody const *)arg1)->getNumConstraintRefs();
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1setFlags(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btRigidBody *arg1 = (btRigidBody *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody **)&jarg1;
arg2 = (int)jarg2;
(arg1)->setFlags(arg2);
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1getFlags(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btRigidBody *arg1 = (btRigidBody *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody **)&jarg1;
result = (int)((btRigidBody const *)arg1)->getFlags();
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1computeGyroscopicImpulseImplicit_1World(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
jobject jresult = 0 ;
btRigidBody *arg1 = (btRigidBody *) 0 ;
btScalar arg2 ;
btVector3 result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody **)&jarg1;
arg2 = (btScalar)jarg2;
result = ((btRigidBody const *)arg1)->computeGyroscopicImpulseImplicit_World(arg2);
jresult = gdx_getReturnVector3(jenv);
gdx_setVector3FrombtVector3(jenv, jresult, result);
return jresult;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1computeGyroscopicImpulseImplicit_1Body(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
jobject jresult = 0 ;
btRigidBody *arg1 = (btRigidBody *) 0 ;
btScalar arg2 ;
btVector3 result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody **)&jarg1;
arg2 = (btScalar)jarg2;
result = ((btRigidBody const *)arg1)->computeGyroscopicImpulseImplicit_Body(arg2);
jresult = gdx_getReturnVector3(jenv);
gdx_setVector3FrombtVector3(jenv, jresult, result);
return jresult;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1computeGyroscopicForceExplicit(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
jobject jresult = 0 ;
btRigidBody *arg1 = (btRigidBody *) 0 ;
btScalar arg2 ;
btVector3 result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody **)&jarg1;
arg2 = (btScalar)jarg2;
result = ((btRigidBody const *)arg1)->computeGyroscopicForceExplicit(arg2);
jresult = gdx_getReturnVector3(jenv);
gdx_setVector3FrombtVector3(jenv, jresult, result);
return jresult;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1getLocalInertia(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btRigidBody *arg1 = (btRigidBody *) 0 ;
btVector3 result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody **)&jarg1;
result = ((btRigidBody const *)arg1)->getLocalInertia();
jresult = gdx_getReturnVector3(jenv);
gdx_setVector3FrombtVector3(jenv, jresult, result);
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btRigidBody_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jboolean jarg1, jlong jarg2, jobject jarg2_) {
jlong jresult = 0 ;
bool arg1 ;
btRigidBody::btRigidBodyConstructionInfo *arg2 = 0 ;
btRigidBody *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg2_;
arg1 = jarg1 ? true : false;
arg2 = *(btRigidBody::btRigidBodyConstructionInfo **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btRigidBody::btRigidBodyConstructionInfo const & reference is null");
return 0;
}
result = (btRigidBody *)new_btRigidBody__SWIG_0(arg1,(btRigidBody::btRigidBodyConstructionInfo const &)*arg2);
*(btRigidBody **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btRigidBody_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jboolean jarg1, jfloat jarg2, jlong jarg3, jobject jarg3_, jlong jarg4, jobject jarg4_, jobject jarg5) {
jlong jresult = 0 ;
bool arg1 ;
btScalar arg2 ;
btMotionState *arg3 = (btMotionState *) 0 ;
btCollisionShape *arg4 = (btCollisionShape *) 0 ;
btVector3 *arg5 = 0 ;
btRigidBody *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg3_;
(void)jarg4_;
arg1 = jarg1 ? true : false;
arg2 = (btScalar)jarg2;
arg3 = *(btMotionState **)&jarg3;
arg4 = *(btCollisionShape **)&jarg4;
btVector3 local_arg5;
gdx_setbtVector3FromVector3(jenv, local_arg5, jarg5);
arg5 = &local_arg5;
gdxAutoCommitVector3 auto_commit_arg5(jenv, jarg5, &local_arg5);
result = (btRigidBody *)new_btRigidBody__SWIG_1(arg1,arg2,arg3,arg4,(btVector3 const &)*arg5);
*(btRigidBody **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btRigidBody_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jboolean jarg1, jfloat jarg2, jlong jarg3, jobject jarg3_, jlong jarg4, jobject jarg4_) {
jlong jresult = 0 ;
bool arg1 ;
btScalar arg2 ;
btMotionState *arg3 = (btMotionState *) 0 ;
btCollisionShape *arg4 = (btCollisionShape *) 0 ;
btRigidBody *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg3_;
(void)jarg4_;
arg1 = jarg1 ? true : false;
arg2 = (btScalar)jarg2;
arg3 = *(btMotionState **)&jarg3;
arg4 = *(btCollisionShape **)&jarg4;
result = (btRigidBody *)new_btRigidBody__SWIG_1(arg1,arg2,arg3,arg4);
*(btRigidBody **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyFloatData_1collisionObjectData_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btRigidBodyFloatData *arg1 = (btRigidBodyFloatData *) 0 ;
btCollisionObjectFloatData *arg2 = (btCollisionObjectFloatData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btRigidBodyFloatData **)&jarg1;
arg2 = *(btCollisionObjectFloatData **)&jarg2;
if (arg1) (arg1)->m_collisionObjectData = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyFloatData_1collisionObjectData_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btRigidBodyFloatData *arg1 = (btRigidBodyFloatData *) 0 ;
btCollisionObjectFloatData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBodyFloatData **)&jarg1;
result = (btCollisionObjectFloatData *)& ((arg1)->m_collisionObjectData);
*(btCollisionObjectFloatData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyFloatData_1invInertiaTensorWorld_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btRigidBodyFloatData *arg1 = (btRigidBodyFloatData *) 0 ;
btMatrix3x3FloatData *arg2 = (btMatrix3x3FloatData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btRigidBodyFloatData **)&jarg1;
arg2 = *(btMatrix3x3FloatData **)&jarg2;
if (arg1) (arg1)->m_invInertiaTensorWorld = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyFloatData_1invInertiaTensorWorld_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btRigidBodyFloatData *arg1 = (btRigidBodyFloatData *) 0 ;
btMatrix3x3FloatData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBodyFloatData **)&jarg1;
result = (btMatrix3x3FloatData *)& ((arg1)->m_invInertiaTensorWorld);
*(btMatrix3x3FloatData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyFloatData_1linearVelocity_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btRigidBodyFloatData *arg1 = (btRigidBodyFloatData *) 0 ;
btVector3FloatData *arg2 = (btVector3FloatData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btRigidBodyFloatData **)&jarg1;
arg2 = *(btVector3FloatData **)&jarg2;
if (arg1) (arg1)->m_linearVelocity = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyFloatData_1linearVelocity_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btRigidBodyFloatData *arg1 = (btRigidBodyFloatData *) 0 ;
btVector3FloatData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBodyFloatData **)&jarg1;
result = (btVector3FloatData *)& ((arg1)->m_linearVelocity);
*(btVector3FloatData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyFloatData_1angularVelocity_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btRigidBodyFloatData *arg1 = (btRigidBodyFloatData *) 0 ;
btVector3FloatData *arg2 = (btVector3FloatData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btRigidBodyFloatData **)&jarg1;
arg2 = *(btVector3FloatData **)&jarg2;
if (arg1) (arg1)->m_angularVelocity = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyFloatData_1angularVelocity_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btRigidBodyFloatData *arg1 = (btRigidBodyFloatData *) 0 ;
btVector3FloatData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBodyFloatData **)&jarg1;
result = (btVector3FloatData *)& ((arg1)->m_angularVelocity);
*(btVector3FloatData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyFloatData_1angularFactor_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btRigidBodyFloatData *arg1 = (btRigidBodyFloatData *) 0 ;
btVector3FloatData *arg2 = (btVector3FloatData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btRigidBodyFloatData **)&jarg1;
arg2 = *(btVector3FloatData **)&jarg2;
if (arg1) (arg1)->m_angularFactor = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyFloatData_1angularFactor_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btRigidBodyFloatData *arg1 = (btRigidBodyFloatData *) 0 ;
btVector3FloatData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBodyFloatData **)&jarg1;
result = (btVector3FloatData *)& ((arg1)->m_angularFactor);
*(btVector3FloatData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyFloatData_1linearFactor_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btRigidBodyFloatData *arg1 = (btRigidBodyFloatData *) 0 ;
btVector3FloatData *arg2 = (btVector3FloatData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btRigidBodyFloatData **)&jarg1;
arg2 = *(btVector3FloatData **)&jarg2;
if (arg1) (arg1)->m_linearFactor = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyFloatData_1linearFactor_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btRigidBodyFloatData *arg1 = (btRigidBodyFloatData *) 0 ;
btVector3FloatData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBodyFloatData **)&jarg1;
result = (btVector3FloatData *)& ((arg1)->m_linearFactor);
*(btVector3FloatData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyFloatData_1gravity_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btRigidBodyFloatData *arg1 = (btRigidBodyFloatData *) 0 ;
btVector3FloatData *arg2 = (btVector3FloatData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btRigidBodyFloatData **)&jarg1;
arg2 = *(btVector3FloatData **)&jarg2;
if (arg1) (arg1)->m_gravity = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyFloatData_1gravity_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btRigidBodyFloatData *arg1 = (btRigidBodyFloatData *) 0 ;
btVector3FloatData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBodyFloatData **)&jarg1;
result = (btVector3FloatData *)& ((arg1)->m_gravity);
*(btVector3FloatData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyFloatData_1gravity_1acceleration_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btRigidBodyFloatData *arg1 = (btRigidBodyFloatData *) 0 ;
btVector3FloatData *arg2 = (btVector3FloatData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btRigidBodyFloatData **)&jarg1;
arg2 = *(btVector3FloatData **)&jarg2;
if (arg1) (arg1)->m_gravity_acceleration = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyFloatData_1gravity_1acceleration_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btRigidBodyFloatData *arg1 = (btRigidBodyFloatData *) 0 ;
btVector3FloatData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBodyFloatData **)&jarg1;
result = (btVector3FloatData *)& ((arg1)->m_gravity_acceleration);
*(btVector3FloatData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyFloatData_1invInertiaLocal_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btRigidBodyFloatData *arg1 = (btRigidBodyFloatData *) 0 ;
btVector3FloatData *arg2 = (btVector3FloatData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btRigidBodyFloatData **)&jarg1;
arg2 = *(btVector3FloatData **)&jarg2;
if (arg1) (arg1)->m_invInertiaLocal = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyFloatData_1invInertiaLocal_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btRigidBodyFloatData *arg1 = (btRigidBodyFloatData *) 0 ;
btVector3FloatData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBodyFloatData **)&jarg1;
result = (btVector3FloatData *)& ((arg1)->m_invInertiaLocal);
*(btVector3FloatData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyFloatData_1totalForce_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btRigidBodyFloatData *arg1 = (btRigidBodyFloatData *) 0 ;
btVector3FloatData *arg2 = (btVector3FloatData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btRigidBodyFloatData **)&jarg1;
arg2 = *(btVector3FloatData **)&jarg2;
if (arg1) (arg1)->m_totalForce = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyFloatData_1totalForce_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btRigidBodyFloatData *arg1 = (btRigidBodyFloatData *) 0 ;
btVector3FloatData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBodyFloatData **)&jarg1;
result = (btVector3FloatData *)& ((arg1)->m_totalForce);
*(btVector3FloatData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyFloatData_1totalTorque_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btRigidBodyFloatData *arg1 = (btRigidBodyFloatData *) 0 ;
btVector3FloatData *arg2 = (btVector3FloatData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btRigidBodyFloatData **)&jarg1;
arg2 = *(btVector3FloatData **)&jarg2;
if (arg1) (arg1)->m_totalTorque = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyFloatData_1totalTorque_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btRigidBodyFloatData *arg1 = (btRigidBodyFloatData *) 0 ;
btVector3FloatData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBodyFloatData **)&jarg1;
result = (btVector3FloatData *)& ((arg1)->m_totalTorque);
*(btVector3FloatData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyFloatData_1inverseMass_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btRigidBodyFloatData *arg1 = (btRigidBodyFloatData *) 0 ;
float arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBodyFloatData **)&jarg1;
arg2 = (float)jarg2;
if (arg1) (arg1)->m_inverseMass = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyFloatData_1inverseMass_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btRigidBodyFloatData *arg1 = (btRigidBodyFloatData *) 0 ;
float result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBodyFloatData **)&jarg1;
result = (float) ((arg1)->m_inverseMass);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyFloatData_1linearDamping_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btRigidBodyFloatData *arg1 = (btRigidBodyFloatData *) 0 ;
float arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBodyFloatData **)&jarg1;
arg2 = (float)jarg2;
if (arg1) (arg1)->m_linearDamping = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyFloatData_1linearDamping_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btRigidBodyFloatData *arg1 = (btRigidBodyFloatData *) 0 ;
float result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBodyFloatData **)&jarg1;
result = (float) ((arg1)->m_linearDamping);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyFloatData_1angularDamping_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btRigidBodyFloatData *arg1 = (btRigidBodyFloatData *) 0 ;
float arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBodyFloatData **)&jarg1;
arg2 = (float)jarg2;
if (arg1) (arg1)->m_angularDamping = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyFloatData_1angularDamping_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btRigidBodyFloatData *arg1 = (btRigidBodyFloatData *) 0 ;
float result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBodyFloatData **)&jarg1;
result = (float) ((arg1)->m_angularDamping);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyFloatData_1additionalDampingFactor_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btRigidBodyFloatData *arg1 = (btRigidBodyFloatData *) 0 ;
float arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBodyFloatData **)&jarg1;
arg2 = (float)jarg2;
if (arg1) (arg1)->m_additionalDampingFactor = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyFloatData_1additionalDampingFactor_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btRigidBodyFloatData *arg1 = (btRigidBodyFloatData *) 0 ;
float result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBodyFloatData **)&jarg1;
result = (float) ((arg1)->m_additionalDampingFactor);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyFloatData_1additionalLinearDampingThresholdSqr_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btRigidBodyFloatData *arg1 = (btRigidBodyFloatData *) 0 ;
float arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBodyFloatData **)&jarg1;
arg2 = (float)jarg2;
if (arg1) (arg1)->m_additionalLinearDampingThresholdSqr = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyFloatData_1additionalLinearDampingThresholdSqr_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btRigidBodyFloatData *arg1 = (btRigidBodyFloatData *) 0 ;
float result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBodyFloatData **)&jarg1;
result = (float) ((arg1)->m_additionalLinearDampingThresholdSqr);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyFloatData_1additionalAngularDampingThresholdSqr_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btRigidBodyFloatData *arg1 = (btRigidBodyFloatData *) 0 ;
float arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBodyFloatData **)&jarg1;
arg2 = (float)jarg2;
if (arg1) (arg1)->m_additionalAngularDampingThresholdSqr = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyFloatData_1additionalAngularDampingThresholdSqr_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btRigidBodyFloatData *arg1 = (btRigidBodyFloatData *) 0 ;
float result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBodyFloatData **)&jarg1;
result = (float) ((arg1)->m_additionalAngularDampingThresholdSqr);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyFloatData_1additionalAngularDampingFactor_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btRigidBodyFloatData *arg1 = (btRigidBodyFloatData *) 0 ;
float arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBodyFloatData **)&jarg1;
arg2 = (float)jarg2;
if (arg1) (arg1)->m_additionalAngularDampingFactor = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyFloatData_1additionalAngularDampingFactor_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btRigidBodyFloatData *arg1 = (btRigidBodyFloatData *) 0 ;
float result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBodyFloatData **)&jarg1;
result = (float) ((arg1)->m_additionalAngularDampingFactor);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyFloatData_1linearSleepingThreshold_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btRigidBodyFloatData *arg1 = (btRigidBodyFloatData *) 0 ;
float arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBodyFloatData **)&jarg1;
arg2 = (float)jarg2;
if (arg1) (arg1)->m_linearSleepingThreshold = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyFloatData_1linearSleepingThreshold_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btRigidBodyFloatData *arg1 = (btRigidBodyFloatData *) 0 ;
float result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBodyFloatData **)&jarg1;
result = (float) ((arg1)->m_linearSleepingThreshold);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyFloatData_1angularSleepingThreshold_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btRigidBodyFloatData *arg1 = (btRigidBodyFloatData *) 0 ;
float arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBodyFloatData **)&jarg1;
arg2 = (float)jarg2;
if (arg1) (arg1)->m_angularSleepingThreshold = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyFloatData_1angularSleepingThreshold_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btRigidBodyFloatData *arg1 = (btRigidBodyFloatData *) 0 ;
float result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBodyFloatData **)&jarg1;
result = (float) ((arg1)->m_angularSleepingThreshold);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyFloatData_1additionalDamping_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btRigidBodyFloatData *arg1 = (btRigidBodyFloatData *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBodyFloatData **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_additionalDamping = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyFloatData_1additionalDamping_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btRigidBodyFloatData *arg1 = (btRigidBodyFloatData *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBodyFloatData **)&jarg1;
result = (int) ((arg1)->m_additionalDamping);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btRigidBodyFloatData(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btRigidBodyFloatData *result = 0 ;
(void)jenv;
(void)jcls;
result = (btRigidBodyFloatData *)new btRigidBodyFloatData();
*(btRigidBodyFloatData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btRigidBodyFloatData(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btRigidBodyFloatData *arg1 = (btRigidBodyFloatData *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btRigidBodyFloatData **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyDoubleData_1collisionObjectData_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btRigidBodyDoubleData *arg1 = (btRigidBodyDoubleData *) 0 ;
btCollisionObjectDoubleData *arg2 = (btCollisionObjectDoubleData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btRigidBodyDoubleData **)&jarg1;
arg2 = *(btCollisionObjectDoubleData **)&jarg2;
if (arg1) (arg1)->m_collisionObjectData = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyDoubleData_1collisionObjectData_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btRigidBodyDoubleData *arg1 = (btRigidBodyDoubleData *) 0 ;
btCollisionObjectDoubleData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBodyDoubleData **)&jarg1;
result = (btCollisionObjectDoubleData *)& ((arg1)->m_collisionObjectData);
*(btCollisionObjectDoubleData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyDoubleData_1invInertiaTensorWorld_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btRigidBodyDoubleData *arg1 = (btRigidBodyDoubleData *) 0 ;
btMatrix3x3DoubleData *arg2 = (btMatrix3x3DoubleData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btRigidBodyDoubleData **)&jarg1;
arg2 = *(btMatrix3x3DoubleData **)&jarg2;
if (arg1) (arg1)->m_invInertiaTensorWorld = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyDoubleData_1invInertiaTensorWorld_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btRigidBodyDoubleData *arg1 = (btRigidBodyDoubleData *) 0 ;
btMatrix3x3DoubleData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBodyDoubleData **)&jarg1;
result = (btMatrix3x3DoubleData *)& ((arg1)->m_invInertiaTensorWorld);
*(btMatrix3x3DoubleData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyDoubleData_1linearVelocity_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btRigidBodyDoubleData *arg1 = (btRigidBodyDoubleData *) 0 ;
btVector3DoubleData *arg2 = (btVector3DoubleData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btRigidBodyDoubleData **)&jarg1;
arg2 = *(btVector3DoubleData **)&jarg2;
if (arg1) (arg1)->m_linearVelocity = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyDoubleData_1linearVelocity_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btRigidBodyDoubleData *arg1 = (btRigidBodyDoubleData *) 0 ;
btVector3DoubleData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBodyDoubleData **)&jarg1;
result = (btVector3DoubleData *)& ((arg1)->m_linearVelocity);
*(btVector3DoubleData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyDoubleData_1angularVelocity_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btRigidBodyDoubleData *arg1 = (btRigidBodyDoubleData *) 0 ;
btVector3DoubleData *arg2 = (btVector3DoubleData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btRigidBodyDoubleData **)&jarg1;
arg2 = *(btVector3DoubleData **)&jarg2;
if (arg1) (arg1)->m_angularVelocity = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyDoubleData_1angularVelocity_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btRigidBodyDoubleData *arg1 = (btRigidBodyDoubleData *) 0 ;
btVector3DoubleData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBodyDoubleData **)&jarg1;
result = (btVector3DoubleData *)& ((arg1)->m_angularVelocity);
*(btVector3DoubleData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyDoubleData_1angularFactor_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btRigidBodyDoubleData *arg1 = (btRigidBodyDoubleData *) 0 ;
btVector3DoubleData *arg2 = (btVector3DoubleData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btRigidBodyDoubleData **)&jarg1;
arg2 = *(btVector3DoubleData **)&jarg2;
if (arg1) (arg1)->m_angularFactor = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyDoubleData_1angularFactor_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btRigidBodyDoubleData *arg1 = (btRigidBodyDoubleData *) 0 ;
btVector3DoubleData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBodyDoubleData **)&jarg1;
result = (btVector3DoubleData *)& ((arg1)->m_angularFactor);
*(btVector3DoubleData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyDoubleData_1linearFactor_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btRigidBodyDoubleData *arg1 = (btRigidBodyDoubleData *) 0 ;
btVector3DoubleData *arg2 = (btVector3DoubleData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btRigidBodyDoubleData **)&jarg1;
arg2 = *(btVector3DoubleData **)&jarg2;
if (arg1) (arg1)->m_linearFactor = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyDoubleData_1linearFactor_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btRigidBodyDoubleData *arg1 = (btRigidBodyDoubleData *) 0 ;
btVector3DoubleData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBodyDoubleData **)&jarg1;
result = (btVector3DoubleData *)& ((arg1)->m_linearFactor);
*(btVector3DoubleData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyDoubleData_1gravity_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btRigidBodyDoubleData *arg1 = (btRigidBodyDoubleData *) 0 ;
btVector3DoubleData *arg2 = (btVector3DoubleData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btRigidBodyDoubleData **)&jarg1;
arg2 = *(btVector3DoubleData **)&jarg2;
if (arg1) (arg1)->m_gravity = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyDoubleData_1gravity_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btRigidBodyDoubleData *arg1 = (btRigidBodyDoubleData *) 0 ;
btVector3DoubleData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBodyDoubleData **)&jarg1;
result = (btVector3DoubleData *)& ((arg1)->m_gravity);
*(btVector3DoubleData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyDoubleData_1gravity_1acceleration_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btRigidBodyDoubleData *arg1 = (btRigidBodyDoubleData *) 0 ;
btVector3DoubleData *arg2 = (btVector3DoubleData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btRigidBodyDoubleData **)&jarg1;
arg2 = *(btVector3DoubleData **)&jarg2;
if (arg1) (arg1)->m_gravity_acceleration = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyDoubleData_1gravity_1acceleration_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btRigidBodyDoubleData *arg1 = (btRigidBodyDoubleData *) 0 ;
btVector3DoubleData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBodyDoubleData **)&jarg1;
result = (btVector3DoubleData *)& ((arg1)->m_gravity_acceleration);
*(btVector3DoubleData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyDoubleData_1invInertiaLocal_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btRigidBodyDoubleData *arg1 = (btRigidBodyDoubleData *) 0 ;
btVector3DoubleData *arg2 = (btVector3DoubleData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btRigidBodyDoubleData **)&jarg1;
arg2 = *(btVector3DoubleData **)&jarg2;
if (arg1) (arg1)->m_invInertiaLocal = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyDoubleData_1invInertiaLocal_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btRigidBodyDoubleData *arg1 = (btRigidBodyDoubleData *) 0 ;
btVector3DoubleData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBodyDoubleData **)&jarg1;
result = (btVector3DoubleData *)& ((arg1)->m_invInertiaLocal);
*(btVector3DoubleData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyDoubleData_1totalForce_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btRigidBodyDoubleData *arg1 = (btRigidBodyDoubleData *) 0 ;
btVector3DoubleData *arg2 = (btVector3DoubleData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btRigidBodyDoubleData **)&jarg1;
arg2 = *(btVector3DoubleData **)&jarg2;
if (arg1) (arg1)->m_totalForce = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyDoubleData_1totalForce_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btRigidBodyDoubleData *arg1 = (btRigidBodyDoubleData *) 0 ;
btVector3DoubleData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBodyDoubleData **)&jarg1;
result = (btVector3DoubleData *)& ((arg1)->m_totalForce);
*(btVector3DoubleData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyDoubleData_1totalTorque_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btRigidBodyDoubleData *arg1 = (btRigidBodyDoubleData *) 0 ;
btVector3DoubleData *arg2 = (btVector3DoubleData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btRigidBodyDoubleData **)&jarg1;
arg2 = *(btVector3DoubleData **)&jarg2;
if (arg1) (arg1)->m_totalTorque = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyDoubleData_1totalTorque_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btRigidBodyDoubleData *arg1 = (btRigidBodyDoubleData *) 0 ;
btVector3DoubleData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBodyDoubleData **)&jarg1;
result = (btVector3DoubleData *)& ((arg1)->m_totalTorque);
*(btVector3DoubleData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyDoubleData_1inverseMass_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2) {
btRigidBodyDoubleData *arg1 = (btRigidBodyDoubleData *) 0 ;
double arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBodyDoubleData **)&jarg1;
arg2 = (double)jarg2;
if (arg1) (arg1)->m_inverseMass = arg2;
}
SWIGEXPORT jdouble JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyDoubleData_1inverseMass_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jdouble jresult = 0 ;
btRigidBodyDoubleData *arg1 = (btRigidBodyDoubleData *) 0 ;
double result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBodyDoubleData **)&jarg1;
result = (double) ((arg1)->m_inverseMass);
jresult = (jdouble)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyDoubleData_1linearDamping_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2) {
btRigidBodyDoubleData *arg1 = (btRigidBodyDoubleData *) 0 ;
double arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBodyDoubleData **)&jarg1;
arg2 = (double)jarg2;
if (arg1) (arg1)->m_linearDamping = arg2;
}
SWIGEXPORT jdouble JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyDoubleData_1linearDamping_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jdouble jresult = 0 ;
btRigidBodyDoubleData *arg1 = (btRigidBodyDoubleData *) 0 ;
double result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBodyDoubleData **)&jarg1;
result = (double) ((arg1)->m_linearDamping);
jresult = (jdouble)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyDoubleData_1angularDamping_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2) {
btRigidBodyDoubleData *arg1 = (btRigidBodyDoubleData *) 0 ;
double arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBodyDoubleData **)&jarg1;
arg2 = (double)jarg2;
if (arg1) (arg1)->m_angularDamping = arg2;
}
SWIGEXPORT jdouble JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyDoubleData_1angularDamping_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jdouble jresult = 0 ;
btRigidBodyDoubleData *arg1 = (btRigidBodyDoubleData *) 0 ;
double result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBodyDoubleData **)&jarg1;
result = (double) ((arg1)->m_angularDamping);
jresult = (jdouble)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyDoubleData_1additionalDampingFactor_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2) {
btRigidBodyDoubleData *arg1 = (btRigidBodyDoubleData *) 0 ;
double arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBodyDoubleData **)&jarg1;
arg2 = (double)jarg2;
if (arg1) (arg1)->m_additionalDampingFactor = arg2;
}
SWIGEXPORT jdouble JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyDoubleData_1additionalDampingFactor_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jdouble jresult = 0 ;
btRigidBodyDoubleData *arg1 = (btRigidBodyDoubleData *) 0 ;
double result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBodyDoubleData **)&jarg1;
result = (double) ((arg1)->m_additionalDampingFactor);
jresult = (jdouble)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyDoubleData_1additionalLinearDampingThresholdSqr_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2) {
btRigidBodyDoubleData *arg1 = (btRigidBodyDoubleData *) 0 ;
double arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBodyDoubleData **)&jarg1;
arg2 = (double)jarg2;
if (arg1) (arg1)->m_additionalLinearDampingThresholdSqr = arg2;
}
SWIGEXPORT jdouble JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyDoubleData_1additionalLinearDampingThresholdSqr_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jdouble jresult = 0 ;
btRigidBodyDoubleData *arg1 = (btRigidBodyDoubleData *) 0 ;
double result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBodyDoubleData **)&jarg1;
result = (double) ((arg1)->m_additionalLinearDampingThresholdSqr);
jresult = (jdouble)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyDoubleData_1additionalAngularDampingThresholdSqr_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2) {
btRigidBodyDoubleData *arg1 = (btRigidBodyDoubleData *) 0 ;
double arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBodyDoubleData **)&jarg1;
arg2 = (double)jarg2;
if (arg1) (arg1)->m_additionalAngularDampingThresholdSqr = arg2;
}
SWIGEXPORT jdouble JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyDoubleData_1additionalAngularDampingThresholdSqr_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jdouble jresult = 0 ;
btRigidBodyDoubleData *arg1 = (btRigidBodyDoubleData *) 0 ;
double result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBodyDoubleData **)&jarg1;
result = (double) ((arg1)->m_additionalAngularDampingThresholdSqr);
jresult = (jdouble)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyDoubleData_1additionalAngularDampingFactor_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2) {
btRigidBodyDoubleData *arg1 = (btRigidBodyDoubleData *) 0 ;
double arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBodyDoubleData **)&jarg1;
arg2 = (double)jarg2;
if (arg1) (arg1)->m_additionalAngularDampingFactor = arg2;
}
SWIGEXPORT jdouble JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyDoubleData_1additionalAngularDampingFactor_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jdouble jresult = 0 ;
btRigidBodyDoubleData *arg1 = (btRigidBodyDoubleData *) 0 ;
double result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBodyDoubleData **)&jarg1;
result = (double) ((arg1)->m_additionalAngularDampingFactor);
jresult = (jdouble)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyDoubleData_1linearSleepingThreshold_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2) {
btRigidBodyDoubleData *arg1 = (btRigidBodyDoubleData *) 0 ;
double arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBodyDoubleData **)&jarg1;
arg2 = (double)jarg2;
if (arg1) (arg1)->m_linearSleepingThreshold = arg2;
}
SWIGEXPORT jdouble JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyDoubleData_1linearSleepingThreshold_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jdouble jresult = 0 ;
btRigidBodyDoubleData *arg1 = (btRigidBodyDoubleData *) 0 ;
double result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBodyDoubleData **)&jarg1;
result = (double) ((arg1)->m_linearSleepingThreshold);
jresult = (jdouble)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyDoubleData_1angularSleepingThreshold_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2) {
btRigidBodyDoubleData *arg1 = (btRigidBodyDoubleData *) 0 ;
double arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBodyDoubleData **)&jarg1;
arg2 = (double)jarg2;
if (arg1) (arg1)->m_angularSleepingThreshold = arg2;
}
SWIGEXPORT jdouble JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyDoubleData_1angularSleepingThreshold_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jdouble jresult = 0 ;
btRigidBodyDoubleData *arg1 = (btRigidBodyDoubleData *) 0 ;
double result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBodyDoubleData **)&jarg1;
result = (double) ((arg1)->m_angularSleepingThreshold);
jresult = (jdouble)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyDoubleData_1additionalDamping_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btRigidBodyDoubleData *arg1 = (btRigidBodyDoubleData *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBodyDoubleData **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_additionalDamping = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyDoubleData_1additionalDamping_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btRigidBodyDoubleData *arg1 = (btRigidBodyDoubleData *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBodyDoubleData **)&jarg1;
result = (int) ((arg1)->m_additionalDamping);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyDoubleData_1padding_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
btRigidBodyDoubleData *arg1 = (btRigidBodyDoubleData *) 0 ;
char *arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBodyDoubleData **)&jarg1;
arg2 = 0;
if (jarg2) {
arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
if (!arg2) return ;
}
{
if(arg2) {
strncpy((char*)arg1->m_padding, (const char *)arg2, 4-1);
arg1->m_padding[4-1] = 0;
} else {
arg1->m_padding[0] = 0;
}
}
if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
}
SWIGEXPORT jstring JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyDoubleData_1padding_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jstring jresult = 0 ;
btRigidBodyDoubleData *arg1 = (btRigidBodyDoubleData *) 0 ;
char *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBodyDoubleData **)&jarg1;
result = (char *)(char *) ((arg1)->m_padding);
if (result) jresult = jenv->NewStringUTF((const char *)result);
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btRigidBodyDoubleData(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btRigidBodyDoubleData *result = 0 ;
(void)jenv;
(void)jcls;
result = (btRigidBodyDoubleData *)new btRigidBodyDoubleData();
*(btRigidBodyDoubleData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btRigidBodyDoubleData(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btRigidBodyDoubleData *arg1 = (btRigidBodyDoubleData *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btRigidBodyDoubleData **)&jarg1;
delete arg1;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btJointFeedback_1operatorNew_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btJointFeedback *arg1 = (btJointFeedback *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btJointFeedback **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new(arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btJointFeedback_1operatorDelete_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btJointFeedback *arg1 = (btJointFeedback *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btJointFeedback **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete(arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btJointFeedback_1operatorNew_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btJointFeedback *arg1 = (btJointFeedback *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btJointFeedback **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new(arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btJointFeedback_1operatorDelete_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btJointFeedback *arg1 = (btJointFeedback *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btJointFeedback **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete(arg2,arg3);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btJointFeedback_1operatorNewArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btJointFeedback *arg1 = (btJointFeedback *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btJointFeedback **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new[](arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btJointFeedback_1operatorDeleteArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btJointFeedback *arg1 = (btJointFeedback *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btJointFeedback **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete[](arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btJointFeedback_1operatorNewArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btJointFeedback *arg1 = (btJointFeedback *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btJointFeedback **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new[](arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btJointFeedback_1operatorDeleteArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btJointFeedback *arg1 = (btJointFeedback *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btJointFeedback **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete[](arg2,arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btJointFeedback_1appliedForceBodyA_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btJointFeedback *arg1 = (btJointFeedback *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btJointFeedback **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->m_appliedForceBodyA = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btJointFeedback_1appliedForceBodyA_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btJointFeedback *arg1 = (btJointFeedback *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btJointFeedback **)&jarg1;
result = (btVector3 *)& ((arg1)->m_appliedForceBodyA);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btJointFeedback_1appliedTorqueBodyA_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btJointFeedback *arg1 = (btJointFeedback *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btJointFeedback **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->m_appliedTorqueBodyA = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btJointFeedback_1appliedTorqueBodyA_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btJointFeedback *arg1 = (btJointFeedback *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btJointFeedback **)&jarg1;
result = (btVector3 *)& ((arg1)->m_appliedTorqueBodyA);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btJointFeedback_1appliedForceBodyB_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btJointFeedback *arg1 = (btJointFeedback *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btJointFeedback **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->m_appliedForceBodyB = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btJointFeedback_1appliedForceBodyB_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btJointFeedback *arg1 = (btJointFeedback *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btJointFeedback **)&jarg1;
result = (btVector3 *)& ((arg1)->m_appliedForceBodyB);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btJointFeedback_1appliedTorqueBodyB_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btJointFeedback *arg1 = (btJointFeedback *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btJointFeedback **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->m_appliedTorqueBodyB = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btJointFeedback_1appliedTorqueBodyB_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btJointFeedback *arg1 = (btJointFeedback *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btJointFeedback **)&jarg1;
result = (btVector3 *)& ((arg1)->m_appliedTorqueBodyB);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btJointFeedback(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btJointFeedback *result = 0 ;
(void)jenv;
(void)jcls;
result = (btJointFeedback *)new btJointFeedback();
*(btJointFeedback **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btJointFeedback(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btJointFeedback *arg1 = (btJointFeedback *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btJointFeedback **)&jarg1;
delete arg1;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1operatorNew_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btTypedConstraint *arg1 = (btTypedConstraint *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraint **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new(arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1operatorDelete_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btTypedConstraint *arg1 = (btTypedConstraint *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraint **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete(arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1operatorNew_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btTypedConstraint *arg1 = (btTypedConstraint *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraint **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new(arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1operatorDelete_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btTypedConstraint *arg1 = (btTypedConstraint *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraint **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete(arg2,arg3);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1operatorNewArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btTypedConstraint *arg1 = (btTypedConstraint *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraint **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new[](arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1operatorDeleteArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btTypedConstraint *arg1 = (btTypedConstraint *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraint **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete[](arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1operatorNewArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btTypedConstraint *arg1 = (btTypedConstraint *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraint **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new[](arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1operatorDeleteArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btTypedConstraint *arg1 = (btTypedConstraint *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraint **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete[](arg2,arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btTypedConstraint(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btTypedConstraint *arg1 = (btTypedConstraint *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btTypedConstraint **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1btConstraintInfo1_1numConstraintRows_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btTypedConstraint::btConstraintInfo1 *arg1 = (btTypedConstraint::btConstraintInfo1 *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraint::btConstraintInfo1 **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_numConstraintRows = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1btConstraintInfo1_1numConstraintRows_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btTypedConstraint::btConstraintInfo1 *arg1 = (btTypedConstraint::btConstraintInfo1 *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraint::btConstraintInfo1 **)&jarg1;
result = (int) ((arg1)->m_numConstraintRows);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1btConstraintInfo1_1nub_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btTypedConstraint::btConstraintInfo1 *arg1 = (btTypedConstraint::btConstraintInfo1 *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraint::btConstraintInfo1 **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->nub = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1btConstraintInfo1_1nub_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btTypedConstraint::btConstraintInfo1 *arg1 = (btTypedConstraint::btConstraintInfo1 *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraint::btConstraintInfo1 **)&jarg1;
result = (int) ((arg1)->nub);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btTypedConstraint_1btConstraintInfo1(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btTypedConstraint::btConstraintInfo1 *result = 0 ;
(void)jenv;
(void)jcls;
result = (btTypedConstraint::btConstraintInfo1 *)new btTypedConstraint::btConstraintInfo1();
*(btTypedConstraint::btConstraintInfo1 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btTypedConstraint_1btConstraintInfo1(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btTypedConstraint::btConstraintInfo1 *arg1 = (btTypedConstraint::btConstraintInfo1 *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btTypedConstraint::btConstraintInfo1 **)&jarg1;
delete arg1;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1getFixedBody(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btRigidBody *result = 0 ;
(void)jenv;
(void)jcls;
result = (btRigidBody *) &btTypedConstraint::getFixedBody();
*(btRigidBody **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1btConstraintInfo2_1fps_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btTypedConstraint::btConstraintInfo2 *arg1 = (btTypedConstraint::btConstraintInfo2 *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraint::btConstraintInfo2 **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->fps = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1btConstraintInfo2_1fps_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btTypedConstraint::btConstraintInfo2 *arg1 = (btTypedConstraint::btConstraintInfo2 *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraint::btConstraintInfo2 **)&jarg1;
result = (btScalar) ((arg1)->fps);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1btConstraintInfo2_1erp_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btTypedConstraint::btConstraintInfo2 *arg1 = (btTypedConstraint::btConstraintInfo2 *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraint::btConstraintInfo2 **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->erp = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1btConstraintInfo2_1erp_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btTypedConstraint::btConstraintInfo2 *arg1 = (btTypedConstraint::btConstraintInfo2 *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraint::btConstraintInfo2 **)&jarg1;
result = (btScalar) ((arg1)->erp);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1btConstraintInfo2_1J1linearAxis_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btTypedConstraint::btConstraintInfo2 *arg1 = (btTypedConstraint::btConstraintInfo2 *) 0 ;
btScalar *arg2 = (btScalar *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraint::btConstraintInfo2 **)&jarg1;
arg2 = *(btScalar **)&jarg2;
if (arg1) (arg1)->m_J1linearAxis = arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1btConstraintInfo2_1J1linearAxis_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btTypedConstraint::btConstraintInfo2 *arg1 = (btTypedConstraint::btConstraintInfo2 *) 0 ;
btScalar *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraint::btConstraintInfo2 **)&jarg1;
result = (btScalar *) ((arg1)->m_J1linearAxis);
*(btScalar **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1btConstraintInfo2_1J1angularAxis_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btTypedConstraint::btConstraintInfo2 *arg1 = (btTypedConstraint::btConstraintInfo2 *) 0 ;
btScalar *arg2 = (btScalar *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraint::btConstraintInfo2 **)&jarg1;
arg2 = *(btScalar **)&jarg2;
if (arg1) (arg1)->m_J1angularAxis = arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1btConstraintInfo2_1J1angularAxis_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btTypedConstraint::btConstraintInfo2 *arg1 = (btTypedConstraint::btConstraintInfo2 *) 0 ;
btScalar *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraint::btConstraintInfo2 **)&jarg1;
result = (btScalar *) ((arg1)->m_J1angularAxis);
*(btScalar **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1btConstraintInfo2_1J2linearAxis_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btTypedConstraint::btConstraintInfo2 *arg1 = (btTypedConstraint::btConstraintInfo2 *) 0 ;
btScalar *arg2 = (btScalar *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraint::btConstraintInfo2 **)&jarg1;
arg2 = *(btScalar **)&jarg2;
if (arg1) (arg1)->m_J2linearAxis = arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1btConstraintInfo2_1J2linearAxis_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btTypedConstraint::btConstraintInfo2 *arg1 = (btTypedConstraint::btConstraintInfo2 *) 0 ;
btScalar *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraint::btConstraintInfo2 **)&jarg1;
result = (btScalar *) ((arg1)->m_J2linearAxis);
*(btScalar **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1btConstraintInfo2_1J2angularAxis_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btTypedConstraint::btConstraintInfo2 *arg1 = (btTypedConstraint::btConstraintInfo2 *) 0 ;
btScalar *arg2 = (btScalar *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraint::btConstraintInfo2 **)&jarg1;
arg2 = *(btScalar **)&jarg2;
if (arg1) (arg1)->m_J2angularAxis = arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1btConstraintInfo2_1J2angularAxis_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btTypedConstraint::btConstraintInfo2 *arg1 = (btTypedConstraint::btConstraintInfo2 *) 0 ;
btScalar *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraint::btConstraintInfo2 **)&jarg1;
result = (btScalar *) ((arg1)->m_J2angularAxis);
*(btScalar **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1btConstraintInfo2_1rowskip_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btTypedConstraint::btConstraintInfo2 *arg1 = (btTypedConstraint::btConstraintInfo2 *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraint::btConstraintInfo2 **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->rowskip = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1btConstraintInfo2_1rowskip_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btTypedConstraint::btConstraintInfo2 *arg1 = (btTypedConstraint::btConstraintInfo2 *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraint::btConstraintInfo2 **)&jarg1;
result = (int) ((arg1)->rowskip);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1btConstraintInfo2_1constraintError_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btTypedConstraint::btConstraintInfo2 *arg1 = (btTypedConstraint::btConstraintInfo2 *) 0 ;
btScalar *arg2 = (btScalar *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraint::btConstraintInfo2 **)&jarg1;
arg2 = *(btScalar **)&jarg2;
if (arg1) (arg1)->m_constraintError = arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1btConstraintInfo2_1constraintError_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btTypedConstraint::btConstraintInfo2 *arg1 = (btTypedConstraint::btConstraintInfo2 *) 0 ;
btScalar *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraint::btConstraintInfo2 **)&jarg1;
result = (btScalar *) ((arg1)->m_constraintError);
*(btScalar **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1btConstraintInfo2_1cfm_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btTypedConstraint::btConstraintInfo2 *arg1 = (btTypedConstraint::btConstraintInfo2 *) 0 ;
btScalar *arg2 = (btScalar *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraint::btConstraintInfo2 **)&jarg1;
arg2 = *(btScalar **)&jarg2;
if (arg1) (arg1)->cfm = arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1btConstraintInfo2_1cfm_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btTypedConstraint::btConstraintInfo2 *arg1 = (btTypedConstraint::btConstraintInfo2 *) 0 ;
btScalar *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraint::btConstraintInfo2 **)&jarg1;
result = (btScalar *) ((arg1)->cfm);
*(btScalar **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1btConstraintInfo2_1lowerLimit_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btTypedConstraint::btConstraintInfo2 *arg1 = (btTypedConstraint::btConstraintInfo2 *) 0 ;
btScalar *arg2 = (btScalar *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraint::btConstraintInfo2 **)&jarg1;
arg2 = *(btScalar **)&jarg2;
if (arg1) (arg1)->m_lowerLimit = arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1btConstraintInfo2_1lowerLimit_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btTypedConstraint::btConstraintInfo2 *arg1 = (btTypedConstraint::btConstraintInfo2 *) 0 ;
btScalar *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraint::btConstraintInfo2 **)&jarg1;
result = (btScalar *) ((arg1)->m_lowerLimit);
*(btScalar **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1btConstraintInfo2_1upperLimit_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btTypedConstraint::btConstraintInfo2 *arg1 = (btTypedConstraint::btConstraintInfo2 *) 0 ;
btScalar *arg2 = (btScalar *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraint::btConstraintInfo2 **)&jarg1;
arg2 = *(btScalar **)&jarg2;
if (arg1) (arg1)->m_upperLimit = arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1btConstraintInfo2_1upperLimit_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btTypedConstraint::btConstraintInfo2 *arg1 = (btTypedConstraint::btConstraintInfo2 *) 0 ;
btScalar *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraint::btConstraintInfo2 **)&jarg1;
result = (btScalar *) ((arg1)->m_upperLimit);
*(btScalar **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1btConstraintInfo2_1numIterations_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btTypedConstraint::btConstraintInfo2 *arg1 = (btTypedConstraint::btConstraintInfo2 *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraint::btConstraintInfo2 **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_numIterations = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1btConstraintInfo2_1numIterations_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btTypedConstraint::btConstraintInfo2 *arg1 = (btTypedConstraint::btConstraintInfo2 *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraint::btConstraintInfo2 **)&jarg1;
result = (int) ((arg1)->m_numIterations);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1btConstraintInfo2_1damping_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btTypedConstraint::btConstraintInfo2 *arg1 = (btTypedConstraint::btConstraintInfo2 *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraint::btConstraintInfo2 **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_damping = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1btConstraintInfo2_1damping_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btTypedConstraint::btConstraintInfo2 *arg1 = (btTypedConstraint::btConstraintInfo2 *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraint::btConstraintInfo2 **)&jarg1;
result = (btScalar) ((arg1)->m_damping);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btTypedConstraint_1btConstraintInfo2(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btTypedConstraint::btConstraintInfo2 *result = 0 ;
(void)jenv;
(void)jcls;
result = (btTypedConstraint::btConstraintInfo2 *)new btTypedConstraint::btConstraintInfo2();
*(btTypedConstraint::btConstraintInfo2 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btTypedConstraint_1btConstraintInfo2(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btTypedConstraint::btConstraintInfo2 *arg1 = (btTypedConstraint::btConstraintInfo2 *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btTypedConstraint::btConstraintInfo2 **)&jarg1;
delete arg1;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1getOverrideNumSolverIterations(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btTypedConstraint *arg1 = (btTypedConstraint *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraint **)&jarg1;
result = (int)((btTypedConstraint const *)arg1)->getOverrideNumSolverIterations();
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1setOverrideNumSolverIterations(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btTypedConstraint *arg1 = (btTypedConstraint *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraint **)&jarg1;
arg2 = (int)jarg2;
(arg1)->setOverrideNumSolverIterations(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1buildJacobian(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
btTypedConstraint *arg1 = (btTypedConstraint *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraint **)&jarg1;
(arg1)->buildJacobian();
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1setupSolverConstraint(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jint jarg3, jint jarg4, jfloat jarg5) {
btTypedConstraint *arg1 = (btTypedConstraint *) 0 ;
btConstraintArray *arg2 = 0 ;
int arg3 ;
int arg4 ;
btScalar arg5 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraint **)&jarg1;
arg2 = *(btConstraintArray **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btConstraintArray & reference is null");
return ;
}
arg3 = (int)jarg3;
arg4 = (int)jarg4;
arg5 = (btScalar)jarg5;
(arg1)->setupSolverConstraint(*arg2,arg3,arg4,arg5);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1getInfo1(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btTypedConstraint *arg1 = (btTypedConstraint *) 0 ;
btTypedConstraint::btConstraintInfo1 *arg2 = (btTypedConstraint::btConstraintInfo1 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btTypedConstraint **)&jarg1;
arg2 = *(btTypedConstraint::btConstraintInfo1 **)&jarg2;
(arg1)->getInfo1(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1getInfo2(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btTypedConstraint *arg1 = (btTypedConstraint *) 0 ;
btTypedConstraint::btConstraintInfo2 *arg2 = (btTypedConstraint::btConstraintInfo2 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btTypedConstraint **)&jarg1;
arg2 = *(btTypedConstraint::btConstraintInfo2 **)&jarg2;
(arg1)->getInfo2(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1internalSetAppliedImpulse(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btTypedConstraint *arg1 = (btTypedConstraint *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraint **)&jarg1;
arg2 = (btScalar)jarg2;
(arg1)->internalSetAppliedImpulse(arg2);
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1internalGetAppliedImpulse(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btTypedConstraint *arg1 = (btTypedConstraint *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraint **)&jarg1;
result = (btScalar)(arg1)->internalGetAppliedImpulse();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1getBreakingImpulseThreshold(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btTypedConstraint *arg1 = (btTypedConstraint *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraint **)&jarg1;
result = (btScalar)((btTypedConstraint const *)arg1)->getBreakingImpulseThreshold();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1setBreakingImpulseThreshold(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btTypedConstraint *arg1 = (btTypedConstraint *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraint **)&jarg1;
arg2 = (btScalar)jarg2;
(arg1)->setBreakingImpulseThreshold(arg2);
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1isEnabled(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jboolean jresult = 0 ;
btTypedConstraint *arg1 = (btTypedConstraint *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraint **)&jarg1;
result = (bool)((btTypedConstraint const *)arg1)->isEnabled();
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1setEnabled(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jboolean jarg2) {
btTypedConstraint *arg1 = (btTypedConstraint *) 0 ;
bool arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraint **)&jarg1;
arg2 = jarg2 ? true : false;
(arg1)->setEnabled(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1solveConstraintObsolete(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_, jfloat jarg4) {
btTypedConstraint *arg1 = (btTypedConstraint *) 0 ;
btSolverBody *arg2 = 0 ;
btSolverBody *arg3 = 0 ;
btScalar arg4 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
(void)jarg3_;
arg1 = *(btTypedConstraint **)&jarg1;
arg2 = *(btSolverBody **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btSolverBody & reference is null");
return ;
}
arg3 = *(btSolverBody **)&jarg3;
if (!arg3) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btSolverBody & reference is null");
return ;
}
arg4 = (btScalar)jarg4;
(arg1)->solveConstraintObsolete(*arg2,*arg3,arg4);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1getRigidBodyAConst(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btTypedConstraint *arg1 = (btTypedConstraint *) 0 ;
btRigidBody *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraint **)&jarg1;
result = (btRigidBody *) &((btTypedConstraint const *)arg1)->getRigidBodyA();
*(btRigidBody **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1getRigidBodyBConst(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btTypedConstraint *arg1 = (btTypedConstraint *) 0 ;
btRigidBody *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraint **)&jarg1;
result = (btRigidBody *) &((btTypedConstraint const *)arg1)->getRigidBodyB();
*(btRigidBody **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1getRigidBodyA(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btTypedConstraint *arg1 = (btTypedConstraint *) 0 ;
btRigidBody *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraint **)&jarg1;
result = (btRigidBody *) &(arg1)->getRigidBodyA();
*(btRigidBody **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1getRigidBodyB(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btTypedConstraint *arg1 = (btTypedConstraint *) 0 ;
btRigidBody *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraint **)&jarg1;
result = (btRigidBody *) &(arg1)->getRigidBodyB();
*(btRigidBody **)&jresult = result;
return jresult;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1getUserConstraintType(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btTypedConstraint *arg1 = (btTypedConstraint *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraint **)&jarg1;
result = (int)((btTypedConstraint const *)arg1)->getUserConstraintType();
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1setUserConstraintType(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btTypedConstraint *arg1 = (btTypedConstraint *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraint **)&jarg1;
arg2 = (int)jarg2;
(arg1)->setUserConstraintType(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1setUserConstraintId(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btTypedConstraint *arg1 = (btTypedConstraint *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraint **)&jarg1;
arg2 = (int)jarg2;
(arg1)->setUserConstraintId(arg2);
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1getUserConstraintId(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btTypedConstraint *arg1 = (btTypedConstraint *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraint **)&jarg1;
result = (int)((btTypedConstraint const *)arg1)->getUserConstraintId();
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1setUserConstraintPtr(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btTypedConstraint *arg1 = (btTypedConstraint *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraint **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->setUserConstraintPtr(arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1getUserConstraintPtr(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btTypedConstraint *arg1 = (btTypedConstraint *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraint **)&jarg1;
result = (void *)(arg1)->getUserConstraintPtr();
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1setJointFeedback(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btTypedConstraint *arg1 = (btTypedConstraint *) 0 ;
btJointFeedback *arg2 = (btJointFeedback *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btTypedConstraint **)&jarg1;
arg2 = *(btJointFeedback **)&jarg2;
(arg1)->setJointFeedback(arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1getJointFeedbackConst(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btTypedConstraint *arg1 = (btTypedConstraint *) 0 ;
btJointFeedback *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraint **)&jarg1;
result = (btJointFeedback *)((btTypedConstraint const *)arg1)->getJointFeedback();
*(btJointFeedback **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1getJointFeedback(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btTypedConstraint *arg1 = (btTypedConstraint *) 0 ;
btJointFeedback *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraint **)&jarg1;
result = (btJointFeedback *)(arg1)->getJointFeedback();
*(btJointFeedback **)&jresult = result;
return jresult;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1getUid(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btTypedConstraint *arg1 = (btTypedConstraint *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraint **)&jarg1;
result = (int)((btTypedConstraint const *)arg1)->getUid();
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1needsFeedback(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jboolean jresult = 0 ;
btTypedConstraint *arg1 = (btTypedConstraint *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraint **)&jarg1;
result = (bool)((btTypedConstraint const *)arg1)->needsFeedback();
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1enableFeedback(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jboolean jarg2) {
btTypedConstraint *arg1 = (btTypedConstraint *) 0 ;
bool arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraint **)&jarg1;
arg2 = jarg2 ? true : false;
(arg1)->enableFeedback(arg2);
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1getAppliedImpulse(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btTypedConstraint *arg1 = (btTypedConstraint *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraint **)&jarg1;
result = (btScalar)((btTypedConstraint const *)arg1)->getAppliedImpulse();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1getConstraintType(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btTypedConstraint *arg1 = (btTypedConstraint *) 0 ;
btTypedConstraintType result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraint **)&jarg1;
result = (btTypedConstraintType)((btTypedConstraint const *)arg1)->getConstraintType();
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1setDbgDrawSize(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btTypedConstraint *arg1 = (btTypedConstraint *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraint **)&jarg1;
arg2 = (btScalar)jarg2;
(arg1)->setDbgDrawSize(arg2);
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1getDbgDrawSize(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btTypedConstraint *arg1 = (btTypedConstraint *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraint **)&jarg1;
result = (btScalar)(arg1)->getDbgDrawSize();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1setParam_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jfloat jarg3, jint jarg4) {
btTypedConstraint *arg1 = (btTypedConstraint *) 0 ;
int arg2 ;
btScalar arg3 ;
int arg4 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraint **)&jarg1;
arg2 = (int)jarg2;
arg3 = (btScalar)jarg3;
arg4 = (int)jarg4;
(arg1)->setParam(arg2,arg3,arg4);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1setParam_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jfloat jarg3) {
btTypedConstraint *arg1 = (btTypedConstraint *) 0 ;
int arg2 ;
btScalar arg3 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraint **)&jarg1;
arg2 = (int)jarg2;
arg3 = (btScalar)jarg3;
(arg1)->setParam(arg2,arg3);
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1getParam_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jint jarg3) {
jfloat jresult = 0 ;
btTypedConstraint *arg1 = (btTypedConstraint *) 0 ;
int arg2 ;
int arg3 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraint **)&jarg1;
arg2 = (int)jarg2;
arg3 = (int)jarg3;
result = (btScalar)((btTypedConstraint const *)arg1)->getParam(arg2,arg3);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1getParam_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jfloat jresult = 0 ;
btTypedConstraint *arg1 = (btTypedConstraint *) 0 ;
int arg2 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraint **)&jarg1;
arg2 = (int)jarg2;
result = (btScalar)((btTypedConstraint const *)arg1)->getParam(arg2);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1calculateSerializeBufferSize(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btTypedConstraint *arg1 = (btTypedConstraint *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraint **)&jarg1;
result = (int)((btTypedConstraint const *)arg1)->calculateSerializeBufferSize();
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jstring JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1serialize(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3, jobject jarg3_) {
jstring jresult = 0 ;
btTypedConstraint *arg1 = (btTypedConstraint *) 0 ;
void *arg2 = (void *) 0 ;
btSerializer *arg3 = (btSerializer *) 0 ;
char *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg3_;
arg1 = *(btTypedConstraint **)&jarg1;
arg2 = (void *)jarg2;
arg3 = *(btSerializer **)&jarg3;
result = (char *)((btTypedConstraint const *)arg1)->serialize(arg2,arg3);
if (result) jresult = jenv->NewStringUTF((const char *)result);
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btAdjustAngleToLimits(JNIEnv *jenv, jclass jcls, jfloat jarg1, jfloat jarg2, jfloat jarg3) {
jfloat jresult = 0 ;
btScalar arg1 ;
btScalar arg2 ;
btScalar arg3 ;
btScalar result;
(void)jenv;
(void)jcls;
arg1 = (btScalar)jarg1;
arg2 = (btScalar)jarg2;
arg3 = (btScalar)jarg3;
result = (btScalar)btAdjustAngleToLimits(arg1,arg2,arg3);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintFloatData_1rbA_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btTypedConstraintFloatData *arg1 = (btTypedConstraintFloatData *) 0 ;
btRigidBodyFloatData *arg2 = (btRigidBodyFloatData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btTypedConstraintFloatData **)&jarg1;
arg2 = *(btRigidBodyFloatData **)&jarg2;
if (arg1) (arg1)->m_rbA = arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintFloatData_1rbA_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btTypedConstraintFloatData *arg1 = (btTypedConstraintFloatData *) 0 ;
btRigidBodyFloatData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraintFloatData **)&jarg1;
result = (btRigidBodyFloatData *) ((arg1)->m_rbA);
*(btRigidBodyFloatData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintFloatData_1rbB_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btTypedConstraintFloatData *arg1 = (btTypedConstraintFloatData *) 0 ;
btRigidBodyFloatData *arg2 = (btRigidBodyFloatData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btTypedConstraintFloatData **)&jarg1;
arg2 = *(btRigidBodyFloatData **)&jarg2;
if (arg1) (arg1)->m_rbB = arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintFloatData_1rbB_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btTypedConstraintFloatData *arg1 = (btTypedConstraintFloatData *) 0 ;
btRigidBodyFloatData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraintFloatData **)&jarg1;
result = (btRigidBodyFloatData *) ((arg1)->m_rbB);
*(btRigidBodyFloatData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintFloatData_1name_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
btTypedConstraintFloatData *arg1 = (btTypedConstraintFloatData *) 0 ;
char *arg2 = (char *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraintFloatData **)&jarg1;
arg2 = 0;
if (jarg2) {
arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
if (!arg2) return ;
}
{
delete [] arg1->m_name;
if (arg2) {
arg1->m_name = (char *) (new char[strlen((const char *)arg2)+1]);
strcpy((char *)arg1->m_name, (const char *)arg2);
} else {
arg1->m_name = 0;
}
}
if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
}
SWIGEXPORT jstring JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintFloatData_1name_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jstring jresult = 0 ;
btTypedConstraintFloatData *arg1 = (btTypedConstraintFloatData *) 0 ;
char *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraintFloatData **)&jarg1;
result = (char *) ((arg1)->m_name);
if (result) jresult = jenv->NewStringUTF((const char *)result);
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintFloatData_1objectType_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btTypedConstraintFloatData *arg1 = (btTypedConstraintFloatData *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraintFloatData **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_objectType = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintFloatData_1objectType_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btTypedConstraintFloatData *arg1 = (btTypedConstraintFloatData *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraintFloatData **)&jarg1;
result = (int) ((arg1)->m_objectType);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintFloatData_1userConstraintType_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btTypedConstraintFloatData *arg1 = (btTypedConstraintFloatData *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraintFloatData **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_userConstraintType = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintFloatData_1userConstraintType_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btTypedConstraintFloatData *arg1 = (btTypedConstraintFloatData *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraintFloatData **)&jarg1;
result = (int) ((arg1)->m_userConstraintType);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintFloatData_1userConstraintId_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btTypedConstraintFloatData *arg1 = (btTypedConstraintFloatData *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraintFloatData **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_userConstraintId = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintFloatData_1userConstraintId_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btTypedConstraintFloatData *arg1 = (btTypedConstraintFloatData *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraintFloatData **)&jarg1;
result = (int) ((arg1)->m_userConstraintId);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintFloatData_1needsFeedback_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btTypedConstraintFloatData *arg1 = (btTypedConstraintFloatData *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraintFloatData **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_needsFeedback = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintFloatData_1needsFeedback_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btTypedConstraintFloatData *arg1 = (btTypedConstraintFloatData *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraintFloatData **)&jarg1;
result = (int) ((arg1)->m_needsFeedback);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintFloatData_1appliedImpulse_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btTypedConstraintFloatData *arg1 = (btTypedConstraintFloatData *) 0 ;
float arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraintFloatData **)&jarg1;
arg2 = (float)jarg2;
if (arg1) (arg1)->m_appliedImpulse = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintFloatData_1appliedImpulse_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btTypedConstraintFloatData *arg1 = (btTypedConstraintFloatData *) 0 ;
float result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraintFloatData **)&jarg1;
result = (float) ((arg1)->m_appliedImpulse);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintFloatData_1dbgDrawSize_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btTypedConstraintFloatData *arg1 = (btTypedConstraintFloatData *) 0 ;
float arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraintFloatData **)&jarg1;
arg2 = (float)jarg2;
if (arg1) (arg1)->m_dbgDrawSize = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintFloatData_1dbgDrawSize_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btTypedConstraintFloatData *arg1 = (btTypedConstraintFloatData *) 0 ;
float result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraintFloatData **)&jarg1;
result = (float) ((arg1)->m_dbgDrawSize);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintFloatData_1disableCollisionsBetweenLinkedBodies_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btTypedConstraintFloatData *arg1 = (btTypedConstraintFloatData *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraintFloatData **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_disableCollisionsBetweenLinkedBodies = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintFloatData_1disableCollisionsBetweenLinkedBodies_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btTypedConstraintFloatData *arg1 = (btTypedConstraintFloatData *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraintFloatData **)&jarg1;
result = (int) ((arg1)->m_disableCollisionsBetweenLinkedBodies);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintFloatData_1overrideNumSolverIterations_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btTypedConstraintFloatData *arg1 = (btTypedConstraintFloatData *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraintFloatData **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_overrideNumSolverIterations = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintFloatData_1overrideNumSolverIterations_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btTypedConstraintFloatData *arg1 = (btTypedConstraintFloatData *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraintFloatData **)&jarg1;
result = (int) ((arg1)->m_overrideNumSolverIterations);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintFloatData_1breakingImpulseThreshold_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btTypedConstraintFloatData *arg1 = (btTypedConstraintFloatData *) 0 ;
float arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraintFloatData **)&jarg1;
arg2 = (float)jarg2;
if (arg1) (arg1)->m_breakingImpulseThreshold = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintFloatData_1breakingImpulseThreshold_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btTypedConstraintFloatData *arg1 = (btTypedConstraintFloatData *) 0 ;
float result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraintFloatData **)&jarg1;
result = (float) ((arg1)->m_breakingImpulseThreshold);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintFloatData_1isEnabled_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btTypedConstraintFloatData *arg1 = (btTypedConstraintFloatData *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraintFloatData **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_isEnabled = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintFloatData_1isEnabled_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btTypedConstraintFloatData *arg1 = (btTypedConstraintFloatData *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraintFloatData **)&jarg1;
result = (int) ((arg1)->m_isEnabled);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btTypedConstraintFloatData(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btTypedConstraintFloatData *result = 0 ;
(void)jenv;
(void)jcls;
result = (btTypedConstraintFloatData *)new btTypedConstraintFloatData();
*(btTypedConstraintFloatData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btTypedConstraintFloatData(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btTypedConstraintFloatData *arg1 = (btTypedConstraintFloatData *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btTypedConstraintFloatData **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintData_1rbA_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btTypedConstraintData *arg1 = (btTypedConstraintData *) 0 ;
btRigidBodyFloatData *arg2 = (btRigidBodyFloatData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btTypedConstraintData **)&jarg1;
arg2 = *(btRigidBodyFloatData **)&jarg2;
if (arg1) (arg1)->m_rbA = arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintData_1rbA_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btTypedConstraintData *arg1 = (btTypedConstraintData *) 0 ;
btRigidBodyFloatData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraintData **)&jarg1;
result = (btRigidBodyFloatData *) ((arg1)->m_rbA);
*(btRigidBodyFloatData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintData_1rbB_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btTypedConstraintData *arg1 = (btTypedConstraintData *) 0 ;
btRigidBodyFloatData *arg2 = (btRigidBodyFloatData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btTypedConstraintData **)&jarg1;
arg2 = *(btRigidBodyFloatData **)&jarg2;
if (arg1) (arg1)->m_rbB = arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintData_1rbB_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btTypedConstraintData *arg1 = (btTypedConstraintData *) 0 ;
btRigidBodyFloatData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraintData **)&jarg1;
result = (btRigidBodyFloatData *) ((arg1)->m_rbB);
*(btRigidBodyFloatData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintData_1name_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
btTypedConstraintData *arg1 = (btTypedConstraintData *) 0 ;
char *arg2 = (char *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraintData **)&jarg1;
arg2 = 0;
if (jarg2) {
arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
if (!arg2) return ;
}
{
delete [] arg1->m_name;
if (arg2) {
arg1->m_name = (char *) (new char[strlen((const char *)arg2)+1]);
strcpy((char *)arg1->m_name, (const char *)arg2);
} else {
arg1->m_name = 0;
}
}
if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
}
SWIGEXPORT jstring JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintData_1name_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jstring jresult = 0 ;
btTypedConstraintData *arg1 = (btTypedConstraintData *) 0 ;
char *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraintData **)&jarg1;
result = (char *) ((arg1)->m_name);
if (result) jresult = jenv->NewStringUTF((const char *)result);
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintData_1objectType_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btTypedConstraintData *arg1 = (btTypedConstraintData *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraintData **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_objectType = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintData_1objectType_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btTypedConstraintData *arg1 = (btTypedConstraintData *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraintData **)&jarg1;
result = (int) ((arg1)->m_objectType);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintData_1userConstraintType_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btTypedConstraintData *arg1 = (btTypedConstraintData *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraintData **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_userConstraintType = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintData_1userConstraintType_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btTypedConstraintData *arg1 = (btTypedConstraintData *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraintData **)&jarg1;
result = (int) ((arg1)->m_userConstraintType);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintData_1userConstraintId_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btTypedConstraintData *arg1 = (btTypedConstraintData *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraintData **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_userConstraintId = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintData_1userConstraintId_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btTypedConstraintData *arg1 = (btTypedConstraintData *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraintData **)&jarg1;
result = (int) ((arg1)->m_userConstraintId);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintData_1needsFeedback_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btTypedConstraintData *arg1 = (btTypedConstraintData *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraintData **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_needsFeedback = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintData_1needsFeedback_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btTypedConstraintData *arg1 = (btTypedConstraintData *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraintData **)&jarg1;
result = (int) ((arg1)->m_needsFeedback);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintData_1appliedImpulse_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btTypedConstraintData *arg1 = (btTypedConstraintData *) 0 ;
float arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraintData **)&jarg1;
arg2 = (float)jarg2;
if (arg1) (arg1)->m_appliedImpulse = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintData_1appliedImpulse_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btTypedConstraintData *arg1 = (btTypedConstraintData *) 0 ;
float result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraintData **)&jarg1;
result = (float) ((arg1)->m_appliedImpulse);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintData_1dbgDrawSize_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btTypedConstraintData *arg1 = (btTypedConstraintData *) 0 ;
float arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraintData **)&jarg1;
arg2 = (float)jarg2;
if (arg1) (arg1)->m_dbgDrawSize = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintData_1dbgDrawSize_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btTypedConstraintData *arg1 = (btTypedConstraintData *) 0 ;
float result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraintData **)&jarg1;
result = (float) ((arg1)->m_dbgDrawSize);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintData_1disableCollisionsBetweenLinkedBodies_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btTypedConstraintData *arg1 = (btTypedConstraintData *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraintData **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_disableCollisionsBetweenLinkedBodies = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintData_1disableCollisionsBetweenLinkedBodies_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btTypedConstraintData *arg1 = (btTypedConstraintData *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraintData **)&jarg1;
result = (int) ((arg1)->m_disableCollisionsBetweenLinkedBodies);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintData_1overrideNumSolverIterations_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btTypedConstraintData *arg1 = (btTypedConstraintData *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraintData **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_overrideNumSolverIterations = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintData_1overrideNumSolverIterations_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btTypedConstraintData *arg1 = (btTypedConstraintData *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraintData **)&jarg1;
result = (int) ((arg1)->m_overrideNumSolverIterations);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintData_1breakingImpulseThreshold_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btTypedConstraintData *arg1 = (btTypedConstraintData *) 0 ;
float arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraintData **)&jarg1;
arg2 = (float)jarg2;
if (arg1) (arg1)->m_breakingImpulseThreshold = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintData_1breakingImpulseThreshold_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btTypedConstraintData *arg1 = (btTypedConstraintData *) 0 ;
float result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraintData **)&jarg1;
result = (float) ((arg1)->m_breakingImpulseThreshold);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintData_1isEnabled_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btTypedConstraintData *arg1 = (btTypedConstraintData *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraintData **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_isEnabled = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintData_1isEnabled_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btTypedConstraintData *arg1 = (btTypedConstraintData *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraintData **)&jarg1;
result = (int) ((arg1)->m_isEnabled);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btTypedConstraintData(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btTypedConstraintData *result = 0 ;
(void)jenv;
(void)jcls;
result = (btTypedConstraintData *)new btTypedConstraintData();
*(btTypedConstraintData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btTypedConstraintData(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btTypedConstraintData *arg1 = (btTypedConstraintData *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btTypedConstraintData **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintDoubleData_1rbA_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btTypedConstraintDoubleData *arg1 = (btTypedConstraintDoubleData *) 0 ;
btRigidBodyDoubleData *arg2 = (btRigidBodyDoubleData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btTypedConstraintDoubleData **)&jarg1;
arg2 = *(btRigidBodyDoubleData **)&jarg2;
if (arg1) (arg1)->m_rbA = arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintDoubleData_1rbA_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btTypedConstraintDoubleData *arg1 = (btTypedConstraintDoubleData *) 0 ;
btRigidBodyDoubleData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraintDoubleData **)&jarg1;
result = (btRigidBodyDoubleData *) ((arg1)->m_rbA);
*(btRigidBodyDoubleData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintDoubleData_1rbB_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btTypedConstraintDoubleData *arg1 = (btTypedConstraintDoubleData *) 0 ;
btRigidBodyDoubleData *arg2 = (btRigidBodyDoubleData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btTypedConstraintDoubleData **)&jarg1;
arg2 = *(btRigidBodyDoubleData **)&jarg2;
if (arg1) (arg1)->m_rbB = arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintDoubleData_1rbB_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btTypedConstraintDoubleData *arg1 = (btTypedConstraintDoubleData *) 0 ;
btRigidBodyDoubleData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraintDoubleData **)&jarg1;
result = (btRigidBodyDoubleData *) ((arg1)->m_rbB);
*(btRigidBodyDoubleData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintDoubleData_1name_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
btTypedConstraintDoubleData *arg1 = (btTypedConstraintDoubleData *) 0 ;
char *arg2 = (char *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraintDoubleData **)&jarg1;
arg2 = 0;
if (jarg2) {
arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
if (!arg2) return ;
}
{
delete [] arg1->m_name;
if (arg2) {
arg1->m_name = (char *) (new char[strlen((const char *)arg2)+1]);
strcpy((char *)arg1->m_name, (const char *)arg2);
} else {
arg1->m_name = 0;
}
}
if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
}
SWIGEXPORT jstring JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintDoubleData_1name_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jstring jresult = 0 ;
btTypedConstraintDoubleData *arg1 = (btTypedConstraintDoubleData *) 0 ;
char *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraintDoubleData **)&jarg1;
result = (char *) ((arg1)->m_name);
if (result) jresult = jenv->NewStringUTF((const char *)result);
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintDoubleData_1objectType_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btTypedConstraintDoubleData *arg1 = (btTypedConstraintDoubleData *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraintDoubleData **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_objectType = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintDoubleData_1objectType_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btTypedConstraintDoubleData *arg1 = (btTypedConstraintDoubleData *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraintDoubleData **)&jarg1;
result = (int) ((arg1)->m_objectType);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintDoubleData_1userConstraintType_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btTypedConstraintDoubleData *arg1 = (btTypedConstraintDoubleData *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraintDoubleData **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_userConstraintType = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintDoubleData_1userConstraintType_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btTypedConstraintDoubleData *arg1 = (btTypedConstraintDoubleData *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraintDoubleData **)&jarg1;
result = (int) ((arg1)->m_userConstraintType);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintDoubleData_1userConstraintId_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btTypedConstraintDoubleData *arg1 = (btTypedConstraintDoubleData *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraintDoubleData **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_userConstraintId = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintDoubleData_1userConstraintId_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btTypedConstraintDoubleData *arg1 = (btTypedConstraintDoubleData *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraintDoubleData **)&jarg1;
result = (int) ((arg1)->m_userConstraintId);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintDoubleData_1needsFeedback_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btTypedConstraintDoubleData *arg1 = (btTypedConstraintDoubleData *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraintDoubleData **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_needsFeedback = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintDoubleData_1needsFeedback_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btTypedConstraintDoubleData *arg1 = (btTypedConstraintDoubleData *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraintDoubleData **)&jarg1;
result = (int) ((arg1)->m_needsFeedback);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintDoubleData_1appliedImpulse_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2) {
btTypedConstraintDoubleData *arg1 = (btTypedConstraintDoubleData *) 0 ;
double arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraintDoubleData **)&jarg1;
arg2 = (double)jarg2;
if (arg1) (arg1)->m_appliedImpulse = arg2;
}
SWIGEXPORT jdouble JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintDoubleData_1appliedImpulse_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jdouble jresult = 0 ;
btTypedConstraintDoubleData *arg1 = (btTypedConstraintDoubleData *) 0 ;
double result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraintDoubleData **)&jarg1;
result = (double) ((arg1)->m_appliedImpulse);
jresult = (jdouble)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintDoubleData_1dbgDrawSize_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2) {
btTypedConstraintDoubleData *arg1 = (btTypedConstraintDoubleData *) 0 ;
double arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraintDoubleData **)&jarg1;
arg2 = (double)jarg2;
if (arg1) (arg1)->m_dbgDrawSize = arg2;
}
SWIGEXPORT jdouble JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintDoubleData_1dbgDrawSize_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jdouble jresult = 0 ;
btTypedConstraintDoubleData *arg1 = (btTypedConstraintDoubleData *) 0 ;
double result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraintDoubleData **)&jarg1;
result = (double) ((arg1)->m_dbgDrawSize);
jresult = (jdouble)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintDoubleData_1disableCollisionsBetweenLinkedBodies_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btTypedConstraintDoubleData *arg1 = (btTypedConstraintDoubleData *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraintDoubleData **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_disableCollisionsBetweenLinkedBodies = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintDoubleData_1disableCollisionsBetweenLinkedBodies_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btTypedConstraintDoubleData *arg1 = (btTypedConstraintDoubleData *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraintDoubleData **)&jarg1;
result = (int) ((arg1)->m_disableCollisionsBetweenLinkedBodies);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintDoubleData_1overrideNumSolverIterations_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btTypedConstraintDoubleData *arg1 = (btTypedConstraintDoubleData *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraintDoubleData **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_overrideNumSolverIterations = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintDoubleData_1overrideNumSolverIterations_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btTypedConstraintDoubleData *arg1 = (btTypedConstraintDoubleData *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraintDoubleData **)&jarg1;
result = (int) ((arg1)->m_overrideNumSolverIterations);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintDoubleData_1breakingImpulseThreshold_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2) {
btTypedConstraintDoubleData *arg1 = (btTypedConstraintDoubleData *) 0 ;
double arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraintDoubleData **)&jarg1;
arg2 = (double)jarg2;
if (arg1) (arg1)->m_breakingImpulseThreshold = arg2;
}
SWIGEXPORT jdouble JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintDoubleData_1breakingImpulseThreshold_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jdouble jresult = 0 ;
btTypedConstraintDoubleData *arg1 = (btTypedConstraintDoubleData *) 0 ;
double result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraintDoubleData **)&jarg1;
result = (double) ((arg1)->m_breakingImpulseThreshold);
jresult = (jdouble)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintDoubleData_1isEnabled_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btTypedConstraintDoubleData *arg1 = (btTypedConstraintDoubleData *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraintDoubleData **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_isEnabled = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintDoubleData_1isEnabled_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btTypedConstraintDoubleData *arg1 = (btTypedConstraintDoubleData *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraintDoubleData **)&jarg1;
result = (int) ((arg1)->m_isEnabled);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintDoubleData_1padding_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
btTypedConstraintDoubleData *arg1 = (btTypedConstraintDoubleData *) 0 ;
char *arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraintDoubleData **)&jarg1;
arg2 = 0;
if (jarg2) {
arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
if (!arg2) return ;
}
{
if(arg2) {
strncpy((char*)arg1->padding, (const char *)arg2, 4-1);
arg1->padding[4-1] = 0;
} else {
arg1->padding[0] = 0;
}
}
if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
}
SWIGEXPORT jstring JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintDoubleData_1padding_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jstring jresult = 0 ;
btTypedConstraintDoubleData *arg1 = (btTypedConstraintDoubleData *) 0 ;
char *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraintDoubleData **)&jarg1;
result = (char *)(char *) ((arg1)->padding);
if (result) jresult = jenv->NewStringUTF((const char *)result);
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btTypedConstraintDoubleData(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btTypedConstraintDoubleData *result = 0 ;
(void)jenv;
(void)jcls;
result = (btTypedConstraintDoubleData *)new btTypedConstraintDoubleData();
*(btTypedConstraintDoubleData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btTypedConstraintDoubleData(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btTypedConstraintDoubleData *arg1 = (btTypedConstraintDoubleData *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btTypedConstraintDoubleData **)&jarg1;
delete arg1;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btAngularLimit(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btAngularLimit *result = 0 ;
(void)jenv;
(void)jcls;
result = (btAngularLimit *)new btAngularLimit();
*(btAngularLimit **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btAngularLimit_1set_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2, jfloat jarg3, jfloat jarg4, jfloat jarg5, jfloat jarg6) {
btAngularLimit *arg1 = (btAngularLimit *) 0 ;
btScalar arg2 ;
btScalar arg3 ;
btScalar arg4 ;
btScalar arg5 ;
btScalar arg6 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAngularLimit **)&jarg1;
arg2 = (btScalar)jarg2;
arg3 = (btScalar)jarg3;
arg4 = (btScalar)jarg4;
arg5 = (btScalar)jarg5;
arg6 = (btScalar)jarg6;
(arg1)->set(arg2,arg3,arg4,arg5,arg6);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btAngularLimit_1set_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2, jfloat jarg3, jfloat jarg4, jfloat jarg5) {
btAngularLimit *arg1 = (btAngularLimit *) 0 ;
btScalar arg2 ;
btScalar arg3 ;
btScalar arg4 ;
btScalar arg5 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAngularLimit **)&jarg1;
arg2 = (btScalar)jarg2;
arg3 = (btScalar)jarg3;
arg4 = (btScalar)jarg4;
arg5 = (btScalar)jarg5;
(arg1)->set(arg2,arg3,arg4,arg5);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btAngularLimit_1set_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2, jfloat jarg3, jfloat jarg4) {
btAngularLimit *arg1 = (btAngularLimit *) 0 ;
btScalar arg2 ;
btScalar arg3 ;
btScalar arg4 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAngularLimit **)&jarg1;
arg2 = (btScalar)jarg2;
arg3 = (btScalar)jarg3;
arg4 = (btScalar)jarg4;
(arg1)->set(arg2,arg3,arg4);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btAngularLimit_1set_1_1SWIG_13(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2, jfloat jarg3) {
btAngularLimit *arg1 = (btAngularLimit *) 0 ;
btScalar arg2 ;
btScalar arg3 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAngularLimit **)&jarg1;
arg2 = (btScalar)jarg2;
arg3 = (btScalar)jarg3;
(arg1)->set(arg2,arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btAngularLimit_1test(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btAngularLimit *arg1 = (btAngularLimit *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAngularLimit **)&jarg1;
arg2 = (btScalar)jarg2;
(arg1)->test(arg2);
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btAngularLimit_1getSoftness(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btAngularLimit *arg1 = (btAngularLimit *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAngularLimit **)&jarg1;
result = (btScalar)((btAngularLimit const *)arg1)->getSoftness();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btAngularLimit_1getBiasFactor(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btAngularLimit *arg1 = (btAngularLimit *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAngularLimit **)&jarg1;
result = (btScalar)((btAngularLimit const *)arg1)->getBiasFactor();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btAngularLimit_1getRelaxationFactor(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btAngularLimit *arg1 = (btAngularLimit *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAngularLimit **)&jarg1;
result = (btScalar)((btAngularLimit const *)arg1)->getRelaxationFactor();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btAngularLimit_1getCorrection(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btAngularLimit *arg1 = (btAngularLimit *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAngularLimit **)&jarg1;
result = (btScalar)((btAngularLimit const *)arg1)->getCorrection();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btAngularLimit_1getSign(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btAngularLimit *arg1 = (btAngularLimit *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAngularLimit **)&jarg1;
result = (btScalar)((btAngularLimit const *)arg1)->getSign();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btAngularLimit_1getHalfRange(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btAngularLimit *arg1 = (btAngularLimit *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAngularLimit **)&jarg1;
result = (btScalar)((btAngularLimit const *)arg1)->getHalfRange();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btAngularLimit_1isLimit(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jboolean jresult = 0 ;
btAngularLimit *arg1 = (btAngularLimit *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAngularLimit **)&jarg1;
result = (bool)((btAngularLimit const *)arg1)->isLimit();
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btAngularLimit_1fit(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btAngularLimit *arg1 = (btAngularLimit *) 0 ;
btScalar *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAngularLimit **)&jarg1;
arg2 = *(btScalar **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btScalar & reference is null");
return ;
}
((btAngularLimit const *)arg1)->fit(*arg2);
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btAngularLimit_1getError(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btAngularLimit *arg1 = (btAngularLimit *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAngularLimit **)&jarg1;
result = (btScalar)((btAngularLimit const *)arg1)->getError();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btAngularLimit_1getLow(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btAngularLimit *arg1 = (btAngularLimit *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAngularLimit **)&jarg1;
result = (btScalar)((btAngularLimit const *)arg1)->getLow();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btAngularLimit_1getHigh(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btAngularLimit *arg1 = (btAngularLimit *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAngularLimit **)&jarg1;
result = (btScalar)((btAngularLimit const *)arg1)->getHigh();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btAngularLimit(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btAngularLimit *arg1 = (btAngularLimit *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btAngularLimit **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btDynamicsWorld(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btDynamicsWorld *arg1 = (btDynamicsWorld *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btDynamicsWorld **)&jarg1;
delete arg1;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDynamicsWorld_1stepSimulation_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2, jint jarg3, jfloat jarg4) {
jint jresult = 0 ;
btDynamicsWorld *arg1 = (btDynamicsWorld *) 0 ;
btScalar arg2 ;
int arg3 ;
btScalar arg4 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDynamicsWorld **)&jarg1;
arg2 = (btScalar)jarg2;
arg3 = (int)jarg3;
arg4 = (btScalar)jarg4;
result = (int)(arg1)->stepSimulation(arg2,arg3,arg4);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDynamicsWorld_1stepSimulation_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2, jint jarg3) {
jint jresult = 0 ;
btDynamicsWorld *arg1 = (btDynamicsWorld *) 0 ;
btScalar arg2 ;
int arg3 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDynamicsWorld **)&jarg1;
arg2 = (btScalar)jarg2;
arg3 = (int)jarg3;
result = (int)(arg1)->stepSimulation(arg2,arg3);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDynamicsWorld_1stepSimulation_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
jint jresult = 0 ;
btDynamicsWorld *arg1 = (btDynamicsWorld *) 0 ;
btScalar arg2 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDynamicsWorld **)&jarg1;
arg2 = (btScalar)jarg2;
result = (int)(arg1)->stepSimulation(arg2);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDynamicsWorld_1addConstraint_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jboolean jarg3) {
btDynamicsWorld *arg1 = (btDynamicsWorld *) 0 ;
btTypedConstraint *arg2 = (btTypedConstraint *) 0 ;
bool arg3 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btDynamicsWorld **)&jarg1;
arg2 = *(btTypedConstraint **)&jarg2;
arg3 = jarg3 ? true : false;
(arg1)->addConstraint(arg2,arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDynamicsWorld_1addConstraint_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btDynamicsWorld *arg1 = (btDynamicsWorld *) 0 ;
btTypedConstraint *arg2 = (btTypedConstraint *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btDynamicsWorld **)&jarg1;
arg2 = *(btTypedConstraint **)&jarg2;
(arg1)->addConstraint(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDynamicsWorld_1removeConstraint(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btDynamicsWorld *arg1 = (btDynamicsWorld *) 0 ;
btTypedConstraint *arg2 = (btTypedConstraint *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btDynamicsWorld **)&jarg1;
arg2 = *(btTypedConstraint **)&jarg2;
(arg1)->removeConstraint(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDynamicsWorld_1addAction(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btDynamicsWorld *arg1 = (btDynamicsWorld *) 0 ;
btActionInterface *arg2 = (btActionInterface *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btDynamicsWorld **)&jarg1;
arg2 = *(btActionInterface **)&jarg2;
(arg1)->addAction(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDynamicsWorld_1removeAction(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btDynamicsWorld *arg1 = (btDynamicsWorld *) 0 ;
btActionInterface *arg2 = (btActionInterface *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btDynamicsWorld **)&jarg1;
arg2 = *(btActionInterface **)&jarg2;
(arg1)->removeAction(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDynamicsWorld_1setGravity(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btDynamicsWorld *arg1 = (btDynamicsWorld *) 0 ;
btVector3 *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDynamicsWorld **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
(arg1)->setGravity((btVector3 const &)*arg2);
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDynamicsWorld_1getGravity(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btDynamicsWorld *arg1 = (btDynamicsWorld *) 0 ;
btVector3 result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDynamicsWorld **)&jarg1;
result = ((btDynamicsWorld const *)arg1)->getGravity();
jresult = gdx_getReturnVector3(jenv);
gdx_setVector3FrombtVector3(jenv, jresult, result);
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDynamicsWorld_1synchronizeMotionStates(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
btDynamicsWorld *arg1 = (btDynamicsWorld *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDynamicsWorld **)&jarg1;
(arg1)->synchronizeMotionStates();
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDynamicsWorld_1addRigidBody_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btDynamicsWorld *arg1 = (btDynamicsWorld *) 0 ;
btRigidBody *arg2 = (btRigidBody *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btDynamicsWorld **)&jarg1;
arg2 = *(btRigidBody **)&jarg2;
(arg1)->addRigidBody(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDynamicsWorld_1addRigidBody_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jint jarg3, jint jarg4) {
btDynamicsWorld *arg1 = (btDynamicsWorld *) 0 ;
btRigidBody *arg2 = (btRigidBody *) 0 ;
int arg3 ;
int arg4 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btDynamicsWorld **)&jarg1;
arg2 = *(btRigidBody **)&jarg2;
arg3 = (int)jarg3;
arg4 = (int)jarg4;
(arg1)->addRigidBody(arg2,arg3,arg4);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDynamicsWorld_1removeRigidBody(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btDynamicsWorld *arg1 = (btDynamicsWorld *) 0 ;
btRigidBody *arg2 = (btRigidBody *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btDynamicsWorld **)&jarg1;
arg2 = *(btRigidBody **)&jarg2;
(arg1)->removeRigidBody(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDynamicsWorld_1setConstraintSolver(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btDynamicsWorld *arg1 = (btDynamicsWorld *) 0 ;
btConstraintSolver *arg2 = (btConstraintSolver *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btDynamicsWorld **)&jarg1;
arg2 = *(btConstraintSolver **)&jarg2;
(arg1)->setConstraintSolver(arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDynamicsWorld_1getConstraintSolver(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btDynamicsWorld *arg1 = (btDynamicsWorld *) 0 ;
btConstraintSolver *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDynamicsWorld **)&jarg1;
result = (btConstraintSolver *)(arg1)->getConstraintSolver();
*(btConstraintSolver **)&jresult = result;
return jresult;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDynamicsWorld_1getNumConstraints(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btDynamicsWorld *arg1 = (btDynamicsWorld *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDynamicsWorld **)&jarg1;
result = (int)((btDynamicsWorld const *)arg1)->getNumConstraints();
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDynamicsWorld_1getConstraint(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jlong jresult = 0 ;
btDynamicsWorld *arg1 = (btDynamicsWorld *) 0 ;
int arg2 ;
btTypedConstraint *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDynamicsWorld **)&jarg1;
arg2 = (int)jarg2;
result = (btTypedConstraint *)(arg1)->getConstraint(arg2);
*(btTypedConstraint **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDynamicsWorld_1getConstraintConst(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jlong jresult = 0 ;
btDynamicsWorld *arg1 = (btDynamicsWorld *) 0 ;
int arg2 ;
btTypedConstraint *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDynamicsWorld **)&jarg1;
arg2 = (int)jarg2;
result = (btTypedConstraint *)((btDynamicsWorld const *)arg1)->getConstraint(arg2);
*(btTypedConstraint **)&jresult = result;
return jresult;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDynamicsWorld_1getWorldType(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btDynamicsWorld *arg1 = (btDynamicsWorld *) 0 ;
btDynamicsWorldType result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDynamicsWorld **)&jarg1;
result = (btDynamicsWorldType)((btDynamicsWorld const *)arg1)->getWorldType();
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDynamicsWorld_1clearForces(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
btDynamicsWorld *arg1 = (btDynamicsWorld *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDynamicsWorld **)&jarg1;
(arg1)->clearForces();
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDynamicsWorld_1setInternalTickCallback_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3, jboolean jarg4) {
btDynamicsWorld *arg1 = (btDynamicsWorld *) 0 ;
btInternalTickCallback arg2 = (btInternalTickCallback) 0 ;
void *arg3 = (void *) 0 ;
bool arg4 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDynamicsWorld **)&jarg1;
arg2 = *(btInternalTickCallback *)&jarg2;
arg3 = (void *)jarg3;
arg4 = jarg4 ? true : false;
(arg1)->setInternalTickCallback(arg2,arg3,arg4);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDynamicsWorld_1setInternalTickCallback_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btDynamicsWorld *arg1 = (btDynamicsWorld *) 0 ;
btInternalTickCallback arg2 = (btInternalTickCallback) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDynamicsWorld **)&jarg1;
arg2 = *(btInternalTickCallback *)&jarg2;
arg3 = (void *)jarg3;
(arg1)->setInternalTickCallback(arg2,arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDynamicsWorld_1setInternalTickCallback_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btDynamicsWorld *arg1 = (btDynamicsWorld *) 0 ;
btInternalTickCallback arg2 = (btInternalTickCallback) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDynamicsWorld **)&jarg1;
arg2 = *(btInternalTickCallback *)&jarg2;
(arg1)->setInternalTickCallback(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDynamicsWorld_1setWorldUserInfo(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btDynamicsWorld *arg1 = (btDynamicsWorld *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDynamicsWorld **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->setWorldUserInfo(arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDynamicsWorld_1getWorldUserInfo(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btDynamicsWorld *arg1 = (btDynamicsWorld *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDynamicsWorld **)&jarg1;
result = (void *)((btDynamicsWorld const *)arg1)->getWorldUserInfo();
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDynamicsWorld_1getSolverInfo(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btDynamicsWorld *arg1 = (btDynamicsWorld *) 0 ;
btContactSolverInfo *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDynamicsWorld **)&jarg1;
result = (btContactSolverInfo *) &(arg1)->getSolverInfo();
*(btContactSolverInfo **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDynamicsWorld_1getSolverInfoConst(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btDynamicsWorld *arg1 = (btDynamicsWorld *) 0 ;
btContactSolverInfo *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDynamicsWorld **)&jarg1;
result = (btContactSolverInfo *) &((btDynamicsWorld const *)arg1)->getSolverInfo();
*(btContactSolverInfo **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDynamicsWorld_1addVehicle(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btDynamicsWorld *arg1 = (btDynamicsWorld *) 0 ;
btActionInterface *arg2 = (btActionInterface *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btDynamicsWorld **)&jarg1;
arg2 = *(btActionInterface **)&jarg2;
(arg1)->addVehicle(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDynamicsWorld_1removeVehicle(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btDynamicsWorld *arg1 = (btDynamicsWorld *) 0 ;
btActionInterface *arg2 = (btActionInterface *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btDynamicsWorld **)&jarg1;
arg2 = *(btActionInterface **)&jarg2;
(arg1)->removeVehicle(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDynamicsWorld_1addCharacter(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btDynamicsWorld *arg1 = (btDynamicsWorld *) 0 ;
btActionInterface *arg2 = (btActionInterface *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btDynamicsWorld **)&jarg1;
arg2 = *(btActionInterface **)&jarg2;
(arg1)->addCharacter(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDynamicsWorld_1removeCharacter(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btDynamicsWorld *arg1 = (btDynamicsWorld *) 0 ;
btActionInterface *arg2 = (btActionInterface *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btDynamicsWorld **)&jarg1;
arg2 = *(btActionInterface **)&jarg2;
(arg1)->removeCharacter(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDynamicsWorldDoubleData_1solverInfo_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btDynamicsWorldDoubleData *arg1 = (btDynamicsWorldDoubleData *) 0 ;
btContactSolverInfoDoubleData *arg2 = (btContactSolverInfoDoubleData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btDynamicsWorldDoubleData **)&jarg1;
arg2 = *(btContactSolverInfoDoubleData **)&jarg2;
if (arg1) (arg1)->m_solverInfo = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDynamicsWorldDoubleData_1solverInfo_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btDynamicsWorldDoubleData *arg1 = (btDynamicsWorldDoubleData *) 0 ;
btContactSolverInfoDoubleData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDynamicsWorldDoubleData **)&jarg1;
result = (btContactSolverInfoDoubleData *)& ((arg1)->m_solverInfo);
*(btContactSolverInfoDoubleData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDynamicsWorldDoubleData_1gravity_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btDynamicsWorldDoubleData *arg1 = (btDynamicsWorldDoubleData *) 0 ;
btVector3DoubleData *arg2 = (btVector3DoubleData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btDynamicsWorldDoubleData **)&jarg1;
arg2 = *(btVector3DoubleData **)&jarg2;
if (arg1) (arg1)->m_gravity = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDynamicsWorldDoubleData_1gravity_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btDynamicsWorldDoubleData *arg1 = (btDynamicsWorldDoubleData *) 0 ;
btVector3DoubleData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDynamicsWorldDoubleData **)&jarg1;
result = (btVector3DoubleData *)& ((arg1)->m_gravity);
*(btVector3DoubleData **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btDynamicsWorldDoubleData(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btDynamicsWorldDoubleData *result = 0 ;
(void)jenv;
(void)jcls;
result = (btDynamicsWorldDoubleData *)new btDynamicsWorldDoubleData();
*(btDynamicsWorldDoubleData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btDynamicsWorldDoubleData(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btDynamicsWorldDoubleData *arg1 = (btDynamicsWorldDoubleData *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btDynamicsWorldDoubleData **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDynamicsWorldFloatData_1solverInfo_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btDynamicsWorldFloatData *arg1 = (btDynamicsWorldFloatData *) 0 ;
btContactSolverInfoFloatData *arg2 = (btContactSolverInfoFloatData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btDynamicsWorldFloatData **)&jarg1;
arg2 = *(btContactSolverInfoFloatData **)&jarg2;
if (arg1) (arg1)->m_solverInfo = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDynamicsWorldFloatData_1solverInfo_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btDynamicsWorldFloatData *arg1 = (btDynamicsWorldFloatData *) 0 ;
btContactSolverInfoFloatData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDynamicsWorldFloatData **)&jarg1;
result = (btContactSolverInfoFloatData *)& ((arg1)->m_solverInfo);
*(btContactSolverInfoFloatData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDynamicsWorldFloatData_1gravity_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btDynamicsWorldFloatData *arg1 = (btDynamicsWorldFloatData *) 0 ;
btVector3FloatData *arg2 = (btVector3FloatData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btDynamicsWorldFloatData **)&jarg1;
arg2 = *(btVector3FloatData **)&jarg2;
if (arg1) (arg1)->m_gravity = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDynamicsWorldFloatData_1gravity_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btDynamicsWorldFloatData *arg1 = (btDynamicsWorldFloatData *) 0 ;
btVector3FloatData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDynamicsWorldFloatData **)&jarg1;
result = (btVector3FloatData *)& ((arg1)->m_gravity);
*(btVector3FloatData **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btDynamicsWorldFloatData(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btDynamicsWorldFloatData *result = 0 ;
(void)jenv;
(void)jcls;
result = (btDynamicsWorldFloatData *)new btDynamicsWorldFloatData();
*(btDynamicsWorldFloatData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btDynamicsWorldFloatData(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btDynamicsWorldFloatData *arg1 = (btDynamicsWorldFloatData *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btDynamicsWorldFloatData **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_InternalTickCallback_1CB(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btDynamicsWorld *arg1 = (btDynamicsWorld *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDynamicsWorld **)&jarg1;
arg2 = (btScalar)jarg2;
InternalTickCallback_CB(arg1,arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1InternalTickCallback_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jboolean jarg2) {
jlong jresult = 0 ;
btDynamicsWorld *arg1 = (btDynamicsWorld *) 0 ;
bool arg2 ;
InternalTickCallback *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDynamicsWorld **)&jarg1;
arg2 = jarg2 ? true : false;
result = (InternalTickCallback *)new SwigDirector_InternalTickCallback(jenv,arg1,arg2);
*(InternalTickCallback **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1InternalTickCallback_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btDynamicsWorld *arg1 = (btDynamicsWorld *) 0 ;
InternalTickCallback *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDynamicsWorld **)&jarg1;
result = (InternalTickCallback *)new SwigDirector_InternalTickCallback(jenv,arg1);
*(InternalTickCallback **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1InternalTickCallback_1_1SWIG_12(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
InternalTickCallback *result = 0 ;
(void)jenv;
(void)jcls;
result = (InternalTickCallback *)new SwigDirector_InternalTickCallback(jenv);
*(InternalTickCallback **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_InternalTickCallback_1onInternalTick(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jfloat jarg3) {
InternalTickCallback *arg1 = (InternalTickCallback *) 0 ;
btDynamicsWorld *arg2 = (btDynamicsWorld *) 0 ;
btScalar arg3 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(InternalTickCallback **)&jarg1;
arg2 = *(btDynamicsWorld **)&jarg2;
arg3 = (btScalar)jarg3;
(arg1)->onInternalTick(arg2,arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_InternalTickCallback_1onInternalTickSwigExplicitInternalTickCallback(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jfloat jarg3) {
InternalTickCallback *arg1 = (InternalTickCallback *) 0 ;
btDynamicsWorld *arg2 = (btDynamicsWorld *) 0 ;
btScalar arg3 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(InternalTickCallback **)&jarg1;
arg2 = *(btDynamicsWorld **)&jarg2;
arg3 = (btScalar)jarg3;
(arg1)->InternalTickCallback::onInternalTick(arg2,arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_InternalTickCallback_1detach_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
InternalTickCallback *arg1 = (InternalTickCallback *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(InternalTickCallback **)&jarg1;
(arg1)->detach();
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_InternalTickCallback_1attach_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jboolean jarg3) {
InternalTickCallback *arg1 = (InternalTickCallback *) 0 ;
btDynamicsWorld *arg2 = (btDynamicsWorld *) 0 ;
bool arg3 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(InternalTickCallback **)&jarg1;
arg2 = *(btDynamicsWorld **)&jarg2;
arg3 = jarg3 ? true : false;
(arg1)->attach(arg2,arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_InternalTickCallback_1attach_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
InternalTickCallback *arg1 = (InternalTickCallback *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(InternalTickCallback **)&jarg1;
(arg1)->attach();
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_InternalTickCallback_1detach_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jboolean jarg2) {
btDynamicsWorld *arg1 = (btDynamicsWorld *) 0 ;
bool arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDynamicsWorld **)&jarg1;
arg2 = jarg2 ? true : false;
InternalTickCallback::detach(arg1,arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1InternalTickCallback(JNIEnv *jenv, jclass jcls, jlong jarg1) {
InternalTickCallback *arg1 = (InternalTickCallback *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(InternalTickCallback **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_InternalTickCallback_1director_1connect(JNIEnv *jenv, jclass jcls, jobject jself, jlong objarg, jboolean jswig_mem_own, jboolean jweak_global) {
InternalTickCallback *obj = *((InternalTickCallback **)&objarg);
(void)jcls;
SwigDirector_InternalTickCallback *director = (SwigDirector_InternalTickCallback *)(obj);
if (director) {
director->swig_connect_director(jenv, jself, jenv->GetObjectClass(jself), (jswig_mem_own == JNI_TRUE), (jweak_global == JNI_TRUE));
}
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_InternalTickCallback_1change_1ownership(JNIEnv *jenv, jclass jcls, jobject jself, jlong objarg, jboolean jtake_or_release) {
InternalTickCallback *obj = *((InternalTickCallback **)&objarg);
SwigDirector_InternalTickCallback *director = (SwigDirector_InternalTickCallback *)(obj);
(void)jcls;
if (director) {
director->swig_java_change_ownership(jenv, jself, jtake_or_release ? true : false);
}
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btSimpleDynamicsWorld(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_, jlong jarg4, jobject jarg4_) {
jlong jresult = 0 ;
btDispatcher *arg1 = (btDispatcher *) 0 ;
btBroadphaseInterface *arg2 = (btBroadphaseInterface *) 0 ;
btConstraintSolver *arg3 = (btConstraintSolver *) 0 ;
btCollisionConfiguration *arg4 = (btCollisionConfiguration *) 0 ;
btSimpleDynamicsWorld *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
(void)jarg3_;
(void)jarg4_;
arg1 = *(btDispatcher **)&jarg1;
arg2 = *(btBroadphaseInterface **)&jarg2;
arg3 = *(btConstraintSolver **)&jarg3;
arg4 = *(btCollisionConfiguration **)&jarg4;
result = (btSimpleDynamicsWorld *)new btSimpleDynamicsWorld(arg1,arg2,arg3,arg4);
*(btSimpleDynamicsWorld **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btSimpleDynamicsWorld(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btSimpleDynamicsWorld *arg1 = (btSimpleDynamicsWorld *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btSimpleDynamicsWorld **)&jarg1;
delete arg1;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSimpleDynamicsWorld_1stepSimulation_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2, jint jarg3, jfloat jarg4) {
jint jresult = 0 ;
btSimpleDynamicsWorld *arg1 = (btSimpleDynamicsWorld *) 0 ;
btScalar arg2 ;
int arg3 ;
btScalar arg4 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSimpleDynamicsWorld **)&jarg1;
arg2 = (btScalar)jarg2;
arg3 = (int)jarg3;
arg4 = (btScalar)jarg4;
result = (int)(arg1)->stepSimulation(arg2,arg3,arg4);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSimpleDynamicsWorld_1stepSimulation_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2, jint jarg3) {
jint jresult = 0 ;
btSimpleDynamicsWorld *arg1 = (btSimpleDynamicsWorld *) 0 ;
btScalar arg2 ;
int arg3 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSimpleDynamicsWorld **)&jarg1;
arg2 = (btScalar)jarg2;
arg3 = (int)jarg3;
result = (int)(arg1)->stepSimulation(arg2,arg3);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSimpleDynamicsWorld_1stepSimulation_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
jint jresult = 0 ;
btSimpleDynamicsWorld *arg1 = (btSimpleDynamicsWorld *) 0 ;
btScalar arg2 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSimpleDynamicsWorld **)&jarg1;
arg2 = (btScalar)jarg2;
result = (int)(arg1)->stepSimulation(arg2);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSimpleDynamicsWorld_1addRigidBody_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btSimpleDynamicsWorld *arg1 = (btSimpleDynamicsWorld *) 0 ;
btRigidBody *arg2 = (btRigidBody *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btSimpleDynamicsWorld **)&jarg1;
arg2 = *(btRigidBody **)&jarg2;
(arg1)->addRigidBody(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSimpleDynamicsWorld_1addRigidBody_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jint jarg3, jint jarg4) {
btSimpleDynamicsWorld *arg1 = (btSimpleDynamicsWorld *) 0 ;
btRigidBody *arg2 = (btRigidBody *) 0 ;
int arg3 ;
int arg4 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btSimpleDynamicsWorld **)&jarg1;
arg2 = *(btRigidBody **)&jarg2;
arg3 = (int)jarg3;
arg4 = (int)jarg4;
(arg1)->addRigidBody(arg2,arg3,arg4);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btActionInterface(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btActionInterface *arg1 = (btActionInterface *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btActionInterface **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btActionInterface_1updateAction(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jfloat jarg3) {
btActionInterface *arg1 = (btActionInterface *) 0 ;
btCollisionWorld *arg2 = (btCollisionWorld *) 0 ;
btScalar arg3 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btActionInterface **)&jarg1;
arg2 = *(btCollisionWorld **)&jarg2;
arg3 = (btScalar)jarg3;
(arg1)->updateAction(arg2,arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btActionInterface_1debugDraw(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btActionInterface *arg1 = (btActionInterface *) 0 ;
btIDebugDraw *arg2 = (btIDebugDraw *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btActionInterface **)&jarg1;
arg2 = *(btIDebugDraw **)&jarg2;
(arg1)->debugDraw(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_CustomActionInterface_1updateAction(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
CustomActionInterface *arg1 = (CustomActionInterface *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(CustomActionInterface **)&jarg1;
arg2 = (btScalar)jarg2;
(arg1)->updateAction(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_CustomActionInterface_1debugDraw(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
CustomActionInterface *arg1 = (CustomActionInterface *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(CustomActionInterface **)&jarg1;
(arg1)->debugDraw();
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1CustomActionInterface(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
CustomActionInterface *result = 0 ;
(void)jenv;
(void)jcls;
result = (CustomActionInterface *)new SwigDirector_CustomActionInterface(jenv);
*(CustomActionInterface **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1CustomActionInterface(JNIEnv *jenv, jclass jcls, jlong jarg1) {
CustomActionInterface *arg1 = (CustomActionInterface *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(CustomActionInterface **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_CustomActionInterface_1director_1connect(JNIEnv *jenv, jclass jcls, jobject jself, jlong objarg, jboolean jswig_mem_own, jboolean jweak_global) {
CustomActionInterface *obj = *((CustomActionInterface **)&objarg);
(void)jcls;
SwigDirector_CustomActionInterface *director = (SwigDirector_CustomActionInterface *)(obj);
if (director) {
director->swig_connect_director(jenv, jself, jenv->GetObjectClass(jself), (jswig_mem_own == JNI_TRUE), (jweak_global == JNI_TRUE));
}
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_CustomActionInterface_1change_1ownership(JNIEnv *jenv, jclass jcls, jobject jself, jlong objarg, jboolean jtake_or_release) {
CustomActionInterface *obj = *((CustomActionInterface **)&objarg);
SwigDirector_CustomActionInterface *director = (SwigDirector_CustomActionInterface *)(obj);
(void)jcls;
if (director) {
director->swig_java_change_ownership(jenv, jself, jtake_or_release ? true : false);
}
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDiscreteDynamicsWorld_1operatorNew_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btDiscreteDynamicsWorld *arg1 = (btDiscreteDynamicsWorld *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDiscreteDynamicsWorld **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new(arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDiscreteDynamicsWorld_1operatorDelete_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btDiscreteDynamicsWorld *arg1 = (btDiscreteDynamicsWorld *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDiscreteDynamicsWorld **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete(arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDiscreteDynamicsWorld_1operatorNew_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btDiscreteDynamicsWorld *arg1 = (btDiscreteDynamicsWorld *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDiscreteDynamicsWorld **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new(arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDiscreteDynamicsWorld_1operatorDelete_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btDiscreteDynamicsWorld *arg1 = (btDiscreteDynamicsWorld *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDiscreteDynamicsWorld **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete(arg2,arg3);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDiscreteDynamicsWorld_1operatorNewArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btDiscreteDynamicsWorld *arg1 = (btDiscreteDynamicsWorld *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDiscreteDynamicsWorld **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new[](arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDiscreteDynamicsWorld_1operatorDeleteArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btDiscreteDynamicsWorld *arg1 = (btDiscreteDynamicsWorld *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDiscreteDynamicsWorld **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete[](arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDiscreteDynamicsWorld_1operatorNewArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btDiscreteDynamicsWorld *arg1 = (btDiscreteDynamicsWorld *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDiscreteDynamicsWorld **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new[](arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDiscreteDynamicsWorld_1operatorDeleteArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btDiscreteDynamicsWorld *arg1 = (btDiscreteDynamicsWorld *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDiscreteDynamicsWorld **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete[](arg2,arg3);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btDiscreteDynamicsWorld(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_, jlong jarg4, jobject jarg4_) {
jlong jresult = 0 ;
btDispatcher *arg1 = (btDispatcher *) 0 ;
btBroadphaseInterface *arg2 = (btBroadphaseInterface *) 0 ;
btConstraintSolver *arg3 = (btConstraintSolver *) 0 ;
btCollisionConfiguration *arg4 = (btCollisionConfiguration *) 0 ;
btDiscreteDynamicsWorld *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
(void)jarg3_;
(void)jarg4_;
arg1 = *(btDispatcher **)&jarg1;
arg2 = *(btBroadphaseInterface **)&jarg2;
arg3 = *(btConstraintSolver **)&jarg3;
arg4 = *(btCollisionConfiguration **)&jarg4;
result = (btDiscreteDynamicsWorld *)new btDiscreteDynamicsWorld(arg1,arg2,arg3,arg4);
*(btDiscreteDynamicsWorld **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btDiscreteDynamicsWorld(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btDiscreteDynamicsWorld *arg1 = (btDiscreteDynamicsWorld *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btDiscreteDynamicsWorld **)&jarg1;
delete arg1;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDiscreteDynamicsWorld_1stepSimulation_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2, jint jarg3, jfloat jarg4) {
jint jresult = 0 ;
btDiscreteDynamicsWorld *arg1 = (btDiscreteDynamicsWorld *) 0 ;
btScalar arg2 ;
int arg3 ;
btScalar arg4 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDiscreteDynamicsWorld **)&jarg1;
arg2 = (btScalar)jarg2;
arg3 = (int)jarg3;
arg4 = (btScalar)jarg4;
result = (int)(arg1)->stepSimulation(arg2,arg3,arg4);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDiscreteDynamicsWorld_1stepSimulation_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2, jint jarg3) {
jint jresult = 0 ;
btDiscreteDynamicsWorld *arg1 = (btDiscreteDynamicsWorld *) 0 ;
btScalar arg2 ;
int arg3 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDiscreteDynamicsWorld **)&jarg1;
arg2 = (btScalar)jarg2;
arg3 = (int)jarg3;
result = (int)(arg1)->stepSimulation(arg2,arg3);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDiscreteDynamicsWorld_1stepSimulation_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
jint jresult = 0 ;
btDiscreteDynamicsWorld *arg1 = (btDiscreteDynamicsWorld *) 0 ;
btScalar arg2 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDiscreteDynamicsWorld **)&jarg1;
arg2 = (btScalar)jarg2;
result = (int)(arg1)->stepSimulation(arg2);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDiscreteDynamicsWorld_1synchronizeSingleMotionState(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btDiscreteDynamicsWorld *arg1 = (btDiscreteDynamicsWorld *) 0 ;
btRigidBody *arg2 = (btRigidBody *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btDiscreteDynamicsWorld **)&jarg1;
arg2 = *(btRigidBody **)&jarg2;
(arg1)->synchronizeSingleMotionState(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDiscreteDynamicsWorld_1addConstraint_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jboolean jarg3) {
btDiscreteDynamicsWorld *arg1 = (btDiscreteDynamicsWorld *) 0 ;
btTypedConstraint *arg2 = (btTypedConstraint *) 0 ;
bool arg3 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btDiscreteDynamicsWorld **)&jarg1;
arg2 = *(btTypedConstraint **)&jarg2;
arg3 = jarg3 ? true : false;
(arg1)->addConstraint(arg2,arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDiscreteDynamicsWorld_1addConstraint_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btDiscreteDynamicsWorld *arg1 = (btDiscreteDynamicsWorld *) 0 ;
btTypedConstraint *arg2 = (btTypedConstraint *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btDiscreteDynamicsWorld **)&jarg1;
arg2 = *(btTypedConstraint **)&jarg2;
(arg1)->addConstraint(arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDiscreteDynamicsWorld_1getSimulationIslandManager(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btDiscreteDynamicsWorld *arg1 = (btDiscreteDynamicsWorld *) 0 ;
btSimulationIslandManager *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDiscreteDynamicsWorld **)&jarg1;
result = (btSimulationIslandManager *)(arg1)->getSimulationIslandManager();
*(btSimulationIslandManager **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDiscreteDynamicsWorld_1getSimulationIslandManagerConst(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btDiscreteDynamicsWorld *arg1 = (btDiscreteDynamicsWorld *) 0 ;
btSimulationIslandManager *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDiscreteDynamicsWorld **)&jarg1;
result = (btSimulationIslandManager *)((btDiscreteDynamicsWorld const *)arg1)->getSimulationIslandManager();
*(btSimulationIslandManager **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDiscreteDynamicsWorld_1getCollisionWorld(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btDiscreteDynamicsWorld *arg1 = (btDiscreteDynamicsWorld *) 0 ;
btCollisionWorld *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDiscreteDynamicsWorld **)&jarg1;
result = (btCollisionWorld *)(arg1)->getCollisionWorld();
*(btCollisionWorld **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDiscreteDynamicsWorld_1addCollisionObject_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jint jarg3, jint jarg4) {
btDiscreteDynamicsWorld *arg1 = (btDiscreteDynamicsWorld *) 0 ;
btCollisionObject *arg2 = (btCollisionObject *) 0 ;
int arg3 ;
int arg4 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btDiscreteDynamicsWorld **)&jarg1;
arg2 = *(btCollisionObject **)&jarg2;
arg3 = (int)jarg3;
arg4 = (int)jarg4;
(arg1)->addCollisionObject(arg2,arg3,arg4);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDiscreteDynamicsWorld_1addCollisionObject_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jint jarg3) {
btDiscreteDynamicsWorld *arg1 = (btDiscreteDynamicsWorld *) 0 ;
btCollisionObject *arg2 = (btCollisionObject *) 0 ;
int arg3 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btDiscreteDynamicsWorld **)&jarg1;
arg2 = *(btCollisionObject **)&jarg2;
arg3 = (int)jarg3;
(arg1)->addCollisionObject(arg2,arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDiscreteDynamicsWorld_1addCollisionObject_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btDiscreteDynamicsWorld *arg1 = (btDiscreteDynamicsWorld *) 0 ;
btCollisionObject *arg2 = (btCollisionObject *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btDiscreteDynamicsWorld **)&jarg1;
arg2 = *(btCollisionObject **)&jarg2;
(arg1)->addCollisionObject(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDiscreteDynamicsWorld_1addRigidBody_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btDiscreteDynamicsWorld *arg1 = (btDiscreteDynamicsWorld *) 0 ;
btRigidBody *arg2 = (btRigidBody *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btDiscreteDynamicsWorld **)&jarg1;
arg2 = *(btRigidBody **)&jarg2;
(arg1)->addRigidBody(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDiscreteDynamicsWorld_1addRigidBody_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jint jarg3, jint jarg4) {
btDiscreteDynamicsWorld *arg1 = (btDiscreteDynamicsWorld *) 0 ;
btRigidBody *arg2 = (btRigidBody *) 0 ;
int arg3 ;
int arg4 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btDiscreteDynamicsWorld **)&jarg1;
arg2 = *(btRigidBody **)&jarg2;
arg3 = (int)jarg3;
arg4 = (int)jarg4;
(arg1)->addRigidBody(arg2,arg3,arg4);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDiscreteDynamicsWorld_1debugDrawConstraint(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btDiscreteDynamicsWorld *arg1 = (btDiscreteDynamicsWorld *) 0 ;
btTypedConstraint *arg2 = (btTypedConstraint *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btDiscreteDynamicsWorld **)&jarg1;
arg2 = *(btTypedConstraint **)&jarg2;
(arg1)->debugDrawConstraint(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDiscreteDynamicsWorld_1applyGravity(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
btDiscreteDynamicsWorld *arg1 = (btDiscreteDynamicsWorld *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDiscreteDynamicsWorld **)&jarg1;
(arg1)->applyGravity();
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDiscreteDynamicsWorld_1setNumTasks(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btDiscreteDynamicsWorld *arg1 = (btDiscreteDynamicsWorld *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDiscreteDynamicsWorld **)&jarg1;
arg2 = (int)jarg2;
(arg1)->setNumTasks(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDiscreteDynamicsWorld_1updateVehicles(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btDiscreteDynamicsWorld *arg1 = (btDiscreteDynamicsWorld *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDiscreteDynamicsWorld **)&jarg1;
arg2 = (btScalar)jarg2;
(arg1)->updateVehicles(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDiscreteDynamicsWorld_1setSynchronizeAllMotionStates(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jboolean jarg2) {
btDiscreteDynamicsWorld *arg1 = (btDiscreteDynamicsWorld *) 0 ;
bool arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDiscreteDynamicsWorld **)&jarg1;
arg2 = jarg2 ? true : false;
(arg1)->setSynchronizeAllMotionStates(arg2);
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDiscreteDynamicsWorld_1getSynchronizeAllMotionStates(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jboolean jresult = 0 ;
btDiscreteDynamicsWorld *arg1 = (btDiscreteDynamicsWorld *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDiscreteDynamicsWorld **)&jarg1;
result = (bool)((btDiscreteDynamicsWorld const *)arg1)->getSynchronizeAllMotionStates();
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDiscreteDynamicsWorld_1setApplySpeculativeContactRestitution(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jboolean jarg2) {
btDiscreteDynamicsWorld *arg1 = (btDiscreteDynamicsWorld *) 0 ;
bool arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDiscreteDynamicsWorld **)&jarg1;
arg2 = jarg2 ? true : false;
(arg1)->setApplySpeculativeContactRestitution(arg2);
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDiscreteDynamicsWorld_1getApplySpeculativeContactRestitution(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jboolean jresult = 0 ;
btDiscreteDynamicsWorld *arg1 = (btDiscreteDynamicsWorld *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDiscreteDynamicsWorld **)&jarg1;
result = (bool)((btDiscreteDynamicsWorld const *)arg1)->getApplySpeculativeContactRestitution();
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDiscreteDynamicsWorld_1setLatencyMotionStateInterpolation(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jboolean jarg2) {
btDiscreteDynamicsWorld *arg1 = (btDiscreteDynamicsWorld *) 0 ;
bool arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDiscreteDynamicsWorld **)&jarg1;
arg2 = jarg2 ? true : false;
(arg1)->setLatencyMotionStateInterpolation(arg2);
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDiscreteDynamicsWorld_1getLatencyMotionStateInterpolation(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jboolean jresult = 0 ;
btDiscreteDynamicsWorld *arg1 = (btDiscreteDynamicsWorld *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDiscreteDynamicsWorld **)&jarg1;
result = (bool)((btDiscreteDynamicsWorld const *)arg1)->getLatencyMotionStateInterpolation();
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btCharacterControllerInterface(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btCharacterControllerInterface *arg1 = (btCharacterControllerInterface *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btCharacterControllerInterface **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btCharacterControllerInterface_1setWalkDirection(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btCharacterControllerInterface *arg1 = (btCharacterControllerInterface *) 0 ;
btVector3 *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCharacterControllerInterface **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
(arg1)->setWalkDirection((btVector3 const &)*arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btCharacterControllerInterface_1setVelocityForTimeInterval(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jfloat jarg3) {
btCharacterControllerInterface *arg1 = (btCharacterControllerInterface *) 0 ;
btVector3 *arg2 = 0 ;
btScalar arg3 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCharacterControllerInterface **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
arg3 = (btScalar)jarg3;
(arg1)->setVelocityForTimeInterval((btVector3 const &)*arg2,arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btCharacterControllerInterface_1reset(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btCharacterControllerInterface *arg1 = (btCharacterControllerInterface *) 0 ;
btCollisionWorld *arg2 = (btCollisionWorld *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btCharacterControllerInterface **)&jarg1;
arg2 = *(btCollisionWorld **)&jarg2;
(arg1)->reset(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btCharacterControllerInterface_1warp(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btCharacterControllerInterface *arg1 = (btCharacterControllerInterface *) 0 ;
btVector3 *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCharacterControllerInterface **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
(arg1)->warp((btVector3 const &)*arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btCharacterControllerInterface_1preStep(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btCharacterControllerInterface *arg1 = (btCharacterControllerInterface *) 0 ;
btCollisionWorld *arg2 = (btCollisionWorld *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btCharacterControllerInterface **)&jarg1;
arg2 = *(btCollisionWorld **)&jarg2;
(arg1)->preStep(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btCharacterControllerInterface_1playerStep(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jfloat jarg3) {
btCharacterControllerInterface *arg1 = (btCharacterControllerInterface *) 0 ;
btCollisionWorld *arg2 = (btCollisionWorld *) 0 ;
btScalar arg3 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btCharacterControllerInterface **)&jarg1;
arg2 = *(btCollisionWorld **)&jarg2;
arg3 = (btScalar)jarg3;
(arg1)->playerStep(arg2,arg3);
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btCharacterControllerInterface_1canJump(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jboolean jresult = 0 ;
btCharacterControllerInterface *arg1 = (btCharacterControllerInterface *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCharacterControllerInterface **)&jarg1;
result = (bool)((btCharacterControllerInterface const *)arg1)->canJump();
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btCharacterControllerInterface_1jump_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btCharacterControllerInterface *arg1 = (btCharacterControllerInterface *) 0 ;
btVector3 *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCharacterControllerInterface **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
(arg1)->jump((btVector3 const &)*arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btCharacterControllerInterface_1jump_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
btCharacterControllerInterface *arg1 = (btCharacterControllerInterface *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCharacterControllerInterface **)&jarg1;
(arg1)->jump();
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btCharacterControllerInterface_1onGround(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jboolean jresult = 0 ;
btCharacterControllerInterface *arg1 = (btCharacterControllerInterface *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCharacterControllerInterface **)&jarg1;
result = (bool)((btCharacterControllerInterface const *)arg1)->onGround();
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btCharacterControllerInterface_1setUpInterpolate(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jboolean jarg2) {
btCharacterControllerInterface *arg1 = (btCharacterControllerInterface *) 0 ;
bool arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCharacterControllerInterface **)&jarg1;
arg2 = jarg2 ? true : false;
(arg1)->setUpInterpolate(arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btKinematicCharacterController_1operatorNew_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btKinematicCharacterController *arg1 = (btKinematicCharacterController *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btKinematicCharacterController **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new(arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btKinematicCharacterController_1operatorDelete_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btKinematicCharacterController *arg1 = (btKinematicCharacterController *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btKinematicCharacterController **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete(arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btKinematicCharacterController_1operatorNew_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btKinematicCharacterController *arg1 = (btKinematicCharacterController *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btKinematicCharacterController **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new(arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btKinematicCharacterController_1operatorDelete_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btKinematicCharacterController *arg1 = (btKinematicCharacterController *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btKinematicCharacterController **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete(arg2,arg3);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btKinematicCharacterController_1operatorNewArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btKinematicCharacterController *arg1 = (btKinematicCharacterController *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btKinematicCharacterController **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new[](arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btKinematicCharacterController_1operatorDeleteArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btKinematicCharacterController *arg1 = (btKinematicCharacterController *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btKinematicCharacterController **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete[](arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btKinematicCharacterController_1operatorNewArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btKinematicCharacterController *arg1 = (btKinematicCharacterController *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btKinematicCharacterController **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new[](arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btKinematicCharacterController_1operatorDeleteArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btKinematicCharacterController *arg1 = (btKinematicCharacterController *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btKinematicCharacterController **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete[](arg2,arg3);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btKinematicCharacterController_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jfloat jarg3, jobject jarg4) {
jlong jresult = 0 ;
btPairCachingGhostObject *arg1 = (btPairCachingGhostObject *) 0 ;
btConvexShape *arg2 = (btConvexShape *) 0 ;
btScalar arg3 ;
btVector3 *arg4 = 0 ;
btKinematicCharacterController *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btPairCachingGhostObject **)&jarg1;
arg2 = *(btConvexShape **)&jarg2;
arg3 = (btScalar)jarg3;
btVector3 local_arg4;
gdx_setbtVector3FromVector3(jenv, local_arg4, jarg4);
arg4 = &local_arg4;
gdxAutoCommitVector3 auto_commit_arg4(jenv, jarg4, &local_arg4);
result = (btKinematicCharacterController *)new btKinematicCharacterController(arg1,arg2,arg3,(btVector3 const &)*arg4);
*(btKinematicCharacterController **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btKinematicCharacterController_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jfloat jarg3) {
jlong jresult = 0 ;
btPairCachingGhostObject *arg1 = (btPairCachingGhostObject *) 0 ;
btConvexShape *arg2 = (btConvexShape *) 0 ;
btScalar arg3 ;
btKinematicCharacterController *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btPairCachingGhostObject **)&jarg1;
arg2 = *(btConvexShape **)&jarg2;
arg3 = (btScalar)jarg3;
result = (btKinematicCharacterController *)new btKinematicCharacterController(arg1,arg2,arg3);
*(btKinematicCharacterController **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btKinematicCharacterController(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btKinematicCharacterController *arg1 = (btKinematicCharacterController *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btKinematicCharacterController **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btKinematicCharacterController_1setUp(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btKinematicCharacterController *arg1 = (btKinematicCharacterController *) 0 ;
btVector3 *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btKinematicCharacterController **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
(arg1)->setUp((btVector3 const &)*arg2);
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btKinematicCharacterController_1getUp(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btKinematicCharacterController *arg1 = (btKinematicCharacterController *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btKinematicCharacterController **)&jarg1;
result = (btVector3 *) &(arg1)->getUp();
jresult = gdx_getReturnVector3(jenv);
gdx_setVector3FrombtVector3(jenv, jresult, result);
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btKinematicCharacterController_1setAngularVelocity(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btKinematicCharacterController *arg1 = (btKinematicCharacterController *) 0 ;
btVector3 *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btKinematicCharacterController **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
(arg1)->setAngularVelocity((btVector3 const &)*arg2);
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btKinematicCharacterController_1getAngularVelocity(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btKinematicCharacterController *arg1 = (btKinematicCharacterController *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btKinematicCharacterController **)&jarg1;
result = (btVector3 *) &((btKinematicCharacterController const *)arg1)->getAngularVelocity();
jresult = gdx_getReturnVector3(jenv);
gdx_setVector3FrombtVector3(jenv, jresult, result);
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btKinematicCharacterController_1setLinearVelocity(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btKinematicCharacterController *arg1 = (btKinematicCharacterController *) 0 ;
btVector3 *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btKinematicCharacterController **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
(arg1)->setLinearVelocity((btVector3 const &)*arg2);
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btKinematicCharacterController_1getLinearVelocity(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btKinematicCharacterController *arg1 = (btKinematicCharacterController *) 0 ;
btVector3 result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btKinematicCharacterController **)&jarg1;
result = ((btKinematicCharacterController const *)arg1)->getLinearVelocity();
jresult = gdx_getReturnVector3(jenv);
gdx_setVector3FrombtVector3(jenv, jresult, result);
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btKinematicCharacterController_1setLinearDamping(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btKinematicCharacterController *arg1 = (btKinematicCharacterController *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btKinematicCharacterController **)&jarg1;
arg2 = (btScalar)jarg2;
(arg1)->setLinearDamping(arg2);
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btKinematicCharacterController_1getLinearDamping(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btKinematicCharacterController *arg1 = (btKinematicCharacterController *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btKinematicCharacterController **)&jarg1;
result = (btScalar)((btKinematicCharacterController const *)arg1)->getLinearDamping();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btKinematicCharacterController_1setAngularDamping(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btKinematicCharacterController *arg1 = (btKinematicCharacterController *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btKinematicCharacterController **)&jarg1;
arg2 = (btScalar)jarg2;
(arg1)->setAngularDamping(arg2);
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btKinematicCharacterController_1getAngularDamping(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btKinematicCharacterController *arg1 = (btKinematicCharacterController *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btKinematicCharacterController **)&jarg1;
result = (btScalar)((btKinematicCharacterController const *)arg1)->getAngularDamping();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btKinematicCharacterController_1setStepHeight(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btKinematicCharacterController *arg1 = (btKinematicCharacterController *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btKinematicCharacterController **)&jarg1;
arg2 = (btScalar)jarg2;
(arg1)->setStepHeight(arg2);
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btKinematicCharacterController_1getStepHeight(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btKinematicCharacterController *arg1 = (btKinematicCharacterController *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btKinematicCharacterController **)&jarg1;
result = (btScalar)((btKinematicCharacterController const *)arg1)->getStepHeight();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btKinematicCharacterController_1setFallSpeed(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btKinematicCharacterController *arg1 = (btKinematicCharacterController *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btKinematicCharacterController **)&jarg1;
arg2 = (btScalar)jarg2;
(arg1)->setFallSpeed(arg2);
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btKinematicCharacterController_1getFallSpeed(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btKinematicCharacterController *arg1 = (btKinematicCharacterController *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btKinematicCharacterController **)&jarg1;
result = (btScalar)((btKinematicCharacterController const *)arg1)->getFallSpeed();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btKinematicCharacterController_1setJumpSpeed(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btKinematicCharacterController *arg1 = (btKinematicCharacterController *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btKinematicCharacterController **)&jarg1;
arg2 = (btScalar)jarg2;
(arg1)->setJumpSpeed(arg2);
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btKinematicCharacterController_1getJumpSpeed(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btKinematicCharacterController *arg1 = (btKinematicCharacterController *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btKinematicCharacterController **)&jarg1;
result = (btScalar)((btKinematicCharacterController const *)arg1)->getJumpSpeed();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btKinematicCharacterController_1setMaxJumpHeight(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btKinematicCharacterController *arg1 = (btKinematicCharacterController *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btKinematicCharacterController **)&jarg1;
arg2 = (btScalar)jarg2;
(arg1)->setMaxJumpHeight(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btKinematicCharacterController_1jump_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btKinematicCharacterController *arg1 = (btKinematicCharacterController *) 0 ;
btVector3 *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btKinematicCharacterController **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
(arg1)->jump((btVector3 const &)*arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btKinematicCharacterController_1jump_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
btKinematicCharacterController *arg1 = (btKinematicCharacterController *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btKinematicCharacterController **)&jarg1;
(arg1)->jump();
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btKinematicCharacterController_1applyImpulse(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btKinematicCharacterController *arg1 = (btKinematicCharacterController *) 0 ;
btVector3 *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btKinematicCharacterController **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
(arg1)->applyImpulse((btVector3 const &)*arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btKinematicCharacterController_1setGravity(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btKinematicCharacterController *arg1 = (btKinematicCharacterController *) 0 ;
btVector3 *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btKinematicCharacterController **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
(arg1)->setGravity((btVector3 const &)*arg2);
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btKinematicCharacterController_1getGravity(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btKinematicCharacterController *arg1 = (btKinematicCharacterController *) 0 ;
btVector3 result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btKinematicCharacterController **)&jarg1;
result = ((btKinematicCharacterController const *)arg1)->getGravity();
jresult = gdx_getReturnVector3(jenv);
gdx_setVector3FrombtVector3(jenv, jresult, result);
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btKinematicCharacterController_1setMaxSlope(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btKinematicCharacterController *arg1 = (btKinematicCharacterController *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btKinematicCharacterController **)&jarg1;
arg2 = (btScalar)jarg2;
(arg1)->setMaxSlope(arg2);
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btKinematicCharacterController_1getMaxSlope(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btKinematicCharacterController *arg1 = (btKinematicCharacterController *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btKinematicCharacterController **)&jarg1;
result = (btScalar)((btKinematicCharacterController const *)arg1)->getMaxSlope();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btKinematicCharacterController_1setMaxPenetrationDepth(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btKinematicCharacterController *arg1 = (btKinematicCharacterController *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btKinematicCharacterController **)&jarg1;
arg2 = (btScalar)jarg2;
(arg1)->setMaxPenetrationDepth(arg2);
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btKinematicCharacterController_1getMaxPenetrationDepth(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btKinematicCharacterController *arg1 = (btKinematicCharacterController *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btKinematicCharacterController **)&jarg1;
result = (btScalar)((btKinematicCharacterController const *)arg1)->getMaxPenetrationDepth();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btKinematicCharacterController_1getGhostObject(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btKinematicCharacterController *arg1 = (btKinematicCharacterController *) 0 ;
btPairCachingGhostObject *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btKinematicCharacterController **)&jarg1;
result = (btPairCachingGhostObject *)(arg1)->getGhostObject();
*(btPairCachingGhostObject **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btKinematicCharacterController_1setUseGhostSweepTest(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jboolean jarg2) {
btKinematicCharacterController *arg1 = (btKinematicCharacterController *) 0 ;
bool arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btKinematicCharacterController **)&jarg1;
arg2 = jarg2 ? true : false;
(arg1)->setUseGhostSweepTest(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoData_1tau_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btContactSolverInfoData *arg1 = (btContactSolverInfoData *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoData **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_tau = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoData_1tau_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btContactSolverInfoData *arg1 = (btContactSolverInfoData *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoData **)&jarg1;
result = (btScalar) ((arg1)->m_tau);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoData_1damping_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btContactSolverInfoData *arg1 = (btContactSolverInfoData *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoData **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_damping = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoData_1damping_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btContactSolverInfoData *arg1 = (btContactSolverInfoData *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoData **)&jarg1;
result = (btScalar) ((arg1)->m_damping);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoData_1friction_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btContactSolverInfoData *arg1 = (btContactSolverInfoData *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoData **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_friction = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoData_1friction_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btContactSolverInfoData *arg1 = (btContactSolverInfoData *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoData **)&jarg1;
result = (btScalar) ((arg1)->m_friction);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoData_1timeStep_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btContactSolverInfoData *arg1 = (btContactSolverInfoData *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoData **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_timeStep = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoData_1timeStep_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btContactSolverInfoData *arg1 = (btContactSolverInfoData *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoData **)&jarg1;
result = (btScalar) ((arg1)->m_timeStep);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoData_1restitution_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btContactSolverInfoData *arg1 = (btContactSolverInfoData *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoData **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_restitution = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoData_1restitution_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btContactSolverInfoData *arg1 = (btContactSolverInfoData *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoData **)&jarg1;
result = (btScalar) ((arg1)->m_restitution);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoData_1numIterations_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btContactSolverInfoData *arg1 = (btContactSolverInfoData *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoData **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_numIterations = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoData_1numIterations_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btContactSolverInfoData *arg1 = (btContactSolverInfoData *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoData **)&jarg1;
result = (int) ((arg1)->m_numIterations);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoData_1maxErrorReduction_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btContactSolverInfoData *arg1 = (btContactSolverInfoData *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoData **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_maxErrorReduction = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoData_1maxErrorReduction_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btContactSolverInfoData *arg1 = (btContactSolverInfoData *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoData **)&jarg1;
result = (btScalar) ((arg1)->m_maxErrorReduction);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoData_1sor_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btContactSolverInfoData *arg1 = (btContactSolverInfoData *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoData **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_sor = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoData_1sor_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btContactSolverInfoData *arg1 = (btContactSolverInfoData *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoData **)&jarg1;
result = (btScalar) ((arg1)->m_sor);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoData_1erp_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btContactSolverInfoData *arg1 = (btContactSolverInfoData *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoData **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_erp = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoData_1erp_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btContactSolverInfoData *arg1 = (btContactSolverInfoData *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoData **)&jarg1;
result = (btScalar) ((arg1)->m_erp);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoData_1erp2_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btContactSolverInfoData *arg1 = (btContactSolverInfoData *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoData **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_erp2 = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoData_1erp2_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btContactSolverInfoData *arg1 = (btContactSolverInfoData *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoData **)&jarg1;
result = (btScalar) ((arg1)->m_erp2);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoData_1globalCfm_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btContactSolverInfoData *arg1 = (btContactSolverInfoData *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoData **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_globalCfm = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoData_1globalCfm_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btContactSolverInfoData *arg1 = (btContactSolverInfoData *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoData **)&jarg1;
result = (btScalar) ((arg1)->m_globalCfm);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoData_1frictionERP_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btContactSolverInfoData *arg1 = (btContactSolverInfoData *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoData **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_frictionERP = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoData_1frictionERP_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btContactSolverInfoData *arg1 = (btContactSolverInfoData *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoData **)&jarg1;
result = (btScalar) ((arg1)->m_frictionERP);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoData_1frictionCFM_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btContactSolverInfoData *arg1 = (btContactSolverInfoData *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoData **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_frictionCFM = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoData_1frictionCFM_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btContactSolverInfoData *arg1 = (btContactSolverInfoData *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoData **)&jarg1;
result = (btScalar) ((arg1)->m_frictionCFM);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoData_1splitImpulse_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btContactSolverInfoData *arg1 = (btContactSolverInfoData *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoData **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_splitImpulse = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoData_1splitImpulse_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btContactSolverInfoData *arg1 = (btContactSolverInfoData *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoData **)&jarg1;
result = (int) ((arg1)->m_splitImpulse);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoData_1splitImpulsePenetrationThreshold_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btContactSolverInfoData *arg1 = (btContactSolverInfoData *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoData **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_splitImpulsePenetrationThreshold = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoData_1splitImpulsePenetrationThreshold_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btContactSolverInfoData *arg1 = (btContactSolverInfoData *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoData **)&jarg1;
result = (btScalar) ((arg1)->m_splitImpulsePenetrationThreshold);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoData_1splitImpulseTurnErp_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btContactSolverInfoData *arg1 = (btContactSolverInfoData *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoData **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_splitImpulseTurnErp = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoData_1splitImpulseTurnErp_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btContactSolverInfoData *arg1 = (btContactSolverInfoData *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoData **)&jarg1;
result = (btScalar) ((arg1)->m_splitImpulseTurnErp);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoData_1linearSlop_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btContactSolverInfoData *arg1 = (btContactSolverInfoData *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoData **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_linearSlop = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoData_1linearSlop_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btContactSolverInfoData *arg1 = (btContactSolverInfoData *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoData **)&jarg1;
result = (btScalar) ((arg1)->m_linearSlop);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoData_1warmstartingFactor_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btContactSolverInfoData *arg1 = (btContactSolverInfoData *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoData **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_warmstartingFactor = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoData_1warmstartingFactor_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btContactSolverInfoData *arg1 = (btContactSolverInfoData *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoData **)&jarg1;
result = (btScalar) ((arg1)->m_warmstartingFactor);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoData_1solverMode_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btContactSolverInfoData *arg1 = (btContactSolverInfoData *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoData **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_solverMode = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoData_1solverMode_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btContactSolverInfoData *arg1 = (btContactSolverInfoData *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoData **)&jarg1;
result = (int) ((arg1)->m_solverMode);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoData_1restingContactRestitutionThreshold_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btContactSolverInfoData *arg1 = (btContactSolverInfoData *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoData **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_restingContactRestitutionThreshold = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoData_1restingContactRestitutionThreshold_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btContactSolverInfoData *arg1 = (btContactSolverInfoData *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoData **)&jarg1;
result = (int) ((arg1)->m_restingContactRestitutionThreshold);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoData_1minimumSolverBatchSize_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btContactSolverInfoData *arg1 = (btContactSolverInfoData *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoData **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_minimumSolverBatchSize = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoData_1minimumSolverBatchSize_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btContactSolverInfoData *arg1 = (btContactSolverInfoData *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoData **)&jarg1;
result = (int) ((arg1)->m_minimumSolverBatchSize);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoData_1maxGyroscopicForce_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btContactSolverInfoData *arg1 = (btContactSolverInfoData *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoData **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_maxGyroscopicForce = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoData_1maxGyroscopicForce_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btContactSolverInfoData *arg1 = (btContactSolverInfoData *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoData **)&jarg1;
result = (btScalar) ((arg1)->m_maxGyroscopicForce);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoData_1singleAxisRollingFrictionThreshold_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btContactSolverInfoData *arg1 = (btContactSolverInfoData *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoData **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_singleAxisRollingFrictionThreshold = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoData_1singleAxisRollingFrictionThreshold_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btContactSolverInfoData *arg1 = (btContactSolverInfoData *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoData **)&jarg1;
result = (btScalar) ((arg1)->m_singleAxisRollingFrictionThreshold);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoData_1leastSquaresResidualThreshold_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btContactSolverInfoData *arg1 = (btContactSolverInfoData *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoData **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_leastSquaresResidualThreshold = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoData_1leastSquaresResidualThreshold_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btContactSolverInfoData *arg1 = (btContactSolverInfoData *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoData **)&jarg1;
result = (btScalar) ((arg1)->m_leastSquaresResidualThreshold);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoData_1restitutionVelocityThreshold_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btContactSolverInfoData *arg1 = (btContactSolverInfoData *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoData **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_restitutionVelocityThreshold = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoData_1restitutionVelocityThreshold_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btContactSolverInfoData *arg1 = (btContactSolverInfoData *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoData **)&jarg1;
result = (btScalar) ((arg1)->m_restitutionVelocityThreshold);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btContactSolverInfoData(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btContactSolverInfoData *result = 0 ;
(void)jenv;
(void)jcls;
result = (btContactSolverInfoData *)new btContactSolverInfoData();
*(btContactSolverInfoData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btContactSolverInfoData(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btContactSolverInfoData *arg1 = (btContactSolverInfoData *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btContactSolverInfoData **)&jarg1;
delete arg1;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btContactSolverInfo(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btContactSolverInfo *result = 0 ;
(void)jenv;
(void)jcls;
result = (btContactSolverInfo *)new btContactSolverInfo();
*(btContactSolverInfo **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btContactSolverInfo(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btContactSolverInfo *arg1 = (btContactSolverInfo *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btContactSolverInfo **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoDoubleData_1tau_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2) {
btContactSolverInfoDoubleData *arg1 = (btContactSolverInfoDoubleData *) 0 ;
double arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoDoubleData **)&jarg1;
arg2 = (double)jarg2;
if (arg1) (arg1)->m_tau = arg2;
}
SWIGEXPORT jdouble JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoDoubleData_1tau_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jdouble jresult = 0 ;
btContactSolverInfoDoubleData *arg1 = (btContactSolverInfoDoubleData *) 0 ;
double result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoDoubleData **)&jarg1;
result = (double) ((arg1)->m_tau);
jresult = (jdouble)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoDoubleData_1damping_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2) {
btContactSolverInfoDoubleData *arg1 = (btContactSolverInfoDoubleData *) 0 ;
double arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoDoubleData **)&jarg1;
arg2 = (double)jarg2;
if (arg1) (arg1)->m_damping = arg2;
}
SWIGEXPORT jdouble JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoDoubleData_1damping_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jdouble jresult = 0 ;
btContactSolverInfoDoubleData *arg1 = (btContactSolverInfoDoubleData *) 0 ;
double result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoDoubleData **)&jarg1;
result = (double) ((arg1)->m_damping);
jresult = (jdouble)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoDoubleData_1friction_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2) {
btContactSolverInfoDoubleData *arg1 = (btContactSolverInfoDoubleData *) 0 ;
double arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoDoubleData **)&jarg1;
arg2 = (double)jarg2;
if (arg1) (arg1)->m_friction = arg2;
}
SWIGEXPORT jdouble JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoDoubleData_1friction_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jdouble jresult = 0 ;
btContactSolverInfoDoubleData *arg1 = (btContactSolverInfoDoubleData *) 0 ;
double result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoDoubleData **)&jarg1;
result = (double) ((arg1)->m_friction);
jresult = (jdouble)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoDoubleData_1timeStep_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2) {
btContactSolverInfoDoubleData *arg1 = (btContactSolverInfoDoubleData *) 0 ;
double arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoDoubleData **)&jarg1;
arg2 = (double)jarg2;
if (arg1) (arg1)->m_timeStep = arg2;
}
SWIGEXPORT jdouble JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoDoubleData_1timeStep_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jdouble jresult = 0 ;
btContactSolverInfoDoubleData *arg1 = (btContactSolverInfoDoubleData *) 0 ;
double result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoDoubleData **)&jarg1;
result = (double) ((arg1)->m_timeStep);
jresult = (jdouble)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoDoubleData_1restitution_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2) {
btContactSolverInfoDoubleData *arg1 = (btContactSolverInfoDoubleData *) 0 ;
double arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoDoubleData **)&jarg1;
arg2 = (double)jarg2;
if (arg1) (arg1)->m_restitution = arg2;
}
SWIGEXPORT jdouble JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoDoubleData_1restitution_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jdouble jresult = 0 ;
btContactSolverInfoDoubleData *arg1 = (btContactSolverInfoDoubleData *) 0 ;
double result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoDoubleData **)&jarg1;
result = (double) ((arg1)->m_restitution);
jresult = (jdouble)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoDoubleData_1maxErrorReduction_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2) {
btContactSolverInfoDoubleData *arg1 = (btContactSolverInfoDoubleData *) 0 ;
double arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoDoubleData **)&jarg1;
arg2 = (double)jarg2;
if (arg1) (arg1)->m_maxErrorReduction = arg2;
}
SWIGEXPORT jdouble JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoDoubleData_1maxErrorReduction_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jdouble jresult = 0 ;
btContactSolverInfoDoubleData *arg1 = (btContactSolverInfoDoubleData *) 0 ;
double result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoDoubleData **)&jarg1;
result = (double) ((arg1)->m_maxErrorReduction);
jresult = (jdouble)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoDoubleData_1sor_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2) {
btContactSolverInfoDoubleData *arg1 = (btContactSolverInfoDoubleData *) 0 ;
double arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoDoubleData **)&jarg1;
arg2 = (double)jarg2;
if (arg1) (arg1)->m_sor = arg2;
}
SWIGEXPORT jdouble JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoDoubleData_1sor_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jdouble jresult = 0 ;
btContactSolverInfoDoubleData *arg1 = (btContactSolverInfoDoubleData *) 0 ;
double result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoDoubleData **)&jarg1;
result = (double) ((arg1)->m_sor);
jresult = (jdouble)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoDoubleData_1erp_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2) {
btContactSolverInfoDoubleData *arg1 = (btContactSolverInfoDoubleData *) 0 ;
double arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoDoubleData **)&jarg1;
arg2 = (double)jarg2;
if (arg1) (arg1)->m_erp = arg2;
}
SWIGEXPORT jdouble JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoDoubleData_1erp_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jdouble jresult = 0 ;
btContactSolverInfoDoubleData *arg1 = (btContactSolverInfoDoubleData *) 0 ;
double result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoDoubleData **)&jarg1;
result = (double) ((arg1)->m_erp);
jresult = (jdouble)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoDoubleData_1erp2_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2) {
btContactSolverInfoDoubleData *arg1 = (btContactSolverInfoDoubleData *) 0 ;
double arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoDoubleData **)&jarg1;
arg2 = (double)jarg2;
if (arg1) (arg1)->m_erp2 = arg2;
}
SWIGEXPORT jdouble JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoDoubleData_1erp2_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jdouble jresult = 0 ;
btContactSolverInfoDoubleData *arg1 = (btContactSolverInfoDoubleData *) 0 ;
double result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoDoubleData **)&jarg1;
result = (double) ((arg1)->m_erp2);
jresult = (jdouble)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoDoubleData_1globalCfm_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2) {
btContactSolverInfoDoubleData *arg1 = (btContactSolverInfoDoubleData *) 0 ;
double arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoDoubleData **)&jarg1;
arg2 = (double)jarg2;
if (arg1) (arg1)->m_globalCfm = arg2;
}
SWIGEXPORT jdouble JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoDoubleData_1globalCfm_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jdouble jresult = 0 ;
btContactSolverInfoDoubleData *arg1 = (btContactSolverInfoDoubleData *) 0 ;
double result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoDoubleData **)&jarg1;
result = (double) ((arg1)->m_globalCfm);
jresult = (jdouble)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoDoubleData_1splitImpulsePenetrationThreshold_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2) {
btContactSolverInfoDoubleData *arg1 = (btContactSolverInfoDoubleData *) 0 ;
double arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoDoubleData **)&jarg1;
arg2 = (double)jarg2;
if (arg1) (arg1)->m_splitImpulsePenetrationThreshold = arg2;
}
SWIGEXPORT jdouble JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoDoubleData_1splitImpulsePenetrationThreshold_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jdouble jresult = 0 ;
btContactSolverInfoDoubleData *arg1 = (btContactSolverInfoDoubleData *) 0 ;
double result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoDoubleData **)&jarg1;
result = (double) ((arg1)->m_splitImpulsePenetrationThreshold);
jresult = (jdouble)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoDoubleData_1splitImpulseTurnErp_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2) {
btContactSolverInfoDoubleData *arg1 = (btContactSolverInfoDoubleData *) 0 ;
double arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoDoubleData **)&jarg1;
arg2 = (double)jarg2;
if (arg1) (arg1)->m_splitImpulseTurnErp = arg2;
}
SWIGEXPORT jdouble JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoDoubleData_1splitImpulseTurnErp_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jdouble jresult = 0 ;
btContactSolverInfoDoubleData *arg1 = (btContactSolverInfoDoubleData *) 0 ;
double result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoDoubleData **)&jarg1;
result = (double) ((arg1)->m_splitImpulseTurnErp);
jresult = (jdouble)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoDoubleData_1linearSlop_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2) {
btContactSolverInfoDoubleData *arg1 = (btContactSolverInfoDoubleData *) 0 ;
double arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoDoubleData **)&jarg1;
arg2 = (double)jarg2;
if (arg1) (arg1)->m_linearSlop = arg2;
}
SWIGEXPORT jdouble JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoDoubleData_1linearSlop_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jdouble jresult = 0 ;
btContactSolverInfoDoubleData *arg1 = (btContactSolverInfoDoubleData *) 0 ;
double result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoDoubleData **)&jarg1;
result = (double) ((arg1)->m_linearSlop);
jresult = (jdouble)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoDoubleData_1warmstartingFactor_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2) {
btContactSolverInfoDoubleData *arg1 = (btContactSolverInfoDoubleData *) 0 ;
double arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoDoubleData **)&jarg1;
arg2 = (double)jarg2;
if (arg1) (arg1)->m_warmstartingFactor = arg2;
}
SWIGEXPORT jdouble JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoDoubleData_1warmstartingFactor_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jdouble jresult = 0 ;
btContactSolverInfoDoubleData *arg1 = (btContactSolverInfoDoubleData *) 0 ;
double result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoDoubleData **)&jarg1;
result = (double) ((arg1)->m_warmstartingFactor);
jresult = (jdouble)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoDoubleData_1maxGyroscopicForce_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2) {
btContactSolverInfoDoubleData *arg1 = (btContactSolverInfoDoubleData *) 0 ;
double arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoDoubleData **)&jarg1;
arg2 = (double)jarg2;
if (arg1) (arg1)->m_maxGyroscopicForce = arg2;
}
SWIGEXPORT jdouble JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoDoubleData_1maxGyroscopicForce_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jdouble jresult = 0 ;
btContactSolverInfoDoubleData *arg1 = (btContactSolverInfoDoubleData *) 0 ;
double result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoDoubleData **)&jarg1;
result = (double) ((arg1)->m_maxGyroscopicForce);
jresult = (jdouble)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoDoubleData_1singleAxisRollingFrictionThreshold_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2) {
btContactSolverInfoDoubleData *arg1 = (btContactSolverInfoDoubleData *) 0 ;
double arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoDoubleData **)&jarg1;
arg2 = (double)jarg2;
if (arg1) (arg1)->m_singleAxisRollingFrictionThreshold = arg2;
}
SWIGEXPORT jdouble JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoDoubleData_1singleAxisRollingFrictionThreshold_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jdouble jresult = 0 ;
btContactSolverInfoDoubleData *arg1 = (btContactSolverInfoDoubleData *) 0 ;
double result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoDoubleData **)&jarg1;
result = (double) ((arg1)->m_singleAxisRollingFrictionThreshold);
jresult = (jdouble)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoDoubleData_1numIterations_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btContactSolverInfoDoubleData *arg1 = (btContactSolverInfoDoubleData *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoDoubleData **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_numIterations = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoDoubleData_1numIterations_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btContactSolverInfoDoubleData *arg1 = (btContactSolverInfoDoubleData *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoDoubleData **)&jarg1;
result = (int) ((arg1)->m_numIterations);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoDoubleData_1solverMode_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btContactSolverInfoDoubleData *arg1 = (btContactSolverInfoDoubleData *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoDoubleData **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_solverMode = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoDoubleData_1solverMode_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btContactSolverInfoDoubleData *arg1 = (btContactSolverInfoDoubleData *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoDoubleData **)&jarg1;
result = (int) ((arg1)->m_solverMode);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoDoubleData_1restingContactRestitutionThreshold_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btContactSolverInfoDoubleData *arg1 = (btContactSolverInfoDoubleData *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoDoubleData **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_restingContactRestitutionThreshold = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoDoubleData_1restingContactRestitutionThreshold_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btContactSolverInfoDoubleData *arg1 = (btContactSolverInfoDoubleData *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoDoubleData **)&jarg1;
result = (int) ((arg1)->m_restingContactRestitutionThreshold);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoDoubleData_1minimumSolverBatchSize_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btContactSolverInfoDoubleData *arg1 = (btContactSolverInfoDoubleData *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoDoubleData **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_minimumSolverBatchSize = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoDoubleData_1minimumSolverBatchSize_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btContactSolverInfoDoubleData *arg1 = (btContactSolverInfoDoubleData *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoDoubleData **)&jarg1;
result = (int) ((arg1)->m_minimumSolverBatchSize);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoDoubleData_1splitImpulse_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btContactSolverInfoDoubleData *arg1 = (btContactSolverInfoDoubleData *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoDoubleData **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_splitImpulse = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoDoubleData_1splitImpulse_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btContactSolverInfoDoubleData *arg1 = (btContactSolverInfoDoubleData *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoDoubleData **)&jarg1;
result = (int) ((arg1)->m_splitImpulse);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoDoubleData_1padding_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
btContactSolverInfoDoubleData *arg1 = (btContactSolverInfoDoubleData *) 0 ;
char *arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoDoubleData **)&jarg1;
arg2 = 0;
if (jarg2) {
arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
if (!arg2) return ;
}
{
if(arg2) {
strncpy((char*)arg1->m_padding, (const char *)arg2, 4-1);
arg1->m_padding[4-1] = 0;
} else {
arg1->m_padding[0] = 0;
}
}
if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
}
SWIGEXPORT jstring JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoDoubleData_1padding_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jstring jresult = 0 ;
btContactSolverInfoDoubleData *arg1 = (btContactSolverInfoDoubleData *) 0 ;
char *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoDoubleData **)&jarg1;
result = (char *)(char *) ((arg1)->m_padding);
if (result) jresult = jenv->NewStringUTF((const char *)result);
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btContactSolverInfoDoubleData(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btContactSolverInfoDoubleData *result = 0 ;
(void)jenv;
(void)jcls;
result = (btContactSolverInfoDoubleData *)new btContactSolverInfoDoubleData();
*(btContactSolverInfoDoubleData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btContactSolverInfoDoubleData(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btContactSolverInfoDoubleData *arg1 = (btContactSolverInfoDoubleData *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btContactSolverInfoDoubleData **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoFloatData_1tau_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btContactSolverInfoFloatData *arg1 = (btContactSolverInfoFloatData *) 0 ;
float arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoFloatData **)&jarg1;
arg2 = (float)jarg2;
if (arg1) (arg1)->m_tau = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoFloatData_1tau_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btContactSolverInfoFloatData *arg1 = (btContactSolverInfoFloatData *) 0 ;
float result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoFloatData **)&jarg1;
result = (float) ((arg1)->m_tau);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoFloatData_1damping_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btContactSolverInfoFloatData *arg1 = (btContactSolverInfoFloatData *) 0 ;
float arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoFloatData **)&jarg1;
arg2 = (float)jarg2;
if (arg1) (arg1)->m_damping = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoFloatData_1damping_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btContactSolverInfoFloatData *arg1 = (btContactSolverInfoFloatData *) 0 ;
float result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoFloatData **)&jarg1;
result = (float) ((arg1)->m_damping);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoFloatData_1friction_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btContactSolverInfoFloatData *arg1 = (btContactSolverInfoFloatData *) 0 ;
float arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoFloatData **)&jarg1;
arg2 = (float)jarg2;
if (arg1) (arg1)->m_friction = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoFloatData_1friction_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btContactSolverInfoFloatData *arg1 = (btContactSolverInfoFloatData *) 0 ;
float result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoFloatData **)&jarg1;
result = (float) ((arg1)->m_friction);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoFloatData_1timeStep_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btContactSolverInfoFloatData *arg1 = (btContactSolverInfoFloatData *) 0 ;
float arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoFloatData **)&jarg1;
arg2 = (float)jarg2;
if (arg1) (arg1)->m_timeStep = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoFloatData_1timeStep_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btContactSolverInfoFloatData *arg1 = (btContactSolverInfoFloatData *) 0 ;
float result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoFloatData **)&jarg1;
result = (float) ((arg1)->m_timeStep);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoFloatData_1restitution_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btContactSolverInfoFloatData *arg1 = (btContactSolverInfoFloatData *) 0 ;
float arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoFloatData **)&jarg1;
arg2 = (float)jarg2;
if (arg1) (arg1)->m_restitution = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoFloatData_1restitution_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btContactSolverInfoFloatData *arg1 = (btContactSolverInfoFloatData *) 0 ;
float result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoFloatData **)&jarg1;
result = (float) ((arg1)->m_restitution);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoFloatData_1maxErrorReduction_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btContactSolverInfoFloatData *arg1 = (btContactSolverInfoFloatData *) 0 ;
float arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoFloatData **)&jarg1;
arg2 = (float)jarg2;
if (arg1) (arg1)->m_maxErrorReduction = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoFloatData_1maxErrorReduction_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btContactSolverInfoFloatData *arg1 = (btContactSolverInfoFloatData *) 0 ;
float result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoFloatData **)&jarg1;
result = (float) ((arg1)->m_maxErrorReduction);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoFloatData_1sor_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btContactSolverInfoFloatData *arg1 = (btContactSolverInfoFloatData *) 0 ;
float arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoFloatData **)&jarg1;
arg2 = (float)jarg2;
if (arg1) (arg1)->m_sor = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoFloatData_1sor_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btContactSolverInfoFloatData *arg1 = (btContactSolverInfoFloatData *) 0 ;
float result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoFloatData **)&jarg1;
result = (float) ((arg1)->m_sor);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoFloatData_1erp_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btContactSolverInfoFloatData *arg1 = (btContactSolverInfoFloatData *) 0 ;
float arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoFloatData **)&jarg1;
arg2 = (float)jarg2;
if (arg1) (arg1)->m_erp = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoFloatData_1erp_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btContactSolverInfoFloatData *arg1 = (btContactSolverInfoFloatData *) 0 ;
float result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoFloatData **)&jarg1;
result = (float) ((arg1)->m_erp);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoFloatData_1erp2_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btContactSolverInfoFloatData *arg1 = (btContactSolverInfoFloatData *) 0 ;
float arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoFloatData **)&jarg1;
arg2 = (float)jarg2;
if (arg1) (arg1)->m_erp2 = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoFloatData_1erp2_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btContactSolverInfoFloatData *arg1 = (btContactSolverInfoFloatData *) 0 ;
float result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoFloatData **)&jarg1;
result = (float) ((arg1)->m_erp2);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoFloatData_1globalCfm_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btContactSolverInfoFloatData *arg1 = (btContactSolverInfoFloatData *) 0 ;
float arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoFloatData **)&jarg1;
arg2 = (float)jarg2;
if (arg1) (arg1)->m_globalCfm = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoFloatData_1globalCfm_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btContactSolverInfoFloatData *arg1 = (btContactSolverInfoFloatData *) 0 ;
float result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoFloatData **)&jarg1;
result = (float) ((arg1)->m_globalCfm);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoFloatData_1splitImpulsePenetrationThreshold_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btContactSolverInfoFloatData *arg1 = (btContactSolverInfoFloatData *) 0 ;
float arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoFloatData **)&jarg1;
arg2 = (float)jarg2;
if (arg1) (arg1)->m_splitImpulsePenetrationThreshold = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoFloatData_1splitImpulsePenetrationThreshold_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btContactSolverInfoFloatData *arg1 = (btContactSolverInfoFloatData *) 0 ;
float result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoFloatData **)&jarg1;
result = (float) ((arg1)->m_splitImpulsePenetrationThreshold);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoFloatData_1splitImpulseTurnErp_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btContactSolverInfoFloatData *arg1 = (btContactSolverInfoFloatData *) 0 ;
float arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoFloatData **)&jarg1;
arg2 = (float)jarg2;
if (arg1) (arg1)->m_splitImpulseTurnErp = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoFloatData_1splitImpulseTurnErp_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btContactSolverInfoFloatData *arg1 = (btContactSolverInfoFloatData *) 0 ;
float result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoFloatData **)&jarg1;
result = (float) ((arg1)->m_splitImpulseTurnErp);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoFloatData_1linearSlop_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btContactSolverInfoFloatData *arg1 = (btContactSolverInfoFloatData *) 0 ;
float arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoFloatData **)&jarg1;
arg2 = (float)jarg2;
if (arg1) (arg1)->m_linearSlop = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoFloatData_1linearSlop_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btContactSolverInfoFloatData *arg1 = (btContactSolverInfoFloatData *) 0 ;
float result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoFloatData **)&jarg1;
result = (float) ((arg1)->m_linearSlop);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoFloatData_1warmstartingFactor_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btContactSolverInfoFloatData *arg1 = (btContactSolverInfoFloatData *) 0 ;
float arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoFloatData **)&jarg1;
arg2 = (float)jarg2;
if (arg1) (arg1)->m_warmstartingFactor = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoFloatData_1warmstartingFactor_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btContactSolverInfoFloatData *arg1 = (btContactSolverInfoFloatData *) 0 ;
float result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoFloatData **)&jarg1;
result = (float) ((arg1)->m_warmstartingFactor);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoFloatData_1maxGyroscopicForce_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btContactSolverInfoFloatData *arg1 = (btContactSolverInfoFloatData *) 0 ;
float arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoFloatData **)&jarg1;
arg2 = (float)jarg2;
if (arg1) (arg1)->m_maxGyroscopicForce = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoFloatData_1maxGyroscopicForce_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btContactSolverInfoFloatData *arg1 = (btContactSolverInfoFloatData *) 0 ;
float result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoFloatData **)&jarg1;
result = (float) ((arg1)->m_maxGyroscopicForce);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoFloatData_1singleAxisRollingFrictionThreshold_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btContactSolverInfoFloatData *arg1 = (btContactSolverInfoFloatData *) 0 ;
float arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoFloatData **)&jarg1;
arg2 = (float)jarg2;
if (arg1) (arg1)->m_singleAxisRollingFrictionThreshold = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoFloatData_1singleAxisRollingFrictionThreshold_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btContactSolverInfoFloatData *arg1 = (btContactSolverInfoFloatData *) 0 ;
float result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoFloatData **)&jarg1;
result = (float) ((arg1)->m_singleAxisRollingFrictionThreshold);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoFloatData_1numIterations_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btContactSolverInfoFloatData *arg1 = (btContactSolverInfoFloatData *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoFloatData **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_numIterations = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoFloatData_1numIterations_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btContactSolverInfoFloatData *arg1 = (btContactSolverInfoFloatData *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoFloatData **)&jarg1;
result = (int) ((arg1)->m_numIterations);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoFloatData_1solverMode_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btContactSolverInfoFloatData *arg1 = (btContactSolverInfoFloatData *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoFloatData **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_solverMode = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoFloatData_1solverMode_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btContactSolverInfoFloatData *arg1 = (btContactSolverInfoFloatData *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoFloatData **)&jarg1;
result = (int) ((arg1)->m_solverMode);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoFloatData_1restingContactRestitutionThreshold_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btContactSolverInfoFloatData *arg1 = (btContactSolverInfoFloatData *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoFloatData **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_restingContactRestitutionThreshold = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoFloatData_1restingContactRestitutionThreshold_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btContactSolverInfoFloatData *arg1 = (btContactSolverInfoFloatData *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoFloatData **)&jarg1;
result = (int) ((arg1)->m_restingContactRestitutionThreshold);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoFloatData_1minimumSolverBatchSize_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btContactSolverInfoFloatData *arg1 = (btContactSolverInfoFloatData *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoFloatData **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_minimumSolverBatchSize = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoFloatData_1minimumSolverBatchSize_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btContactSolverInfoFloatData *arg1 = (btContactSolverInfoFloatData *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoFloatData **)&jarg1;
result = (int) ((arg1)->m_minimumSolverBatchSize);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoFloatData_1splitImpulse_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btContactSolverInfoFloatData *arg1 = (btContactSolverInfoFloatData *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoFloatData **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_splitImpulse = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoFloatData_1splitImpulse_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btContactSolverInfoFloatData *arg1 = (btContactSolverInfoFloatData *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoFloatData **)&jarg1;
result = (int) ((arg1)->m_splitImpulse);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoFloatData_1padding_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
btContactSolverInfoFloatData *arg1 = (btContactSolverInfoFloatData *) 0 ;
char *arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoFloatData **)&jarg1;
arg2 = 0;
if (jarg2) {
arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
if (!arg2) return ;
}
{
if(arg2) {
strncpy((char*)arg1->m_padding, (const char *)arg2, 4-1);
arg1->m_padding[4-1] = 0;
} else {
arg1->m_padding[0] = 0;
}
}
if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
}
SWIGEXPORT jstring JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoFloatData_1padding_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jstring jresult = 0 ;
btContactSolverInfoFloatData *arg1 = (btContactSolverInfoFloatData *) 0 ;
char *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoFloatData **)&jarg1;
result = (char *)(char *) ((arg1)->m_padding);
if (result) jresult = jenv->NewStringUTF((const char *)result);
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btContactSolverInfoFloatData(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btContactSolverInfoFloatData *result = 0 ;
(void)jenv;
(void)jcls;
result = (btContactSolverInfoFloatData *)new btContactSolverInfoFloatData();
*(btContactSolverInfoFloatData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btContactSolverInfoFloatData(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btContactSolverInfoFloatData *arg1 = (btContactSolverInfoFloatData *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btContactSolverInfoFloatData **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btConstraintSolver(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btConstraintSolver *arg1 = (btConstraintSolver *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btConstraintSolver **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConstraintSolver_1prepareSolve(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jint jarg3) {
btConstraintSolver *arg1 = (btConstraintSolver *) 0 ;
int arg2 ;
int arg3 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConstraintSolver **)&jarg1;
arg2 = (int)jarg2;
arg3 = (int)jarg3;
(arg1)->prepareSolve(arg2,arg3);
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConstraintSolver_1solveGroup(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jint jarg3, jlong jarg4, jint jarg5, jlong jarg6, jint jarg7, jlong jarg8, jobject jarg8_, jlong jarg9, jobject jarg9_, jlong jarg10, jobject jarg10_) {
jfloat jresult = 0 ;
btConstraintSolver *arg1 = (btConstraintSolver *) 0 ;
btCollisionObject **arg2 = (btCollisionObject **) 0 ;
int arg3 ;
btPersistentManifold **arg4 = (btPersistentManifold **) 0 ;
int arg5 ;
btTypedConstraint **arg6 = (btTypedConstraint **) 0 ;
int arg7 ;
btContactSolverInfo *arg8 = 0 ;
btIDebugDraw *arg9 = (btIDebugDraw *) 0 ;
btDispatcher *arg10 = (btDispatcher *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg8_;
(void)jarg9_;
(void)jarg10_;
arg1 = *(btConstraintSolver **)&jarg1;
arg2 = *(btCollisionObject ***)&jarg2;
arg3 = (int)jarg3;
arg4 = *(btPersistentManifold ***)&jarg4;
arg5 = (int)jarg5;
arg6 = *(btTypedConstraint ***)&jarg6;
arg7 = (int)jarg7;
arg8 = *(btContactSolverInfo **)&jarg8;
if (!arg8) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btContactSolverInfo const & reference is null");
return 0;
}
arg9 = *(btIDebugDraw **)&jarg9;
arg10 = *(btDispatcher **)&jarg10;
result = (btScalar)(arg1)->solveGroup(arg2,arg3,arg4,arg5,arg6,arg7,(btContactSolverInfo const &)*arg8,arg9,arg10);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConstraintSolver_1allSolved(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_) {
btConstraintSolver *arg1 = (btConstraintSolver *) 0 ;
btContactSolverInfo *arg2 = 0 ;
btIDebugDraw *arg3 = (btIDebugDraw *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
(void)jarg3_;
arg1 = *(btConstraintSolver **)&jarg1;
arg2 = *(btContactSolverInfo **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btContactSolverInfo const & reference is null");
return ;
}
arg3 = *(btIDebugDraw **)&jarg3;
(arg1)->allSolved((btContactSolverInfo const &)*arg2,arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConstraintSolver_1reset(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
btConstraintSolver *arg1 = (btConstraintSolver *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConstraintSolver **)&jarg1;
(arg1)->reset();
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConstraintSolver_1getSolverType(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btConstraintSolver *arg1 = (btConstraintSolver *) 0 ;
btConstraintSolverType result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConstraintSolver **)&jarg1;
result = (btConstraintSolverType)((btConstraintSolver const *)arg1)->getSolverType();
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSequentialImpulseConstraintSolver_1operatorNew_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btSequentialImpulseConstraintSolver *arg1 = (btSequentialImpulseConstraintSolver *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSequentialImpulseConstraintSolver **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new(arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSequentialImpulseConstraintSolver_1operatorDelete_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btSequentialImpulseConstraintSolver *arg1 = (btSequentialImpulseConstraintSolver *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSequentialImpulseConstraintSolver **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete(arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSequentialImpulseConstraintSolver_1operatorNew_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btSequentialImpulseConstraintSolver *arg1 = (btSequentialImpulseConstraintSolver *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSequentialImpulseConstraintSolver **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new(arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSequentialImpulseConstraintSolver_1operatorDelete_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btSequentialImpulseConstraintSolver *arg1 = (btSequentialImpulseConstraintSolver *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSequentialImpulseConstraintSolver **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete(arg2,arg3);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSequentialImpulseConstraintSolver_1operatorNewArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btSequentialImpulseConstraintSolver *arg1 = (btSequentialImpulseConstraintSolver *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSequentialImpulseConstraintSolver **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new[](arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSequentialImpulseConstraintSolver_1operatorDeleteArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btSequentialImpulseConstraintSolver *arg1 = (btSequentialImpulseConstraintSolver *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSequentialImpulseConstraintSolver **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete[](arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSequentialImpulseConstraintSolver_1operatorNewArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btSequentialImpulseConstraintSolver *arg1 = (btSequentialImpulseConstraintSolver *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSequentialImpulseConstraintSolver **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new[](arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSequentialImpulseConstraintSolver_1operatorDeleteArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btSequentialImpulseConstraintSolver *arg1 = (btSequentialImpulseConstraintSolver *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSequentialImpulseConstraintSolver **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete[](arg2,arg3);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btSequentialImpulseConstraintSolver(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btSequentialImpulseConstraintSolver *result = 0 ;
(void)jenv;
(void)jcls;
result = (btSequentialImpulseConstraintSolver *)new btSequentialImpulseConstraintSolver();
*(btSequentialImpulseConstraintSolver **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btSequentialImpulseConstraintSolver(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btSequentialImpulseConstraintSolver *arg1 = (btSequentialImpulseConstraintSolver *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btSequentialImpulseConstraintSolver **)&jarg1;
delete arg1;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSequentialImpulseConstraintSolver_1btRand2(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btSequentialImpulseConstraintSolver *arg1 = (btSequentialImpulseConstraintSolver *) 0 ;
unsigned long result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSequentialImpulseConstraintSolver **)&jarg1;
result = (unsigned long)(arg1)->btRand2();
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSequentialImpulseConstraintSolver_1btRandInt2(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jint jresult = 0 ;
btSequentialImpulseConstraintSolver *arg1 = (btSequentialImpulseConstraintSolver *) 0 ;
int arg2 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSequentialImpulseConstraintSolver **)&jarg1;
arg2 = (int)jarg2;
result = (int)(arg1)->btRandInt2(arg2);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSequentialImpulseConstraintSolver_1setRandSeed(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btSequentialImpulseConstraintSolver *arg1 = (btSequentialImpulseConstraintSolver *) 0 ;
unsigned long arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSequentialImpulseConstraintSolver **)&jarg1;
arg2 = (unsigned long)jarg2;
(arg1)->setRandSeed(arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSequentialImpulseConstraintSolver_1getRandSeed(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btSequentialImpulseConstraintSolver *arg1 = (btSequentialImpulseConstraintSolver *) 0 ;
unsigned long result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSequentialImpulseConstraintSolver **)&jarg1;
result = (unsigned long)((btSequentialImpulseConstraintSolver const *)arg1)->getRandSeed();
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSequentialImpulseConstraintSolver_1getActiveConstraintRowSolverGeneric(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btSequentialImpulseConstraintSolver *arg1 = (btSequentialImpulseConstraintSolver *) 0 ;
btSingleConstraintRowSolver result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSequentialImpulseConstraintSolver **)&jarg1;
result = (btSingleConstraintRowSolver)(arg1)->getActiveConstraintRowSolverGeneric();
*(btSingleConstraintRowSolver *)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSequentialImpulseConstraintSolver_1setConstraintRowSolverGeneric(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btSequentialImpulseConstraintSolver *arg1 = (btSequentialImpulseConstraintSolver *) 0 ;
btSingleConstraintRowSolver arg2 = (btSingleConstraintRowSolver) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSequentialImpulseConstraintSolver **)&jarg1;
arg2 = *(btSingleConstraintRowSolver *)&jarg2;
(arg1)->setConstraintRowSolverGeneric(arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSequentialImpulseConstraintSolver_1getActiveConstraintRowSolverLowerLimit(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btSequentialImpulseConstraintSolver *arg1 = (btSequentialImpulseConstraintSolver *) 0 ;
btSingleConstraintRowSolver result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSequentialImpulseConstraintSolver **)&jarg1;
result = (btSingleConstraintRowSolver)(arg1)->getActiveConstraintRowSolverLowerLimit();
*(btSingleConstraintRowSolver *)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSequentialImpulseConstraintSolver_1setConstraintRowSolverLowerLimit(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btSequentialImpulseConstraintSolver *arg1 = (btSequentialImpulseConstraintSolver *) 0 ;
btSingleConstraintRowSolver arg2 = (btSingleConstraintRowSolver) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSequentialImpulseConstraintSolver **)&jarg1;
arg2 = *(btSingleConstraintRowSolver *)&jarg2;
(arg1)->setConstraintRowSolverLowerLimit(arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSequentialImpulseConstraintSolver_1getScalarConstraintRowSolverGeneric(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btSequentialImpulseConstraintSolver *arg1 = (btSequentialImpulseConstraintSolver *) 0 ;
btSingleConstraintRowSolver result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSequentialImpulseConstraintSolver **)&jarg1;
result = (btSingleConstraintRowSolver)(arg1)->getScalarConstraintRowSolverGeneric();
*(btSingleConstraintRowSolver *)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSequentialImpulseConstraintSolver_1getScalarConstraintRowSolverLowerLimit(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btSequentialImpulseConstraintSolver *arg1 = (btSequentialImpulseConstraintSolver *) 0 ;
btSingleConstraintRowSolver result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSequentialImpulseConstraintSolver **)&jarg1;
result = (btSingleConstraintRowSolver)(arg1)->getScalarConstraintRowSolverLowerLimit();
*(btSingleConstraintRowSolver *)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverBody_1operatorNew_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btSolverBody *arg1 = (btSolverBody *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSolverBody **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new(arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverBody_1operatorDelete_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btSolverBody *arg1 = (btSolverBody *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSolverBody **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete(arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverBody_1operatorNew_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btSolverBody *arg1 = (btSolverBody *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSolverBody **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new(arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverBody_1operatorDelete_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btSolverBody *arg1 = (btSolverBody *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSolverBody **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete(arg2,arg3);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverBody_1operatorNewArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btSolverBody *arg1 = (btSolverBody *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSolverBody **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new[](arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverBody_1operatorDeleteArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btSolverBody *arg1 = (btSolverBody *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSolverBody **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete[](arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverBody_1operatorNewArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btSolverBody *arg1 = (btSolverBody *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSolverBody **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new[](arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverBody_1operatorDeleteArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btSolverBody *arg1 = (btSolverBody *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSolverBody **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete[](arg2,arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverBody_1worldTransform_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btSolverBody *arg1 = (btSolverBody *) 0 ;
btTransform *arg2 = (btTransform *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btSolverBody **)&jarg1;
arg2 = *(btTransform **)&jarg2;
if (arg1) (arg1)->m_worldTransform = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverBody_1worldTransform_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btSolverBody *arg1 = (btSolverBody *) 0 ;
btTransform *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSolverBody **)&jarg1;
result = (btTransform *)& ((arg1)->m_worldTransform);
*(btTransform **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverBody_1deltaLinearVelocity_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btSolverBody *arg1 = (btSolverBody *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btSolverBody **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->m_deltaLinearVelocity = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverBody_1deltaLinearVelocity_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btSolverBody *arg1 = (btSolverBody *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSolverBody **)&jarg1;
result = (btVector3 *)& ((arg1)->m_deltaLinearVelocity);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverBody_1deltaAngularVelocity_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btSolverBody *arg1 = (btSolverBody *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btSolverBody **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->m_deltaAngularVelocity = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverBody_1deltaAngularVelocity_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btSolverBody *arg1 = (btSolverBody *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSolverBody **)&jarg1;
result = (btVector3 *)& ((arg1)->m_deltaAngularVelocity);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverBody_1angularFactor_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btSolverBody *arg1 = (btSolverBody *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btSolverBody **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->m_angularFactor = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverBody_1angularFactor_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btSolverBody *arg1 = (btSolverBody *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSolverBody **)&jarg1;
result = (btVector3 *)& ((arg1)->m_angularFactor);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverBody_1linearFactor_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btSolverBody *arg1 = (btSolverBody *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btSolverBody **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->m_linearFactor = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverBody_1linearFactor_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btSolverBody *arg1 = (btSolverBody *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSolverBody **)&jarg1;
result = (btVector3 *)& ((arg1)->m_linearFactor);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverBody_1invMass_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btSolverBody *arg1 = (btSolverBody *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btSolverBody **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->m_invMass = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverBody_1invMass_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btSolverBody *arg1 = (btSolverBody *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSolverBody **)&jarg1;
result = (btVector3 *)& ((arg1)->m_invMass);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverBody_1pushVelocity_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btSolverBody *arg1 = (btSolverBody *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btSolverBody **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->m_pushVelocity = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverBody_1pushVelocity_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btSolverBody *arg1 = (btSolverBody *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSolverBody **)&jarg1;
result = (btVector3 *)& ((arg1)->m_pushVelocity);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverBody_1turnVelocity_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btSolverBody *arg1 = (btSolverBody *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btSolverBody **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->m_turnVelocity = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverBody_1turnVelocity_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btSolverBody *arg1 = (btSolverBody *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSolverBody **)&jarg1;
result = (btVector3 *)& ((arg1)->m_turnVelocity);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverBody_1linearVelocity_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btSolverBody *arg1 = (btSolverBody *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btSolverBody **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->m_linearVelocity = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverBody_1linearVelocity_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btSolverBody *arg1 = (btSolverBody *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSolverBody **)&jarg1;
result = (btVector3 *)& ((arg1)->m_linearVelocity);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverBody_1angularVelocity_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btSolverBody *arg1 = (btSolverBody *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btSolverBody **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->m_angularVelocity = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverBody_1angularVelocity_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btSolverBody *arg1 = (btSolverBody *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSolverBody **)&jarg1;
result = (btVector3 *)& ((arg1)->m_angularVelocity);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverBody_1externalForceImpulse_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btSolverBody *arg1 = (btSolverBody *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btSolverBody **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->m_externalForceImpulse = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverBody_1externalForceImpulse_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btSolverBody *arg1 = (btSolverBody *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSolverBody **)&jarg1;
result = (btVector3 *)& ((arg1)->m_externalForceImpulse);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverBody_1externalTorqueImpulse_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btSolverBody *arg1 = (btSolverBody *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btSolverBody **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->m_externalTorqueImpulse = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverBody_1externalTorqueImpulse_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btSolverBody *arg1 = (btSolverBody *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSolverBody **)&jarg1;
result = (btVector3 *)& ((arg1)->m_externalTorqueImpulse);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverBody_1originalBody_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btSolverBody *arg1 = (btSolverBody *) 0 ;
btRigidBody *arg2 = (btRigidBody *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btSolverBody **)&jarg1;
arg2 = *(btRigidBody **)&jarg2;
if (arg1) (arg1)->m_originalBody = arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverBody_1originalBody_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btSolverBody *arg1 = (btSolverBody *) 0 ;
btRigidBody *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSolverBody **)&jarg1;
result = (btRigidBody *) ((arg1)->m_originalBody);
*(btRigidBody **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverBody_1getVelocityInLocalPointNoDelta(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jobject jarg3) {
btSolverBody *arg1 = (btSolverBody *) 0 ;
btVector3 *arg2 = 0 ;
btVector3 *arg3 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSolverBody **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
((btSolverBody const *)arg1)->getVelocityInLocalPointNoDelta((btVector3 const &)*arg2,*arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverBody_1getVelocityInLocalPointObsolete(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jobject jarg3) {
btSolverBody *arg1 = (btSolverBody *) 0 ;
btVector3 *arg2 = 0 ;
btVector3 *arg3 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSolverBody **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
((btSolverBody const *)arg1)->getVelocityInLocalPointObsolete((btVector3 const &)*arg2,*arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverBody_1getAngularVelocity(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btSolverBody *arg1 = (btSolverBody *) 0 ;
btVector3 *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSolverBody **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
((btSolverBody const *)arg1)->getAngularVelocity(*arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverBody_1applyImpulse(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jobject jarg3, jfloat jarg4) {
btSolverBody *arg1 = (btSolverBody *) 0 ;
btVector3 *arg2 = 0 ;
btVector3 *arg3 = 0 ;
btScalar arg4 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSolverBody **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
arg4 = (btScalar)jarg4;
(arg1)->applyImpulse((btVector3 const &)*arg2,(btVector3 const &)*arg3,arg4);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverBody_1internalApplyPushImpulse(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jobject jarg3, jfloat jarg4) {
btSolverBody *arg1 = (btSolverBody *) 0 ;
btVector3 *arg2 = 0 ;
btVector3 *arg3 = 0 ;
btScalar arg4 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSolverBody **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
arg4 = (btScalar)jarg4;
(arg1)->internalApplyPushImpulse((btVector3 const &)*arg2,(btVector3 const &)*arg3,arg4);
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverBody_1internalGetDeltaLinearVelocity(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btSolverBody *arg1 = (btSolverBody *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSolverBody **)&jarg1;
result = (btVector3 *) &(arg1)->internalGetDeltaLinearVelocity();
jresult = gdx_getReturnVector3(jenv);
gdx_setVector3FrombtVector3(jenv, jresult, result);
return jresult;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverBody_1internalGetDeltaAngularVelocity(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btSolverBody *arg1 = (btSolverBody *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSolverBody **)&jarg1;
result = (btVector3 *) &(arg1)->internalGetDeltaAngularVelocity();
jresult = gdx_getReturnVector3(jenv);
gdx_setVector3FrombtVector3(jenv, jresult, result);
return jresult;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverBody_1internalGetAngularFactor(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btSolverBody *arg1 = (btSolverBody *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSolverBody **)&jarg1;
result = (btVector3 *) &((btSolverBody const *)arg1)->internalGetAngularFactor();
jresult = gdx_getReturnVector3(jenv);
gdx_setVector3FrombtVector3(jenv, jresult, result);
return jresult;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverBody_1internalGetInvMass(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btSolverBody *arg1 = (btSolverBody *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSolverBody **)&jarg1;
result = (btVector3 *) &((btSolverBody const *)arg1)->internalGetInvMass();
jresult = gdx_getReturnVector3(jenv);
gdx_setVector3FrombtVector3(jenv, jresult, result);
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverBody_1internalSetInvMass(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btSolverBody *arg1 = (btSolverBody *) 0 ;
btVector3 *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSolverBody **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
(arg1)->internalSetInvMass((btVector3 const &)*arg2);
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverBody_1internalGetPushVelocity(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btSolverBody *arg1 = (btSolverBody *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSolverBody **)&jarg1;
result = (btVector3 *) &(arg1)->internalGetPushVelocity();
jresult = gdx_getReturnVector3(jenv);
gdx_setVector3FrombtVector3(jenv, jresult, result);
return jresult;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverBody_1internalGetTurnVelocity(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btSolverBody *arg1 = (btSolverBody *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSolverBody **)&jarg1;
result = (btVector3 *) &(arg1)->internalGetTurnVelocity();
jresult = gdx_getReturnVector3(jenv);
gdx_setVector3FrombtVector3(jenv, jresult, result);
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverBody_1internalGetVelocityInLocalPointObsolete(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jobject jarg3) {
btSolverBody *arg1 = (btSolverBody *) 0 ;
btVector3 *arg2 = 0 ;
btVector3 *arg3 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSolverBody **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
((btSolverBody const *)arg1)->internalGetVelocityInLocalPointObsolete((btVector3 const &)*arg2,*arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverBody_1internalGetAngularVelocity(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btSolverBody *arg1 = (btSolverBody *) 0 ;
btVector3 *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSolverBody **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
((btSolverBody const *)arg1)->internalGetAngularVelocity(*arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverBody_1internalApplyImpulse(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jobject jarg3, jfloat jarg4) {
btSolverBody *arg1 = (btSolverBody *) 0 ;
btVector3 *arg2 = 0 ;
btVector3 *arg3 = 0 ;
btScalar arg4 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSolverBody **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
arg4 = (btScalar)jarg4;
(arg1)->internalApplyImpulse((btVector3 const &)*arg2,(btVector3 const &)*arg3,arg4);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverBody_1writebackVelocity(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
btSolverBody *arg1 = (btSolverBody *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSolverBody **)&jarg1;
(arg1)->writebackVelocity();
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverBody_1writebackVelocityAndTransform(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2, jfloat jarg3) {
btSolverBody *arg1 = (btSolverBody *) 0 ;
btScalar arg2 ;
btScalar arg3 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSolverBody **)&jarg1;
arg2 = (btScalar)jarg2;
arg3 = (btScalar)jarg3;
(arg1)->writebackVelocityAndTransform(arg2,arg3);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btSolverBody(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btSolverBody *result = 0 ;
(void)jenv;
(void)jcls;
result = (btSolverBody *)new btSolverBody();
*(btSolverBody **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btSolverBody(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btSolverBody *arg1 = (btSolverBody *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btSolverBody **)&jarg1;
delete arg1;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1operatorNew_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btSliderConstraint *arg1 = (btSliderConstraint *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraint **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new(arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1operatorDelete_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btSliderConstraint *arg1 = (btSliderConstraint *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraint **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete(arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1operatorNew_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btSliderConstraint *arg1 = (btSliderConstraint *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraint **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new(arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1operatorDelete_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btSliderConstraint *arg1 = (btSliderConstraint *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraint **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete(arg2,arg3);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1operatorNewArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btSliderConstraint *arg1 = (btSliderConstraint *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraint **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new[](arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1operatorDeleteArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btSliderConstraint *arg1 = (btSliderConstraint *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraint **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete[](arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1operatorNewArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btSliderConstraint *arg1 = (btSliderConstraint *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraint **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new[](arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1operatorDeleteArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btSliderConstraint *arg1 = (btSliderConstraint *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraint **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete[](arg2,arg3);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btSliderConstraint_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jobject jarg3, jobject jarg4, jboolean jarg5) {
jlong jresult = 0 ;
btRigidBody *arg1 = 0 ;
btRigidBody *arg2 = 0 ;
btTransform *arg3 = 0 ;
btTransform *arg4 = 0 ;
bool arg5 ;
btSliderConstraint *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btRigidBody **)&jarg1;
if (!arg1) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btRigidBody & reference is null");
return 0;
}
arg2 = *(btRigidBody **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btRigidBody & reference is null");
return 0;
}
btTransform local_arg3;
gdx_setbtTransformFromMatrix4(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitMatrix4 auto_commit_arg3(jenv, jarg3, &local_arg3);
btTransform local_arg4;
gdx_setbtTransformFromMatrix4(jenv, local_arg4, jarg4);
arg4 = &local_arg4;
gdxAutoCommitMatrix4 auto_commit_arg4(jenv, jarg4, &local_arg4);
arg5 = jarg5 ? true : false;
result = (btSliderConstraint *)new btSliderConstraint(*arg1,*arg2,(btTransform const &)*arg3,(btTransform const &)*arg4,arg5);
*(btSliderConstraint **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btSliderConstraint_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jboolean jarg3) {
jlong jresult = 0 ;
btRigidBody *arg1 = 0 ;
btTransform *arg2 = 0 ;
bool arg3 ;
btSliderConstraint *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody **)&jarg1;
if (!arg1) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btRigidBody & reference is null");
return 0;
}
btTransform local_arg2;
gdx_setbtTransformFromMatrix4(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitMatrix4 auto_commit_arg2(jenv, jarg2, &local_arg2);
arg3 = jarg3 ? true : false;
result = (btSliderConstraint *)new btSliderConstraint(*arg1,(btTransform const &)*arg2,arg3);
*(btSliderConstraint **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1getInfo1NonVirtual(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btSliderConstraint *arg1 = (btSliderConstraint *) 0 ;
btTypedConstraint::btConstraintInfo1 *arg2 = (btTypedConstraint::btConstraintInfo1 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btSliderConstraint **)&jarg1;
arg2 = *(btTypedConstraint::btConstraintInfo1 **)&jarg2;
(arg1)->getInfo1NonVirtual(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1getInfo2NonVirtual(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jobject jarg3, jobject jarg4, jobject jarg5, jobject jarg6, jfloat jarg7, jfloat jarg8) {
btSliderConstraint *arg1 = (btSliderConstraint *) 0 ;
btTypedConstraint::btConstraintInfo2 *arg2 = (btTypedConstraint::btConstraintInfo2 *) 0 ;
btTransform *arg3 = 0 ;
btTransform *arg4 = 0 ;
btVector3 *arg5 = 0 ;
btVector3 *arg6 = 0 ;
btScalar arg7 ;
btScalar arg8 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btSliderConstraint **)&jarg1;
arg2 = *(btTypedConstraint::btConstraintInfo2 **)&jarg2;
btTransform local_arg3;
gdx_setbtTransformFromMatrix4(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitMatrix4 auto_commit_arg3(jenv, jarg3, &local_arg3);
btTransform local_arg4;
gdx_setbtTransformFromMatrix4(jenv, local_arg4, jarg4);
arg4 = &local_arg4;
gdxAutoCommitMatrix4 auto_commit_arg4(jenv, jarg4, &local_arg4);
btVector3 local_arg5;
gdx_setbtVector3FromVector3(jenv, local_arg5, jarg5);
arg5 = &local_arg5;
gdxAutoCommitVector3 auto_commit_arg5(jenv, jarg5, &local_arg5);
btVector3 local_arg6;
gdx_setbtVector3FromVector3(jenv, local_arg6, jarg6);
arg6 = &local_arg6;
gdxAutoCommitVector3 auto_commit_arg6(jenv, jarg6, &local_arg6);
arg7 = (btScalar)jarg7;
arg8 = (btScalar)jarg8;
(arg1)->getInfo2NonVirtual(arg2,(btTransform const &)*arg3,(btTransform const &)*arg4,(btVector3 const &)*arg5,(btVector3 const &)*arg6,arg7,arg8);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1getRigidBodyAConst(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btSliderConstraint *arg1 = (btSliderConstraint *) 0 ;
btRigidBody *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraint **)&jarg1;
result = (btRigidBody *) &((btSliderConstraint const *)arg1)->getRigidBodyA();
*(btRigidBody **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1getRigidBodyBConst(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btSliderConstraint *arg1 = (btSliderConstraint *) 0 ;
btRigidBody *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraint **)&jarg1;
result = (btRigidBody *) &((btSliderConstraint const *)arg1)->getRigidBodyB();
*(btRigidBody **)&jresult = result;
return jresult;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1getCalculatedTransformA(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btSliderConstraint *arg1 = (btSliderConstraint *) 0 ;
btTransform *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraint **)&jarg1;
result = (btTransform *) &((btSliderConstraint const *)arg1)->getCalculatedTransformA();
jresult = gdx_getReturnMatrix4(jenv);
gdx_setMatrix4FrombtTransform(jenv, jresult, result);
return jresult;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1getCalculatedTransformB(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btSliderConstraint *arg1 = (btSliderConstraint *) 0 ;
btTransform *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraint **)&jarg1;
result = (btTransform *) &((btSliderConstraint const *)arg1)->getCalculatedTransformB();
jresult = gdx_getReturnMatrix4(jenv);
gdx_setMatrix4FrombtTransform(jenv, jresult, result);
return jresult;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1getFrameOffsetAConst(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btSliderConstraint *arg1 = (btSliderConstraint *) 0 ;
btTransform *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraint **)&jarg1;
result = (btTransform *) &((btSliderConstraint const *)arg1)->getFrameOffsetA();
jresult = gdx_getReturnMatrix4(jenv);
gdx_setMatrix4FrombtTransform(jenv, jresult, result);
return jresult;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1getFrameOffsetBConst(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btSliderConstraint *arg1 = (btSliderConstraint *) 0 ;
btTransform *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraint **)&jarg1;
result = (btTransform *) &((btSliderConstraint const *)arg1)->getFrameOffsetB();
jresult = gdx_getReturnMatrix4(jenv);
gdx_setMatrix4FrombtTransform(jenv, jresult, result);
return jresult;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1getFrameOffsetA(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btSliderConstraint *arg1 = (btSliderConstraint *) 0 ;
btTransform *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraint **)&jarg1;
result = (btTransform *) &(arg1)->getFrameOffsetA();
jresult = gdx_getReturnMatrix4(jenv);
gdx_setMatrix4FrombtTransform(jenv, jresult, result);
return jresult;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1getFrameOffsetB(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btSliderConstraint *arg1 = (btSliderConstraint *) 0 ;
btTransform *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraint **)&jarg1;
result = (btTransform *) &(arg1)->getFrameOffsetB();
jresult = gdx_getReturnMatrix4(jenv);
gdx_setMatrix4FrombtTransform(jenv, jresult, result);
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1getLowerLinLimit(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btSliderConstraint *arg1 = (btSliderConstraint *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraint **)&jarg1;
result = (btScalar)(arg1)->getLowerLinLimit();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1setLowerLinLimit(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btSliderConstraint *arg1 = (btSliderConstraint *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraint **)&jarg1;
arg2 = (btScalar)jarg2;
(arg1)->setLowerLinLimit(arg2);
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1getUpperLinLimit(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btSliderConstraint *arg1 = (btSliderConstraint *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraint **)&jarg1;
result = (btScalar)(arg1)->getUpperLinLimit();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1setUpperLinLimit(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btSliderConstraint *arg1 = (btSliderConstraint *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraint **)&jarg1;
arg2 = (btScalar)jarg2;
(arg1)->setUpperLinLimit(arg2);
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1getLowerAngLimit(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btSliderConstraint *arg1 = (btSliderConstraint *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraint **)&jarg1;
result = (btScalar)(arg1)->getLowerAngLimit();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1setLowerAngLimit(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btSliderConstraint *arg1 = (btSliderConstraint *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraint **)&jarg1;
arg2 = (btScalar)jarg2;
(arg1)->setLowerAngLimit(arg2);
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1getUpperAngLimit(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btSliderConstraint *arg1 = (btSliderConstraint *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraint **)&jarg1;
result = (btScalar)(arg1)->getUpperAngLimit();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1setUpperAngLimit(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btSliderConstraint *arg1 = (btSliderConstraint *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraint **)&jarg1;
arg2 = (btScalar)jarg2;
(arg1)->setUpperAngLimit(arg2);
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1getUseLinearReferenceFrameA(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jboolean jresult = 0 ;
btSliderConstraint *arg1 = (btSliderConstraint *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraint **)&jarg1;
result = (bool)(arg1)->getUseLinearReferenceFrameA();
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1getSoftnessDirLin(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btSliderConstraint *arg1 = (btSliderConstraint *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraint **)&jarg1;
result = (btScalar)(arg1)->getSoftnessDirLin();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1getRestitutionDirLin(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btSliderConstraint *arg1 = (btSliderConstraint *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraint **)&jarg1;
result = (btScalar)(arg1)->getRestitutionDirLin();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1getDampingDirLin(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btSliderConstraint *arg1 = (btSliderConstraint *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraint **)&jarg1;
result = (btScalar)(arg1)->getDampingDirLin();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1getSoftnessDirAng(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btSliderConstraint *arg1 = (btSliderConstraint *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraint **)&jarg1;
result = (btScalar)(arg1)->getSoftnessDirAng();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1getRestitutionDirAng(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btSliderConstraint *arg1 = (btSliderConstraint *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraint **)&jarg1;
result = (btScalar)(arg1)->getRestitutionDirAng();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1getDampingDirAng(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btSliderConstraint *arg1 = (btSliderConstraint *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraint **)&jarg1;
result = (btScalar)(arg1)->getDampingDirAng();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1getSoftnessLimLin(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btSliderConstraint *arg1 = (btSliderConstraint *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraint **)&jarg1;
result = (btScalar)(arg1)->getSoftnessLimLin();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1getRestitutionLimLin(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btSliderConstraint *arg1 = (btSliderConstraint *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraint **)&jarg1;
result = (btScalar)(arg1)->getRestitutionLimLin();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1getDampingLimLin(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btSliderConstraint *arg1 = (btSliderConstraint *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraint **)&jarg1;
result = (btScalar)(arg1)->getDampingLimLin();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1getSoftnessLimAng(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btSliderConstraint *arg1 = (btSliderConstraint *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraint **)&jarg1;
result = (btScalar)(arg1)->getSoftnessLimAng();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1getRestitutionLimAng(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btSliderConstraint *arg1 = (btSliderConstraint *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraint **)&jarg1;
result = (btScalar)(arg1)->getRestitutionLimAng();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1getDampingLimAng(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btSliderConstraint *arg1 = (btSliderConstraint *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraint **)&jarg1;
result = (btScalar)(arg1)->getDampingLimAng();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1getSoftnessOrthoLin(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btSliderConstraint *arg1 = (btSliderConstraint *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraint **)&jarg1;
result = (btScalar)(arg1)->getSoftnessOrthoLin();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1getRestitutionOrthoLin(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btSliderConstraint *arg1 = (btSliderConstraint *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraint **)&jarg1;
result = (btScalar)(arg1)->getRestitutionOrthoLin();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1getDampingOrthoLin(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btSliderConstraint *arg1 = (btSliderConstraint *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraint **)&jarg1;
result = (btScalar)(arg1)->getDampingOrthoLin();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1getSoftnessOrthoAng(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btSliderConstraint *arg1 = (btSliderConstraint *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraint **)&jarg1;
result = (btScalar)(arg1)->getSoftnessOrthoAng();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1getRestitutionOrthoAng(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btSliderConstraint *arg1 = (btSliderConstraint *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraint **)&jarg1;
result = (btScalar)(arg1)->getRestitutionOrthoAng();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1getDampingOrthoAng(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btSliderConstraint *arg1 = (btSliderConstraint *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraint **)&jarg1;
result = (btScalar)(arg1)->getDampingOrthoAng();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1setSoftnessDirLin(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btSliderConstraint *arg1 = (btSliderConstraint *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraint **)&jarg1;
arg2 = (btScalar)jarg2;
(arg1)->setSoftnessDirLin(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1setRestitutionDirLin(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btSliderConstraint *arg1 = (btSliderConstraint *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraint **)&jarg1;
arg2 = (btScalar)jarg2;
(arg1)->setRestitutionDirLin(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1setDampingDirLin(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btSliderConstraint *arg1 = (btSliderConstraint *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraint **)&jarg1;
arg2 = (btScalar)jarg2;
(arg1)->setDampingDirLin(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1setSoftnessDirAng(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btSliderConstraint *arg1 = (btSliderConstraint *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraint **)&jarg1;
arg2 = (btScalar)jarg2;
(arg1)->setSoftnessDirAng(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1setRestitutionDirAng(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btSliderConstraint *arg1 = (btSliderConstraint *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraint **)&jarg1;
arg2 = (btScalar)jarg2;
(arg1)->setRestitutionDirAng(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1setDampingDirAng(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btSliderConstraint *arg1 = (btSliderConstraint *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraint **)&jarg1;
arg2 = (btScalar)jarg2;
(arg1)->setDampingDirAng(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1setSoftnessLimLin(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btSliderConstraint *arg1 = (btSliderConstraint *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraint **)&jarg1;
arg2 = (btScalar)jarg2;
(arg1)->setSoftnessLimLin(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1setRestitutionLimLin(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btSliderConstraint *arg1 = (btSliderConstraint *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraint **)&jarg1;
arg2 = (btScalar)jarg2;
(arg1)->setRestitutionLimLin(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1setDampingLimLin(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btSliderConstraint *arg1 = (btSliderConstraint *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraint **)&jarg1;
arg2 = (btScalar)jarg2;
(arg1)->setDampingLimLin(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1setSoftnessLimAng(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btSliderConstraint *arg1 = (btSliderConstraint *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraint **)&jarg1;
arg2 = (btScalar)jarg2;
(arg1)->setSoftnessLimAng(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1setRestitutionLimAng(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btSliderConstraint *arg1 = (btSliderConstraint *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraint **)&jarg1;
arg2 = (btScalar)jarg2;
(arg1)->setRestitutionLimAng(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1setDampingLimAng(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btSliderConstraint *arg1 = (btSliderConstraint *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraint **)&jarg1;
arg2 = (btScalar)jarg2;
(arg1)->setDampingLimAng(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1setSoftnessOrthoLin(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btSliderConstraint *arg1 = (btSliderConstraint *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraint **)&jarg1;
arg2 = (btScalar)jarg2;
(arg1)->setSoftnessOrthoLin(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1setRestitutionOrthoLin(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btSliderConstraint *arg1 = (btSliderConstraint *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraint **)&jarg1;
arg2 = (btScalar)jarg2;
(arg1)->setRestitutionOrthoLin(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1setDampingOrthoLin(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btSliderConstraint *arg1 = (btSliderConstraint *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraint **)&jarg1;
arg2 = (btScalar)jarg2;
(arg1)->setDampingOrthoLin(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1setSoftnessOrthoAng(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btSliderConstraint *arg1 = (btSliderConstraint *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraint **)&jarg1;
arg2 = (btScalar)jarg2;
(arg1)->setSoftnessOrthoAng(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1setRestitutionOrthoAng(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btSliderConstraint *arg1 = (btSliderConstraint *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraint **)&jarg1;
arg2 = (btScalar)jarg2;
(arg1)->setRestitutionOrthoAng(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1setDampingOrthoAng(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btSliderConstraint *arg1 = (btSliderConstraint *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraint **)&jarg1;
arg2 = (btScalar)jarg2;
(arg1)->setDampingOrthoAng(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1setPoweredLinMotor(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jboolean jarg2) {
btSliderConstraint *arg1 = (btSliderConstraint *) 0 ;
bool arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraint **)&jarg1;
arg2 = jarg2 ? true : false;
(arg1)->setPoweredLinMotor(arg2);
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1getPoweredLinMotor(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jboolean jresult = 0 ;
btSliderConstraint *arg1 = (btSliderConstraint *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraint **)&jarg1;
result = (bool)(arg1)->getPoweredLinMotor();
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1setTargetLinMotorVelocity(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btSliderConstraint *arg1 = (btSliderConstraint *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraint **)&jarg1;
arg2 = (btScalar)jarg2;
(arg1)->setTargetLinMotorVelocity(arg2);
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1getTargetLinMotorVelocity(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btSliderConstraint *arg1 = (btSliderConstraint *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraint **)&jarg1;
result = (btScalar)(arg1)->getTargetLinMotorVelocity();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1setMaxLinMotorForce(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btSliderConstraint *arg1 = (btSliderConstraint *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraint **)&jarg1;
arg2 = (btScalar)jarg2;
(arg1)->setMaxLinMotorForce(arg2);
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1getMaxLinMotorForce(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btSliderConstraint *arg1 = (btSliderConstraint *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraint **)&jarg1;
result = (btScalar)(arg1)->getMaxLinMotorForce();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1setPoweredAngMotor(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jboolean jarg2) {
btSliderConstraint *arg1 = (btSliderConstraint *) 0 ;
bool arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraint **)&jarg1;
arg2 = jarg2 ? true : false;
(arg1)->setPoweredAngMotor(arg2);
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1getPoweredAngMotor(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jboolean jresult = 0 ;
btSliderConstraint *arg1 = (btSliderConstraint *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraint **)&jarg1;
result = (bool)(arg1)->getPoweredAngMotor();
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1setTargetAngMotorVelocity(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btSliderConstraint *arg1 = (btSliderConstraint *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraint **)&jarg1;
arg2 = (btScalar)jarg2;
(arg1)->setTargetAngMotorVelocity(arg2);
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1getTargetAngMotorVelocity(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btSliderConstraint *arg1 = (btSliderConstraint *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraint **)&jarg1;
result = (btScalar)(arg1)->getTargetAngMotorVelocity();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1setMaxAngMotorForce(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btSliderConstraint *arg1 = (btSliderConstraint *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraint **)&jarg1;
arg2 = (btScalar)jarg2;
(arg1)->setMaxAngMotorForce(arg2);
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1getMaxAngMotorForce(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btSliderConstraint *arg1 = (btSliderConstraint *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraint **)&jarg1;
result = (btScalar)(arg1)->getMaxAngMotorForce();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1getLinearPos(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btSliderConstraint *arg1 = (btSliderConstraint *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraint **)&jarg1;
result = (btScalar)((btSliderConstraint const *)arg1)->getLinearPos();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1getAngularPos(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btSliderConstraint *arg1 = (btSliderConstraint *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraint **)&jarg1;
result = (btScalar)((btSliderConstraint const *)arg1)->getAngularPos();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1getSolveLinLimit(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jboolean jresult = 0 ;
btSliderConstraint *arg1 = (btSliderConstraint *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraint **)&jarg1;
result = (bool)(arg1)->getSolveLinLimit();
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1getLinDepth(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btSliderConstraint *arg1 = (btSliderConstraint *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraint **)&jarg1;
result = (btScalar)(arg1)->getLinDepth();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1getSolveAngLimit(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jboolean jresult = 0 ;
btSliderConstraint *arg1 = (btSliderConstraint *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraint **)&jarg1;
result = (bool)(arg1)->getSolveAngLimit();
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1getAngDepth(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btSliderConstraint *arg1 = (btSliderConstraint *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraint **)&jarg1;
result = (btScalar)(arg1)->getAngDepth();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1calculateTransforms(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jobject jarg3) {
btSliderConstraint *arg1 = (btSliderConstraint *) 0 ;
btTransform *arg2 = 0 ;
btTransform *arg3 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraint **)&jarg1;
btTransform local_arg2;
gdx_setbtTransformFromMatrix4(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitMatrix4 auto_commit_arg2(jenv, jarg2, &local_arg2);
btTransform local_arg3;
gdx_setbtTransformFromMatrix4(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitMatrix4 auto_commit_arg3(jenv, jarg3, &local_arg3);
(arg1)->calculateTransforms((btTransform const &)*arg2,(btTransform const &)*arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1testLinLimits(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
btSliderConstraint *arg1 = (btSliderConstraint *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraint **)&jarg1;
(arg1)->testLinLimits();
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1testAngLimits(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
btSliderConstraint *arg1 = (btSliderConstraint *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraint **)&jarg1;
(arg1)->testAngLimits();
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1getAncorInA(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btSliderConstraint *arg1 = (btSliderConstraint *) 0 ;
btVector3 result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraint **)&jarg1;
result = (arg1)->getAncorInA();
jresult = gdx_getReturnVector3(jenv);
gdx_setVector3FrombtVector3(jenv, jresult, result);
return jresult;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1getAncorInB(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btSliderConstraint *arg1 = (btSliderConstraint *) 0 ;
btVector3 result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraint **)&jarg1;
result = (arg1)->getAncorInB();
jresult = gdx_getReturnVector3(jenv);
gdx_setVector3FrombtVector3(jenv, jresult, result);
return jresult;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1getUseFrameOffset(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jboolean jresult = 0 ;
btSliderConstraint *arg1 = (btSliderConstraint *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraint **)&jarg1;
result = (bool)(arg1)->getUseFrameOffset();
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1setUseFrameOffset(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jboolean jarg2) {
btSliderConstraint *arg1 = (btSliderConstraint *) 0 ;
bool arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraint **)&jarg1;
arg2 = jarg2 ? true : false;
(arg1)->setUseFrameOffset(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1setFrames(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jobject jarg3) {
btSliderConstraint *arg1 = (btSliderConstraint *) 0 ;
btTransform *arg2 = 0 ;
btTransform *arg3 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraint **)&jarg1;
btTransform local_arg2;
gdx_setbtTransformFromMatrix4(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitMatrix4 auto_commit_arg2(jenv, jarg2, &local_arg2);
btTransform local_arg3;
gdx_setbtTransformFromMatrix4(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitMatrix4 auto_commit_arg3(jenv, jarg3, &local_arg3);
(arg1)->setFrames((btTransform const &)*arg2,(btTransform const &)*arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1setParam_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jfloat jarg3, jint jarg4) {
btSliderConstraint *arg1 = (btSliderConstraint *) 0 ;
int arg2 ;
btScalar arg3 ;
int arg4 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraint **)&jarg1;
arg2 = (int)jarg2;
arg3 = (btScalar)jarg3;
arg4 = (int)jarg4;
(arg1)->setParam(arg2,arg3,arg4);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1setParam_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jfloat jarg3) {
btSliderConstraint *arg1 = (btSliderConstraint *) 0 ;
int arg2 ;
btScalar arg3 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraint **)&jarg1;
arg2 = (int)jarg2;
arg3 = (btScalar)jarg3;
(arg1)->setParam(arg2,arg3);
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1getParam_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jint jarg3) {
jfloat jresult = 0 ;
btSliderConstraint *arg1 = (btSliderConstraint *) 0 ;
int arg2 ;
int arg3 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraint **)&jarg1;
arg2 = (int)jarg2;
arg3 = (int)jarg3;
result = (btScalar)((btSliderConstraint const *)arg1)->getParam(arg2,arg3);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1getParam_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jfloat jresult = 0 ;
btSliderConstraint *arg1 = (btSliderConstraint *) 0 ;
int arg2 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraint **)&jarg1;
arg2 = (int)jarg2;
result = (btScalar)((btSliderConstraint const *)arg1)->getParam(arg2);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1getFlags(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btSliderConstraint *arg1 = (btSliderConstraint *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraint **)&jarg1;
result = (int)((btSliderConstraint const *)arg1)->getFlags();
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btSliderConstraint(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btSliderConstraint *arg1 = (btSliderConstraint *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btSliderConstraint **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraintData_1typeConstraintData_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btSliderConstraintData *arg1 = (btSliderConstraintData *) 0 ;
btTypedConstraintData *arg2 = (btTypedConstraintData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btSliderConstraintData **)&jarg1;
arg2 = *(btTypedConstraintData **)&jarg2;
if (arg1) (arg1)->m_typeConstraintData = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraintData_1typeConstraintData_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btSliderConstraintData *arg1 = (btSliderConstraintData *) 0 ;
btTypedConstraintData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraintData **)&jarg1;
result = (btTypedConstraintData *)& ((arg1)->m_typeConstraintData);
*(btTypedConstraintData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraintData_1rbAFrame_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btSliderConstraintData *arg1 = (btSliderConstraintData *) 0 ;
btTransformFloatData *arg2 = (btTransformFloatData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btSliderConstraintData **)&jarg1;
arg2 = *(btTransformFloatData **)&jarg2;
if (arg1) (arg1)->m_rbAFrame = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraintData_1rbAFrame_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btSliderConstraintData *arg1 = (btSliderConstraintData *) 0 ;
btTransformFloatData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraintData **)&jarg1;
result = (btTransformFloatData *)& ((arg1)->m_rbAFrame);
*(btTransformFloatData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraintData_1rbBFrame_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btSliderConstraintData *arg1 = (btSliderConstraintData *) 0 ;
btTransformFloatData *arg2 = (btTransformFloatData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btSliderConstraintData **)&jarg1;
arg2 = *(btTransformFloatData **)&jarg2;
if (arg1) (arg1)->m_rbBFrame = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraintData_1rbBFrame_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btSliderConstraintData *arg1 = (btSliderConstraintData *) 0 ;
btTransformFloatData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraintData **)&jarg1;
result = (btTransformFloatData *)& ((arg1)->m_rbBFrame);
*(btTransformFloatData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraintData_1linearUpperLimit_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btSliderConstraintData *arg1 = (btSliderConstraintData *) 0 ;
float arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraintData **)&jarg1;
arg2 = (float)jarg2;
if (arg1) (arg1)->m_linearUpperLimit = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraintData_1linearUpperLimit_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btSliderConstraintData *arg1 = (btSliderConstraintData *) 0 ;
float result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraintData **)&jarg1;
result = (float) ((arg1)->m_linearUpperLimit);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraintData_1linearLowerLimit_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btSliderConstraintData *arg1 = (btSliderConstraintData *) 0 ;
float arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraintData **)&jarg1;
arg2 = (float)jarg2;
if (arg1) (arg1)->m_linearLowerLimit = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraintData_1linearLowerLimit_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btSliderConstraintData *arg1 = (btSliderConstraintData *) 0 ;
float result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraintData **)&jarg1;
result = (float) ((arg1)->m_linearLowerLimit);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraintData_1angularUpperLimit_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btSliderConstraintData *arg1 = (btSliderConstraintData *) 0 ;
float arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraintData **)&jarg1;
arg2 = (float)jarg2;
if (arg1) (arg1)->m_angularUpperLimit = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraintData_1angularUpperLimit_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btSliderConstraintData *arg1 = (btSliderConstraintData *) 0 ;
float result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraintData **)&jarg1;
result = (float) ((arg1)->m_angularUpperLimit);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraintData_1angularLowerLimit_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btSliderConstraintData *arg1 = (btSliderConstraintData *) 0 ;
float arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraintData **)&jarg1;
arg2 = (float)jarg2;
if (arg1) (arg1)->m_angularLowerLimit = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraintData_1angularLowerLimit_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btSliderConstraintData *arg1 = (btSliderConstraintData *) 0 ;
float result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraintData **)&jarg1;
result = (float) ((arg1)->m_angularLowerLimit);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraintData_1useLinearReferenceFrameA_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btSliderConstraintData *arg1 = (btSliderConstraintData *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraintData **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_useLinearReferenceFrameA = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraintData_1useLinearReferenceFrameA_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btSliderConstraintData *arg1 = (btSliderConstraintData *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraintData **)&jarg1;
result = (int) ((arg1)->m_useLinearReferenceFrameA);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraintData_1useOffsetForConstraintFrame_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btSliderConstraintData *arg1 = (btSliderConstraintData *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraintData **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_useOffsetForConstraintFrame = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraintData_1useOffsetForConstraintFrame_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btSliderConstraintData *arg1 = (btSliderConstraintData *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraintData **)&jarg1;
result = (int) ((arg1)->m_useOffsetForConstraintFrame);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btSliderConstraintData(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btSliderConstraintData *result = 0 ;
(void)jenv;
(void)jcls;
result = (btSliderConstraintData *)new btSliderConstraintData();
*(btSliderConstraintData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btSliderConstraintData(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btSliderConstraintData *arg1 = (btSliderConstraintData *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btSliderConstraintData **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraintDoubleData_1typeConstraintData_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btSliderConstraintDoubleData *arg1 = (btSliderConstraintDoubleData *) 0 ;
btTypedConstraintDoubleData *arg2 = (btTypedConstraintDoubleData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btSliderConstraintDoubleData **)&jarg1;
arg2 = *(btTypedConstraintDoubleData **)&jarg2;
if (arg1) (arg1)->m_typeConstraintData = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraintDoubleData_1typeConstraintData_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btSliderConstraintDoubleData *arg1 = (btSliderConstraintDoubleData *) 0 ;
btTypedConstraintDoubleData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraintDoubleData **)&jarg1;
result = (btTypedConstraintDoubleData *)& ((arg1)->m_typeConstraintData);
*(btTypedConstraintDoubleData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraintDoubleData_1rbAFrame_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btSliderConstraintDoubleData *arg1 = (btSliderConstraintDoubleData *) 0 ;
btTransformDoubleData *arg2 = (btTransformDoubleData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btSliderConstraintDoubleData **)&jarg1;
arg2 = *(btTransformDoubleData **)&jarg2;
if (arg1) (arg1)->m_rbAFrame = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraintDoubleData_1rbAFrame_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btSliderConstraintDoubleData *arg1 = (btSliderConstraintDoubleData *) 0 ;
btTransformDoubleData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraintDoubleData **)&jarg1;
result = (btTransformDoubleData *)& ((arg1)->m_rbAFrame);
*(btTransformDoubleData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraintDoubleData_1rbBFrame_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btSliderConstraintDoubleData *arg1 = (btSliderConstraintDoubleData *) 0 ;
btTransformDoubleData *arg2 = (btTransformDoubleData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btSliderConstraintDoubleData **)&jarg1;
arg2 = *(btTransformDoubleData **)&jarg2;
if (arg1) (arg1)->m_rbBFrame = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraintDoubleData_1rbBFrame_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btSliderConstraintDoubleData *arg1 = (btSliderConstraintDoubleData *) 0 ;
btTransformDoubleData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraintDoubleData **)&jarg1;
result = (btTransformDoubleData *)& ((arg1)->m_rbBFrame);
*(btTransformDoubleData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraintDoubleData_1linearUpperLimit_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2) {
btSliderConstraintDoubleData *arg1 = (btSliderConstraintDoubleData *) 0 ;
double arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraintDoubleData **)&jarg1;
arg2 = (double)jarg2;
if (arg1) (arg1)->m_linearUpperLimit = arg2;
}
SWIGEXPORT jdouble JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraintDoubleData_1linearUpperLimit_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jdouble jresult = 0 ;
btSliderConstraintDoubleData *arg1 = (btSliderConstraintDoubleData *) 0 ;
double result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraintDoubleData **)&jarg1;
result = (double) ((arg1)->m_linearUpperLimit);
jresult = (jdouble)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraintDoubleData_1linearLowerLimit_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2) {
btSliderConstraintDoubleData *arg1 = (btSliderConstraintDoubleData *) 0 ;
double arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraintDoubleData **)&jarg1;
arg2 = (double)jarg2;
if (arg1) (arg1)->m_linearLowerLimit = arg2;
}
SWIGEXPORT jdouble JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraintDoubleData_1linearLowerLimit_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jdouble jresult = 0 ;
btSliderConstraintDoubleData *arg1 = (btSliderConstraintDoubleData *) 0 ;
double result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraintDoubleData **)&jarg1;
result = (double) ((arg1)->m_linearLowerLimit);
jresult = (jdouble)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraintDoubleData_1angularUpperLimit_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2) {
btSliderConstraintDoubleData *arg1 = (btSliderConstraintDoubleData *) 0 ;
double arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraintDoubleData **)&jarg1;
arg2 = (double)jarg2;
if (arg1) (arg1)->m_angularUpperLimit = arg2;
}
SWIGEXPORT jdouble JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraintDoubleData_1angularUpperLimit_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jdouble jresult = 0 ;
btSliderConstraintDoubleData *arg1 = (btSliderConstraintDoubleData *) 0 ;
double result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraintDoubleData **)&jarg1;
result = (double) ((arg1)->m_angularUpperLimit);
jresult = (jdouble)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraintDoubleData_1angularLowerLimit_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2) {
btSliderConstraintDoubleData *arg1 = (btSliderConstraintDoubleData *) 0 ;
double arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraintDoubleData **)&jarg1;
arg2 = (double)jarg2;
if (arg1) (arg1)->m_angularLowerLimit = arg2;
}
SWIGEXPORT jdouble JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraintDoubleData_1angularLowerLimit_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jdouble jresult = 0 ;
btSliderConstraintDoubleData *arg1 = (btSliderConstraintDoubleData *) 0 ;
double result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraintDoubleData **)&jarg1;
result = (double) ((arg1)->m_angularLowerLimit);
jresult = (jdouble)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraintDoubleData_1useLinearReferenceFrameA_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btSliderConstraintDoubleData *arg1 = (btSliderConstraintDoubleData *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraintDoubleData **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_useLinearReferenceFrameA = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraintDoubleData_1useLinearReferenceFrameA_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btSliderConstraintDoubleData *arg1 = (btSliderConstraintDoubleData *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraintDoubleData **)&jarg1;
result = (int) ((arg1)->m_useLinearReferenceFrameA);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraintDoubleData_1useOffsetForConstraintFrame_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btSliderConstraintDoubleData *arg1 = (btSliderConstraintDoubleData *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraintDoubleData **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_useOffsetForConstraintFrame = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraintDoubleData_1useOffsetForConstraintFrame_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btSliderConstraintDoubleData *arg1 = (btSliderConstraintDoubleData *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraintDoubleData **)&jarg1;
result = (int) ((arg1)->m_useOffsetForConstraintFrame);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btSliderConstraintDoubleData(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btSliderConstraintDoubleData *result = 0 ;
(void)jenv;
(void)jcls;
result = (btSliderConstraintDoubleData *)new btSliderConstraintDoubleData();
*(btSliderConstraintDoubleData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btSliderConstraintDoubleData(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btSliderConstraintDoubleData *arg1 = (btSliderConstraintDoubleData *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btSliderConstraintDoubleData **)&jarg1;
delete arg1;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btConstraintSetting(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btConstraintSetting *result = 0 ;
(void)jenv;
(void)jcls;
result = (btConstraintSetting *)new btConstraintSetting();
*(btConstraintSetting **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConstraintSetting_1tau_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btConstraintSetting *arg1 = (btConstraintSetting *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConstraintSetting **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_tau = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConstraintSetting_1tau_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btConstraintSetting *arg1 = (btConstraintSetting *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConstraintSetting **)&jarg1;
result = (btScalar) ((arg1)->m_tau);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConstraintSetting_1damping_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btConstraintSetting *arg1 = (btConstraintSetting *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConstraintSetting **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_damping = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConstraintSetting_1damping_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btConstraintSetting *arg1 = (btConstraintSetting *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConstraintSetting **)&jarg1;
result = (btScalar) ((arg1)->m_damping);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConstraintSetting_1impulseClamp_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btConstraintSetting *arg1 = (btConstraintSetting *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConstraintSetting **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_impulseClamp = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConstraintSetting_1impulseClamp_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btConstraintSetting *arg1 = (btConstraintSetting *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConstraintSetting **)&jarg1;
result = (btScalar) ((arg1)->m_impulseClamp);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btConstraintSetting(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btConstraintSetting *arg1 = (btConstraintSetting *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btConstraintSetting **)&jarg1;
delete arg1;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btPoint2PointConstraint_1operatorNew_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btPoint2PointConstraint *arg1 = (btPoint2PointConstraint *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btPoint2PointConstraint **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new(arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btPoint2PointConstraint_1operatorDelete_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btPoint2PointConstraint *arg1 = (btPoint2PointConstraint *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btPoint2PointConstraint **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete(arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btPoint2PointConstraint_1operatorNew_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btPoint2PointConstraint *arg1 = (btPoint2PointConstraint *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btPoint2PointConstraint **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new(arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btPoint2PointConstraint_1operatorDelete_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btPoint2PointConstraint *arg1 = (btPoint2PointConstraint *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btPoint2PointConstraint **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete(arg2,arg3);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btPoint2PointConstraint_1operatorNewArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btPoint2PointConstraint *arg1 = (btPoint2PointConstraint *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btPoint2PointConstraint **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new[](arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btPoint2PointConstraint_1operatorDeleteArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btPoint2PointConstraint *arg1 = (btPoint2PointConstraint *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btPoint2PointConstraint **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete[](arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btPoint2PointConstraint_1operatorNewArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btPoint2PointConstraint *arg1 = (btPoint2PointConstraint *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btPoint2PointConstraint **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new[](arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btPoint2PointConstraint_1operatorDeleteArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btPoint2PointConstraint *arg1 = (btPoint2PointConstraint *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btPoint2PointConstraint **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete[](arg2,arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btPoint2PointConstraint_1useSolveConstraintObsolete_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jboolean jarg2) {
btPoint2PointConstraint *arg1 = (btPoint2PointConstraint *) 0 ;
bool arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btPoint2PointConstraint **)&jarg1;
arg2 = jarg2 ? true : false;
if (arg1) (arg1)->m_useSolveConstraintObsolete = arg2;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btPoint2PointConstraint_1useSolveConstraintObsolete_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jboolean jresult = 0 ;
btPoint2PointConstraint *arg1 = (btPoint2PointConstraint *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btPoint2PointConstraint **)&jarg1;
result = (bool) ((arg1)->m_useSolveConstraintObsolete);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btPoint2PointConstraint_1setting_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btPoint2PointConstraint *arg1 = (btPoint2PointConstraint *) 0 ;
btConstraintSetting *arg2 = (btConstraintSetting *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btPoint2PointConstraint **)&jarg1;
arg2 = *(btConstraintSetting **)&jarg2;
if (arg1) (arg1)->m_setting = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btPoint2PointConstraint_1setting_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btPoint2PointConstraint *arg1 = (btPoint2PointConstraint *) 0 ;
btConstraintSetting *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btPoint2PointConstraint **)&jarg1;
result = (btConstraintSetting *)& ((arg1)->m_setting);
*(btConstraintSetting **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btPoint2PointConstraint_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jobject jarg3, jobject jarg4) {
jlong jresult = 0 ;
btRigidBody *arg1 = 0 ;
btRigidBody *arg2 = 0 ;
btVector3 *arg3 = 0 ;
btVector3 *arg4 = 0 ;
btPoint2PointConstraint *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btRigidBody **)&jarg1;
if (!arg1) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btRigidBody & reference is null");
return 0;
}
arg2 = *(btRigidBody **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btRigidBody & reference is null");
return 0;
}
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
btVector3 local_arg4;
gdx_setbtVector3FromVector3(jenv, local_arg4, jarg4);
arg4 = &local_arg4;
gdxAutoCommitVector3 auto_commit_arg4(jenv, jarg4, &local_arg4);
result = (btPoint2PointConstraint *)new btPoint2PointConstraint(*arg1,*arg2,(btVector3 const &)*arg3,(btVector3 const &)*arg4);
*(btPoint2PointConstraint **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btPoint2PointConstraint_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
jlong jresult = 0 ;
btRigidBody *arg1 = 0 ;
btVector3 *arg2 = 0 ;
btPoint2PointConstraint *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody **)&jarg1;
if (!arg1) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btRigidBody & reference is null");
return 0;
}
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
result = (btPoint2PointConstraint *)new btPoint2PointConstraint(*arg1,(btVector3 const &)*arg2);
*(btPoint2PointConstraint **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btPoint2PointConstraint_1getInfo1NonVirtual(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btPoint2PointConstraint *arg1 = (btPoint2PointConstraint *) 0 ;
btTypedConstraint::btConstraintInfo1 *arg2 = (btTypedConstraint::btConstraintInfo1 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btPoint2PointConstraint **)&jarg1;
arg2 = *(btTypedConstraint::btConstraintInfo1 **)&jarg2;
(arg1)->getInfo1NonVirtual(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btPoint2PointConstraint_1getInfo2NonVirtual(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jobject jarg3, jobject jarg4) {
btPoint2PointConstraint *arg1 = (btPoint2PointConstraint *) 0 ;
btTypedConstraint::btConstraintInfo2 *arg2 = (btTypedConstraint::btConstraintInfo2 *) 0 ;
btTransform *arg3 = 0 ;
btTransform *arg4 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btPoint2PointConstraint **)&jarg1;
arg2 = *(btTypedConstraint::btConstraintInfo2 **)&jarg2;
btTransform local_arg3;
gdx_setbtTransformFromMatrix4(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitMatrix4 auto_commit_arg3(jenv, jarg3, &local_arg3);
btTransform local_arg4;
gdx_setbtTransformFromMatrix4(jenv, local_arg4, jarg4);
arg4 = &local_arg4;
gdxAutoCommitMatrix4 auto_commit_arg4(jenv, jarg4, &local_arg4);
(arg1)->getInfo2NonVirtual(arg2,(btTransform const &)*arg3,(btTransform const &)*arg4);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btPoint2PointConstraint_1updateRHS(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btPoint2PointConstraint *arg1 = (btPoint2PointConstraint *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btPoint2PointConstraint **)&jarg1;
arg2 = (btScalar)jarg2;
(arg1)->updateRHS(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btPoint2PointConstraint_1setPivotA(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btPoint2PointConstraint *arg1 = (btPoint2PointConstraint *) 0 ;
btVector3 *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btPoint2PointConstraint **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
(arg1)->setPivotA((btVector3 const &)*arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btPoint2PointConstraint_1setPivotB(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btPoint2PointConstraint *arg1 = (btPoint2PointConstraint *) 0 ;
btVector3 *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btPoint2PointConstraint **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
(arg1)->setPivotB((btVector3 const &)*arg2);
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btPoint2PointConstraint_1getPivotInA(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btPoint2PointConstraint *arg1 = (btPoint2PointConstraint *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btPoint2PointConstraint **)&jarg1;
result = (btVector3 *) &((btPoint2PointConstraint const *)arg1)->getPivotInA();
jresult = gdx_getReturnVector3(jenv);
gdx_setVector3FrombtVector3(jenv, jresult, result);
return jresult;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btPoint2PointConstraint_1getPivotInB(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btPoint2PointConstraint *arg1 = (btPoint2PointConstraint *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btPoint2PointConstraint **)&jarg1;
result = (btVector3 *) &((btPoint2PointConstraint const *)arg1)->getPivotInB();
jresult = gdx_getReturnVector3(jenv);
gdx_setVector3FrombtVector3(jenv, jresult, result);
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btPoint2PointConstraint_1setParam_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jfloat jarg3, jint jarg4) {
btPoint2PointConstraint *arg1 = (btPoint2PointConstraint *) 0 ;
int arg2 ;
btScalar arg3 ;
int arg4 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btPoint2PointConstraint **)&jarg1;
arg2 = (int)jarg2;
arg3 = (btScalar)jarg3;
arg4 = (int)jarg4;
(arg1)->setParam(arg2,arg3,arg4);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btPoint2PointConstraint_1setParam_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jfloat jarg3) {
btPoint2PointConstraint *arg1 = (btPoint2PointConstraint *) 0 ;
int arg2 ;
btScalar arg3 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btPoint2PointConstraint **)&jarg1;
arg2 = (int)jarg2;
arg3 = (btScalar)jarg3;
(arg1)->setParam(arg2,arg3);
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btPoint2PointConstraint_1getParam_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jint jarg3) {
jfloat jresult = 0 ;
btPoint2PointConstraint *arg1 = (btPoint2PointConstraint *) 0 ;
int arg2 ;
int arg3 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btPoint2PointConstraint **)&jarg1;
arg2 = (int)jarg2;
arg3 = (int)jarg3;
result = (btScalar)((btPoint2PointConstraint const *)arg1)->getParam(arg2,arg3);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btPoint2PointConstraint_1getParam_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jfloat jresult = 0 ;
btPoint2PointConstraint *arg1 = (btPoint2PointConstraint *) 0 ;
int arg2 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btPoint2PointConstraint **)&jarg1;
arg2 = (int)jarg2;
result = (btScalar)((btPoint2PointConstraint const *)arg1)->getParam(arg2);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btPoint2PointConstraint_1getFlags(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btPoint2PointConstraint *arg1 = (btPoint2PointConstraint *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btPoint2PointConstraint **)&jarg1;
result = (int)((btPoint2PointConstraint const *)arg1)->getFlags();
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btPoint2PointConstraint(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btPoint2PointConstraint *arg1 = (btPoint2PointConstraint *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btPoint2PointConstraint **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btPoint2PointConstraintFloatData_1typeConstraintData_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btPoint2PointConstraintFloatData *arg1 = (btPoint2PointConstraintFloatData *) 0 ;
btTypedConstraintData *arg2 = (btTypedConstraintData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btPoint2PointConstraintFloatData **)&jarg1;
arg2 = *(btTypedConstraintData **)&jarg2;
if (arg1) (arg1)->m_typeConstraintData = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btPoint2PointConstraintFloatData_1typeConstraintData_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btPoint2PointConstraintFloatData *arg1 = (btPoint2PointConstraintFloatData *) 0 ;
btTypedConstraintData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btPoint2PointConstraintFloatData **)&jarg1;
result = (btTypedConstraintData *)& ((arg1)->m_typeConstraintData);
*(btTypedConstraintData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btPoint2PointConstraintFloatData_1pivotInA_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btPoint2PointConstraintFloatData *arg1 = (btPoint2PointConstraintFloatData *) 0 ;
btVector3FloatData *arg2 = (btVector3FloatData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btPoint2PointConstraintFloatData **)&jarg1;
arg2 = *(btVector3FloatData **)&jarg2;
if (arg1) (arg1)->m_pivotInA = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btPoint2PointConstraintFloatData_1pivotInA_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btPoint2PointConstraintFloatData *arg1 = (btPoint2PointConstraintFloatData *) 0 ;
btVector3FloatData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btPoint2PointConstraintFloatData **)&jarg1;
result = (btVector3FloatData *)& ((arg1)->m_pivotInA);
*(btVector3FloatData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btPoint2PointConstraintFloatData_1pivotInB_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btPoint2PointConstraintFloatData *arg1 = (btPoint2PointConstraintFloatData *) 0 ;
btVector3FloatData *arg2 = (btVector3FloatData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btPoint2PointConstraintFloatData **)&jarg1;
arg2 = *(btVector3FloatData **)&jarg2;
if (arg1) (arg1)->m_pivotInB = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btPoint2PointConstraintFloatData_1pivotInB_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btPoint2PointConstraintFloatData *arg1 = (btPoint2PointConstraintFloatData *) 0 ;
btVector3FloatData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btPoint2PointConstraintFloatData **)&jarg1;
result = (btVector3FloatData *)& ((arg1)->m_pivotInB);
*(btVector3FloatData **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btPoint2PointConstraintFloatData(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btPoint2PointConstraintFloatData *result = 0 ;
(void)jenv;
(void)jcls;
result = (btPoint2PointConstraintFloatData *)new btPoint2PointConstraintFloatData();
*(btPoint2PointConstraintFloatData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btPoint2PointConstraintFloatData(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btPoint2PointConstraintFloatData *arg1 = (btPoint2PointConstraintFloatData *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btPoint2PointConstraintFloatData **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btPoint2PointConstraintDoubleData2_1typeConstraintData_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btPoint2PointConstraintDoubleData2 *arg1 = (btPoint2PointConstraintDoubleData2 *) 0 ;
btTypedConstraintDoubleData *arg2 = (btTypedConstraintDoubleData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btPoint2PointConstraintDoubleData2 **)&jarg1;
arg2 = *(btTypedConstraintDoubleData **)&jarg2;
if (arg1) (arg1)->m_typeConstraintData = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btPoint2PointConstraintDoubleData2_1typeConstraintData_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btPoint2PointConstraintDoubleData2 *arg1 = (btPoint2PointConstraintDoubleData2 *) 0 ;
btTypedConstraintDoubleData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btPoint2PointConstraintDoubleData2 **)&jarg1;
result = (btTypedConstraintDoubleData *)& ((arg1)->m_typeConstraintData);
*(btTypedConstraintDoubleData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btPoint2PointConstraintDoubleData2_1pivotInA_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btPoint2PointConstraintDoubleData2 *arg1 = (btPoint2PointConstraintDoubleData2 *) 0 ;
btVector3DoubleData *arg2 = (btVector3DoubleData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btPoint2PointConstraintDoubleData2 **)&jarg1;
arg2 = *(btVector3DoubleData **)&jarg2;
if (arg1) (arg1)->m_pivotInA = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btPoint2PointConstraintDoubleData2_1pivotInA_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btPoint2PointConstraintDoubleData2 *arg1 = (btPoint2PointConstraintDoubleData2 *) 0 ;
btVector3DoubleData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btPoint2PointConstraintDoubleData2 **)&jarg1;
result = (btVector3DoubleData *)& ((arg1)->m_pivotInA);
*(btVector3DoubleData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btPoint2PointConstraintDoubleData2_1pivotInB_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btPoint2PointConstraintDoubleData2 *arg1 = (btPoint2PointConstraintDoubleData2 *) 0 ;
btVector3DoubleData *arg2 = (btVector3DoubleData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btPoint2PointConstraintDoubleData2 **)&jarg1;
arg2 = *(btVector3DoubleData **)&jarg2;
if (arg1) (arg1)->m_pivotInB = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btPoint2PointConstraintDoubleData2_1pivotInB_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btPoint2PointConstraintDoubleData2 *arg1 = (btPoint2PointConstraintDoubleData2 *) 0 ;
btVector3DoubleData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btPoint2PointConstraintDoubleData2 **)&jarg1;
result = (btVector3DoubleData *)& ((arg1)->m_pivotInB);
*(btVector3DoubleData **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btPoint2PointConstraintDoubleData2(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btPoint2PointConstraintDoubleData2 *result = 0 ;
(void)jenv;
(void)jcls;
result = (btPoint2PointConstraintDoubleData2 *)new btPoint2PointConstraintDoubleData2();
*(btPoint2PointConstraintDoubleData2 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btPoint2PointConstraintDoubleData2(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btPoint2PointConstraintDoubleData2 *arg1 = (btPoint2PointConstraintDoubleData2 *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btPoint2PointConstraintDoubleData2 **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btPoint2PointConstraintDoubleData_1typeConstraintData_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btPoint2PointConstraintDoubleData *arg1 = (btPoint2PointConstraintDoubleData *) 0 ;
btTypedConstraintData *arg2 = (btTypedConstraintData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btPoint2PointConstraintDoubleData **)&jarg1;
arg2 = *(btTypedConstraintData **)&jarg2;
if (arg1) (arg1)->m_typeConstraintData = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btPoint2PointConstraintDoubleData_1typeConstraintData_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btPoint2PointConstraintDoubleData *arg1 = (btPoint2PointConstraintDoubleData *) 0 ;
btTypedConstraintData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btPoint2PointConstraintDoubleData **)&jarg1;
result = (btTypedConstraintData *)& ((arg1)->m_typeConstraintData);
*(btTypedConstraintData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btPoint2PointConstraintDoubleData_1pivotInA_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btPoint2PointConstraintDoubleData *arg1 = (btPoint2PointConstraintDoubleData *) 0 ;
btVector3DoubleData *arg2 = (btVector3DoubleData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btPoint2PointConstraintDoubleData **)&jarg1;
arg2 = *(btVector3DoubleData **)&jarg2;
if (arg1) (arg1)->m_pivotInA = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btPoint2PointConstraintDoubleData_1pivotInA_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btPoint2PointConstraintDoubleData *arg1 = (btPoint2PointConstraintDoubleData *) 0 ;
btVector3DoubleData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btPoint2PointConstraintDoubleData **)&jarg1;
result = (btVector3DoubleData *)& ((arg1)->m_pivotInA);
*(btVector3DoubleData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btPoint2PointConstraintDoubleData_1pivotInB_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btPoint2PointConstraintDoubleData *arg1 = (btPoint2PointConstraintDoubleData *) 0 ;
btVector3DoubleData *arg2 = (btVector3DoubleData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btPoint2PointConstraintDoubleData **)&jarg1;
arg2 = *(btVector3DoubleData **)&jarg2;
if (arg1) (arg1)->m_pivotInB = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btPoint2PointConstraintDoubleData_1pivotInB_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btPoint2PointConstraintDoubleData *arg1 = (btPoint2PointConstraintDoubleData *) 0 ;
btVector3DoubleData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btPoint2PointConstraintDoubleData **)&jarg1;
result = (btVector3DoubleData *)& ((arg1)->m_pivotInB);
*(btVector3DoubleData **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btPoint2PointConstraintDoubleData(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btPoint2PointConstraintDoubleData *result = 0 ;
(void)jenv;
(void)jcls;
result = (btPoint2PointConstraintDoubleData *)new btPoint2PointConstraintDoubleData();
*(btPoint2PointConstraintDoubleData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btPoint2PointConstraintDoubleData(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btPoint2PointConstraintDoubleData *arg1 = (btPoint2PointConstraintDoubleData *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btPoint2PointConstraintDoubleData **)&jarg1;
delete arg1;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btJacobianEntry_1_1SWIG_10(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btJacobianEntry *result = 0 ;
(void)jenv;
(void)jcls;
result = (btJacobianEntry *)new btJacobianEntry();
*(btJacobianEntry **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btJacobianEntry_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jobject jarg1, jobject jarg2, jobject jarg3, jobject jarg4, jobject jarg5, jobject jarg6, jfloat jarg7, jobject jarg8, jfloat jarg9) {
jlong jresult = 0 ;
btMatrix3x3 *arg1 = 0 ;
btMatrix3x3 *arg2 = 0 ;
btVector3 *arg3 = 0 ;
btVector3 *arg4 = 0 ;
btVector3 *arg5 = 0 ;
btVector3 *arg6 = 0 ;
btScalar arg7 ;
btVector3 *arg8 = 0 ;
btScalar arg9 ;
btJacobianEntry *result = 0 ;
(void)jenv;
(void)jcls;
btMatrix3x3 local_arg1;
gdx_setbtMatrix3x3FromMatrix3(jenv, local_arg1, jarg1);
arg1 = &local_arg1;
gdxAutoCommitMatrix3 auto_commit_arg1(jenv, jarg1, &local_arg1);
btMatrix3x3 local_arg2;
gdx_setbtMatrix3x3FromMatrix3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitMatrix3 auto_commit_arg2(jenv, jarg2, &local_arg2);
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
btVector3 local_arg4;
gdx_setbtVector3FromVector3(jenv, local_arg4, jarg4);
arg4 = &local_arg4;
gdxAutoCommitVector3 auto_commit_arg4(jenv, jarg4, &local_arg4);
btVector3 local_arg5;
gdx_setbtVector3FromVector3(jenv, local_arg5, jarg5);
arg5 = &local_arg5;
gdxAutoCommitVector3 auto_commit_arg5(jenv, jarg5, &local_arg5);
btVector3 local_arg6;
gdx_setbtVector3FromVector3(jenv, local_arg6, jarg6);
arg6 = &local_arg6;
gdxAutoCommitVector3 auto_commit_arg6(jenv, jarg6, &local_arg6);
arg7 = (btScalar)jarg7;
btVector3 local_arg8;
gdx_setbtVector3FromVector3(jenv, local_arg8, jarg8);
arg8 = &local_arg8;
gdxAutoCommitVector3 auto_commit_arg8(jenv, jarg8, &local_arg8);
arg9 = (btScalar)jarg9;
result = (btJacobianEntry *)new btJacobianEntry((btMatrix3x3 const &)*arg1,(btMatrix3x3 const &)*arg2,(btVector3 const &)*arg3,(btVector3 const &)*arg4,(btVector3 const &)*arg5,(btVector3 const &)*arg6,arg7,(btVector3 const &)*arg8,arg9);
*(btJacobianEntry **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btJacobianEntry_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jobject jarg1, jobject jarg2, jobject jarg3, jobject jarg4, jobject jarg5) {
jlong jresult = 0 ;
btVector3 *arg1 = 0 ;
btMatrix3x3 *arg2 = 0 ;
btMatrix3x3 *arg3 = 0 ;
btVector3 *arg4 = 0 ;
btVector3 *arg5 = 0 ;
btJacobianEntry *result = 0 ;
(void)jenv;
(void)jcls;
btVector3 local_arg1;
gdx_setbtVector3FromVector3(jenv, local_arg1, jarg1);
arg1 = &local_arg1;
gdxAutoCommitVector3 auto_commit_arg1(jenv, jarg1, &local_arg1);
btMatrix3x3 local_arg2;
gdx_setbtMatrix3x3FromMatrix3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitMatrix3 auto_commit_arg2(jenv, jarg2, &local_arg2);
btMatrix3x3 local_arg3;
gdx_setbtMatrix3x3FromMatrix3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitMatrix3 auto_commit_arg3(jenv, jarg3, &local_arg3);
btVector3 local_arg4;
gdx_setbtVector3FromVector3(jenv, local_arg4, jarg4);
arg4 = &local_arg4;
gdxAutoCommitVector3 auto_commit_arg4(jenv, jarg4, &local_arg4);
btVector3 local_arg5;
gdx_setbtVector3FromVector3(jenv, local_arg5, jarg5);
arg5 = &local_arg5;
gdxAutoCommitVector3 auto_commit_arg5(jenv, jarg5, &local_arg5);
result = (btJacobianEntry *)new btJacobianEntry((btVector3 const &)*arg1,(btMatrix3x3 const &)*arg2,(btMatrix3x3 const &)*arg3,(btVector3 const &)*arg4,(btVector3 const &)*arg5);
*(btJacobianEntry **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btJacobianEntry_1_1SWIG_13(JNIEnv *jenv, jclass jcls, jobject jarg1, jobject jarg2, jobject jarg3, jobject jarg4) {
jlong jresult = 0 ;
btVector3 *arg1 = 0 ;
btVector3 *arg2 = 0 ;
btVector3 *arg3 = 0 ;
btVector3 *arg4 = 0 ;
btJacobianEntry *result = 0 ;
(void)jenv;
(void)jcls;
btVector3 local_arg1;
gdx_setbtVector3FromVector3(jenv, local_arg1, jarg1);
arg1 = &local_arg1;
gdxAutoCommitVector3 auto_commit_arg1(jenv, jarg1, &local_arg1);
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
btVector3 local_arg4;
gdx_setbtVector3FromVector3(jenv, local_arg4, jarg4);
arg4 = &local_arg4;
gdxAutoCommitVector3 auto_commit_arg4(jenv, jarg4, &local_arg4);
result = (btJacobianEntry *)new btJacobianEntry((btVector3 const &)*arg1,(btVector3 const &)*arg2,(btVector3 const &)*arg3,(btVector3 const &)*arg4);
*(btJacobianEntry **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btJacobianEntry_1_1SWIG_14(JNIEnv *jenv, jclass jcls, jobject jarg1, jobject jarg2, jobject jarg3, jobject jarg4, jobject jarg5, jfloat jarg6) {
jlong jresult = 0 ;
btMatrix3x3 *arg1 = 0 ;
btVector3 *arg2 = 0 ;
btVector3 *arg3 = 0 ;
btVector3 *arg4 = 0 ;
btVector3 *arg5 = 0 ;
btScalar arg6 ;
btJacobianEntry *result = 0 ;
(void)jenv;
(void)jcls;
btMatrix3x3 local_arg1;
gdx_setbtMatrix3x3FromMatrix3(jenv, local_arg1, jarg1);
arg1 = &local_arg1;
gdxAutoCommitMatrix3 auto_commit_arg1(jenv, jarg1, &local_arg1);
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
btVector3 local_arg4;
gdx_setbtVector3FromVector3(jenv, local_arg4, jarg4);
arg4 = &local_arg4;
gdxAutoCommitVector3 auto_commit_arg4(jenv, jarg4, &local_arg4);
btVector3 local_arg5;
gdx_setbtVector3FromVector3(jenv, local_arg5, jarg5);
arg5 = &local_arg5;
gdxAutoCommitVector3 auto_commit_arg5(jenv, jarg5, &local_arg5);
arg6 = (btScalar)jarg6;
result = (btJacobianEntry *)new btJacobianEntry((btMatrix3x3 const &)*arg1,(btVector3 const &)*arg2,(btVector3 const &)*arg3,(btVector3 const &)*arg4,(btVector3 const &)*arg5,arg6);
*(btJacobianEntry **)&jresult = result;
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btJacobianEntry_1getDiagonal(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btJacobianEntry *arg1 = (btJacobianEntry *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btJacobianEntry **)&jarg1;
result = (btScalar)((btJacobianEntry const *)arg1)->getDiagonal();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btJacobianEntry_1getNonDiagonal_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jfloat jarg3) {
jfloat jresult = 0 ;
btJacobianEntry *arg1 = (btJacobianEntry *) 0 ;
btJacobianEntry *arg2 = 0 ;
btScalar arg3 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btJacobianEntry **)&jarg1;
arg2 = *(btJacobianEntry **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btJacobianEntry const & reference is null");
return 0;
}
arg3 = (btScalar)jarg3;
result = (btScalar)((btJacobianEntry const *)arg1)->getNonDiagonal((btJacobianEntry const &)*arg2,arg3);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btJacobianEntry_1getNonDiagonal_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jfloat jarg3, jfloat jarg4) {
jfloat jresult = 0 ;
btJacobianEntry *arg1 = (btJacobianEntry *) 0 ;
btJacobianEntry *arg2 = 0 ;
btScalar arg3 ;
btScalar arg4 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btJacobianEntry **)&jarg1;
arg2 = *(btJacobianEntry **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btJacobianEntry const & reference is null");
return 0;
}
arg3 = (btScalar)jarg3;
arg4 = (btScalar)jarg4;
result = (btScalar)((btJacobianEntry const *)arg1)->getNonDiagonal((btJacobianEntry const &)*arg2,arg3,arg4);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btJacobianEntry_1getRelativeVelocity(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jobject jarg3, jobject jarg4, jobject jarg5) {
jfloat jresult = 0 ;
btJacobianEntry *arg1 = (btJacobianEntry *) 0 ;
btVector3 *arg2 = 0 ;
btVector3 *arg3 = 0 ;
btVector3 *arg4 = 0 ;
btVector3 *arg5 = 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btJacobianEntry **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
btVector3 local_arg4;
gdx_setbtVector3FromVector3(jenv, local_arg4, jarg4);
arg4 = &local_arg4;
gdxAutoCommitVector3 auto_commit_arg4(jenv, jarg4, &local_arg4);
btVector3 local_arg5;
gdx_setbtVector3FromVector3(jenv, local_arg5, jarg5);
arg5 = &local_arg5;
gdxAutoCommitVector3 auto_commit_arg5(jenv, jarg5, &local_arg5);
result = (btScalar)(arg1)->getRelativeVelocity((btVector3 const &)*arg2,(btVector3 const &)*arg3,(btVector3 const &)*arg4,(btVector3 const &)*arg5);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btJacobianEntry_1linearJointAxis_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btJacobianEntry *arg1 = (btJacobianEntry *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btJacobianEntry **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->m_linearJointAxis = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btJacobianEntry_1linearJointAxis_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btJacobianEntry *arg1 = (btJacobianEntry *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btJacobianEntry **)&jarg1;
result = (btVector3 *)& ((arg1)->m_linearJointAxis);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btJacobianEntry_1aJ_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btJacobianEntry *arg1 = (btJacobianEntry *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btJacobianEntry **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->m_aJ = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btJacobianEntry_1aJ_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btJacobianEntry *arg1 = (btJacobianEntry *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btJacobianEntry **)&jarg1;
result = (btVector3 *)& ((arg1)->m_aJ);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btJacobianEntry_1bJ_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btJacobianEntry *arg1 = (btJacobianEntry *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btJacobianEntry **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->m_bJ = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btJacobianEntry_1bJ_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btJacobianEntry *arg1 = (btJacobianEntry *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btJacobianEntry **)&jarg1;
result = (btVector3 *)& ((arg1)->m_bJ);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btJacobianEntry_10MinvJt_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btJacobianEntry *arg1 = (btJacobianEntry *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btJacobianEntry **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->m_0MinvJt = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btJacobianEntry_10MinvJt_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btJacobianEntry *arg1 = (btJacobianEntry *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btJacobianEntry **)&jarg1;
result = (btVector3 *)& ((arg1)->m_0MinvJt);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btJacobianEntry_11MinvJt_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btJacobianEntry *arg1 = (btJacobianEntry *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btJacobianEntry **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->m_1MinvJt = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btJacobianEntry_11MinvJt_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btJacobianEntry *arg1 = (btJacobianEntry *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btJacobianEntry **)&jarg1;
result = (btVector3 *)& ((arg1)->m_1MinvJt);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btJacobianEntry_1Adiag_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btJacobianEntry *arg1 = (btJacobianEntry *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btJacobianEntry **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_Adiag = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btJacobianEntry_1Adiag_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btJacobianEntry *arg1 = (btJacobianEntry *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btJacobianEntry **)&jarg1;
result = (btScalar) ((arg1)->m_Adiag);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btJacobianEntry(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btJacobianEntry *arg1 = (btJacobianEntry *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btJacobianEntry **)&jarg1;
delete arg1;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btSolve2LinearConstraint(JNIEnv *jenv, jclass jcls, jfloat jarg1, jfloat jarg2) {
jlong jresult = 0 ;
btScalar arg1 ;
btScalar arg2 ;
btSolve2LinearConstraint *result = 0 ;
(void)jenv;
(void)jcls;
arg1 = (btScalar)jarg1;
arg2 = (btScalar)jarg2;
result = (btSolve2LinearConstraint *)new btSolve2LinearConstraint(arg1,arg2);
*(btSolve2LinearConstraint **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolve2LinearConstraint_1resolveUnilateralPairConstraint(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_, jobject jarg4, jobject jarg5, jobject jarg6, jfloat jarg7, jobject jarg8, jobject jarg9, jobject jarg10, jobject jarg11, jfloat jarg12, jobject jarg13, jobject jarg14, jobject jarg15, jfloat jarg16, jobject jarg17, jobject jarg18, jobject jarg19, jfloat jarg20, jobject jarg21, jlong jarg22, jlong jarg23) {
btSolve2LinearConstraint *arg1 = (btSolve2LinearConstraint *) 0 ;
btRigidBody *arg2 = (btRigidBody *) 0 ;
btRigidBody *arg3 = (btRigidBody *) 0 ;
btMatrix3x3 *arg4 = 0 ;
btMatrix3x3 *arg5 = 0 ;
btVector3 *arg6 = 0 ;
btScalar arg7 ;
btVector3 *arg8 = 0 ;
btVector3 *arg9 = 0 ;
btVector3 *arg10 = 0 ;
btVector3 *arg11 = 0 ;
btScalar arg12 ;
btVector3 *arg13 = 0 ;
btVector3 *arg14 = 0 ;
btVector3 *arg15 = 0 ;
btScalar arg16 ;
btVector3 *arg17 = 0 ;
btVector3 *arg18 = 0 ;
btVector3 *arg19 = 0 ;
btScalar arg20 ;
btVector3 *arg21 = 0 ;
btScalar *arg22 = 0 ;
btScalar *arg23 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
(void)jarg3_;
arg1 = *(btSolve2LinearConstraint **)&jarg1;
arg2 = *(btRigidBody **)&jarg2;
arg3 = *(btRigidBody **)&jarg3;
btMatrix3x3 local_arg4;
gdx_setbtMatrix3x3FromMatrix3(jenv, local_arg4, jarg4);
arg4 = &local_arg4;
gdxAutoCommitMatrix3 auto_commit_arg4(jenv, jarg4, &local_arg4);
btMatrix3x3 local_arg5;
gdx_setbtMatrix3x3FromMatrix3(jenv, local_arg5, jarg5);
arg5 = &local_arg5;
gdxAutoCommitMatrix3 auto_commit_arg5(jenv, jarg5, &local_arg5);
btVector3 local_arg6;
gdx_setbtVector3FromVector3(jenv, local_arg6, jarg6);
arg6 = &local_arg6;
gdxAutoCommitVector3 auto_commit_arg6(jenv, jarg6, &local_arg6);
arg7 = (btScalar)jarg7;
btVector3 local_arg8;
gdx_setbtVector3FromVector3(jenv, local_arg8, jarg8);
arg8 = &local_arg8;
gdxAutoCommitVector3 auto_commit_arg8(jenv, jarg8, &local_arg8);
btVector3 local_arg9;
gdx_setbtVector3FromVector3(jenv, local_arg9, jarg9);
arg9 = &local_arg9;
gdxAutoCommitVector3 auto_commit_arg9(jenv, jarg9, &local_arg9);
btVector3 local_arg10;
gdx_setbtVector3FromVector3(jenv, local_arg10, jarg10);
arg10 = &local_arg10;
gdxAutoCommitVector3 auto_commit_arg10(jenv, jarg10, &local_arg10);
btVector3 local_arg11;
gdx_setbtVector3FromVector3(jenv, local_arg11, jarg11);
arg11 = &local_arg11;
gdxAutoCommitVector3 auto_commit_arg11(jenv, jarg11, &local_arg11);
arg12 = (btScalar)jarg12;
btVector3 local_arg13;
gdx_setbtVector3FromVector3(jenv, local_arg13, jarg13);
arg13 = &local_arg13;
gdxAutoCommitVector3 auto_commit_arg13(jenv, jarg13, &local_arg13);
btVector3 local_arg14;
gdx_setbtVector3FromVector3(jenv, local_arg14, jarg14);
arg14 = &local_arg14;
gdxAutoCommitVector3 auto_commit_arg14(jenv, jarg14, &local_arg14);
btVector3 local_arg15;
gdx_setbtVector3FromVector3(jenv, local_arg15, jarg15);
arg15 = &local_arg15;
gdxAutoCommitVector3 auto_commit_arg15(jenv, jarg15, &local_arg15);
arg16 = (btScalar)jarg16;
btVector3 local_arg17;
gdx_setbtVector3FromVector3(jenv, local_arg17, jarg17);
arg17 = &local_arg17;
gdxAutoCommitVector3 auto_commit_arg17(jenv, jarg17, &local_arg17);
btVector3 local_arg18;
gdx_setbtVector3FromVector3(jenv, local_arg18, jarg18);
arg18 = &local_arg18;
gdxAutoCommitVector3 auto_commit_arg18(jenv, jarg18, &local_arg18);
btVector3 local_arg19;
gdx_setbtVector3FromVector3(jenv, local_arg19, jarg19);
arg19 = &local_arg19;
gdxAutoCommitVector3 auto_commit_arg19(jenv, jarg19, &local_arg19);
arg20 = (btScalar)jarg20;
btVector3 local_arg21;
gdx_setbtVector3FromVector3(jenv, local_arg21, jarg21);
arg21 = &local_arg21;
gdxAutoCommitVector3 auto_commit_arg21(jenv, jarg21, &local_arg21);
arg22 = *(btScalar **)&jarg22;
if (!arg22) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btScalar & reference is null");
return ;
}
arg23 = *(btScalar **)&jarg23;
if (!arg23) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btScalar & reference is null");
return ;
}
(arg1)->resolveUnilateralPairConstraint(arg2,arg3,(btMatrix3x3 const &)*arg4,(btMatrix3x3 const &)*arg5,(btVector3 const &)*arg6,arg7,(btVector3 const &)*arg8,(btVector3 const &)*arg9,(btVector3 const &)*arg10,(btVector3 const &)*arg11,arg12,(btVector3 const &)*arg13,(btVector3 const &)*arg14,(btVector3 const &)*arg15,arg16,(btVector3 const &)*arg17,(btVector3 const &)*arg18,(btVector3 const &)*arg19,arg20,(btVector3 const &)*arg21,*arg22,*arg23);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolve2LinearConstraint_1resolveBilateralPairConstraint(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_, jobject jarg4, jobject jarg5, jobject jarg6, jfloat jarg7, jobject jarg8, jobject jarg9, jobject jarg10, jobject jarg11, jfloat jarg12, jobject jarg13, jobject jarg14, jobject jarg15, jfloat jarg16, jobject jarg17, jobject jarg18, jobject jarg19, jfloat jarg20, jobject jarg21, jlong jarg22, jlong jarg23) {
btSolve2LinearConstraint *arg1 = (btSolve2LinearConstraint *) 0 ;
btRigidBody *arg2 = (btRigidBody *) 0 ;
btRigidBody *arg3 = (btRigidBody *) 0 ;
btMatrix3x3 *arg4 = 0 ;
btMatrix3x3 *arg5 = 0 ;
btVector3 *arg6 = 0 ;
btScalar arg7 ;
btVector3 *arg8 = 0 ;
btVector3 *arg9 = 0 ;
btVector3 *arg10 = 0 ;
btVector3 *arg11 = 0 ;
btScalar arg12 ;
btVector3 *arg13 = 0 ;
btVector3 *arg14 = 0 ;
btVector3 *arg15 = 0 ;
btScalar arg16 ;
btVector3 *arg17 = 0 ;
btVector3 *arg18 = 0 ;
btVector3 *arg19 = 0 ;
btScalar arg20 ;
btVector3 *arg21 = 0 ;
btScalar *arg22 = 0 ;
btScalar *arg23 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
(void)jarg3_;
arg1 = *(btSolve2LinearConstraint **)&jarg1;
arg2 = *(btRigidBody **)&jarg2;
arg3 = *(btRigidBody **)&jarg3;
btMatrix3x3 local_arg4;
gdx_setbtMatrix3x3FromMatrix3(jenv, local_arg4, jarg4);
arg4 = &local_arg4;
gdxAutoCommitMatrix3 auto_commit_arg4(jenv, jarg4, &local_arg4);
btMatrix3x3 local_arg5;
gdx_setbtMatrix3x3FromMatrix3(jenv, local_arg5, jarg5);
arg5 = &local_arg5;
gdxAutoCommitMatrix3 auto_commit_arg5(jenv, jarg5, &local_arg5);
btVector3 local_arg6;
gdx_setbtVector3FromVector3(jenv, local_arg6, jarg6);
arg6 = &local_arg6;
gdxAutoCommitVector3 auto_commit_arg6(jenv, jarg6, &local_arg6);
arg7 = (btScalar)jarg7;
btVector3 local_arg8;
gdx_setbtVector3FromVector3(jenv, local_arg8, jarg8);
arg8 = &local_arg8;
gdxAutoCommitVector3 auto_commit_arg8(jenv, jarg8, &local_arg8);
btVector3 local_arg9;
gdx_setbtVector3FromVector3(jenv, local_arg9, jarg9);
arg9 = &local_arg9;
gdxAutoCommitVector3 auto_commit_arg9(jenv, jarg9, &local_arg9);
btVector3 local_arg10;
gdx_setbtVector3FromVector3(jenv, local_arg10, jarg10);
arg10 = &local_arg10;
gdxAutoCommitVector3 auto_commit_arg10(jenv, jarg10, &local_arg10);
btVector3 local_arg11;
gdx_setbtVector3FromVector3(jenv, local_arg11, jarg11);
arg11 = &local_arg11;
gdxAutoCommitVector3 auto_commit_arg11(jenv, jarg11, &local_arg11);
arg12 = (btScalar)jarg12;
btVector3 local_arg13;
gdx_setbtVector3FromVector3(jenv, local_arg13, jarg13);
arg13 = &local_arg13;
gdxAutoCommitVector3 auto_commit_arg13(jenv, jarg13, &local_arg13);
btVector3 local_arg14;
gdx_setbtVector3FromVector3(jenv, local_arg14, jarg14);
arg14 = &local_arg14;
gdxAutoCommitVector3 auto_commit_arg14(jenv, jarg14, &local_arg14);
btVector3 local_arg15;
gdx_setbtVector3FromVector3(jenv, local_arg15, jarg15);
arg15 = &local_arg15;
gdxAutoCommitVector3 auto_commit_arg15(jenv, jarg15, &local_arg15);
arg16 = (btScalar)jarg16;
btVector3 local_arg17;
gdx_setbtVector3FromVector3(jenv, local_arg17, jarg17);
arg17 = &local_arg17;
gdxAutoCommitVector3 auto_commit_arg17(jenv, jarg17, &local_arg17);
btVector3 local_arg18;
gdx_setbtVector3FromVector3(jenv, local_arg18, jarg18);
arg18 = &local_arg18;
gdxAutoCommitVector3 auto_commit_arg18(jenv, jarg18, &local_arg18);
btVector3 local_arg19;
gdx_setbtVector3FromVector3(jenv, local_arg19, jarg19);
arg19 = &local_arg19;
gdxAutoCommitVector3 auto_commit_arg19(jenv, jarg19, &local_arg19);
arg20 = (btScalar)jarg20;
btVector3 local_arg21;
gdx_setbtVector3FromVector3(jenv, local_arg21, jarg21);
arg21 = &local_arg21;
gdxAutoCommitVector3 auto_commit_arg21(jenv, jarg21, &local_arg21);
arg22 = *(btScalar **)&jarg22;
if (!arg22) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btScalar & reference is null");
return ;
}
arg23 = *(btScalar **)&jarg23;
if (!arg23) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btScalar & reference is null");
return ;
}
(arg1)->resolveBilateralPairConstraint(arg2,arg3,(btMatrix3x3 const &)*arg4,(btMatrix3x3 const &)*arg5,(btVector3 const &)*arg6,arg7,(btVector3 const &)*arg8,(btVector3 const &)*arg9,(btVector3 const &)*arg10,(btVector3 const &)*arg11,arg12,(btVector3 const &)*arg13,(btVector3 const &)*arg14,(btVector3 const &)*arg15,arg16,(btVector3 const &)*arg17,(btVector3 const &)*arg18,(btVector3 const &)*arg19,arg20,(btVector3 const &)*arg21,*arg22,*arg23);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btSolve2LinearConstraint(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btSolve2LinearConstraint *arg1 = (btSolve2LinearConstraint *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btSolve2LinearConstraint **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor_1loLimit_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btRotationalLimitMotor *arg1 = (btRotationalLimitMotor *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRotationalLimitMotor **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_loLimit = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor_1loLimit_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btRotationalLimitMotor *arg1 = (btRotationalLimitMotor *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRotationalLimitMotor **)&jarg1;
result = (btScalar) ((arg1)->m_loLimit);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor_1hiLimit_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btRotationalLimitMotor *arg1 = (btRotationalLimitMotor *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRotationalLimitMotor **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_hiLimit = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor_1hiLimit_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btRotationalLimitMotor *arg1 = (btRotationalLimitMotor *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRotationalLimitMotor **)&jarg1;
result = (btScalar) ((arg1)->m_hiLimit);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor_1targetVelocity_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btRotationalLimitMotor *arg1 = (btRotationalLimitMotor *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRotationalLimitMotor **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_targetVelocity = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor_1targetVelocity_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btRotationalLimitMotor *arg1 = (btRotationalLimitMotor *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRotationalLimitMotor **)&jarg1;
result = (btScalar) ((arg1)->m_targetVelocity);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor_1maxMotorForce_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btRotationalLimitMotor *arg1 = (btRotationalLimitMotor *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRotationalLimitMotor **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_maxMotorForce = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor_1maxMotorForce_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btRotationalLimitMotor *arg1 = (btRotationalLimitMotor *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRotationalLimitMotor **)&jarg1;
result = (btScalar) ((arg1)->m_maxMotorForce);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor_1maxLimitForce_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btRotationalLimitMotor *arg1 = (btRotationalLimitMotor *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRotationalLimitMotor **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_maxLimitForce = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor_1maxLimitForce_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btRotationalLimitMotor *arg1 = (btRotationalLimitMotor *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRotationalLimitMotor **)&jarg1;
result = (btScalar) ((arg1)->m_maxLimitForce);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor_1damping_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btRotationalLimitMotor *arg1 = (btRotationalLimitMotor *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRotationalLimitMotor **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_damping = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor_1damping_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btRotationalLimitMotor *arg1 = (btRotationalLimitMotor *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRotationalLimitMotor **)&jarg1;
result = (btScalar) ((arg1)->m_damping);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor_1limitSoftness_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btRotationalLimitMotor *arg1 = (btRotationalLimitMotor *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRotationalLimitMotor **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_limitSoftness = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor_1limitSoftness_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btRotationalLimitMotor *arg1 = (btRotationalLimitMotor *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRotationalLimitMotor **)&jarg1;
result = (btScalar) ((arg1)->m_limitSoftness);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor_1normalCFM_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btRotationalLimitMotor *arg1 = (btRotationalLimitMotor *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRotationalLimitMotor **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_normalCFM = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor_1normalCFM_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btRotationalLimitMotor *arg1 = (btRotationalLimitMotor *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRotationalLimitMotor **)&jarg1;
result = (btScalar) ((arg1)->m_normalCFM);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor_1stopERP_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btRotationalLimitMotor *arg1 = (btRotationalLimitMotor *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRotationalLimitMotor **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_stopERP = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor_1stopERP_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btRotationalLimitMotor *arg1 = (btRotationalLimitMotor *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRotationalLimitMotor **)&jarg1;
result = (btScalar) ((arg1)->m_stopERP);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor_1stopCFM_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btRotationalLimitMotor *arg1 = (btRotationalLimitMotor *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRotationalLimitMotor **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_stopCFM = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor_1stopCFM_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btRotationalLimitMotor *arg1 = (btRotationalLimitMotor *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRotationalLimitMotor **)&jarg1;
result = (btScalar) ((arg1)->m_stopCFM);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor_1bounce_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btRotationalLimitMotor *arg1 = (btRotationalLimitMotor *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRotationalLimitMotor **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_bounce = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor_1bounce_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btRotationalLimitMotor *arg1 = (btRotationalLimitMotor *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRotationalLimitMotor **)&jarg1;
result = (btScalar) ((arg1)->m_bounce);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor_1enableMotor_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jboolean jarg2) {
btRotationalLimitMotor *arg1 = (btRotationalLimitMotor *) 0 ;
bool arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRotationalLimitMotor **)&jarg1;
arg2 = jarg2 ? true : false;
if (arg1) (arg1)->m_enableMotor = arg2;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor_1enableMotor_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jboolean jresult = 0 ;
btRotationalLimitMotor *arg1 = (btRotationalLimitMotor *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRotationalLimitMotor **)&jarg1;
result = (bool) ((arg1)->m_enableMotor);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor_1currentLimitError_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btRotationalLimitMotor *arg1 = (btRotationalLimitMotor *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRotationalLimitMotor **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_currentLimitError = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor_1currentLimitError_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btRotationalLimitMotor *arg1 = (btRotationalLimitMotor *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRotationalLimitMotor **)&jarg1;
result = (btScalar) ((arg1)->m_currentLimitError);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor_1currentPosition_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btRotationalLimitMotor *arg1 = (btRotationalLimitMotor *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRotationalLimitMotor **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_currentPosition = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor_1currentPosition_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btRotationalLimitMotor *arg1 = (btRotationalLimitMotor *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRotationalLimitMotor **)&jarg1;
result = (btScalar) ((arg1)->m_currentPosition);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor_1currentLimit_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btRotationalLimitMotor *arg1 = (btRotationalLimitMotor *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRotationalLimitMotor **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_currentLimit = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor_1currentLimit_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btRotationalLimitMotor *arg1 = (btRotationalLimitMotor *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRotationalLimitMotor **)&jarg1;
result = (int) ((arg1)->m_currentLimit);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor_1accumulatedImpulse_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btRotationalLimitMotor *arg1 = (btRotationalLimitMotor *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRotationalLimitMotor **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_accumulatedImpulse = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor_1accumulatedImpulse_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btRotationalLimitMotor *arg1 = (btRotationalLimitMotor *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRotationalLimitMotor **)&jarg1;
result = (btScalar) ((arg1)->m_accumulatedImpulse);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btRotationalLimitMotor_1_1SWIG_10(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btRotationalLimitMotor *result = 0 ;
(void)jenv;
(void)jcls;
result = (btRotationalLimitMotor *)new btRotationalLimitMotor();
*(btRotationalLimitMotor **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btRotationalLimitMotor_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btRotationalLimitMotor *arg1 = 0 ;
btRotationalLimitMotor *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRotationalLimitMotor **)&jarg1;
if (!arg1) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btRotationalLimitMotor const & reference is null");
return 0;
}
result = (btRotationalLimitMotor *)new btRotationalLimitMotor((btRotationalLimitMotor const &)*arg1);
*(btRotationalLimitMotor **)&jresult = result;
return jresult;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor_1isLimited(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jboolean jresult = 0 ;
btRotationalLimitMotor *arg1 = (btRotationalLimitMotor *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRotationalLimitMotor **)&jarg1;
result = (bool)((btRotationalLimitMotor const *)arg1)->isLimited();
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor_1needApplyTorques(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jboolean jresult = 0 ;
btRotationalLimitMotor *arg1 = (btRotationalLimitMotor *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRotationalLimitMotor **)&jarg1;
result = (bool)((btRotationalLimitMotor const *)arg1)->needApplyTorques();
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor_1testLimitValue(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
jint jresult = 0 ;
btRotationalLimitMotor *arg1 = (btRotationalLimitMotor *) 0 ;
btScalar arg2 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRotationalLimitMotor **)&jarg1;
arg2 = (btScalar)jarg2;
result = (int)(arg1)->testLimitValue(arg2);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor_1solveAngularLimits(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2, jobject jarg3, jfloat jarg4, jlong jarg5, jobject jarg5_, jlong jarg6, jobject jarg6_) {
jfloat jresult = 0 ;
btRotationalLimitMotor *arg1 = (btRotationalLimitMotor *) 0 ;
btScalar arg2 ;
btVector3 *arg3 = 0 ;
btScalar arg4 ;
btRigidBody *arg5 = (btRigidBody *) 0 ;
btRigidBody *arg6 = (btRigidBody *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg5_;
(void)jarg6_;
arg1 = *(btRotationalLimitMotor **)&jarg1;
arg2 = (btScalar)jarg2;
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
arg4 = (btScalar)jarg4;
arg5 = *(btRigidBody **)&jarg5;
arg6 = *(btRigidBody **)&jarg6;
result = (btScalar)(arg1)->solveAngularLimits(arg2,*arg3,arg4,arg5,arg6);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btRotationalLimitMotor(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btRotationalLimitMotor *arg1 = (btRotationalLimitMotor *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btRotationalLimitMotor **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor_1lowerLimit_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btTranslationalLimitMotor *arg1 = (btTranslationalLimitMotor *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btTranslationalLimitMotor **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->m_lowerLimit = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor_1lowerLimit_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btTranslationalLimitMotor *arg1 = (btTranslationalLimitMotor *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTranslationalLimitMotor **)&jarg1;
result = (btVector3 *)& ((arg1)->m_lowerLimit);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor_1upperLimit_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btTranslationalLimitMotor *arg1 = (btTranslationalLimitMotor *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btTranslationalLimitMotor **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->m_upperLimit = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor_1upperLimit_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btTranslationalLimitMotor *arg1 = (btTranslationalLimitMotor *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTranslationalLimitMotor **)&jarg1;
result = (btVector3 *)& ((arg1)->m_upperLimit);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor_1accumulatedImpulse_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btTranslationalLimitMotor *arg1 = (btTranslationalLimitMotor *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btTranslationalLimitMotor **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->m_accumulatedImpulse = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor_1accumulatedImpulse_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btTranslationalLimitMotor *arg1 = (btTranslationalLimitMotor *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTranslationalLimitMotor **)&jarg1;
result = (btVector3 *)& ((arg1)->m_accumulatedImpulse);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor_1limitSoftness_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btTranslationalLimitMotor *arg1 = (btTranslationalLimitMotor *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTranslationalLimitMotor **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_limitSoftness = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor_1limitSoftness_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btTranslationalLimitMotor *arg1 = (btTranslationalLimitMotor *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTranslationalLimitMotor **)&jarg1;
result = (btScalar) ((arg1)->m_limitSoftness);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor_1damping_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btTranslationalLimitMotor *arg1 = (btTranslationalLimitMotor *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTranslationalLimitMotor **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_damping = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor_1damping_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btTranslationalLimitMotor *arg1 = (btTranslationalLimitMotor *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTranslationalLimitMotor **)&jarg1;
result = (btScalar) ((arg1)->m_damping);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor_1restitution_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btTranslationalLimitMotor *arg1 = (btTranslationalLimitMotor *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTranslationalLimitMotor **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_restitution = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor_1restitution_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btTranslationalLimitMotor *arg1 = (btTranslationalLimitMotor *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTranslationalLimitMotor **)&jarg1;
result = (btScalar) ((arg1)->m_restitution);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor_1normalCFM_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btTranslationalLimitMotor *arg1 = (btTranslationalLimitMotor *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btTranslationalLimitMotor **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->m_normalCFM = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor_1normalCFM_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btTranslationalLimitMotor *arg1 = (btTranslationalLimitMotor *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTranslationalLimitMotor **)&jarg1;
result = (btVector3 *)& ((arg1)->m_normalCFM);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor_1stopERP_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btTranslationalLimitMotor *arg1 = (btTranslationalLimitMotor *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btTranslationalLimitMotor **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->m_stopERP = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor_1stopERP_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btTranslationalLimitMotor *arg1 = (btTranslationalLimitMotor *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTranslationalLimitMotor **)&jarg1;
result = (btVector3 *)& ((arg1)->m_stopERP);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor_1stopCFM_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btTranslationalLimitMotor *arg1 = (btTranslationalLimitMotor *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btTranslationalLimitMotor **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->m_stopCFM = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor_1stopCFM_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btTranslationalLimitMotor *arg1 = (btTranslationalLimitMotor *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTranslationalLimitMotor **)&jarg1;
result = (btVector3 *)& ((arg1)->m_stopCFM);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor_1enableMotor_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jbooleanArray jarg2) {
btTranslationalLimitMotor *arg1 = (btTranslationalLimitMotor *) 0 ;
bool *arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTranslationalLimitMotor **)&jarg1;
if (jarg2 && jenv->GetArrayLength(jarg2) != 3) {
SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, "incorrect array size");
return ;
}
arg2 = (bool *)jenv->GetPrimitiveArrayCritical(jarg2, 0);
{
size_t ii;
bool *b = (bool *) arg1->m_enableMotor;
for (ii = 0; ii < (size_t)3; ii++) b[ii] = *((bool *) arg2 + ii);
}
jenv->ReleasePrimitiveArrayCritical(jarg2, (bool *)arg2, 0);
}
SWIGEXPORT jbooleanArray JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor_1enableMotor_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jbooleanArray jresult = 0 ;
btTranslationalLimitMotor *arg1 = (btTranslationalLimitMotor *) 0 ;
bool *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTranslationalLimitMotor **)&jarg1;
result = (bool *)(bool *) ((arg1)->m_enableMotor);
/*jresult = SWIG_JavaArrayOut##Bool(jenv, (bool *)result, 3);*/
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor_1targetVelocity_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btTranslationalLimitMotor *arg1 = (btTranslationalLimitMotor *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btTranslationalLimitMotor **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->m_targetVelocity = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor_1targetVelocity_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btTranslationalLimitMotor *arg1 = (btTranslationalLimitMotor *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTranslationalLimitMotor **)&jarg1;
result = (btVector3 *)& ((arg1)->m_targetVelocity);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor_1maxMotorForce_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btTranslationalLimitMotor *arg1 = (btTranslationalLimitMotor *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btTranslationalLimitMotor **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->m_maxMotorForce = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor_1maxMotorForce_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btTranslationalLimitMotor *arg1 = (btTranslationalLimitMotor *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTranslationalLimitMotor **)&jarg1;
result = (btVector3 *)& ((arg1)->m_maxMotorForce);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor_1currentLimitError_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btTranslationalLimitMotor *arg1 = (btTranslationalLimitMotor *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btTranslationalLimitMotor **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->m_currentLimitError = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor_1currentLimitError_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btTranslationalLimitMotor *arg1 = (btTranslationalLimitMotor *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTranslationalLimitMotor **)&jarg1;
result = (btVector3 *)& ((arg1)->m_currentLimitError);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor_1currentLinearDiff_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btTranslationalLimitMotor *arg1 = (btTranslationalLimitMotor *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btTranslationalLimitMotor **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->m_currentLinearDiff = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor_1currentLinearDiff_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btTranslationalLimitMotor *arg1 = (btTranslationalLimitMotor *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTranslationalLimitMotor **)&jarg1;
result = (btVector3 *)& ((arg1)->m_currentLinearDiff);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor_1currentLimit_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jintArray jarg2) {
btTranslationalLimitMotor *arg1 = (btTranslationalLimitMotor *) 0 ;
int *arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTranslationalLimitMotor **)&jarg1;
if (jarg2 && jenv->GetArrayLength(jarg2) != 3) {
SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, "incorrect array size");
return ;
}
arg2 = (int *)jenv->GetPrimitiveArrayCritical(jarg2, 0);
{
size_t ii;
int *b = (int *) arg1->m_currentLimit;
for (ii = 0; ii < (size_t)3; ii++) b[ii] = *((int *) arg2 + ii);
}
jenv->ReleasePrimitiveArrayCritical(jarg2, (int *)arg2, 0);
}
SWIGEXPORT jintArray JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor_1currentLimit_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jintArray jresult = 0 ;
btTranslationalLimitMotor *arg1 = (btTranslationalLimitMotor *) 0 ;
int *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTranslationalLimitMotor **)&jarg1;
result = (int *)(int *) ((arg1)->m_currentLimit);
/*jresult = SWIG_JavaArrayOut##Int(jenv, (int *)result, 3);*/
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btTranslationalLimitMotor_1_1SWIG_10(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btTranslationalLimitMotor *result = 0 ;
(void)jenv;
(void)jcls;
result = (btTranslationalLimitMotor *)new btTranslationalLimitMotor();
*(btTranslationalLimitMotor **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btTranslationalLimitMotor_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btTranslationalLimitMotor *arg1 = 0 ;
btTranslationalLimitMotor *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTranslationalLimitMotor **)&jarg1;
if (!arg1) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btTranslationalLimitMotor const & reference is null");
return 0;
}
result = (btTranslationalLimitMotor *)new btTranslationalLimitMotor((btTranslationalLimitMotor const &)*arg1);
*(btTranslationalLimitMotor **)&jresult = result;
return jresult;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor_1isLimited(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jboolean jresult = 0 ;
btTranslationalLimitMotor *arg1 = (btTranslationalLimitMotor *) 0 ;
int arg2 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTranslationalLimitMotor **)&jarg1;
arg2 = (int)jarg2;
result = (bool)((btTranslationalLimitMotor const *)arg1)->isLimited(arg2);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor_1needApplyForce(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jboolean jresult = 0 ;
btTranslationalLimitMotor *arg1 = (btTranslationalLimitMotor *) 0 ;
int arg2 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTranslationalLimitMotor **)&jarg1;
arg2 = (int)jarg2;
result = (bool)((btTranslationalLimitMotor const *)arg1)->needApplyForce(arg2);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor_1testLimitValue(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jfloat jarg3) {
jint jresult = 0 ;
btTranslationalLimitMotor *arg1 = (btTranslationalLimitMotor *) 0 ;
int arg2 ;
btScalar arg3 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTranslationalLimitMotor **)&jarg1;
arg2 = (int)jarg2;
arg3 = (btScalar)jarg3;
result = (int)(arg1)->testLimitValue(arg2,arg3);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor_1solveLinearAxis(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2, jfloat jarg3, jlong jarg4, jobject jarg4_, jobject jarg5, jlong jarg6, jobject jarg6_, jobject jarg7, jint jarg8, jobject jarg9, jobject jarg10) {
jfloat jresult = 0 ;
btTranslationalLimitMotor *arg1 = (btTranslationalLimitMotor *) 0 ;
btScalar arg2 ;
btScalar arg3 ;
btRigidBody *arg4 = 0 ;
btVector3 *arg5 = 0 ;
btRigidBody *arg6 = 0 ;
btVector3 *arg7 = 0 ;
int arg8 ;
btVector3 *arg9 = 0 ;
btVector3 *arg10 = 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg4_;
(void)jarg6_;
arg1 = *(btTranslationalLimitMotor **)&jarg1;
arg2 = (btScalar)jarg2;
arg3 = (btScalar)jarg3;
arg4 = *(btRigidBody **)&jarg4;
if (!arg4) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btRigidBody & reference is null");
return 0;
}
btVector3 local_arg5;
gdx_setbtVector3FromVector3(jenv, local_arg5, jarg5);
arg5 = &local_arg5;
gdxAutoCommitVector3 auto_commit_arg5(jenv, jarg5, &local_arg5);
arg6 = *(btRigidBody **)&jarg6;
if (!arg6) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btRigidBody & reference is null");
return 0;
}
btVector3 local_arg7;
gdx_setbtVector3FromVector3(jenv, local_arg7, jarg7);
arg7 = &local_arg7;
gdxAutoCommitVector3 auto_commit_arg7(jenv, jarg7, &local_arg7);
arg8 = (int)jarg8;
btVector3 local_arg9;
gdx_setbtVector3FromVector3(jenv, local_arg9, jarg9);
arg9 = &local_arg9;
gdxAutoCommitVector3 auto_commit_arg9(jenv, jarg9, &local_arg9);
btVector3 local_arg10;
gdx_setbtVector3FromVector3(jenv, local_arg10, jarg10);
arg10 = &local_arg10;
gdxAutoCommitVector3 auto_commit_arg10(jenv, jarg10, &local_arg10);
result = (btScalar)(arg1)->solveLinearAxis(arg2,arg3,*arg4,(btVector3 const &)*arg5,*arg6,(btVector3 const &)*arg7,arg8,(btVector3 const &)*arg9,(btVector3 const &)*arg10);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btTranslationalLimitMotor(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btTranslationalLimitMotor *arg1 = (btTranslationalLimitMotor *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btTranslationalLimitMotor **)&jarg1;
delete arg1;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraint_1operatorNew_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btGeneric6DofConstraint *arg1 = (btGeneric6DofConstraint *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofConstraint **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new(arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraint_1operatorDelete_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btGeneric6DofConstraint *arg1 = (btGeneric6DofConstraint *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofConstraint **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete(arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraint_1operatorNew_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btGeneric6DofConstraint *arg1 = (btGeneric6DofConstraint *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofConstraint **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new(arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraint_1operatorDelete_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btGeneric6DofConstraint *arg1 = (btGeneric6DofConstraint *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofConstraint **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete(arg2,arg3);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraint_1operatorNewArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btGeneric6DofConstraint *arg1 = (btGeneric6DofConstraint *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofConstraint **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new[](arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraint_1operatorDeleteArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btGeneric6DofConstraint *arg1 = (btGeneric6DofConstraint *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofConstraint **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete[](arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraint_1operatorNewArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btGeneric6DofConstraint *arg1 = (btGeneric6DofConstraint *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofConstraint **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new[](arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraint_1operatorDeleteArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btGeneric6DofConstraint *arg1 = (btGeneric6DofConstraint *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofConstraint **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete[](arg2,arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraint_1useSolveConstraintObsolete_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jboolean jarg2) {
btGeneric6DofConstraint *arg1 = (btGeneric6DofConstraint *) 0 ;
bool arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofConstraint **)&jarg1;
arg2 = jarg2 ? true : false;
if (arg1) (arg1)->m_useSolveConstraintObsolete = arg2;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraint_1useSolveConstraintObsolete_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jboolean jresult = 0 ;
btGeneric6DofConstraint *arg1 = (btGeneric6DofConstraint *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofConstraint **)&jarg1;
result = (bool) ((arg1)->m_useSolveConstraintObsolete);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btGeneric6DofConstraint_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jobject jarg3, jobject jarg4, jboolean jarg5) {
jlong jresult = 0 ;
btRigidBody *arg1 = 0 ;
btRigidBody *arg2 = 0 ;
btTransform *arg3 = 0 ;
btTransform *arg4 = 0 ;
bool arg5 ;
btGeneric6DofConstraint *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btRigidBody **)&jarg1;
if (!arg1) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btRigidBody & reference is null");
return 0;
}
arg2 = *(btRigidBody **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btRigidBody & reference is null");
return 0;
}
btTransform local_arg3;
gdx_setbtTransformFromMatrix4(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitMatrix4 auto_commit_arg3(jenv, jarg3, &local_arg3);
btTransform local_arg4;
gdx_setbtTransformFromMatrix4(jenv, local_arg4, jarg4);
arg4 = &local_arg4;
gdxAutoCommitMatrix4 auto_commit_arg4(jenv, jarg4, &local_arg4);
arg5 = jarg5 ? true : false;
result = (btGeneric6DofConstraint *)new btGeneric6DofConstraint(*arg1,*arg2,(btTransform const &)*arg3,(btTransform const &)*arg4,arg5);
*(btGeneric6DofConstraint **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btGeneric6DofConstraint_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jboolean jarg3) {
jlong jresult = 0 ;
btRigidBody *arg1 = 0 ;
btTransform *arg2 = 0 ;
bool arg3 ;
btGeneric6DofConstraint *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody **)&jarg1;
if (!arg1) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btRigidBody & reference is null");
return 0;
}
btTransform local_arg2;
gdx_setbtTransformFromMatrix4(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitMatrix4 auto_commit_arg2(jenv, jarg2, &local_arg2);
arg3 = jarg3 ? true : false;
result = (btGeneric6DofConstraint *)new btGeneric6DofConstraint(*arg1,(btTransform const &)*arg2,arg3);
*(btGeneric6DofConstraint **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraint_1calculateTransforms_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jobject jarg3) {
btGeneric6DofConstraint *arg1 = (btGeneric6DofConstraint *) 0 ;
btTransform *arg2 = 0 ;
btTransform *arg3 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofConstraint **)&jarg1;
btTransform local_arg2;
gdx_setbtTransformFromMatrix4(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitMatrix4 auto_commit_arg2(jenv, jarg2, &local_arg2);
btTransform local_arg3;
gdx_setbtTransformFromMatrix4(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitMatrix4 auto_commit_arg3(jenv, jarg3, &local_arg3);
(arg1)->calculateTransforms((btTransform const &)*arg2,(btTransform const &)*arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraint_1calculateTransforms_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
btGeneric6DofConstraint *arg1 = (btGeneric6DofConstraint *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofConstraint **)&jarg1;
(arg1)->calculateTransforms();
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraint_1getCalculatedTransformA(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btGeneric6DofConstraint *arg1 = (btGeneric6DofConstraint *) 0 ;
btTransform *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofConstraint **)&jarg1;
result = (btTransform *) &((btGeneric6DofConstraint const *)arg1)->getCalculatedTransformA();
jresult = gdx_getReturnMatrix4(jenv);
gdx_setMatrix4FrombtTransform(jenv, jresult, result);
return jresult;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraint_1getCalculatedTransformB(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btGeneric6DofConstraint *arg1 = (btGeneric6DofConstraint *) 0 ;
btTransform *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofConstraint **)&jarg1;
result = (btTransform *) &((btGeneric6DofConstraint const *)arg1)->getCalculatedTransformB();
jresult = gdx_getReturnMatrix4(jenv);
gdx_setMatrix4FrombtTransform(jenv, jresult, result);
return jresult;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraint_1getFrameOffsetAConst(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btGeneric6DofConstraint *arg1 = (btGeneric6DofConstraint *) 0 ;
btTransform *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofConstraint **)&jarg1;
result = (btTransform *) &((btGeneric6DofConstraint const *)arg1)->getFrameOffsetA();
jresult = gdx_getReturnMatrix4(jenv);
gdx_setMatrix4FrombtTransform(jenv, jresult, result);
return jresult;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraint_1getFrameOffsetBConst(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btGeneric6DofConstraint *arg1 = (btGeneric6DofConstraint *) 0 ;
btTransform *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofConstraint **)&jarg1;
result = (btTransform *) &((btGeneric6DofConstraint const *)arg1)->getFrameOffsetB();
jresult = gdx_getReturnMatrix4(jenv);
gdx_setMatrix4FrombtTransform(jenv, jresult, result);
return jresult;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraint_1getFrameOffsetA(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btGeneric6DofConstraint *arg1 = (btGeneric6DofConstraint *) 0 ;
btTransform *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofConstraint **)&jarg1;
result = (btTransform *) &(arg1)->getFrameOffsetA();
jresult = gdx_getReturnMatrix4(jenv);
gdx_setMatrix4FrombtTransform(jenv, jresult, result);
return jresult;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraint_1getFrameOffsetB(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btGeneric6DofConstraint *arg1 = (btGeneric6DofConstraint *) 0 ;
btTransform *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofConstraint **)&jarg1;
result = (btTransform *) &(arg1)->getFrameOffsetB();
jresult = gdx_getReturnMatrix4(jenv);
gdx_setMatrix4FrombtTransform(jenv, jresult, result);
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraint_1getInfo1NonVirtual(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btGeneric6DofConstraint *arg1 = (btGeneric6DofConstraint *) 0 ;
btTypedConstraint::btConstraintInfo1 *arg2 = (btTypedConstraint::btConstraintInfo1 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btGeneric6DofConstraint **)&jarg1;
arg2 = *(btTypedConstraint::btConstraintInfo1 **)&jarg2;
(arg1)->getInfo1NonVirtual(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraint_1getInfo2NonVirtual(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jobject jarg3, jobject jarg4, jobject jarg5, jobject jarg6, jobject jarg7, jobject jarg8) {
btGeneric6DofConstraint *arg1 = (btGeneric6DofConstraint *) 0 ;
btTypedConstraint::btConstraintInfo2 *arg2 = (btTypedConstraint::btConstraintInfo2 *) 0 ;
btTransform *arg3 = 0 ;
btTransform *arg4 = 0 ;
btVector3 *arg5 = 0 ;
btVector3 *arg6 = 0 ;
btVector3 *arg7 = 0 ;
btVector3 *arg8 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btGeneric6DofConstraint **)&jarg1;
arg2 = *(btTypedConstraint::btConstraintInfo2 **)&jarg2;
btTransform local_arg3;
gdx_setbtTransformFromMatrix4(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitMatrix4 auto_commit_arg3(jenv, jarg3, &local_arg3);
btTransform local_arg4;
gdx_setbtTransformFromMatrix4(jenv, local_arg4, jarg4);
arg4 = &local_arg4;
gdxAutoCommitMatrix4 auto_commit_arg4(jenv, jarg4, &local_arg4);
btVector3 local_arg5;
gdx_setbtVector3FromVector3(jenv, local_arg5, jarg5);
arg5 = &local_arg5;
gdxAutoCommitVector3 auto_commit_arg5(jenv, jarg5, &local_arg5);
btVector3 local_arg6;
gdx_setbtVector3FromVector3(jenv, local_arg6, jarg6);
arg6 = &local_arg6;
gdxAutoCommitVector3 auto_commit_arg6(jenv, jarg6, &local_arg6);
btVector3 local_arg7;
gdx_setbtVector3FromVector3(jenv, local_arg7, jarg7);
arg7 = &local_arg7;
gdxAutoCommitVector3 auto_commit_arg7(jenv, jarg7, &local_arg7);
btVector3 local_arg8;
gdx_setbtVector3FromVector3(jenv, local_arg8, jarg8);
arg8 = &local_arg8;
gdxAutoCommitVector3 auto_commit_arg8(jenv, jarg8, &local_arg8);
(arg1)->getInfo2NonVirtual(arg2,(btTransform const &)*arg3,(btTransform const &)*arg4,(btVector3 const &)*arg5,(btVector3 const &)*arg6,(btVector3 const &)*arg7,(btVector3 const &)*arg8);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraint_1updateRHS(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btGeneric6DofConstraint *arg1 = (btGeneric6DofConstraint *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofConstraint **)&jarg1;
arg2 = (btScalar)jarg2;
(arg1)->updateRHS(arg2);
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraint_1getAxis(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jobject jresult = 0 ;
btGeneric6DofConstraint *arg1 = (btGeneric6DofConstraint *) 0 ;
int arg2 ;
btVector3 result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofConstraint **)&jarg1;
arg2 = (int)jarg2;
result = ((btGeneric6DofConstraint const *)arg1)->getAxis(arg2);
jresult = gdx_getReturnVector3(jenv);
gdx_setVector3FrombtVector3(jenv, jresult, result);
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraint_1getAngle(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jfloat jresult = 0 ;
btGeneric6DofConstraint *arg1 = (btGeneric6DofConstraint *) 0 ;
int arg2 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofConstraint **)&jarg1;
arg2 = (int)jarg2;
result = (btScalar)((btGeneric6DofConstraint const *)arg1)->getAngle(arg2);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraint_1getRelativePivotPosition(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jfloat jresult = 0 ;
btGeneric6DofConstraint *arg1 = (btGeneric6DofConstraint *) 0 ;
int arg2 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofConstraint **)&jarg1;
arg2 = (int)jarg2;
result = (btScalar)((btGeneric6DofConstraint const *)arg1)->getRelativePivotPosition(arg2);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraint_1setFrames(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jobject jarg3) {
btGeneric6DofConstraint *arg1 = (btGeneric6DofConstraint *) 0 ;
btTransform *arg2 = 0 ;
btTransform *arg3 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofConstraint **)&jarg1;
btTransform local_arg2;
gdx_setbtTransformFromMatrix4(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitMatrix4 auto_commit_arg2(jenv, jarg2, &local_arg2);
btTransform local_arg3;
gdx_setbtTransformFromMatrix4(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitMatrix4 auto_commit_arg3(jenv, jarg3, &local_arg3);
(arg1)->setFrames((btTransform const &)*arg2,(btTransform const &)*arg3);
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraint_1testAngularLimitMotor(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jboolean jresult = 0 ;
btGeneric6DofConstraint *arg1 = (btGeneric6DofConstraint *) 0 ;
int arg2 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofConstraint **)&jarg1;
arg2 = (int)jarg2;
result = (bool)(arg1)->testAngularLimitMotor(arg2);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraint_1setLinearLowerLimit(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btGeneric6DofConstraint *arg1 = (btGeneric6DofConstraint *) 0 ;
btVector3 *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofConstraint **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
(arg1)->setLinearLowerLimit((btVector3 const &)*arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraint_1getLinearLowerLimit(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btGeneric6DofConstraint *arg1 = (btGeneric6DofConstraint *) 0 ;
btVector3 *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofConstraint **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
((btGeneric6DofConstraint const *)arg1)->getLinearLowerLimit(*arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraint_1setLinearUpperLimit(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btGeneric6DofConstraint *arg1 = (btGeneric6DofConstraint *) 0 ;
btVector3 *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofConstraint **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
(arg1)->setLinearUpperLimit((btVector3 const &)*arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraint_1getLinearUpperLimit(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btGeneric6DofConstraint *arg1 = (btGeneric6DofConstraint *) 0 ;
btVector3 *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofConstraint **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
((btGeneric6DofConstraint const *)arg1)->getLinearUpperLimit(*arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraint_1setAngularLowerLimit(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btGeneric6DofConstraint *arg1 = (btGeneric6DofConstraint *) 0 ;
btVector3 *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofConstraint **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
(arg1)->setAngularLowerLimit((btVector3 const &)*arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraint_1getAngularLowerLimit(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btGeneric6DofConstraint *arg1 = (btGeneric6DofConstraint *) 0 ;
btVector3 *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofConstraint **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
((btGeneric6DofConstraint const *)arg1)->getAngularLowerLimit(*arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraint_1setAngularUpperLimit(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btGeneric6DofConstraint *arg1 = (btGeneric6DofConstraint *) 0 ;
btVector3 *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofConstraint **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
(arg1)->setAngularUpperLimit((btVector3 const &)*arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraint_1getAngularUpperLimit(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btGeneric6DofConstraint *arg1 = (btGeneric6DofConstraint *) 0 ;
btVector3 *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofConstraint **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
((btGeneric6DofConstraint const *)arg1)->getAngularUpperLimit(*arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraint_1getRotationalLimitMotor(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jlong jresult = 0 ;
btGeneric6DofConstraint *arg1 = (btGeneric6DofConstraint *) 0 ;
int arg2 ;
btRotationalLimitMotor *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofConstraint **)&jarg1;
arg2 = (int)jarg2;
result = (btRotationalLimitMotor *)(arg1)->getRotationalLimitMotor(arg2);
*(btRotationalLimitMotor **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraint_1getTranslationalLimitMotor(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btGeneric6DofConstraint *arg1 = (btGeneric6DofConstraint *) 0 ;
btTranslationalLimitMotor *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofConstraint **)&jarg1;
result = (btTranslationalLimitMotor *)(arg1)->getTranslationalLimitMotor();
*(btTranslationalLimitMotor **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraint_1setLimit(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jfloat jarg3, jfloat jarg4) {
btGeneric6DofConstraint *arg1 = (btGeneric6DofConstraint *) 0 ;
int arg2 ;
btScalar arg3 ;
btScalar arg4 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofConstraint **)&jarg1;
arg2 = (int)jarg2;
arg3 = (btScalar)jarg3;
arg4 = (btScalar)jarg4;
(arg1)->setLimit(arg2,arg3,arg4);
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraint_1isLimited(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jboolean jresult = 0 ;
btGeneric6DofConstraint *arg1 = (btGeneric6DofConstraint *) 0 ;
int arg2 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofConstraint **)&jarg1;
arg2 = (int)jarg2;
result = (bool)((btGeneric6DofConstraint const *)arg1)->isLimited(arg2);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraint_1calcAnchorPos(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
btGeneric6DofConstraint *arg1 = (btGeneric6DofConstraint *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofConstraint **)&jarg1;
(arg1)->calcAnchorPos();
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraint_1get_1limit_1motor_1info2_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jobject jarg3, jobject jarg4, jobject jarg5, jobject jarg6, jobject jarg7, jobject jarg8, jlong jarg9, jobject jarg9_, jint jarg10, jobject jarg11, jint jarg12, jint jarg13) {
jint jresult = 0 ;
btGeneric6DofConstraint *arg1 = (btGeneric6DofConstraint *) 0 ;
btRotationalLimitMotor *arg2 = (btRotationalLimitMotor *) 0 ;
btTransform *arg3 = 0 ;
btTransform *arg4 = 0 ;
btVector3 *arg5 = 0 ;
btVector3 *arg6 = 0 ;
btVector3 *arg7 = 0 ;
btVector3 *arg8 = 0 ;
btTypedConstraint::btConstraintInfo2 *arg9 = (btTypedConstraint::btConstraintInfo2 *) 0 ;
int arg10 ;
btVector3 *arg11 = 0 ;
int arg12 ;
int arg13 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
(void)jarg9_;
arg1 = *(btGeneric6DofConstraint **)&jarg1;
arg2 = *(btRotationalLimitMotor **)&jarg2;
btTransform local_arg3;
gdx_setbtTransformFromMatrix4(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitMatrix4 auto_commit_arg3(jenv, jarg3, &local_arg3);
btTransform local_arg4;
gdx_setbtTransformFromMatrix4(jenv, local_arg4, jarg4);
arg4 = &local_arg4;
gdxAutoCommitMatrix4 auto_commit_arg4(jenv, jarg4, &local_arg4);
btVector3 local_arg5;
gdx_setbtVector3FromVector3(jenv, local_arg5, jarg5);
arg5 = &local_arg5;
gdxAutoCommitVector3 auto_commit_arg5(jenv, jarg5, &local_arg5);
btVector3 local_arg6;
gdx_setbtVector3FromVector3(jenv, local_arg6, jarg6);
arg6 = &local_arg6;
gdxAutoCommitVector3 auto_commit_arg6(jenv, jarg6, &local_arg6);
btVector3 local_arg7;
gdx_setbtVector3FromVector3(jenv, local_arg7, jarg7);
arg7 = &local_arg7;
gdxAutoCommitVector3 auto_commit_arg7(jenv, jarg7, &local_arg7);
btVector3 local_arg8;
gdx_setbtVector3FromVector3(jenv, local_arg8, jarg8);
arg8 = &local_arg8;
gdxAutoCommitVector3 auto_commit_arg8(jenv, jarg8, &local_arg8);
arg9 = *(btTypedConstraint::btConstraintInfo2 **)&jarg9;
arg10 = (int)jarg10;
btVector3 local_arg11;
gdx_setbtVector3FromVector3(jenv, local_arg11, jarg11);
arg11 = &local_arg11;
gdxAutoCommitVector3 auto_commit_arg11(jenv, jarg11, &local_arg11);
arg12 = (int)jarg12;
arg13 = (int)jarg13;
result = (int)(arg1)->get_limit_motor_info2(arg2,(btTransform const &)*arg3,(btTransform const &)*arg4,(btVector3 const &)*arg5,(btVector3 const &)*arg6,(btVector3 const &)*arg7,(btVector3 const &)*arg8,arg9,arg10,*arg11,arg12,arg13);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraint_1get_1limit_1motor_1info2_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jobject jarg3, jobject jarg4, jobject jarg5, jobject jarg6, jobject jarg7, jobject jarg8, jlong jarg9, jobject jarg9_, jint jarg10, jobject jarg11, jint jarg12) {
jint jresult = 0 ;
btGeneric6DofConstraint *arg1 = (btGeneric6DofConstraint *) 0 ;
btRotationalLimitMotor *arg2 = (btRotationalLimitMotor *) 0 ;
btTransform *arg3 = 0 ;
btTransform *arg4 = 0 ;
btVector3 *arg5 = 0 ;
btVector3 *arg6 = 0 ;
btVector3 *arg7 = 0 ;
btVector3 *arg8 = 0 ;
btTypedConstraint::btConstraintInfo2 *arg9 = (btTypedConstraint::btConstraintInfo2 *) 0 ;
int arg10 ;
btVector3 *arg11 = 0 ;
int arg12 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
(void)jarg9_;
arg1 = *(btGeneric6DofConstraint **)&jarg1;
arg2 = *(btRotationalLimitMotor **)&jarg2;
btTransform local_arg3;
gdx_setbtTransformFromMatrix4(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitMatrix4 auto_commit_arg3(jenv, jarg3, &local_arg3);
btTransform local_arg4;
gdx_setbtTransformFromMatrix4(jenv, local_arg4, jarg4);
arg4 = &local_arg4;
gdxAutoCommitMatrix4 auto_commit_arg4(jenv, jarg4, &local_arg4);
btVector3 local_arg5;
gdx_setbtVector3FromVector3(jenv, local_arg5, jarg5);
arg5 = &local_arg5;
gdxAutoCommitVector3 auto_commit_arg5(jenv, jarg5, &local_arg5);
btVector3 local_arg6;
gdx_setbtVector3FromVector3(jenv, local_arg6, jarg6);
arg6 = &local_arg6;
gdxAutoCommitVector3 auto_commit_arg6(jenv, jarg6, &local_arg6);
btVector3 local_arg7;
gdx_setbtVector3FromVector3(jenv, local_arg7, jarg7);
arg7 = &local_arg7;
gdxAutoCommitVector3 auto_commit_arg7(jenv, jarg7, &local_arg7);
btVector3 local_arg8;
gdx_setbtVector3FromVector3(jenv, local_arg8, jarg8);
arg8 = &local_arg8;
gdxAutoCommitVector3 auto_commit_arg8(jenv, jarg8, &local_arg8);
arg9 = *(btTypedConstraint::btConstraintInfo2 **)&jarg9;
arg10 = (int)jarg10;
btVector3 local_arg11;
gdx_setbtVector3FromVector3(jenv, local_arg11, jarg11);
arg11 = &local_arg11;
gdxAutoCommitVector3 auto_commit_arg11(jenv, jarg11, &local_arg11);
arg12 = (int)jarg12;
result = (int)(arg1)->get_limit_motor_info2(arg2,(btTransform const &)*arg3,(btTransform const &)*arg4,(btVector3 const &)*arg5,(btVector3 const &)*arg6,(btVector3 const &)*arg7,(btVector3 const &)*arg8,arg9,arg10,*arg11,arg12);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraint_1getUseFrameOffset(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jboolean jresult = 0 ;
btGeneric6DofConstraint *arg1 = (btGeneric6DofConstraint *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofConstraint **)&jarg1;
result = (bool)((btGeneric6DofConstraint const *)arg1)->getUseFrameOffset();
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraint_1setUseFrameOffset(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jboolean jarg2) {
btGeneric6DofConstraint *arg1 = (btGeneric6DofConstraint *) 0 ;
bool arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofConstraint **)&jarg1;
arg2 = jarg2 ? true : false;
(arg1)->setUseFrameOffset(arg2);
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraint_1getUseLinearReferenceFrameA(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jboolean jresult = 0 ;
btGeneric6DofConstraint *arg1 = (btGeneric6DofConstraint *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofConstraint **)&jarg1;
result = (bool)((btGeneric6DofConstraint const *)arg1)->getUseLinearReferenceFrameA();
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraint_1setUseLinearReferenceFrameA(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jboolean jarg2) {
btGeneric6DofConstraint *arg1 = (btGeneric6DofConstraint *) 0 ;
bool arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofConstraint **)&jarg1;
arg2 = jarg2 ? true : false;
(arg1)->setUseLinearReferenceFrameA(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraint_1setParam_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jfloat jarg3, jint jarg4) {
btGeneric6DofConstraint *arg1 = (btGeneric6DofConstraint *) 0 ;
int arg2 ;
btScalar arg3 ;
int arg4 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofConstraint **)&jarg1;
arg2 = (int)jarg2;
arg3 = (btScalar)jarg3;
arg4 = (int)jarg4;
(arg1)->setParam(arg2,arg3,arg4);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraint_1setParam_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jfloat jarg3) {
btGeneric6DofConstraint *arg1 = (btGeneric6DofConstraint *) 0 ;
int arg2 ;
btScalar arg3 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofConstraint **)&jarg1;
arg2 = (int)jarg2;
arg3 = (btScalar)jarg3;
(arg1)->setParam(arg2,arg3);
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraint_1getParam_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jint jarg3) {
jfloat jresult = 0 ;
btGeneric6DofConstraint *arg1 = (btGeneric6DofConstraint *) 0 ;
int arg2 ;
int arg3 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofConstraint **)&jarg1;
arg2 = (int)jarg2;
arg3 = (int)jarg3;
result = (btScalar)((btGeneric6DofConstraint const *)arg1)->getParam(arg2,arg3);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraint_1getParam_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jfloat jresult = 0 ;
btGeneric6DofConstraint *arg1 = (btGeneric6DofConstraint *) 0 ;
int arg2 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofConstraint **)&jarg1;
arg2 = (int)jarg2;
result = (btScalar)((btGeneric6DofConstraint const *)arg1)->getParam(arg2);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraint_1setAxis(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jobject jarg3) {
btGeneric6DofConstraint *arg1 = (btGeneric6DofConstraint *) 0 ;
btVector3 *arg2 = 0 ;
btVector3 *arg3 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofConstraint **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
(arg1)->setAxis((btVector3 const &)*arg2,(btVector3 const &)*arg3);
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraint_1getFlags(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btGeneric6DofConstraint *arg1 = (btGeneric6DofConstraint *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofConstraint **)&jarg1;
result = (int)((btGeneric6DofConstraint const *)arg1)->getFlags();
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btGeneric6DofConstraint(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btGeneric6DofConstraint *arg1 = (btGeneric6DofConstraint *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btGeneric6DofConstraint **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraintData_1typeConstraintData_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btGeneric6DofConstraintData *arg1 = (btGeneric6DofConstraintData *) 0 ;
btTypedConstraintData *arg2 = (btTypedConstraintData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btGeneric6DofConstraintData **)&jarg1;
arg2 = *(btTypedConstraintData **)&jarg2;
if (arg1) (arg1)->m_typeConstraintData = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraintData_1typeConstraintData_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btGeneric6DofConstraintData *arg1 = (btGeneric6DofConstraintData *) 0 ;
btTypedConstraintData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofConstraintData **)&jarg1;
result = (btTypedConstraintData *)& ((arg1)->m_typeConstraintData);
*(btTypedConstraintData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraintData_1rbAFrame_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btGeneric6DofConstraintData *arg1 = (btGeneric6DofConstraintData *) 0 ;
btTransformFloatData *arg2 = (btTransformFloatData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btGeneric6DofConstraintData **)&jarg1;
arg2 = *(btTransformFloatData **)&jarg2;
if (arg1) (arg1)->m_rbAFrame = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraintData_1rbAFrame_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btGeneric6DofConstraintData *arg1 = (btGeneric6DofConstraintData *) 0 ;
btTransformFloatData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofConstraintData **)&jarg1;
result = (btTransformFloatData *)& ((arg1)->m_rbAFrame);
*(btTransformFloatData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraintData_1rbBFrame_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btGeneric6DofConstraintData *arg1 = (btGeneric6DofConstraintData *) 0 ;
btTransformFloatData *arg2 = (btTransformFloatData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btGeneric6DofConstraintData **)&jarg1;
arg2 = *(btTransformFloatData **)&jarg2;
if (arg1) (arg1)->m_rbBFrame = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraintData_1rbBFrame_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btGeneric6DofConstraintData *arg1 = (btGeneric6DofConstraintData *) 0 ;
btTransformFloatData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofConstraintData **)&jarg1;
result = (btTransformFloatData *)& ((arg1)->m_rbBFrame);
*(btTransformFloatData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraintData_1linearUpperLimit_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btGeneric6DofConstraintData *arg1 = (btGeneric6DofConstraintData *) 0 ;
btVector3FloatData *arg2 = (btVector3FloatData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btGeneric6DofConstraintData **)&jarg1;
arg2 = *(btVector3FloatData **)&jarg2;
if (arg1) (arg1)->m_linearUpperLimit = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraintData_1linearUpperLimit_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btGeneric6DofConstraintData *arg1 = (btGeneric6DofConstraintData *) 0 ;
btVector3FloatData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofConstraintData **)&jarg1;
result = (btVector3FloatData *)& ((arg1)->m_linearUpperLimit);
*(btVector3FloatData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraintData_1linearLowerLimit_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btGeneric6DofConstraintData *arg1 = (btGeneric6DofConstraintData *) 0 ;
btVector3FloatData *arg2 = (btVector3FloatData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btGeneric6DofConstraintData **)&jarg1;
arg2 = *(btVector3FloatData **)&jarg2;
if (arg1) (arg1)->m_linearLowerLimit = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraintData_1linearLowerLimit_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btGeneric6DofConstraintData *arg1 = (btGeneric6DofConstraintData *) 0 ;
btVector3FloatData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofConstraintData **)&jarg1;
result = (btVector3FloatData *)& ((arg1)->m_linearLowerLimit);
*(btVector3FloatData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraintData_1angularUpperLimit_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btGeneric6DofConstraintData *arg1 = (btGeneric6DofConstraintData *) 0 ;
btVector3FloatData *arg2 = (btVector3FloatData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btGeneric6DofConstraintData **)&jarg1;
arg2 = *(btVector3FloatData **)&jarg2;
if (arg1) (arg1)->m_angularUpperLimit = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraintData_1angularUpperLimit_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btGeneric6DofConstraintData *arg1 = (btGeneric6DofConstraintData *) 0 ;
btVector3FloatData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofConstraintData **)&jarg1;
result = (btVector3FloatData *)& ((arg1)->m_angularUpperLimit);
*(btVector3FloatData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraintData_1angularLowerLimit_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btGeneric6DofConstraintData *arg1 = (btGeneric6DofConstraintData *) 0 ;
btVector3FloatData *arg2 = (btVector3FloatData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btGeneric6DofConstraintData **)&jarg1;
arg2 = *(btVector3FloatData **)&jarg2;
if (arg1) (arg1)->m_angularLowerLimit = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraintData_1angularLowerLimit_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btGeneric6DofConstraintData *arg1 = (btGeneric6DofConstraintData *) 0 ;
btVector3FloatData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofConstraintData **)&jarg1;
result = (btVector3FloatData *)& ((arg1)->m_angularLowerLimit);
*(btVector3FloatData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraintData_1useLinearReferenceFrameA_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btGeneric6DofConstraintData *arg1 = (btGeneric6DofConstraintData *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofConstraintData **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_useLinearReferenceFrameA = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraintData_1useLinearReferenceFrameA_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btGeneric6DofConstraintData *arg1 = (btGeneric6DofConstraintData *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofConstraintData **)&jarg1;
result = (int) ((arg1)->m_useLinearReferenceFrameA);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraintData_1useOffsetForConstraintFrame_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btGeneric6DofConstraintData *arg1 = (btGeneric6DofConstraintData *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofConstraintData **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_useOffsetForConstraintFrame = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraintData_1useOffsetForConstraintFrame_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btGeneric6DofConstraintData *arg1 = (btGeneric6DofConstraintData *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofConstraintData **)&jarg1;
result = (int) ((arg1)->m_useOffsetForConstraintFrame);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btGeneric6DofConstraintData(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btGeneric6DofConstraintData *result = 0 ;
(void)jenv;
(void)jcls;
result = (btGeneric6DofConstraintData *)new btGeneric6DofConstraintData();
*(btGeneric6DofConstraintData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btGeneric6DofConstraintData(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btGeneric6DofConstraintData *arg1 = (btGeneric6DofConstraintData *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btGeneric6DofConstraintData **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraintDoubleData2_1typeConstraintData_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btGeneric6DofConstraintDoubleData2 *arg1 = (btGeneric6DofConstraintDoubleData2 *) 0 ;
btTypedConstraintDoubleData *arg2 = (btTypedConstraintDoubleData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btGeneric6DofConstraintDoubleData2 **)&jarg1;
arg2 = *(btTypedConstraintDoubleData **)&jarg2;
if (arg1) (arg1)->m_typeConstraintData = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraintDoubleData2_1typeConstraintData_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btGeneric6DofConstraintDoubleData2 *arg1 = (btGeneric6DofConstraintDoubleData2 *) 0 ;
btTypedConstraintDoubleData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofConstraintDoubleData2 **)&jarg1;
result = (btTypedConstraintDoubleData *)& ((arg1)->m_typeConstraintData);
*(btTypedConstraintDoubleData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraintDoubleData2_1rbAFrame_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btGeneric6DofConstraintDoubleData2 *arg1 = (btGeneric6DofConstraintDoubleData2 *) 0 ;
btTransformDoubleData *arg2 = (btTransformDoubleData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btGeneric6DofConstraintDoubleData2 **)&jarg1;
arg2 = *(btTransformDoubleData **)&jarg2;
if (arg1) (arg1)->m_rbAFrame = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraintDoubleData2_1rbAFrame_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btGeneric6DofConstraintDoubleData2 *arg1 = (btGeneric6DofConstraintDoubleData2 *) 0 ;
btTransformDoubleData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofConstraintDoubleData2 **)&jarg1;
result = (btTransformDoubleData *)& ((arg1)->m_rbAFrame);
*(btTransformDoubleData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraintDoubleData2_1rbBFrame_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btGeneric6DofConstraintDoubleData2 *arg1 = (btGeneric6DofConstraintDoubleData2 *) 0 ;
btTransformDoubleData *arg2 = (btTransformDoubleData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btGeneric6DofConstraintDoubleData2 **)&jarg1;
arg2 = *(btTransformDoubleData **)&jarg2;
if (arg1) (arg1)->m_rbBFrame = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraintDoubleData2_1rbBFrame_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btGeneric6DofConstraintDoubleData2 *arg1 = (btGeneric6DofConstraintDoubleData2 *) 0 ;
btTransformDoubleData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofConstraintDoubleData2 **)&jarg1;
result = (btTransformDoubleData *)& ((arg1)->m_rbBFrame);
*(btTransformDoubleData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraintDoubleData2_1linearUpperLimit_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btGeneric6DofConstraintDoubleData2 *arg1 = (btGeneric6DofConstraintDoubleData2 *) 0 ;
btVector3DoubleData *arg2 = (btVector3DoubleData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btGeneric6DofConstraintDoubleData2 **)&jarg1;
arg2 = *(btVector3DoubleData **)&jarg2;
if (arg1) (arg1)->m_linearUpperLimit = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraintDoubleData2_1linearUpperLimit_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btGeneric6DofConstraintDoubleData2 *arg1 = (btGeneric6DofConstraintDoubleData2 *) 0 ;
btVector3DoubleData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofConstraintDoubleData2 **)&jarg1;
result = (btVector3DoubleData *)& ((arg1)->m_linearUpperLimit);
*(btVector3DoubleData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraintDoubleData2_1linearLowerLimit_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btGeneric6DofConstraintDoubleData2 *arg1 = (btGeneric6DofConstraintDoubleData2 *) 0 ;
btVector3DoubleData *arg2 = (btVector3DoubleData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btGeneric6DofConstraintDoubleData2 **)&jarg1;
arg2 = *(btVector3DoubleData **)&jarg2;
if (arg1) (arg1)->m_linearLowerLimit = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraintDoubleData2_1linearLowerLimit_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btGeneric6DofConstraintDoubleData2 *arg1 = (btGeneric6DofConstraintDoubleData2 *) 0 ;
btVector3DoubleData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofConstraintDoubleData2 **)&jarg1;
result = (btVector3DoubleData *)& ((arg1)->m_linearLowerLimit);
*(btVector3DoubleData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraintDoubleData2_1angularUpperLimit_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btGeneric6DofConstraintDoubleData2 *arg1 = (btGeneric6DofConstraintDoubleData2 *) 0 ;
btVector3DoubleData *arg2 = (btVector3DoubleData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btGeneric6DofConstraintDoubleData2 **)&jarg1;
arg2 = *(btVector3DoubleData **)&jarg2;
if (arg1) (arg1)->m_angularUpperLimit = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraintDoubleData2_1angularUpperLimit_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btGeneric6DofConstraintDoubleData2 *arg1 = (btGeneric6DofConstraintDoubleData2 *) 0 ;
btVector3DoubleData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofConstraintDoubleData2 **)&jarg1;
result = (btVector3DoubleData *)& ((arg1)->m_angularUpperLimit);
*(btVector3DoubleData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraintDoubleData2_1angularLowerLimit_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btGeneric6DofConstraintDoubleData2 *arg1 = (btGeneric6DofConstraintDoubleData2 *) 0 ;
btVector3DoubleData *arg2 = (btVector3DoubleData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btGeneric6DofConstraintDoubleData2 **)&jarg1;
arg2 = *(btVector3DoubleData **)&jarg2;
if (arg1) (arg1)->m_angularLowerLimit = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraintDoubleData2_1angularLowerLimit_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btGeneric6DofConstraintDoubleData2 *arg1 = (btGeneric6DofConstraintDoubleData2 *) 0 ;
btVector3DoubleData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofConstraintDoubleData2 **)&jarg1;
result = (btVector3DoubleData *)& ((arg1)->m_angularLowerLimit);
*(btVector3DoubleData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraintDoubleData2_1useLinearReferenceFrameA_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btGeneric6DofConstraintDoubleData2 *arg1 = (btGeneric6DofConstraintDoubleData2 *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofConstraintDoubleData2 **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_useLinearReferenceFrameA = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraintDoubleData2_1useLinearReferenceFrameA_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btGeneric6DofConstraintDoubleData2 *arg1 = (btGeneric6DofConstraintDoubleData2 *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofConstraintDoubleData2 **)&jarg1;
result = (int) ((arg1)->m_useLinearReferenceFrameA);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraintDoubleData2_1useOffsetForConstraintFrame_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btGeneric6DofConstraintDoubleData2 *arg1 = (btGeneric6DofConstraintDoubleData2 *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofConstraintDoubleData2 **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_useOffsetForConstraintFrame = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraintDoubleData2_1useOffsetForConstraintFrame_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btGeneric6DofConstraintDoubleData2 *arg1 = (btGeneric6DofConstraintDoubleData2 *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofConstraintDoubleData2 **)&jarg1;
result = (int) ((arg1)->m_useOffsetForConstraintFrame);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btGeneric6DofConstraintDoubleData2(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btGeneric6DofConstraintDoubleData2 *result = 0 ;
(void)jenv;
(void)jcls;
result = (btGeneric6DofConstraintDoubleData2 *)new btGeneric6DofConstraintDoubleData2();
*(btGeneric6DofConstraintDoubleData2 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btGeneric6DofConstraintDoubleData2(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btGeneric6DofConstraintDoubleData2 *arg1 = (btGeneric6DofConstraintDoubleData2 *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btGeneric6DofConstraintDoubleData2 **)&jarg1;
delete arg1;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btUniversalConstraint_1operatorNew_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btUniversalConstraint *arg1 = (btUniversalConstraint *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btUniversalConstraint **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new(arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btUniversalConstraint_1operatorDelete_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btUniversalConstraint *arg1 = (btUniversalConstraint *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btUniversalConstraint **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete(arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btUniversalConstraint_1operatorNew_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btUniversalConstraint *arg1 = (btUniversalConstraint *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btUniversalConstraint **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new(arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btUniversalConstraint_1operatorDelete_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btUniversalConstraint *arg1 = (btUniversalConstraint *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btUniversalConstraint **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete(arg2,arg3);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btUniversalConstraint_1operatorNewArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btUniversalConstraint *arg1 = (btUniversalConstraint *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btUniversalConstraint **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new[](arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btUniversalConstraint_1operatorDeleteArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btUniversalConstraint *arg1 = (btUniversalConstraint *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btUniversalConstraint **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete[](arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btUniversalConstraint_1operatorNewArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btUniversalConstraint *arg1 = (btUniversalConstraint *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btUniversalConstraint **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new[](arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btUniversalConstraint_1operatorDeleteArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btUniversalConstraint *arg1 = (btUniversalConstraint *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btUniversalConstraint **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete[](arg2,arg3);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btUniversalConstraint(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jobject jarg3, jobject jarg4, jobject jarg5) {
jlong jresult = 0 ;
btRigidBody *arg1 = 0 ;
btRigidBody *arg2 = 0 ;
btVector3 *arg3 = 0 ;
btVector3 *arg4 = 0 ;
btVector3 *arg5 = 0 ;
btUniversalConstraint *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btRigidBody **)&jarg1;
if (!arg1) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btRigidBody & reference is null");
return 0;
}
arg2 = *(btRigidBody **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btRigidBody & reference is null");
return 0;
}
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
btVector3 local_arg4;
gdx_setbtVector3FromVector3(jenv, local_arg4, jarg4);
arg4 = &local_arg4;
gdxAutoCommitVector3 auto_commit_arg4(jenv, jarg4, &local_arg4);
btVector3 local_arg5;
gdx_setbtVector3FromVector3(jenv, local_arg5, jarg5);
arg5 = &local_arg5;
gdxAutoCommitVector3 auto_commit_arg5(jenv, jarg5, &local_arg5);
result = (btUniversalConstraint *)new btUniversalConstraint(*arg1,*arg2,(btVector3 const &)*arg3,(btVector3 const &)*arg4,(btVector3 const &)*arg5);
*(btUniversalConstraint **)&jresult = result;
return jresult;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btUniversalConstraint_1getAnchor(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btUniversalConstraint *arg1 = (btUniversalConstraint *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btUniversalConstraint **)&jarg1;
result = (btVector3 *) &(arg1)->getAnchor();
jresult = gdx_getReturnVector3(jenv);
gdx_setVector3FrombtVector3(jenv, jresult, result);
return jresult;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btUniversalConstraint_1getAnchor2(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btUniversalConstraint *arg1 = (btUniversalConstraint *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btUniversalConstraint **)&jarg1;
result = (btVector3 *) &(arg1)->getAnchor2();
jresult = gdx_getReturnVector3(jenv);
gdx_setVector3FrombtVector3(jenv, jresult, result);
return jresult;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btUniversalConstraint_1getAxis1(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btUniversalConstraint *arg1 = (btUniversalConstraint *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btUniversalConstraint **)&jarg1;
result = (btVector3 *) &(arg1)->getAxis1();
jresult = gdx_getReturnVector3(jenv);
gdx_setVector3FrombtVector3(jenv, jresult, result);
return jresult;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btUniversalConstraint_1getAxis2(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btUniversalConstraint *arg1 = (btUniversalConstraint *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btUniversalConstraint **)&jarg1;
result = (btVector3 *) &(arg1)->getAxis2();
jresult = gdx_getReturnVector3(jenv);
gdx_setVector3FrombtVector3(jenv, jresult, result);
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btUniversalConstraint_1getAngle1(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btUniversalConstraint *arg1 = (btUniversalConstraint *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btUniversalConstraint **)&jarg1;
result = (btScalar)(arg1)->getAngle1();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btUniversalConstraint_1getAngle2(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btUniversalConstraint *arg1 = (btUniversalConstraint *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btUniversalConstraint **)&jarg1;
result = (btScalar)(arg1)->getAngle2();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btUniversalConstraint_1setUpperLimit(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2, jfloat jarg3) {
btUniversalConstraint *arg1 = (btUniversalConstraint *) 0 ;
btScalar arg2 ;
btScalar arg3 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btUniversalConstraint **)&jarg1;
arg2 = (btScalar)jarg2;
arg3 = (btScalar)jarg3;
(arg1)->setUpperLimit(arg2,arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btUniversalConstraint_1setLowerLimit(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2, jfloat jarg3) {
btUniversalConstraint *arg1 = (btUniversalConstraint *) 0 ;
btScalar arg2 ;
btScalar arg3 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btUniversalConstraint **)&jarg1;
arg2 = (btScalar)jarg2;
arg3 = (btScalar)jarg3;
(arg1)->setLowerLimit(arg2,arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btUniversalConstraint_1setAxis(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jobject jarg3) {
btUniversalConstraint *arg1 = (btUniversalConstraint *) 0 ;
btVector3 *arg2 = 0 ;
btVector3 *arg3 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btUniversalConstraint **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
(arg1)->setAxis((btVector3 const &)*arg2,(btVector3 const &)*arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btUniversalConstraint(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btUniversalConstraint *arg1 = (btUniversalConstraint *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btUniversalConstraint **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactConstraint_1setContactManifold(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btContactConstraint *arg1 = (btContactConstraint *) 0 ;
btPersistentManifold *arg2 = (btPersistentManifold *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btContactConstraint **)&jarg1;
arg2 = *(btPersistentManifold **)&jarg2;
(arg1)->setContactManifold(arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactConstraint_1getContactManifold(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btContactConstraint *arg1 = (btContactConstraint *) 0 ;
btPersistentManifold *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactConstraint **)&jarg1;
result = (btPersistentManifold *)(arg1)->getContactManifold();
*(btPersistentManifold **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactConstraint_1getContactManifoldConst(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btContactConstraint *arg1 = (btContactConstraint *) 0 ;
btPersistentManifold *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactConstraint **)&jarg1;
result = (btPersistentManifold *)((btContactConstraint const *)arg1)->getContactManifold();
*(btPersistentManifold **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btContactConstraint(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btContactConstraint *arg1 = (btContactConstraint *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btContactConstraint **)&jarg1;
delete arg1;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_resolveSingleCollision(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jobject jarg3, jobject jarg4, jlong jarg5, jobject jarg5_, jfloat jarg6) {
jfloat jresult = 0 ;
btRigidBody *arg1 = (btRigidBody *) 0 ;
btCollisionObject *arg2 = (btCollisionObject *) 0 ;
btVector3 *arg3 = 0 ;
btVector3 *arg4 = 0 ;
btContactSolverInfo *arg5 = 0 ;
btScalar arg6 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
(void)jarg5_;
arg1 = *(btRigidBody **)&jarg1;
arg2 = *(btCollisionObject **)&jarg2;
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
btVector3 local_arg4;
gdx_setbtVector3FromVector3(jenv, local_arg4, jarg4);
arg4 = &local_arg4;
gdxAutoCommitVector3 auto_commit_arg4(jenv, jarg4, &local_arg4);
arg5 = *(btContactSolverInfo **)&jarg5;
if (!arg5) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btContactSolverInfo const & reference is null");
return 0;
}
arg6 = (btScalar)jarg6;
result = (btScalar)resolveSingleCollision(arg1,arg2,(btVector3 const &)*arg3,(btVector3 const &)*arg4,(btContactSolverInfo const &)*arg5,arg6);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_resolveSingleBilateral(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jlong jarg3, jobject jarg3_, jobject jarg4, jfloat jarg5, jobject jarg6, jlong jarg7, jfloat jarg8) {
btRigidBody *arg1 = 0 ;
btVector3 *arg2 = 0 ;
btRigidBody *arg3 = 0 ;
btVector3 *arg4 = 0 ;
btScalar arg5 ;
btVector3 *arg6 = 0 ;
btScalar *arg7 = 0 ;
btScalar arg8 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg3_;
arg1 = *(btRigidBody **)&jarg1;
if (!arg1) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btRigidBody & reference is null");
return ;
}
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
arg3 = *(btRigidBody **)&jarg3;
if (!arg3) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btRigidBody & reference is null");
return ;
}
btVector3 local_arg4;
gdx_setbtVector3FromVector3(jenv, local_arg4, jarg4);
arg4 = &local_arg4;
gdxAutoCommitVector3 auto_commit_arg4(jenv, jarg4, &local_arg4);
arg5 = (btScalar)jarg5;
btVector3 local_arg6;
gdx_setbtVector3FromVector3(jenv, local_arg6, jarg6);
arg6 = &local_arg6;
gdxAutoCommitVector3 auto_commit_arg6(jenv, jarg6, &local_arg6);
arg7 = *(btScalar **)&jarg7;
if (!arg7) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btScalar & reference is null");
return ;
}
arg8 = (btScalar)jarg8;
resolveSingleBilateral(*arg1,(btVector3 const &)*arg2,*arg3,(btVector3 const &)*arg4,arg5,(btVector3 const &)*arg6,*arg7,arg8);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraint_1operatorNew_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btConeTwistConstraint *arg1 = (btConeTwistConstraint *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConeTwistConstraint **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new(arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraint_1operatorDelete_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btConeTwistConstraint *arg1 = (btConeTwistConstraint *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConeTwistConstraint **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete(arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraint_1operatorNew_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btConeTwistConstraint *arg1 = (btConeTwistConstraint *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConeTwistConstraint **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new(arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraint_1operatorDelete_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btConeTwistConstraint *arg1 = (btConeTwistConstraint *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConeTwistConstraint **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete(arg2,arg3);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraint_1operatorNewArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btConeTwistConstraint *arg1 = (btConeTwistConstraint *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConeTwistConstraint **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new[](arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraint_1operatorDeleteArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btConeTwistConstraint *arg1 = (btConeTwistConstraint *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConeTwistConstraint **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete[](arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraint_1operatorNewArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btConeTwistConstraint *arg1 = (btConeTwistConstraint *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConeTwistConstraint **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new[](arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraint_1operatorDeleteArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btConeTwistConstraint *arg1 = (btConeTwistConstraint *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConeTwistConstraint **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete[](arg2,arg3);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btConeTwistConstraint_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jobject jarg3, jobject jarg4) {
jlong jresult = 0 ;
btRigidBody *arg1 = 0 ;
btRigidBody *arg2 = 0 ;
btTransform *arg3 = 0 ;
btTransform *arg4 = 0 ;
btConeTwistConstraint *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btRigidBody **)&jarg1;
if (!arg1) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btRigidBody & reference is null");
return 0;
}
arg2 = *(btRigidBody **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btRigidBody & reference is null");
return 0;
}
btTransform local_arg3;
gdx_setbtTransformFromMatrix4(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitMatrix4 auto_commit_arg3(jenv, jarg3, &local_arg3);
btTransform local_arg4;
gdx_setbtTransformFromMatrix4(jenv, local_arg4, jarg4);
arg4 = &local_arg4;
gdxAutoCommitMatrix4 auto_commit_arg4(jenv, jarg4, &local_arg4);
result = (btConeTwistConstraint *)new btConeTwistConstraint(*arg1,*arg2,(btTransform const &)*arg3,(btTransform const &)*arg4);
*(btConeTwistConstraint **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btConeTwistConstraint_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
jlong jresult = 0 ;
btRigidBody *arg1 = 0 ;
btTransform *arg2 = 0 ;
btConeTwistConstraint *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody **)&jarg1;
if (!arg1) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btRigidBody & reference is null");
return 0;
}
btTransform local_arg2;
gdx_setbtTransformFromMatrix4(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitMatrix4 auto_commit_arg2(jenv, jarg2, &local_arg2);
result = (btConeTwistConstraint *)new btConeTwistConstraint(*arg1,(btTransform const &)*arg2);
*(btConeTwistConstraint **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraint_1getInfo1NonVirtual(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btConeTwistConstraint *arg1 = (btConeTwistConstraint *) 0 ;
btTypedConstraint::btConstraintInfo1 *arg2 = (btTypedConstraint::btConstraintInfo1 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btConeTwistConstraint **)&jarg1;
arg2 = *(btTypedConstraint::btConstraintInfo1 **)&jarg2;
(arg1)->getInfo1NonVirtual(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraint_1getInfo2NonVirtual(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jobject jarg3, jobject jarg4, jobject jarg5, jobject jarg6) {
btConeTwistConstraint *arg1 = (btConeTwistConstraint *) 0 ;
btTypedConstraint::btConstraintInfo2 *arg2 = (btTypedConstraint::btConstraintInfo2 *) 0 ;
btTransform *arg3 = 0 ;
btTransform *arg4 = 0 ;
btMatrix3x3 *arg5 = 0 ;
btMatrix3x3 *arg6 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btConeTwistConstraint **)&jarg1;
arg2 = *(btTypedConstraint::btConstraintInfo2 **)&jarg2;
btTransform local_arg3;
gdx_setbtTransformFromMatrix4(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitMatrix4 auto_commit_arg3(jenv, jarg3, &local_arg3);
btTransform local_arg4;
gdx_setbtTransformFromMatrix4(jenv, local_arg4, jarg4);
arg4 = &local_arg4;
gdxAutoCommitMatrix4 auto_commit_arg4(jenv, jarg4, &local_arg4);
btMatrix3x3 local_arg5;
gdx_setbtMatrix3x3FromMatrix3(jenv, local_arg5, jarg5);
arg5 = &local_arg5;
gdxAutoCommitMatrix3 auto_commit_arg5(jenv, jarg5, &local_arg5);
btMatrix3x3 local_arg6;
gdx_setbtMatrix3x3FromMatrix3(jenv, local_arg6, jarg6);
arg6 = &local_arg6;
gdxAutoCommitMatrix3 auto_commit_arg6(jenv, jarg6, &local_arg6);
(arg1)->getInfo2NonVirtual(arg2,(btTransform const &)*arg3,(btTransform const &)*arg4,(btMatrix3x3 const &)*arg5,(btMatrix3x3 const &)*arg6);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraint_1updateRHS(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btConeTwistConstraint *arg1 = (btConeTwistConstraint *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConeTwistConstraint **)&jarg1;
arg2 = (btScalar)jarg2;
(arg1)->updateRHS(arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraint_1getRigidBodyAConst(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btConeTwistConstraint *arg1 = (btConeTwistConstraint *) 0 ;
btRigidBody *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConeTwistConstraint **)&jarg1;
result = (btRigidBody *) &((btConeTwistConstraint const *)arg1)->getRigidBodyA();
*(btRigidBody **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraint_1getRigidBodyBConst(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btConeTwistConstraint *arg1 = (btConeTwistConstraint *) 0 ;
btRigidBody *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConeTwistConstraint **)&jarg1;
result = (btRigidBody *) &((btConeTwistConstraint const *)arg1)->getRigidBodyB();
*(btRigidBody **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraint_1setAngularOnly(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jboolean jarg2) {
btConeTwistConstraint *arg1 = (btConeTwistConstraint *) 0 ;
bool arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConeTwistConstraint **)&jarg1;
arg2 = jarg2 ? true : false;
(arg1)->setAngularOnly(arg2);
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraint_1getAngularOnly(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jboolean jresult = 0 ;
btConeTwistConstraint *arg1 = (btConeTwistConstraint *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConeTwistConstraint **)&jarg1;
result = (bool)((btConeTwistConstraint const *)arg1)->getAngularOnly();
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraint_1setLimit_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jfloat jarg3) {
btConeTwistConstraint *arg1 = (btConeTwistConstraint *) 0 ;
int arg2 ;
btScalar arg3 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConeTwistConstraint **)&jarg1;
arg2 = (int)jarg2;
arg3 = (btScalar)jarg3;
(arg1)->setLimit(arg2,arg3);
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraint_1getLimit(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jfloat jresult = 0 ;
btConeTwistConstraint *arg1 = (btConeTwistConstraint *) 0 ;
int arg2 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConeTwistConstraint **)&jarg1;
arg2 = (int)jarg2;
result = (btScalar)((btConeTwistConstraint const *)arg1)->getLimit(arg2);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraint_1setLimit_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2, jfloat jarg3, jfloat jarg4, jfloat jarg5, jfloat jarg6, jfloat jarg7) {
btConeTwistConstraint *arg1 = (btConeTwistConstraint *) 0 ;
btScalar arg2 ;
btScalar arg3 ;
btScalar arg4 ;
btScalar arg5 ;
btScalar arg6 ;
btScalar arg7 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConeTwistConstraint **)&jarg1;
arg2 = (btScalar)jarg2;
arg3 = (btScalar)jarg3;
arg4 = (btScalar)jarg4;
arg5 = (btScalar)jarg5;
arg6 = (btScalar)jarg6;
arg7 = (btScalar)jarg7;
(arg1)->setLimit(arg2,arg3,arg4,arg5,arg6,arg7);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraint_1setLimit_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2, jfloat jarg3, jfloat jarg4, jfloat jarg5, jfloat jarg6) {
btConeTwistConstraint *arg1 = (btConeTwistConstraint *) 0 ;
btScalar arg2 ;
btScalar arg3 ;
btScalar arg4 ;
btScalar arg5 ;
btScalar arg6 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConeTwistConstraint **)&jarg1;
arg2 = (btScalar)jarg2;
arg3 = (btScalar)jarg3;
arg4 = (btScalar)jarg4;
arg5 = (btScalar)jarg5;
arg6 = (btScalar)jarg6;
(arg1)->setLimit(arg2,arg3,arg4,arg5,arg6);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraint_1setLimit_1_1SWIG_13(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2, jfloat jarg3, jfloat jarg4, jfloat jarg5) {
btConeTwistConstraint *arg1 = (btConeTwistConstraint *) 0 ;
btScalar arg2 ;
btScalar arg3 ;
btScalar arg4 ;
btScalar arg5 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConeTwistConstraint **)&jarg1;
arg2 = (btScalar)jarg2;
arg3 = (btScalar)jarg3;
arg4 = (btScalar)jarg4;
arg5 = (btScalar)jarg5;
(arg1)->setLimit(arg2,arg3,arg4,arg5);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraint_1setLimit_1_1SWIG_14(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2, jfloat jarg3, jfloat jarg4) {
btConeTwistConstraint *arg1 = (btConeTwistConstraint *) 0 ;
btScalar arg2 ;
btScalar arg3 ;
btScalar arg4 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConeTwistConstraint **)&jarg1;
arg2 = (btScalar)jarg2;
arg3 = (btScalar)jarg3;
arg4 = (btScalar)jarg4;
(arg1)->setLimit(arg2,arg3,arg4);
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraint_1getAFrame(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btConeTwistConstraint *arg1 = (btConeTwistConstraint *) 0 ;
btTransform *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConeTwistConstraint **)&jarg1;
result = (btTransform *) &((btConeTwistConstraint const *)arg1)->getAFrame();
jresult = gdx_getReturnMatrix4(jenv);
gdx_setMatrix4FrombtTransform(jenv, jresult, result);
return jresult;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraint_1getBFrame(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btConeTwistConstraint *arg1 = (btConeTwistConstraint *) 0 ;
btTransform *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConeTwistConstraint **)&jarg1;
result = (btTransform *) &((btConeTwistConstraint const *)arg1)->getBFrame();
jresult = gdx_getReturnMatrix4(jenv);
gdx_setMatrix4FrombtTransform(jenv, jresult, result);
return jresult;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraint_1getSolveTwistLimit(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btConeTwistConstraint *arg1 = (btConeTwistConstraint *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConeTwistConstraint **)&jarg1;
result = (int)(arg1)->getSolveTwistLimit();
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraint_1getSolveSwingLimit(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btConeTwistConstraint *arg1 = (btConeTwistConstraint *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConeTwistConstraint **)&jarg1;
result = (int)(arg1)->getSolveSwingLimit();
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraint_1getTwistLimitSign(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btConeTwistConstraint *arg1 = (btConeTwistConstraint *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConeTwistConstraint **)&jarg1;
result = (btScalar)(arg1)->getTwistLimitSign();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraint_1calcAngleInfo(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
btConeTwistConstraint *arg1 = (btConeTwistConstraint *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConeTwistConstraint **)&jarg1;
(arg1)->calcAngleInfo();
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraint_1calcAngleInfo2(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jobject jarg3, jobject jarg4, jobject jarg5) {
btConeTwistConstraint *arg1 = (btConeTwistConstraint *) 0 ;
btTransform *arg2 = 0 ;
btTransform *arg3 = 0 ;
btMatrix3x3 *arg4 = 0 ;
btMatrix3x3 *arg5 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConeTwistConstraint **)&jarg1;
btTransform local_arg2;
gdx_setbtTransformFromMatrix4(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitMatrix4 auto_commit_arg2(jenv, jarg2, &local_arg2);
btTransform local_arg3;
gdx_setbtTransformFromMatrix4(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitMatrix4 auto_commit_arg3(jenv, jarg3, &local_arg3);
btMatrix3x3 local_arg4;
gdx_setbtMatrix3x3FromMatrix3(jenv, local_arg4, jarg4);
arg4 = &local_arg4;
gdxAutoCommitMatrix3 auto_commit_arg4(jenv, jarg4, &local_arg4);
btMatrix3x3 local_arg5;
gdx_setbtMatrix3x3FromMatrix3(jenv, local_arg5, jarg5);
arg5 = &local_arg5;
gdxAutoCommitMatrix3 auto_commit_arg5(jenv, jarg5, &local_arg5);
(arg1)->calcAngleInfo2((btTransform const &)*arg2,(btTransform const &)*arg3,(btMatrix3x3 const &)*arg4,(btMatrix3x3 const &)*arg5);
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraint_1getSwingSpan1(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btConeTwistConstraint *arg1 = (btConeTwistConstraint *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConeTwistConstraint **)&jarg1;
result = (btScalar)((btConeTwistConstraint const *)arg1)->getSwingSpan1();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraint_1getSwingSpan2(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btConeTwistConstraint *arg1 = (btConeTwistConstraint *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConeTwistConstraint **)&jarg1;
result = (btScalar)((btConeTwistConstraint const *)arg1)->getSwingSpan2();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraint_1getTwistSpan(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btConeTwistConstraint *arg1 = (btConeTwistConstraint *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConeTwistConstraint **)&jarg1;
result = (btScalar)((btConeTwistConstraint const *)arg1)->getTwistSpan();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraint_1getLimitSoftness(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btConeTwistConstraint *arg1 = (btConeTwistConstraint *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConeTwistConstraint **)&jarg1;
result = (btScalar)((btConeTwistConstraint const *)arg1)->getLimitSoftness();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraint_1getBiasFactor(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btConeTwistConstraint *arg1 = (btConeTwistConstraint *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConeTwistConstraint **)&jarg1;
result = (btScalar)((btConeTwistConstraint const *)arg1)->getBiasFactor();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraint_1getRelaxationFactor(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btConeTwistConstraint *arg1 = (btConeTwistConstraint *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConeTwistConstraint **)&jarg1;
result = (btScalar)((btConeTwistConstraint const *)arg1)->getRelaxationFactor();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraint_1getTwistAngle(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btConeTwistConstraint *arg1 = (btConeTwistConstraint *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConeTwistConstraint **)&jarg1;
result = (btScalar)((btConeTwistConstraint const *)arg1)->getTwistAngle();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraint_1isPastSwingLimit(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jboolean jresult = 0 ;
btConeTwistConstraint *arg1 = (btConeTwistConstraint *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConeTwistConstraint **)&jarg1;
result = (bool)(arg1)->isPastSwingLimit();
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraint_1getDamping(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btConeTwistConstraint *arg1 = (btConeTwistConstraint *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConeTwistConstraint **)&jarg1;
result = (btScalar)((btConeTwistConstraint const *)arg1)->getDamping();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraint_1setDamping(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btConeTwistConstraint *arg1 = (btConeTwistConstraint *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConeTwistConstraint **)&jarg1;
arg2 = (btScalar)jarg2;
(arg1)->setDamping(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraint_1enableMotor(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jboolean jarg2) {
btConeTwistConstraint *arg1 = (btConeTwistConstraint *) 0 ;
bool arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConeTwistConstraint **)&jarg1;
arg2 = jarg2 ? true : false;
(arg1)->enableMotor(arg2);
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraint_1isMotorEnabled(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jboolean jresult = 0 ;
btConeTwistConstraint *arg1 = (btConeTwistConstraint *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConeTwistConstraint **)&jarg1;
result = (bool)((btConeTwistConstraint const *)arg1)->isMotorEnabled();
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraint_1getMaxMotorImpulse(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btConeTwistConstraint *arg1 = (btConeTwistConstraint *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConeTwistConstraint **)&jarg1;
result = (btScalar)((btConeTwistConstraint const *)arg1)->getMaxMotorImpulse();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraint_1isMaxMotorImpulseNormalized(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jboolean jresult = 0 ;
btConeTwistConstraint *arg1 = (btConeTwistConstraint *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConeTwistConstraint **)&jarg1;
result = (bool)((btConeTwistConstraint const *)arg1)->isMaxMotorImpulseNormalized();
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraint_1setMaxMotorImpulse(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btConeTwistConstraint *arg1 = (btConeTwistConstraint *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConeTwistConstraint **)&jarg1;
arg2 = (btScalar)jarg2;
(arg1)->setMaxMotorImpulse(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraint_1setMaxMotorImpulseNormalized(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btConeTwistConstraint *arg1 = (btConeTwistConstraint *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConeTwistConstraint **)&jarg1;
arg2 = (btScalar)jarg2;
(arg1)->setMaxMotorImpulseNormalized(arg2);
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraint_1getFixThresh(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btConeTwistConstraint *arg1 = (btConeTwistConstraint *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConeTwistConstraint **)&jarg1;
result = (btScalar)(arg1)->getFixThresh();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraint_1setFixThresh(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btConeTwistConstraint *arg1 = (btConeTwistConstraint *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConeTwistConstraint **)&jarg1;
arg2 = (btScalar)jarg2;
(arg1)->setFixThresh(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraint_1setMotorTarget(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btConeTwistConstraint *arg1 = (btConeTwistConstraint *) 0 ;
btQuaternion *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConeTwistConstraint **)&jarg1;
btQuaternion local_arg2;
gdx_setbtQuaternionFromQuaternion(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitQuaternion auto_commit_arg2(jenv, jarg2, &local_arg2);
(arg1)->setMotorTarget((btQuaternion const &)*arg2);
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraint_1getMotorTarget(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btConeTwistConstraint *arg1 = (btConeTwistConstraint *) 0 ;
btQuaternion *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConeTwistConstraint **)&jarg1;
result = (btQuaternion *) &((btConeTwistConstraint const *)arg1)->getMotorTarget();
jresult = gdx_getReturnQuaternion(jenv);
gdx_setQuaternionFrombtQuaternion(jenv, jresult, result);
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraint_1setMotorTargetInConstraintSpace(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btConeTwistConstraint *arg1 = (btConeTwistConstraint *) 0 ;
btQuaternion *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConeTwistConstraint **)&jarg1;
btQuaternion local_arg2;
gdx_setbtQuaternionFromQuaternion(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitQuaternion auto_commit_arg2(jenv, jarg2, &local_arg2);
(arg1)->setMotorTargetInConstraintSpace((btQuaternion const &)*arg2);
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraint_1GetPointForAngle(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2, jfloat jarg3) {
jobject jresult = 0 ;
btConeTwistConstraint *arg1 = (btConeTwistConstraint *) 0 ;
btScalar arg2 ;
btScalar arg3 ;
btVector3 result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConeTwistConstraint **)&jarg1;
arg2 = (btScalar)jarg2;
arg3 = (btScalar)jarg3;
result = ((btConeTwistConstraint const *)arg1)->GetPointForAngle(arg2,arg3);
jresult = gdx_getReturnVector3(jenv);
gdx_setVector3FrombtVector3(jenv, jresult, result);
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraint_1setParam_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jfloat jarg3, jint jarg4) {
btConeTwistConstraint *arg1 = (btConeTwistConstraint *) 0 ;
int arg2 ;
btScalar arg3 ;
int arg4 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConeTwistConstraint **)&jarg1;
arg2 = (int)jarg2;
arg3 = (btScalar)jarg3;
arg4 = (int)jarg4;
(arg1)->setParam(arg2,arg3,arg4);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraint_1setParam_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jfloat jarg3) {
btConeTwistConstraint *arg1 = (btConeTwistConstraint *) 0 ;
int arg2 ;
btScalar arg3 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConeTwistConstraint **)&jarg1;
arg2 = (int)jarg2;
arg3 = (btScalar)jarg3;
(arg1)->setParam(arg2,arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraint_1setFrames(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jobject jarg3) {
btConeTwistConstraint *arg1 = (btConeTwistConstraint *) 0 ;
btTransform *arg2 = 0 ;
btTransform *arg3 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConeTwistConstraint **)&jarg1;
btTransform local_arg2;
gdx_setbtTransformFromMatrix4(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitMatrix4 auto_commit_arg2(jenv, jarg2, &local_arg2);
btTransform local_arg3;
gdx_setbtTransformFromMatrix4(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitMatrix4 auto_commit_arg3(jenv, jarg3, &local_arg3);
(arg1)->setFrames((btTransform const &)*arg2,(btTransform const &)*arg3);
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraint_1getFrameOffsetA(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btConeTwistConstraint *arg1 = (btConeTwistConstraint *) 0 ;
btTransform *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConeTwistConstraint **)&jarg1;
result = (btTransform *) &((btConeTwistConstraint const *)arg1)->getFrameOffsetA();
jresult = gdx_getReturnMatrix4(jenv);
gdx_setMatrix4FrombtTransform(jenv, jresult, result);
return jresult;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraint_1getFrameOffsetB(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btConeTwistConstraint *arg1 = (btConeTwistConstraint *) 0 ;
btTransform *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConeTwistConstraint **)&jarg1;
result = (btTransform *) &((btConeTwistConstraint const *)arg1)->getFrameOffsetB();
jresult = gdx_getReturnMatrix4(jenv);
gdx_setMatrix4FrombtTransform(jenv, jresult, result);
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraint_1getParam_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jint jarg3) {
jfloat jresult = 0 ;
btConeTwistConstraint *arg1 = (btConeTwistConstraint *) 0 ;
int arg2 ;
int arg3 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConeTwistConstraint **)&jarg1;
arg2 = (int)jarg2;
arg3 = (int)jarg3;
result = (btScalar)((btConeTwistConstraint const *)arg1)->getParam(arg2,arg3);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraint_1getParam_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jfloat jresult = 0 ;
btConeTwistConstraint *arg1 = (btConeTwistConstraint *) 0 ;
int arg2 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConeTwistConstraint **)&jarg1;
arg2 = (int)jarg2;
result = (btScalar)((btConeTwistConstraint const *)arg1)->getParam(arg2);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraint_1getFlags(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btConeTwistConstraint *arg1 = (btConeTwistConstraint *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConeTwistConstraint **)&jarg1;
result = (int)((btConeTwistConstraint const *)arg1)->getFlags();
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btConeTwistConstraint(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btConeTwistConstraint *arg1 = (btConeTwistConstraint *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btConeTwistConstraint **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraintDoubleData_1typeConstraintData_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btConeTwistConstraintDoubleData *arg1 = (btConeTwistConstraintDoubleData *) 0 ;
btTypedConstraintDoubleData *arg2 = (btTypedConstraintDoubleData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btConeTwistConstraintDoubleData **)&jarg1;
arg2 = *(btTypedConstraintDoubleData **)&jarg2;
if (arg1) (arg1)->m_typeConstraintData = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraintDoubleData_1typeConstraintData_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btConeTwistConstraintDoubleData *arg1 = (btConeTwistConstraintDoubleData *) 0 ;
btTypedConstraintDoubleData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConeTwistConstraintDoubleData **)&jarg1;
result = (btTypedConstraintDoubleData *)& ((arg1)->m_typeConstraintData);
*(btTypedConstraintDoubleData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraintDoubleData_1rbAFrame_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btConeTwistConstraintDoubleData *arg1 = (btConeTwistConstraintDoubleData *) 0 ;
btTransformDoubleData *arg2 = (btTransformDoubleData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btConeTwistConstraintDoubleData **)&jarg1;
arg2 = *(btTransformDoubleData **)&jarg2;
if (arg1) (arg1)->m_rbAFrame = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraintDoubleData_1rbAFrame_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btConeTwistConstraintDoubleData *arg1 = (btConeTwistConstraintDoubleData *) 0 ;
btTransformDoubleData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConeTwistConstraintDoubleData **)&jarg1;
result = (btTransformDoubleData *)& ((arg1)->m_rbAFrame);
*(btTransformDoubleData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraintDoubleData_1rbBFrame_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btConeTwistConstraintDoubleData *arg1 = (btConeTwistConstraintDoubleData *) 0 ;
btTransformDoubleData *arg2 = (btTransformDoubleData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btConeTwistConstraintDoubleData **)&jarg1;
arg2 = *(btTransformDoubleData **)&jarg2;
if (arg1) (arg1)->m_rbBFrame = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraintDoubleData_1rbBFrame_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btConeTwistConstraintDoubleData *arg1 = (btConeTwistConstraintDoubleData *) 0 ;
btTransformDoubleData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConeTwistConstraintDoubleData **)&jarg1;
result = (btTransformDoubleData *)& ((arg1)->m_rbBFrame);
*(btTransformDoubleData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraintDoubleData_1swingSpan1_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2) {
btConeTwistConstraintDoubleData *arg1 = (btConeTwistConstraintDoubleData *) 0 ;
double arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConeTwistConstraintDoubleData **)&jarg1;
arg2 = (double)jarg2;
if (arg1) (arg1)->m_swingSpan1 = arg2;
}
SWIGEXPORT jdouble JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraintDoubleData_1swingSpan1_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jdouble jresult = 0 ;
btConeTwistConstraintDoubleData *arg1 = (btConeTwistConstraintDoubleData *) 0 ;
double result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConeTwistConstraintDoubleData **)&jarg1;
result = (double) ((arg1)->m_swingSpan1);
jresult = (jdouble)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraintDoubleData_1swingSpan2_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2) {
btConeTwistConstraintDoubleData *arg1 = (btConeTwistConstraintDoubleData *) 0 ;
double arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConeTwistConstraintDoubleData **)&jarg1;
arg2 = (double)jarg2;
if (arg1) (arg1)->m_swingSpan2 = arg2;
}
SWIGEXPORT jdouble JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraintDoubleData_1swingSpan2_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jdouble jresult = 0 ;
btConeTwistConstraintDoubleData *arg1 = (btConeTwistConstraintDoubleData *) 0 ;
double result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConeTwistConstraintDoubleData **)&jarg1;
result = (double) ((arg1)->m_swingSpan2);
jresult = (jdouble)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraintDoubleData_1twistSpan_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2) {
btConeTwistConstraintDoubleData *arg1 = (btConeTwistConstraintDoubleData *) 0 ;
double arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConeTwistConstraintDoubleData **)&jarg1;
arg2 = (double)jarg2;
if (arg1) (arg1)->m_twistSpan = arg2;
}
SWIGEXPORT jdouble JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraintDoubleData_1twistSpan_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jdouble jresult = 0 ;
btConeTwistConstraintDoubleData *arg1 = (btConeTwistConstraintDoubleData *) 0 ;
double result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConeTwistConstraintDoubleData **)&jarg1;
result = (double) ((arg1)->m_twistSpan);
jresult = (jdouble)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraintDoubleData_1limitSoftness_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2) {
btConeTwistConstraintDoubleData *arg1 = (btConeTwistConstraintDoubleData *) 0 ;
double arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConeTwistConstraintDoubleData **)&jarg1;
arg2 = (double)jarg2;
if (arg1) (arg1)->m_limitSoftness = arg2;
}
SWIGEXPORT jdouble JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraintDoubleData_1limitSoftness_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jdouble jresult = 0 ;
btConeTwistConstraintDoubleData *arg1 = (btConeTwistConstraintDoubleData *) 0 ;
double result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConeTwistConstraintDoubleData **)&jarg1;
result = (double) ((arg1)->m_limitSoftness);
jresult = (jdouble)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraintDoubleData_1biasFactor_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2) {
btConeTwistConstraintDoubleData *arg1 = (btConeTwistConstraintDoubleData *) 0 ;
double arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConeTwistConstraintDoubleData **)&jarg1;
arg2 = (double)jarg2;
if (arg1) (arg1)->m_biasFactor = arg2;
}
SWIGEXPORT jdouble JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraintDoubleData_1biasFactor_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jdouble jresult = 0 ;
btConeTwistConstraintDoubleData *arg1 = (btConeTwistConstraintDoubleData *) 0 ;
double result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConeTwistConstraintDoubleData **)&jarg1;
result = (double) ((arg1)->m_biasFactor);
jresult = (jdouble)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraintDoubleData_1relaxationFactor_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2) {
btConeTwistConstraintDoubleData *arg1 = (btConeTwistConstraintDoubleData *) 0 ;
double arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConeTwistConstraintDoubleData **)&jarg1;
arg2 = (double)jarg2;
if (arg1) (arg1)->m_relaxationFactor = arg2;
}
SWIGEXPORT jdouble JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraintDoubleData_1relaxationFactor_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jdouble jresult = 0 ;
btConeTwistConstraintDoubleData *arg1 = (btConeTwistConstraintDoubleData *) 0 ;
double result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConeTwistConstraintDoubleData **)&jarg1;
result = (double) ((arg1)->m_relaxationFactor);
jresult = (jdouble)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraintDoubleData_1damping_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2) {
btConeTwistConstraintDoubleData *arg1 = (btConeTwistConstraintDoubleData *) 0 ;
double arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConeTwistConstraintDoubleData **)&jarg1;
arg2 = (double)jarg2;
if (arg1) (arg1)->m_damping = arg2;
}
SWIGEXPORT jdouble JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraintDoubleData_1damping_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jdouble jresult = 0 ;
btConeTwistConstraintDoubleData *arg1 = (btConeTwistConstraintDoubleData *) 0 ;
double result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConeTwistConstraintDoubleData **)&jarg1;
result = (double) ((arg1)->m_damping);
jresult = (jdouble)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btConeTwistConstraintDoubleData(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btConeTwistConstraintDoubleData *result = 0 ;
(void)jenv;
(void)jcls;
result = (btConeTwistConstraintDoubleData *)new btConeTwistConstraintDoubleData();
*(btConeTwistConstraintDoubleData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btConeTwistConstraintDoubleData(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btConeTwistConstraintDoubleData *arg1 = (btConeTwistConstraintDoubleData *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btConeTwistConstraintDoubleData **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraintData_1typeConstraintData_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btConeTwistConstraintData *arg1 = (btConeTwistConstraintData *) 0 ;
btTypedConstraintData *arg2 = (btTypedConstraintData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btConeTwistConstraintData **)&jarg1;
arg2 = *(btTypedConstraintData **)&jarg2;
if (arg1) (arg1)->m_typeConstraintData = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraintData_1typeConstraintData_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btConeTwistConstraintData *arg1 = (btConeTwistConstraintData *) 0 ;
btTypedConstraintData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConeTwistConstraintData **)&jarg1;
result = (btTypedConstraintData *)& ((arg1)->m_typeConstraintData);
*(btTypedConstraintData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraintData_1rbAFrame_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btConeTwistConstraintData *arg1 = (btConeTwistConstraintData *) 0 ;
btTransformFloatData *arg2 = (btTransformFloatData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btConeTwistConstraintData **)&jarg1;
arg2 = *(btTransformFloatData **)&jarg2;
if (arg1) (arg1)->m_rbAFrame = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraintData_1rbAFrame_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btConeTwistConstraintData *arg1 = (btConeTwistConstraintData *) 0 ;
btTransformFloatData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConeTwistConstraintData **)&jarg1;
result = (btTransformFloatData *)& ((arg1)->m_rbAFrame);
*(btTransformFloatData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraintData_1rbBFrame_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btConeTwistConstraintData *arg1 = (btConeTwistConstraintData *) 0 ;
btTransformFloatData *arg2 = (btTransformFloatData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btConeTwistConstraintData **)&jarg1;
arg2 = *(btTransformFloatData **)&jarg2;
if (arg1) (arg1)->m_rbBFrame = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraintData_1rbBFrame_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btConeTwistConstraintData *arg1 = (btConeTwistConstraintData *) 0 ;
btTransformFloatData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConeTwistConstraintData **)&jarg1;
result = (btTransformFloatData *)& ((arg1)->m_rbBFrame);
*(btTransformFloatData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraintData_1swingSpan1_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btConeTwistConstraintData *arg1 = (btConeTwistConstraintData *) 0 ;
float arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConeTwistConstraintData **)&jarg1;
arg2 = (float)jarg2;
if (arg1) (arg1)->m_swingSpan1 = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraintData_1swingSpan1_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btConeTwistConstraintData *arg1 = (btConeTwistConstraintData *) 0 ;
float result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConeTwistConstraintData **)&jarg1;
result = (float) ((arg1)->m_swingSpan1);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraintData_1swingSpan2_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btConeTwistConstraintData *arg1 = (btConeTwistConstraintData *) 0 ;
float arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConeTwistConstraintData **)&jarg1;
arg2 = (float)jarg2;
if (arg1) (arg1)->m_swingSpan2 = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraintData_1swingSpan2_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btConeTwistConstraintData *arg1 = (btConeTwistConstraintData *) 0 ;
float result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConeTwistConstraintData **)&jarg1;
result = (float) ((arg1)->m_swingSpan2);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraintData_1twistSpan_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btConeTwistConstraintData *arg1 = (btConeTwistConstraintData *) 0 ;
float arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConeTwistConstraintData **)&jarg1;
arg2 = (float)jarg2;
if (arg1) (arg1)->m_twistSpan = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraintData_1twistSpan_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btConeTwistConstraintData *arg1 = (btConeTwistConstraintData *) 0 ;
float result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConeTwistConstraintData **)&jarg1;
result = (float) ((arg1)->m_twistSpan);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraintData_1limitSoftness_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btConeTwistConstraintData *arg1 = (btConeTwistConstraintData *) 0 ;
float arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConeTwistConstraintData **)&jarg1;
arg2 = (float)jarg2;
if (arg1) (arg1)->m_limitSoftness = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraintData_1limitSoftness_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btConeTwistConstraintData *arg1 = (btConeTwistConstraintData *) 0 ;
float result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConeTwistConstraintData **)&jarg1;
result = (float) ((arg1)->m_limitSoftness);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraintData_1biasFactor_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btConeTwistConstraintData *arg1 = (btConeTwistConstraintData *) 0 ;
float arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConeTwistConstraintData **)&jarg1;
arg2 = (float)jarg2;
if (arg1) (arg1)->m_biasFactor = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraintData_1biasFactor_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btConeTwistConstraintData *arg1 = (btConeTwistConstraintData *) 0 ;
float result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConeTwistConstraintData **)&jarg1;
result = (float) ((arg1)->m_biasFactor);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraintData_1relaxationFactor_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btConeTwistConstraintData *arg1 = (btConeTwistConstraintData *) 0 ;
float arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConeTwistConstraintData **)&jarg1;
arg2 = (float)jarg2;
if (arg1) (arg1)->m_relaxationFactor = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraintData_1relaxationFactor_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btConeTwistConstraintData *arg1 = (btConeTwistConstraintData *) 0 ;
float result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConeTwistConstraintData **)&jarg1;
result = (float) ((arg1)->m_relaxationFactor);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraintData_1damping_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btConeTwistConstraintData *arg1 = (btConeTwistConstraintData *) 0 ;
float arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConeTwistConstraintData **)&jarg1;
arg2 = (float)jarg2;
if (arg1) (arg1)->m_damping = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraintData_1damping_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btConeTwistConstraintData *arg1 = (btConeTwistConstraintData *) 0 ;
float result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConeTwistConstraintData **)&jarg1;
result = (float) ((arg1)->m_damping);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraintData_1pad_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
btConeTwistConstraintData *arg1 = (btConeTwistConstraintData *) 0 ;
char *arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConeTwistConstraintData **)&jarg1;
arg2 = 0;
if (jarg2) {
arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
if (!arg2) return ;
}
{
if(arg2) {
strncpy((char*)arg1->m_pad, (const char *)arg2, 4-1);
arg1->m_pad[4-1] = 0;
} else {
arg1->m_pad[0] = 0;
}
}
if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
}
SWIGEXPORT jstring JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraintData_1pad_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jstring jresult = 0 ;
btConeTwistConstraintData *arg1 = (btConeTwistConstraintData *) 0 ;
char *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConeTwistConstraintData **)&jarg1;
result = (char *)(char *) ((arg1)->m_pad);
if (result) jresult = jenv->NewStringUTF((const char *)result);
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btConeTwistConstraintData(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btConeTwistConstraintData *result = 0 ;
(void)jenv;
(void)jcls;
result = (btConeTwistConstraintData *)new btConeTwistConstraintData();
*(btConeTwistConstraintData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btConeTwistConstraintData(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btConeTwistConstraintData *arg1 = (btConeTwistConstraintData *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btConeTwistConstraintData **)&jarg1;
delete arg1;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpringConstraint_1operatorNew_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btGeneric6DofSpringConstraint *arg1 = (btGeneric6DofSpringConstraint *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpringConstraint **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new(arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpringConstraint_1operatorDelete_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btGeneric6DofSpringConstraint *arg1 = (btGeneric6DofSpringConstraint *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpringConstraint **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete(arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpringConstraint_1operatorNew_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btGeneric6DofSpringConstraint *arg1 = (btGeneric6DofSpringConstraint *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpringConstraint **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new(arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpringConstraint_1operatorDelete_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btGeneric6DofSpringConstraint *arg1 = (btGeneric6DofSpringConstraint *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpringConstraint **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete(arg2,arg3);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpringConstraint_1operatorNewArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btGeneric6DofSpringConstraint *arg1 = (btGeneric6DofSpringConstraint *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpringConstraint **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new[](arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpringConstraint_1operatorDeleteArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btGeneric6DofSpringConstraint *arg1 = (btGeneric6DofSpringConstraint *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpringConstraint **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete[](arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpringConstraint_1operatorNewArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btGeneric6DofSpringConstraint *arg1 = (btGeneric6DofSpringConstraint *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpringConstraint **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new[](arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpringConstraint_1operatorDeleteArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btGeneric6DofSpringConstraint *arg1 = (btGeneric6DofSpringConstraint *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpringConstraint **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete[](arg2,arg3);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btGeneric6DofSpringConstraint_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jobject jarg3, jobject jarg4, jboolean jarg5) {
jlong jresult = 0 ;
btRigidBody *arg1 = 0 ;
btRigidBody *arg2 = 0 ;
btTransform *arg3 = 0 ;
btTransform *arg4 = 0 ;
bool arg5 ;
btGeneric6DofSpringConstraint *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btRigidBody **)&jarg1;
if (!arg1) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btRigidBody & reference is null");
return 0;
}
arg2 = *(btRigidBody **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btRigidBody & reference is null");
return 0;
}
btTransform local_arg3;
gdx_setbtTransformFromMatrix4(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitMatrix4 auto_commit_arg3(jenv, jarg3, &local_arg3);
btTransform local_arg4;
gdx_setbtTransformFromMatrix4(jenv, local_arg4, jarg4);
arg4 = &local_arg4;
gdxAutoCommitMatrix4 auto_commit_arg4(jenv, jarg4, &local_arg4);
arg5 = jarg5 ? true : false;
result = (btGeneric6DofSpringConstraint *)new btGeneric6DofSpringConstraint(*arg1,*arg2,(btTransform const &)*arg3,(btTransform const &)*arg4,arg5);
*(btGeneric6DofSpringConstraint **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btGeneric6DofSpringConstraint_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jboolean jarg3) {
jlong jresult = 0 ;
btRigidBody *arg1 = 0 ;
btTransform *arg2 = 0 ;
bool arg3 ;
btGeneric6DofSpringConstraint *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody **)&jarg1;
if (!arg1) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btRigidBody & reference is null");
return 0;
}
btTransform local_arg2;
gdx_setbtTransformFromMatrix4(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitMatrix4 auto_commit_arg2(jenv, jarg2, &local_arg2);
arg3 = jarg3 ? true : false;
result = (btGeneric6DofSpringConstraint *)new btGeneric6DofSpringConstraint(*arg1,(btTransform const &)*arg2,arg3);
*(btGeneric6DofSpringConstraint **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpringConstraint_1enableSpring(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jboolean jarg3) {
btGeneric6DofSpringConstraint *arg1 = (btGeneric6DofSpringConstraint *) 0 ;
int arg2 ;
bool arg3 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpringConstraint **)&jarg1;
arg2 = (int)jarg2;
arg3 = jarg3 ? true : false;
(arg1)->enableSpring(arg2,arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpringConstraint_1setStiffness(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jfloat jarg3) {
btGeneric6DofSpringConstraint *arg1 = (btGeneric6DofSpringConstraint *) 0 ;
int arg2 ;
btScalar arg3 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpringConstraint **)&jarg1;
arg2 = (int)jarg2;
arg3 = (btScalar)jarg3;
(arg1)->setStiffness(arg2,arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpringConstraint_1setDamping(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jfloat jarg3) {
btGeneric6DofSpringConstraint *arg1 = (btGeneric6DofSpringConstraint *) 0 ;
int arg2 ;
btScalar arg3 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpringConstraint **)&jarg1;
arg2 = (int)jarg2;
arg3 = (btScalar)jarg3;
(arg1)->setDamping(arg2,arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpringConstraint_1setEquilibriumPoint_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
btGeneric6DofSpringConstraint *arg1 = (btGeneric6DofSpringConstraint *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpringConstraint **)&jarg1;
(arg1)->setEquilibriumPoint();
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpringConstraint_1setEquilibriumPoint_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btGeneric6DofSpringConstraint *arg1 = (btGeneric6DofSpringConstraint *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpringConstraint **)&jarg1;
arg2 = (int)jarg2;
(arg1)->setEquilibriumPoint(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpringConstraint_1setEquilibriumPoint_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jfloat jarg3) {
btGeneric6DofSpringConstraint *arg1 = (btGeneric6DofSpringConstraint *) 0 ;
int arg2 ;
btScalar arg3 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpringConstraint **)&jarg1;
arg2 = (int)jarg2;
arg3 = (btScalar)jarg3;
(arg1)->setEquilibriumPoint(arg2,arg3);
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpringConstraint_1isSpringEnabled(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jboolean jresult = 0 ;
btGeneric6DofSpringConstraint *arg1 = (btGeneric6DofSpringConstraint *) 0 ;
int arg2 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpringConstraint **)&jarg1;
arg2 = (int)jarg2;
result = (bool)((btGeneric6DofSpringConstraint const *)arg1)->isSpringEnabled(arg2);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpringConstraint_1getStiffness(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jfloat jresult = 0 ;
btGeneric6DofSpringConstraint *arg1 = (btGeneric6DofSpringConstraint *) 0 ;
int arg2 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpringConstraint **)&jarg1;
arg2 = (int)jarg2;
result = (btScalar)((btGeneric6DofSpringConstraint const *)arg1)->getStiffness(arg2);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpringConstraint_1getDamping(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jfloat jresult = 0 ;
btGeneric6DofSpringConstraint *arg1 = (btGeneric6DofSpringConstraint *) 0 ;
int arg2 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpringConstraint **)&jarg1;
arg2 = (int)jarg2;
result = (btScalar)((btGeneric6DofSpringConstraint const *)arg1)->getDamping(arg2);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpringConstraint_1getEquilibriumPoint(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jfloat jresult = 0 ;
btGeneric6DofSpringConstraint *arg1 = (btGeneric6DofSpringConstraint *) 0 ;
int arg2 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpringConstraint **)&jarg1;
arg2 = (int)jarg2;
result = (btScalar)((btGeneric6DofSpringConstraint const *)arg1)->getEquilibriumPoint(arg2);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpringConstraint_1setAxis(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jobject jarg3) {
btGeneric6DofSpringConstraint *arg1 = (btGeneric6DofSpringConstraint *) 0 ;
btVector3 *arg2 = 0 ;
btVector3 *arg3 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpringConstraint **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
(arg1)->setAxis((btVector3 const &)*arg2,(btVector3 const &)*arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btGeneric6DofSpringConstraint(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btGeneric6DofSpringConstraint *arg1 = (btGeneric6DofSpringConstraint *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btGeneric6DofSpringConstraint **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpringConstraintData_16dofData_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btGeneric6DofSpringConstraintData *arg1 = (btGeneric6DofSpringConstraintData *) 0 ;
btGeneric6DofConstraintData *arg2 = (btGeneric6DofConstraintData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btGeneric6DofSpringConstraintData **)&jarg1;
arg2 = *(btGeneric6DofConstraintData **)&jarg2;
if (arg1) (arg1)->m_6dofData = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpringConstraintData_16dofData_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btGeneric6DofSpringConstraintData *arg1 = (btGeneric6DofSpringConstraintData *) 0 ;
btGeneric6DofConstraintData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpringConstraintData **)&jarg1;
result = (btGeneric6DofConstraintData *)& ((arg1)->m_6dofData);
*(btGeneric6DofConstraintData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpringConstraintData_1springEnabled_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jintArray jarg2) {
btGeneric6DofSpringConstraintData *arg1 = (btGeneric6DofSpringConstraintData *) 0 ;
int *arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpringConstraintData **)&jarg1;
if (jarg2 && jenv->GetArrayLength(jarg2) != 6) {
SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, "incorrect array size");
return ;
}
arg2 = (int *)jenv->GetPrimitiveArrayCritical(jarg2, 0);
{
size_t ii;
int *b = (int *) arg1->m_springEnabled;
for (ii = 0; ii < (size_t)6; ii++) b[ii] = *((int *) arg2 + ii);
}
jenv->ReleasePrimitiveArrayCritical(jarg2, (int *)arg2, 0);
}
SWIGEXPORT jintArray JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpringConstraintData_1springEnabled_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jintArray jresult = 0 ;
btGeneric6DofSpringConstraintData *arg1 = (btGeneric6DofSpringConstraintData *) 0 ;
int *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpringConstraintData **)&jarg1;
result = (int *)(int *) ((arg1)->m_springEnabled);
/*jresult = SWIG_JavaArrayOut##Int(jenv, (int *)result, 6);*/
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpringConstraintData_1equilibriumPoint_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloatArray jarg2) {
btGeneric6DofSpringConstraintData *arg1 = (btGeneric6DofSpringConstraintData *) 0 ;
float *arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpringConstraintData **)&jarg1;
if (jarg2 && jenv->GetArrayLength(jarg2) != 6) {
SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, "incorrect array size");
return ;
}
arg2 = (float *)jenv->GetPrimitiveArrayCritical(jarg2, 0);
{
size_t ii;
float *b = (float *) arg1->m_equilibriumPoint;
for (ii = 0; ii < (size_t)6; ii++) b[ii] = *((float *) arg2 + ii);
}
jenv->ReleasePrimitiveArrayCritical(jarg2, (float *)arg2, 0);
}
SWIGEXPORT jfloatArray JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpringConstraintData_1equilibriumPoint_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloatArray jresult = 0 ;
btGeneric6DofSpringConstraintData *arg1 = (btGeneric6DofSpringConstraintData *) 0 ;
float *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpringConstraintData **)&jarg1;
result = (float *)(float *) ((arg1)->m_equilibriumPoint);
/*jresult = SWIG_JavaArrayOut##Float(jenv, (float *)result, 6);*/
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpringConstraintData_1springStiffness_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloatArray jarg2) {
btGeneric6DofSpringConstraintData *arg1 = (btGeneric6DofSpringConstraintData *) 0 ;
float *arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpringConstraintData **)&jarg1;
if (jarg2 && jenv->GetArrayLength(jarg2) != 6) {
SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, "incorrect array size");
return ;
}
arg2 = (float *)jenv->GetPrimitiveArrayCritical(jarg2, 0);
{
size_t ii;
float *b = (float *) arg1->m_springStiffness;
for (ii = 0; ii < (size_t)6; ii++) b[ii] = *((float *) arg2 + ii);
}
jenv->ReleasePrimitiveArrayCritical(jarg2, (float *)arg2, 0);
}
SWIGEXPORT jfloatArray JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpringConstraintData_1springStiffness_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloatArray jresult = 0 ;
btGeneric6DofSpringConstraintData *arg1 = (btGeneric6DofSpringConstraintData *) 0 ;
float *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpringConstraintData **)&jarg1;
result = (float *)(float *) ((arg1)->m_springStiffness);
/*jresult = SWIG_JavaArrayOut##Float(jenv, (float *)result, 6);*/
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpringConstraintData_1springDamping_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloatArray jarg2) {
btGeneric6DofSpringConstraintData *arg1 = (btGeneric6DofSpringConstraintData *) 0 ;
float *arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpringConstraintData **)&jarg1;
if (jarg2 && jenv->GetArrayLength(jarg2) != 6) {
SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, "incorrect array size");
return ;
}
arg2 = (float *)jenv->GetPrimitiveArrayCritical(jarg2, 0);
{
size_t ii;
float *b = (float *) arg1->m_springDamping;
for (ii = 0; ii < (size_t)6; ii++) b[ii] = *((float *) arg2 + ii);
}
jenv->ReleasePrimitiveArrayCritical(jarg2, (float *)arg2, 0);
}
SWIGEXPORT jfloatArray JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpringConstraintData_1springDamping_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloatArray jresult = 0 ;
btGeneric6DofSpringConstraintData *arg1 = (btGeneric6DofSpringConstraintData *) 0 ;
float *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpringConstraintData **)&jarg1;
result = (float *)(float *) ((arg1)->m_springDamping);
/*jresult = SWIG_JavaArrayOut##Float(jenv, (float *)result, 6);*/
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btGeneric6DofSpringConstraintData(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btGeneric6DofSpringConstraintData *result = 0 ;
(void)jenv;
(void)jcls;
result = (btGeneric6DofSpringConstraintData *)new btGeneric6DofSpringConstraintData();
*(btGeneric6DofSpringConstraintData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btGeneric6DofSpringConstraintData(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btGeneric6DofSpringConstraintData *arg1 = (btGeneric6DofSpringConstraintData *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btGeneric6DofSpringConstraintData **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpringConstraintDoubleData2_16dofData_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btGeneric6DofSpringConstraintDoubleData2 *arg1 = (btGeneric6DofSpringConstraintDoubleData2 *) 0 ;
btGeneric6DofConstraintDoubleData2 *arg2 = (btGeneric6DofConstraintDoubleData2 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btGeneric6DofSpringConstraintDoubleData2 **)&jarg1;
arg2 = *(btGeneric6DofConstraintDoubleData2 **)&jarg2;
if (arg1) (arg1)->m_6dofData = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpringConstraintDoubleData2_16dofData_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btGeneric6DofSpringConstraintDoubleData2 *arg1 = (btGeneric6DofSpringConstraintDoubleData2 *) 0 ;
btGeneric6DofConstraintDoubleData2 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpringConstraintDoubleData2 **)&jarg1;
result = (btGeneric6DofConstraintDoubleData2 *)& ((arg1)->m_6dofData);
*(btGeneric6DofConstraintDoubleData2 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpringConstraintDoubleData2_1springEnabled_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jintArray jarg2) {
btGeneric6DofSpringConstraintDoubleData2 *arg1 = (btGeneric6DofSpringConstraintDoubleData2 *) 0 ;
int *arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpringConstraintDoubleData2 **)&jarg1;
if (jarg2 && jenv->GetArrayLength(jarg2) != 6) {
SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, "incorrect array size");
return ;
}
arg2 = (int *)jenv->GetPrimitiveArrayCritical(jarg2, 0);
{
size_t ii;
int *b = (int *) arg1->m_springEnabled;
for (ii = 0; ii < (size_t)6; ii++) b[ii] = *((int *) arg2 + ii);
}
jenv->ReleasePrimitiveArrayCritical(jarg2, (int *)arg2, 0);
}
SWIGEXPORT jintArray JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpringConstraintDoubleData2_1springEnabled_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jintArray jresult = 0 ;
btGeneric6DofSpringConstraintDoubleData2 *arg1 = (btGeneric6DofSpringConstraintDoubleData2 *) 0 ;
int *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpringConstraintDoubleData2 **)&jarg1;
result = (int *)(int *) ((arg1)->m_springEnabled);
/*jresult = SWIG_JavaArrayOut##Int(jenv, (int *)result, 6);*/
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpringConstraintDoubleData2_1equilibriumPoint_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdoubleArray jarg2) {
btGeneric6DofSpringConstraintDoubleData2 *arg1 = (btGeneric6DofSpringConstraintDoubleData2 *) 0 ;
double *arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpringConstraintDoubleData2 **)&jarg1;
if (jarg2 && jenv->GetArrayLength(jarg2) != 6) {
SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, "incorrect array size");
return ;
}
arg2 = (double *)jenv->GetPrimitiveArrayCritical(jarg2, 0);
{
size_t ii;
double *b = (double *) arg1->m_equilibriumPoint;
for (ii = 0; ii < (size_t)6; ii++) b[ii] = *((double *) arg2 + ii);
}
jenv->ReleasePrimitiveArrayCritical(jarg2, (double *)arg2, 0);
}
SWIGEXPORT jdoubleArray JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpringConstraintDoubleData2_1equilibriumPoint_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jdoubleArray jresult = 0 ;
btGeneric6DofSpringConstraintDoubleData2 *arg1 = (btGeneric6DofSpringConstraintDoubleData2 *) 0 ;
double *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpringConstraintDoubleData2 **)&jarg1;
result = (double *)(double *) ((arg1)->m_equilibriumPoint);
/*jresult = SWIG_JavaArrayOut##Double(jenv, (double *)result, 6);*/
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpringConstraintDoubleData2_1springStiffness_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdoubleArray jarg2) {
btGeneric6DofSpringConstraintDoubleData2 *arg1 = (btGeneric6DofSpringConstraintDoubleData2 *) 0 ;
double *arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpringConstraintDoubleData2 **)&jarg1;
if (jarg2 && jenv->GetArrayLength(jarg2) != 6) {
SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, "incorrect array size");
return ;
}
arg2 = (double *)jenv->GetPrimitiveArrayCritical(jarg2, 0);
{
size_t ii;
double *b = (double *) arg1->m_springStiffness;
for (ii = 0; ii < (size_t)6; ii++) b[ii] = *((double *) arg2 + ii);
}
jenv->ReleasePrimitiveArrayCritical(jarg2, (double *)arg2, 0);
}
SWIGEXPORT jdoubleArray JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpringConstraintDoubleData2_1springStiffness_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jdoubleArray jresult = 0 ;
btGeneric6DofSpringConstraintDoubleData2 *arg1 = (btGeneric6DofSpringConstraintDoubleData2 *) 0 ;
double *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpringConstraintDoubleData2 **)&jarg1;
result = (double *)(double *) ((arg1)->m_springStiffness);
/*jresult = SWIG_JavaArrayOut##Double(jenv, (double *)result, 6);*/
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpringConstraintDoubleData2_1springDamping_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdoubleArray jarg2) {
btGeneric6DofSpringConstraintDoubleData2 *arg1 = (btGeneric6DofSpringConstraintDoubleData2 *) 0 ;
double *arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpringConstraintDoubleData2 **)&jarg1;
if (jarg2 && jenv->GetArrayLength(jarg2) != 6) {
SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, "incorrect array size");
return ;
}
arg2 = (double *)jenv->GetPrimitiveArrayCritical(jarg2, 0);
{
size_t ii;
double *b = (double *) arg1->m_springDamping;
for (ii = 0; ii < (size_t)6; ii++) b[ii] = *((double *) arg2 + ii);
}
jenv->ReleasePrimitiveArrayCritical(jarg2, (double *)arg2, 0);
}
SWIGEXPORT jdoubleArray JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpringConstraintDoubleData2_1springDamping_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jdoubleArray jresult = 0 ;
btGeneric6DofSpringConstraintDoubleData2 *arg1 = (btGeneric6DofSpringConstraintDoubleData2 *) 0 ;
double *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpringConstraintDoubleData2 **)&jarg1;
result = (double *)(double *) ((arg1)->m_springDamping);
/*jresult = SWIG_JavaArrayOut##Double(jenv, (double *)result, 6);*/
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btGeneric6DofSpringConstraintDoubleData2(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btGeneric6DofSpringConstraintDoubleData2 *result = 0 ;
(void)jenv;
(void)jcls;
result = (btGeneric6DofSpringConstraintDoubleData2 *)new btGeneric6DofSpringConstraintDoubleData2();
*(btGeneric6DofSpringConstraintDoubleData2 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btGeneric6DofSpringConstraintDoubleData2(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btGeneric6DofSpringConstraintDoubleData2 *arg1 = (btGeneric6DofSpringConstraintDoubleData2 *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btGeneric6DofSpringConstraintDoubleData2 **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor2_1loLimit_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btRotationalLimitMotor2 *arg1 = (btRotationalLimitMotor2 *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRotationalLimitMotor2 **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_loLimit = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor2_1loLimit_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btRotationalLimitMotor2 *arg1 = (btRotationalLimitMotor2 *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRotationalLimitMotor2 **)&jarg1;
result = (btScalar) ((arg1)->m_loLimit);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor2_1hiLimit_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btRotationalLimitMotor2 *arg1 = (btRotationalLimitMotor2 *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRotationalLimitMotor2 **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_hiLimit = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor2_1hiLimit_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btRotationalLimitMotor2 *arg1 = (btRotationalLimitMotor2 *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRotationalLimitMotor2 **)&jarg1;
result = (btScalar) ((arg1)->m_hiLimit);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor2_1bounce_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btRotationalLimitMotor2 *arg1 = (btRotationalLimitMotor2 *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRotationalLimitMotor2 **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_bounce = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor2_1bounce_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btRotationalLimitMotor2 *arg1 = (btRotationalLimitMotor2 *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRotationalLimitMotor2 **)&jarg1;
result = (btScalar) ((arg1)->m_bounce);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor2_1stopERP_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btRotationalLimitMotor2 *arg1 = (btRotationalLimitMotor2 *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRotationalLimitMotor2 **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_stopERP = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor2_1stopERP_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btRotationalLimitMotor2 *arg1 = (btRotationalLimitMotor2 *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRotationalLimitMotor2 **)&jarg1;
result = (btScalar) ((arg1)->m_stopERP);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor2_1stopCFM_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btRotationalLimitMotor2 *arg1 = (btRotationalLimitMotor2 *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRotationalLimitMotor2 **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_stopCFM = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor2_1stopCFM_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btRotationalLimitMotor2 *arg1 = (btRotationalLimitMotor2 *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRotationalLimitMotor2 **)&jarg1;
result = (btScalar) ((arg1)->m_stopCFM);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor2_1motorERP_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btRotationalLimitMotor2 *arg1 = (btRotationalLimitMotor2 *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRotationalLimitMotor2 **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_motorERP = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor2_1motorERP_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btRotationalLimitMotor2 *arg1 = (btRotationalLimitMotor2 *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRotationalLimitMotor2 **)&jarg1;
result = (btScalar) ((arg1)->m_motorERP);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor2_1motorCFM_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btRotationalLimitMotor2 *arg1 = (btRotationalLimitMotor2 *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRotationalLimitMotor2 **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_motorCFM = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor2_1motorCFM_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btRotationalLimitMotor2 *arg1 = (btRotationalLimitMotor2 *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRotationalLimitMotor2 **)&jarg1;
result = (btScalar) ((arg1)->m_motorCFM);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor2_1enableMotor_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jboolean jarg2) {
btRotationalLimitMotor2 *arg1 = (btRotationalLimitMotor2 *) 0 ;
bool arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRotationalLimitMotor2 **)&jarg1;
arg2 = jarg2 ? true : false;
if (arg1) (arg1)->m_enableMotor = arg2;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor2_1enableMotor_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jboolean jresult = 0 ;
btRotationalLimitMotor2 *arg1 = (btRotationalLimitMotor2 *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRotationalLimitMotor2 **)&jarg1;
result = (bool) ((arg1)->m_enableMotor);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor2_1targetVelocity_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btRotationalLimitMotor2 *arg1 = (btRotationalLimitMotor2 *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRotationalLimitMotor2 **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_targetVelocity = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor2_1targetVelocity_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btRotationalLimitMotor2 *arg1 = (btRotationalLimitMotor2 *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRotationalLimitMotor2 **)&jarg1;
result = (btScalar) ((arg1)->m_targetVelocity);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor2_1maxMotorForce_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btRotationalLimitMotor2 *arg1 = (btRotationalLimitMotor2 *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRotationalLimitMotor2 **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_maxMotorForce = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor2_1maxMotorForce_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btRotationalLimitMotor2 *arg1 = (btRotationalLimitMotor2 *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRotationalLimitMotor2 **)&jarg1;
result = (btScalar) ((arg1)->m_maxMotorForce);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor2_1servoMotor_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jboolean jarg2) {
btRotationalLimitMotor2 *arg1 = (btRotationalLimitMotor2 *) 0 ;
bool arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRotationalLimitMotor2 **)&jarg1;
arg2 = jarg2 ? true : false;
if (arg1) (arg1)->m_servoMotor = arg2;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor2_1servoMotor_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jboolean jresult = 0 ;
btRotationalLimitMotor2 *arg1 = (btRotationalLimitMotor2 *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRotationalLimitMotor2 **)&jarg1;
result = (bool) ((arg1)->m_servoMotor);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor2_1servoTarget_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btRotationalLimitMotor2 *arg1 = (btRotationalLimitMotor2 *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRotationalLimitMotor2 **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_servoTarget = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor2_1servoTarget_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btRotationalLimitMotor2 *arg1 = (btRotationalLimitMotor2 *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRotationalLimitMotor2 **)&jarg1;
result = (btScalar) ((arg1)->m_servoTarget);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor2_1enableSpring_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jboolean jarg2) {
btRotationalLimitMotor2 *arg1 = (btRotationalLimitMotor2 *) 0 ;
bool arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRotationalLimitMotor2 **)&jarg1;
arg2 = jarg2 ? true : false;
if (arg1) (arg1)->m_enableSpring = arg2;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor2_1enableSpring_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jboolean jresult = 0 ;
btRotationalLimitMotor2 *arg1 = (btRotationalLimitMotor2 *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRotationalLimitMotor2 **)&jarg1;
result = (bool) ((arg1)->m_enableSpring);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor2_1springStiffness_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btRotationalLimitMotor2 *arg1 = (btRotationalLimitMotor2 *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRotationalLimitMotor2 **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_springStiffness = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor2_1springStiffness_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btRotationalLimitMotor2 *arg1 = (btRotationalLimitMotor2 *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRotationalLimitMotor2 **)&jarg1;
result = (btScalar) ((arg1)->m_springStiffness);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor2_1springStiffnessLimited_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jboolean jarg2) {
btRotationalLimitMotor2 *arg1 = (btRotationalLimitMotor2 *) 0 ;
bool arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRotationalLimitMotor2 **)&jarg1;
arg2 = jarg2 ? true : false;
if (arg1) (arg1)->m_springStiffnessLimited = arg2;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor2_1springStiffnessLimited_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jboolean jresult = 0 ;
btRotationalLimitMotor2 *arg1 = (btRotationalLimitMotor2 *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRotationalLimitMotor2 **)&jarg1;
result = (bool) ((arg1)->m_springStiffnessLimited);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor2_1springDamping_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btRotationalLimitMotor2 *arg1 = (btRotationalLimitMotor2 *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRotationalLimitMotor2 **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_springDamping = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor2_1springDamping_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btRotationalLimitMotor2 *arg1 = (btRotationalLimitMotor2 *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRotationalLimitMotor2 **)&jarg1;
result = (btScalar) ((arg1)->m_springDamping);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor2_1springDampingLimited_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jboolean jarg2) {
btRotationalLimitMotor2 *arg1 = (btRotationalLimitMotor2 *) 0 ;
bool arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRotationalLimitMotor2 **)&jarg1;
arg2 = jarg2 ? true : false;
if (arg1) (arg1)->m_springDampingLimited = arg2;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor2_1springDampingLimited_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jboolean jresult = 0 ;
btRotationalLimitMotor2 *arg1 = (btRotationalLimitMotor2 *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRotationalLimitMotor2 **)&jarg1;
result = (bool) ((arg1)->m_springDampingLimited);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor2_1equilibriumPoint_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btRotationalLimitMotor2 *arg1 = (btRotationalLimitMotor2 *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRotationalLimitMotor2 **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_equilibriumPoint = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor2_1equilibriumPoint_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btRotationalLimitMotor2 *arg1 = (btRotationalLimitMotor2 *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRotationalLimitMotor2 **)&jarg1;
result = (btScalar) ((arg1)->m_equilibriumPoint);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor2_1currentLimitError_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btRotationalLimitMotor2 *arg1 = (btRotationalLimitMotor2 *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRotationalLimitMotor2 **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_currentLimitError = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor2_1currentLimitError_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btRotationalLimitMotor2 *arg1 = (btRotationalLimitMotor2 *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRotationalLimitMotor2 **)&jarg1;
result = (btScalar) ((arg1)->m_currentLimitError);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor2_1currentLimitErrorHi_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btRotationalLimitMotor2 *arg1 = (btRotationalLimitMotor2 *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRotationalLimitMotor2 **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_currentLimitErrorHi = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor2_1currentLimitErrorHi_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btRotationalLimitMotor2 *arg1 = (btRotationalLimitMotor2 *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRotationalLimitMotor2 **)&jarg1;
result = (btScalar) ((arg1)->m_currentLimitErrorHi);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor2_1currentPosition_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btRotationalLimitMotor2 *arg1 = (btRotationalLimitMotor2 *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRotationalLimitMotor2 **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_currentPosition = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor2_1currentPosition_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btRotationalLimitMotor2 *arg1 = (btRotationalLimitMotor2 *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRotationalLimitMotor2 **)&jarg1;
result = (btScalar) ((arg1)->m_currentPosition);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor2_1currentLimit_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btRotationalLimitMotor2 *arg1 = (btRotationalLimitMotor2 *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRotationalLimitMotor2 **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_currentLimit = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor2_1currentLimit_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btRotationalLimitMotor2 *arg1 = (btRotationalLimitMotor2 *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRotationalLimitMotor2 **)&jarg1;
result = (int) ((arg1)->m_currentLimit);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btRotationalLimitMotor2_1_1SWIG_10(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btRotationalLimitMotor2 *result = 0 ;
(void)jenv;
(void)jcls;
result = (btRotationalLimitMotor2 *)new btRotationalLimitMotor2();
*(btRotationalLimitMotor2 **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btRotationalLimitMotor2_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btRotationalLimitMotor2 *arg1 = 0 ;
btRotationalLimitMotor2 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRotationalLimitMotor2 **)&jarg1;
if (!arg1) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btRotationalLimitMotor2 const & reference is null");
return 0;
}
result = (btRotationalLimitMotor2 *)new btRotationalLimitMotor2((btRotationalLimitMotor2 const &)*arg1);
*(btRotationalLimitMotor2 **)&jresult = result;
return jresult;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor2_1isLimited(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jboolean jresult = 0 ;
btRotationalLimitMotor2 *arg1 = (btRotationalLimitMotor2 *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRotationalLimitMotor2 **)&jarg1;
result = (bool)(arg1)->isLimited();
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor2_1testLimitValue(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btRotationalLimitMotor2 *arg1 = (btRotationalLimitMotor2 *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRotationalLimitMotor2 **)&jarg1;
arg2 = (btScalar)jarg2;
(arg1)->testLimitValue(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btRotationalLimitMotor2(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btRotationalLimitMotor2 *arg1 = (btRotationalLimitMotor2 *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btRotationalLimitMotor2 **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor2_1lowerLimit_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btTranslationalLimitMotor2 *arg1 = (btTranslationalLimitMotor2 *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btTranslationalLimitMotor2 **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->m_lowerLimit = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor2_1lowerLimit_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btTranslationalLimitMotor2 *arg1 = (btTranslationalLimitMotor2 *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTranslationalLimitMotor2 **)&jarg1;
result = (btVector3 *)& ((arg1)->m_lowerLimit);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor2_1upperLimit_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btTranslationalLimitMotor2 *arg1 = (btTranslationalLimitMotor2 *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btTranslationalLimitMotor2 **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->m_upperLimit = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor2_1upperLimit_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btTranslationalLimitMotor2 *arg1 = (btTranslationalLimitMotor2 *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTranslationalLimitMotor2 **)&jarg1;
result = (btVector3 *)& ((arg1)->m_upperLimit);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor2_1bounce_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btTranslationalLimitMotor2 *arg1 = (btTranslationalLimitMotor2 *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btTranslationalLimitMotor2 **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->m_bounce = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor2_1bounce_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btTranslationalLimitMotor2 *arg1 = (btTranslationalLimitMotor2 *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTranslationalLimitMotor2 **)&jarg1;
result = (btVector3 *)& ((arg1)->m_bounce);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor2_1stopERP_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btTranslationalLimitMotor2 *arg1 = (btTranslationalLimitMotor2 *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btTranslationalLimitMotor2 **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->m_stopERP = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor2_1stopERP_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btTranslationalLimitMotor2 *arg1 = (btTranslationalLimitMotor2 *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTranslationalLimitMotor2 **)&jarg1;
result = (btVector3 *)& ((arg1)->m_stopERP);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor2_1stopCFM_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btTranslationalLimitMotor2 *arg1 = (btTranslationalLimitMotor2 *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btTranslationalLimitMotor2 **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->m_stopCFM = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor2_1stopCFM_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btTranslationalLimitMotor2 *arg1 = (btTranslationalLimitMotor2 *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTranslationalLimitMotor2 **)&jarg1;
result = (btVector3 *)& ((arg1)->m_stopCFM);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor2_1motorERP_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btTranslationalLimitMotor2 *arg1 = (btTranslationalLimitMotor2 *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btTranslationalLimitMotor2 **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->m_motorERP = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor2_1motorERP_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btTranslationalLimitMotor2 *arg1 = (btTranslationalLimitMotor2 *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTranslationalLimitMotor2 **)&jarg1;
result = (btVector3 *)& ((arg1)->m_motorERP);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor2_1motorCFM_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btTranslationalLimitMotor2 *arg1 = (btTranslationalLimitMotor2 *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btTranslationalLimitMotor2 **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->m_motorCFM = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor2_1motorCFM_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btTranslationalLimitMotor2 *arg1 = (btTranslationalLimitMotor2 *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTranslationalLimitMotor2 **)&jarg1;
result = (btVector3 *)& ((arg1)->m_motorCFM);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor2_1enableMotor_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jbooleanArray jarg2) {
btTranslationalLimitMotor2 *arg1 = (btTranslationalLimitMotor2 *) 0 ;
bool *arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTranslationalLimitMotor2 **)&jarg1;
if (jarg2 && jenv->GetArrayLength(jarg2) != 3) {
SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, "incorrect array size");
return ;
}
arg2 = (bool *)jenv->GetPrimitiveArrayCritical(jarg2, 0);
{
size_t ii;
bool *b = (bool *) arg1->m_enableMotor;
for (ii = 0; ii < (size_t)3; ii++) b[ii] = *((bool *) arg2 + ii);
}
jenv->ReleasePrimitiveArrayCritical(jarg2, (bool *)arg2, 0);
}
SWIGEXPORT jbooleanArray JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor2_1enableMotor_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jbooleanArray jresult = 0 ;
btTranslationalLimitMotor2 *arg1 = (btTranslationalLimitMotor2 *) 0 ;
bool *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTranslationalLimitMotor2 **)&jarg1;
result = (bool *)(bool *) ((arg1)->m_enableMotor);
/*jresult = SWIG_JavaArrayOut##Bool(jenv, (bool *)result, 3);*/
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor2_1servoMotor_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jbooleanArray jarg2) {
btTranslationalLimitMotor2 *arg1 = (btTranslationalLimitMotor2 *) 0 ;
bool *arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTranslationalLimitMotor2 **)&jarg1;
if (jarg2 && jenv->GetArrayLength(jarg2) != 3) {
SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, "incorrect array size");
return ;
}
arg2 = (bool *)jenv->GetPrimitiveArrayCritical(jarg2, 0);
{
size_t ii;
bool *b = (bool *) arg1->m_servoMotor;
for (ii = 0; ii < (size_t)3; ii++) b[ii] = *((bool *) arg2 + ii);
}
jenv->ReleasePrimitiveArrayCritical(jarg2, (bool *)arg2, 0);
}
SWIGEXPORT jbooleanArray JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor2_1servoMotor_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jbooleanArray jresult = 0 ;
btTranslationalLimitMotor2 *arg1 = (btTranslationalLimitMotor2 *) 0 ;
bool *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTranslationalLimitMotor2 **)&jarg1;
result = (bool *)(bool *) ((arg1)->m_servoMotor);
/*jresult = SWIG_JavaArrayOut##Bool(jenv, (bool *)result, 3);*/
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor2_1enableSpring_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jbooleanArray jarg2) {
btTranslationalLimitMotor2 *arg1 = (btTranslationalLimitMotor2 *) 0 ;
bool *arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTranslationalLimitMotor2 **)&jarg1;
if (jarg2 && jenv->GetArrayLength(jarg2) != 3) {
SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, "incorrect array size");
return ;
}
arg2 = (bool *)jenv->GetPrimitiveArrayCritical(jarg2, 0);
{
size_t ii;
bool *b = (bool *) arg1->m_enableSpring;
for (ii = 0; ii < (size_t)3; ii++) b[ii] = *((bool *) arg2 + ii);
}
jenv->ReleasePrimitiveArrayCritical(jarg2, (bool *)arg2, 0);
}
SWIGEXPORT jbooleanArray JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor2_1enableSpring_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jbooleanArray jresult = 0 ;
btTranslationalLimitMotor2 *arg1 = (btTranslationalLimitMotor2 *) 0 ;
bool *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTranslationalLimitMotor2 **)&jarg1;
result = (bool *)(bool *) ((arg1)->m_enableSpring);
/*jresult = SWIG_JavaArrayOut##Bool(jenv, (bool *)result, 3);*/
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor2_1servoTarget_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btTranslationalLimitMotor2 *arg1 = (btTranslationalLimitMotor2 *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btTranslationalLimitMotor2 **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->m_servoTarget = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor2_1servoTarget_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btTranslationalLimitMotor2 *arg1 = (btTranslationalLimitMotor2 *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTranslationalLimitMotor2 **)&jarg1;
result = (btVector3 *)& ((arg1)->m_servoTarget);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor2_1springStiffness_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btTranslationalLimitMotor2 *arg1 = (btTranslationalLimitMotor2 *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btTranslationalLimitMotor2 **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->m_springStiffness = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor2_1springStiffness_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btTranslationalLimitMotor2 *arg1 = (btTranslationalLimitMotor2 *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTranslationalLimitMotor2 **)&jarg1;
result = (btVector3 *)& ((arg1)->m_springStiffness);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor2_1springStiffnessLimited_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jbooleanArray jarg2) {
btTranslationalLimitMotor2 *arg1 = (btTranslationalLimitMotor2 *) 0 ;
bool *arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTranslationalLimitMotor2 **)&jarg1;
if (jarg2 && jenv->GetArrayLength(jarg2) != 3) {
SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, "incorrect array size");
return ;
}
arg2 = (bool *)jenv->GetPrimitiveArrayCritical(jarg2, 0);
{
size_t ii;
bool *b = (bool *) arg1->m_springStiffnessLimited;
for (ii = 0; ii < (size_t)3; ii++) b[ii] = *((bool *) arg2 + ii);
}
jenv->ReleasePrimitiveArrayCritical(jarg2, (bool *)arg2, 0);
}
SWIGEXPORT jbooleanArray JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor2_1springStiffnessLimited_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jbooleanArray jresult = 0 ;
btTranslationalLimitMotor2 *arg1 = (btTranslationalLimitMotor2 *) 0 ;
bool *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTranslationalLimitMotor2 **)&jarg1;
result = (bool *)(bool *) ((arg1)->m_springStiffnessLimited);
/*jresult = SWIG_JavaArrayOut##Bool(jenv, (bool *)result, 3);*/
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor2_1springDamping_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btTranslationalLimitMotor2 *arg1 = (btTranslationalLimitMotor2 *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btTranslationalLimitMotor2 **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->m_springDamping = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor2_1springDamping_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btTranslationalLimitMotor2 *arg1 = (btTranslationalLimitMotor2 *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTranslationalLimitMotor2 **)&jarg1;
result = (btVector3 *)& ((arg1)->m_springDamping);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor2_1springDampingLimited_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jbooleanArray jarg2) {
btTranslationalLimitMotor2 *arg1 = (btTranslationalLimitMotor2 *) 0 ;
bool *arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTranslationalLimitMotor2 **)&jarg1;
if (jarg2 && jenv->GetArrayLength(jarg2) != 3) {
SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, "incorrect array size");
return ;
}
arg2 = (bool *)jenv->GetPrimitiveArrayCritical(jarg2, 0);
{
size_t ii;
bool *b = (bool *) arg1->m_springDampingLimited;
for (ii = 0; ii < (size_t)3; ii++) b[ii] = *((bool *) arg2 + ii);
}
jenv->ReleasePrimitiveArrayCritical(jarg2, (bool *)arg2, 0);
}
SWIGEXPORT jbooleanArray JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor2_1springDampingLimited_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jbooleanArray jresult = 0 ;
btTranslationalLimitMotor2 *arg1 = (btTranslationalLimitMotor2 *) 0 ;
bool *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTranslationalLimitMotor2 **)&jarg1;
result = (bool *)(bool *) ((arg1)->m_springDampingLimited);
/*jresult = SWIG_JavaArrayOut##Bool(jenv, (bool *)result, 3);*/
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor2_1equilibriumPoint_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btTranslationalLimitMotor2 *arg1 = (btTranslationalLimitMotor2 *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btTranslationalLimitMotor2 **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->m_equilibriumPoint = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor2_1equilibriumPoint_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btTranslationalLimitMotor2 *arg1 = (btTranslationalLimitMotor2 *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTranslationalLimitMotor2 **)&jarg1;
result = (btVector3 *)& ((arg1)->m_equilibriumPoint);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor2_1targetVelocity_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btTranslationalLimitMotor2 *arg1 = (btTranslationalLimitMotor2 *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btTranslationalLimitMotor2 **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->m_targetVelocity = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor2_1targetVelocity_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btTranslationalLimitMotor2 *arg1 = (btTranslationalLimitMotor2 *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTranslationalLimitMotor2 **)&jarg1;
result = (btVector3 *)& ((arg1)->m_targetVelocity);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor2_1maxMotorForce_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btTranslationalLimitMotor2 *arg1 = (btTranslationalLimitMotor2 *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btTranslationalLimitMotor2 **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->m_maxMotorForce = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor2_1maxMotorForce_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btTranslationalLimitMotor2 *arg1 = (btTranslationalLimitMotor2 *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTranslationalLimitMotor2 **)&jarg1;
result = (btVector3 *)& ((arg1)->m_maxMotorForce);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor2_1currentLimitError_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btTranslationalLimitMotor2 *arg1 = (btTranslationalLimitMotor2 *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btTranslationalLimitMotor2 **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->m_currentLimitError = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor2_1currentLimitError_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btTranslationalLimitMotor2 *arg1 = (btTranslationalLimitMotor2 *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTranslationalLimitMotor2 **)&jarg1;
result = (btVector3 *)& ((arg1)->m_currentLimitError);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor2_1currentLimitErrorHi_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btTranslationalLimitMotor2 *arg1 = (btTranslationalLimitMotor2 *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btTranslationalLimitMotor2 **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->m_currentLimitErrorHi = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor2_1currentLimitErrorHi_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btTranslationalLimitMotor2 *arg1 = (btTranslationalLimitMotor2 *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTranslationalLimitMotor2 **)&jarg1;
result = (btVector3 *)& ((arg1)->m_currentLimitErrorHi);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor2_1currentLinearDiff_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btTranslationalLimitMotor2 *arg1 = (btTranslationalLimitMotor2 *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btTranslationalLimitMotor2 **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->m_currentLinearDiff = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor2_1currentLinearDiff_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btTranslationalLimitMotor2 *arg1 = (btTranslationalLimitMotor2 *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTranslationalLimitMotor2 **)&jarg1;
result = (btVector3 *)& ((arg1)->m_currentLinearDiff);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor2_1currentLimit_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jintArray jarg2) {
btTranslationalLimitMotor2 *arg1 = (btTranslationalLimitMotor2 *) 0 ;
int *arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTranslationalLimitMotor2 **)&jarg1;
if (jarg2 && jenv->GetArrayLength(jarg2) != 3) {
SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, "incorrect array size");
return ;
}
arg2 = (int *)jenv->GetPrimitiveArrayCritical(jarg2, 0);
{
size_t ii;
int *b = (int *) arg1->m_currentLimit;
for (ii = 0; ii < (size_t)3; ii++) b[ii] = *((int *) arg2 + ii);
}
jenv->ReleasePrimitiveArrayCritical(jarg2, (int *)arg2, 0);
}
SWIGEXPORT jintArray JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor2_1currentLimit_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jintArray jresult = 0 ;
btTranslationalLimitMotor2 *arg1 = (btTranslationalLimitMotor2 *) 0 ;
int *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTranslationalLimitMotor2 **)&jarg1;
result = (int *)(int *) ((arg1)->m_currentLimit);
/*jresult = SWIG_JavaArrayOut##Int(jenv, (int *)result, 3);*/
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btTranslationalLimitMotor2_1_1SWIG_10(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btTranslationalLimitMotor2 *result = 0 ;
(void)jenv;
(void)jcls;
result = (btTranslationalLimitMotor2 *)new btTranslationalLimitMotor2();
*(btTranslationalLimitMotor2 **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btTranslationalLimitMotor2_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btTranslationalLimitMotor2 *arg1 = 0 ;
btTranslationalLimitMotor2 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTranslationalLimitMotor2 **)&jarg1;
if (!arg1) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btTranslationalLimitMotor2 const & reference is null");
return 0;
}
result = (btTranslationalLimitMotor2 *)new btTranslationalLimitMotor2((btTranslationalLimitMotor2 const &)*arg1);
*(btTranslationalLimitMotor2 **)&jresult = result;
return jresult;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor2_1isLimited(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jboolean jresult = 0 ;
btTranslationalLimitMotor2 *arg1 = (btTranslationalLimitMotor2 *) 0 ;
int arg2 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTranslationalLimitMotor2 **)&jarg1;
arg2 = (int)jarg2;
result = (bool)(arg1)->isLimited(arg2);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor2_1testLimitValue(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jfloat jarg3) {
btTranslationalLimitMotor2 *arg1 = (btTranslationalLimitMotor2 *) 0 ;
int arg2 ;
btScalar arg3 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTranslationalLimitMotor2 **)&jarg1;
arg2 = (int)jarg2;
arg3 = (btScalar)jarg3;
(arg1)->testLimitValue(arg2,arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btTranslationalLimitMotor2(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btTranslationalLimitMotor2 *arg1 = (btTranslationalLimitMotor2 *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btTranslationalLimitMotor2 **)&jarg1;
delete arg1;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2Constraint_1operatorNew_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btGeneric6DofSpring2Constraint *arg1 = (btGeneric6DofSpring2Constraint *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2Constraint **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new(arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2Constraint_1operatorDelete_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btGeneric6DofSpring2Constraint *arg1 = (btGeneric6DofSpring2Constraint *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2Constraint **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete(arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2Constraint_1operatorNew_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btGeneric6DofSpring2Constraint *arg1 = (btGeneric6DofSpring2Constraint *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2Constraint **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new(arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2Constraint_1operatorDelete_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btGeneric6DofSpring2Constraint *arg1 = (btGeneric6DofSpring2Constraint *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2Constraint **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete(arg2,arg3);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2Constraint_1operatorNewArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btGeneric6DofSpring2Constraint *arg1 = (btGeneric6DofSpring2Constraint *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2Constraint **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new[](arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2Constraint_1operatorDeleteArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btGeneric6DofSpring2Constraint *arg1 = (btGeneric6DofSpring2Constraint *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2Constraint **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete[](arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2Constraint_1operatorNewArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btGeneric6DofSpring2Constraint *arg1 = (btGeneric6DofSpring2Constraint *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2Constraint **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new[](arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2Constraint_1operatorDeleteArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btGeneric6DofSpring2Constraint *arg1 = (btGeneric6DofSpring2Constraint *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2Constraint **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete[](arg2,arg3);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btGeneric6DofSpring2Constraint_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jobject jarg3, jobject jarg4, jint jarg5) {
jlong jresult = 0 ;
btRigidBody *arg1 = 0 ;
btRigidBody *arg2 = 0 ;
btTransform *arg3 = 0 ;
btTransform *arg4 = 0 ;
RotateOrder arg5 ;
btGeneric6DofSpring2Constraint *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btRigidBody **)&jarg1;
if (!arg1) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btRigidBody & reference is null");
return 0;
}
arg2 = *(btRigidBody **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btRigidBody & reference is null");
return 0;
}
btTransform local_arg3;
gdx_setbtTransformFromMatrix4(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitMatrix4 auto_commit_arg3(jenv, jarg3, &local_arg3);
btTransform local_arg4;
gdx_setbtTransformFromMatrix4(jenv, local_arg4, jarg4);
arg4 = &local_arg4;
gdxAutoCommitMatrix4 auto_commit_arg4(jenv, jarg4, &local_arg4);
arg5 = (RotateOrder)jarg5;
result = (btGeneric6DofSpring2Constraint *)new btGeneric6DofSpring2Constraint(*arg1,*arg2,(btTransform const &)*arg3,(btTransform const &)*arg4,arg5);
*(btGeneric6DofSpring2Constraint **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btGeneric6DofSpring2Constraint_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jobject jarg3, jobject jarg4) {
jlong jresult = 0 ;
btRigidBody *arg1 = 0 ;
btRigidBody *arg2 = 0 ;
btTransform *arg3 = 0 ;
btTransform *arg4 = 0 ;
btGeneric6DofSpring2Constraint *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btRigidBody **)&jarg1;
if (!arg1) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btRigidBody & reference is null");
return 0;
}
arg2 = *(btRigidBody **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btRigidBody & reference is null");
return 0;
}
btTransform local_arg3;
gdx_setbtTransformFromMatrix4(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitMatrix4 auto_commit_arg3(jenv, jarg3, &local_arg3);
btTransform local_arg4;
gdx_setbtTransformFromMatrix4(jenv, local_arg4, jarg4);
arg4 = &local_arg4;
gdxAutoCommitMatrix4 auto_commit_arg4(jenv, jarg4, &local_arg4);
result = (btGeneric6DofSpring2Constraint *)new btGeneric6DofSpring2Constraint(*arg1,*arg2,(btTransform const &)*arg3,(btTransform const &)*arg4);
*(btGeneric6DofSpring2Constraint **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btGeneric6DofSpring2Constraint_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jint jarg3) {
jlong jresult = 0 ;
btRigidBody *arg1 = 0 ;
btTransform *arg2 = 0 ;
RotateOrder arg3 ;
btGeneric6DofSpring2Constraint *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody **)&jarg1;
if (!arg1) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btRigidBody & reference is null");
return 0;
}
btTransform local_arg2;
gdx_setbtTransformFromMatrix4(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitMatrix4 auto_commit_arg2(jenv, jarg2, &local_arg2);
arg3 = (RotateOrder)jarg3;
result = (btGeneric6DofSpring2Constraint *)new btGeneric6DofSpring2Constraint(*arg1,(btTransform const &)*arg2,arg3);
*(btGeneric6DofSpring2Constraint **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btGeneric6DofSpring2Constraint_1_1SWIG_13(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
jlong jresult = 0 ;
btRigidBody *arg1 = 0 ;
btTransform *arg2 = 0 ;
btGeneric6DofSpring2Constraint *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody **)&jarg1;
if (!arg1) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btRigidBody & reference is null");
return 0;
}
btTransform local_arg2;
gdx_setbtTransformFromMatrix4(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitMatrix4 auto_commit_arg2(jenv, jarg2, &local_arg2);
result = (btGeneric6DofSpring2Constraint *)new btGeneric6DofSpring2Constraint(*arg1,(btTransform const &)*arg2);
*(btGeneric6DofSpring2Constraint **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2Constraint_1getRotationalLimitMotor(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jlong jresult = 0 ;
btGeneric6DofSpring2Constraint *arg1 = (btGeneric6DofSpring2Constraint *) 0 ;
int arg2 ;
btRotationalLimitMotor2 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2Constraint **)&jarg1;
arg2 = (int)jarg2;
result = (btRotationalLimitMotor2 *)(arg1)->getRotationalLimitMotor(arg2);
*(btRotationalLimitMotor2 **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2Constraint_1getTranslationalLimitMotor(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btGeneric6DofSpring2Constraint *arg1 = (btGeneric6DofSpring2Constraint *) 0 ;
btTranslationalLimitMotor2 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2Constraint **)&jarg1;
result = (btTranslationalLimitMotor2 *)(arg1)->getTranslationalLimitMotor();
*(btTranslationalLimitMotor2 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2Constraint_1calculateTransforms_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jobject jarg3) {
btGeneric6DofSpring2Constraint *arg1 = (btGeneric6DofSpring2Constraint *) 0 ;
btTransform *arg2 = 0 ;
btTransform *arg3 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2Constraint **)&jarg1;
btTransform local_arg2;
gdx_setbtTransformFromMatrix4(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitMatrix4 auto_commit_arg2(jenv, jarg2, &local_arg2);
btTransform local_arg3;
gdx_setbtTransformFromMatrix4(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitMatrix4 auto_commit_arg3(jenv, jarg3, &local_arg3);
(arg1)->calculateTransforms((btTransform const &)*arg2,(btTransform const &)*arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2Constraint_1calculateTransforms_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
btGeneric6DofSpring2Constraint *arg1 = (btGeneric6DofSpring2Constraint *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2Constraint **)&jarg1;
(arg1)->calculateTransforms();
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2Constraint_1getCalculatedTransformA(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btGeneric6DofSpring2Constraint *arg1 = (btGeneric6DofSpring2Constraint *) 0 ;
btTransform *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2Constraint **)&jarg1;
result = (btTransform *) &((btGeneric6DofSpring2Constraint const *)arg1)->getCalculatedTransformA();
jresult = gdx_getReturnMatrix4(jenv);
gdx_setMatrix4FrombtTransform(jenv, jresult, result);
return jresult;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2Constraint_1getCalculatedTransformB(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btGeneric6DofSpring2Constraint *arg1 = (btGeneric6DofSpring2Constraint *) 0 ;
btTransform *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2Constraint **)&jarg1;
result = (btTransform *) &((btGeneric6DofSpring2Constraint const *)arg1)->getCalculatedTransformB();
jresult = gdx_getReturnMatrix4(jenv);
gdx_setMatrix4FrombtTransform(jenv, jresult, result);
return jresult;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2Constraint_1getFrameOffsetAConst(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btGeneric6DofSpring2Constraint *arg1 = (btGeneric6DofSpring2Constraint *) 0 ;
btTransform *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2Constraint **)&jarg1;
result = (btTransform *) &((btGeneric6DofSpring2Constraint const *)arg1)->getFrameOffsetA();
jresult = gdx_getReturnMatrix4(jenv);
gdx_setMatrix4FrombtTransform(jenv, jresult, result);
return jresult;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2Constraint_1getFrameOffsetBConst(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btGeneric6DofSpring2Constraint *arg1 = (btGeneric6DofSpring2Constraint *) 0 ;
btTransform *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2Constraint **)&jarg1;
result = (btTransform *) &((btGeneric6DofSpring2Constraint const *)arg1)->getFrameOffsetB();
jresult = gdx_getReturnMatrix4(jenv);
gdx_setMatrix4FrombtTransform(jenv, jresult, result);
return jresult;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2Constraint_1getFrameOffsetA(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btGeneric6DofSpring2Constraint *arg1 = (btGeneric6DofSpring2Constraint *) 0 ;
btTransform *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2Constraint **)&jarg1;
result = (btTransform *) &(arg1)->getFrameOffsetA();
jresult = gdx_getReturnMatrix4(jenv);
gdx_setMatrix4FrombtTransform(jenv, jresult, result);
return jresult;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2Constraint_1getFrameOffsetB(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btGeneric6DofSpring2Constraint *arg1 = (btGeneric6DofSpring2Constraint *) 0 ;
btTransform *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2Constraint **)&jarg1;
result = (btTransform *) &(arg1)->getFrameOffsetB();
jresult = gdx_getReturnMatrix4(jenv);
gdx_setMatrix4FrombtTransform(jenv, jresult, result);
return jresult;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2Constraint_1getAxis(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jobject jresult = 0 ;
btGeneric6DofSpring2Constraint *arg1 = (btGeneric6DofSpring2Constraint *) 0 ;
int arg2 ;
btVector3 result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2Constraint **)&jarg1;
arg2 = (int)jarg2;
result = ((btGeneric6DofSpring2Constraint const *)arg1)->getAxis(arg2);
jresult = gdx_getReturnVector3(jenv);
gdx_setVector3FrombtVector3(jenv, jresult, result);
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2Constraint_1getAngle(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jfloat jresult = 0 ;
btGeneric6DofSpring2Constraint *arg1 = (btGeneric6DofSpring2Constraint *) 0 ;
int arg2 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2Constraint **)&jarg1;
arg2 = (int)jarg2;
result = (btScalar)((btGeneric6DofSpring2Constraint const *)arg1)->getAngle(arg2);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2Constraint_1getRelativePivotPosition(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jfloat jresult = 0 ;
btGeneric6DofSpring2Constraint *arg1 = (btGeneric6DofSpring2Constraint *) 0 ;
int arg2 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2Constraint **)&jarg1;
arg2 = (int)jarg2;
result = (btScalar)((btGeneric6DofSpring2Constraint const *)arg1)->getRelativePivotPosition(arg2);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2Constraint_1setFrames(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jobject jarg3) {
btGeneric6DofSpring2Constraint *arg1 = (btGeneric6DofSpring2Constraint *) 0 ;
btTransform *arg2 = 0 ;
btTransform *arg3 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2Constraint **)&jarg1;
btTransform local_arg2;
gdx_setbtTransformFromMatrix4(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitMatrix4 auto_commit_arg2(jenv, jarg2, &local_arg2);
btTransform local_arg3;
gdx_setbtTransformFromMatrix4(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitMatrix4 auto_commit_arg3(jenv, jarg3, &local_arg3);
(arg1)->setFrames((btTransform const &)*arg2,(btTransform const &)*arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2Constraint_1setLinearLowerLimit(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btGeneric6DofSpring2Constraint *arg1 = (btGeneric6DofSpring2Constraint *) 0 ;
btVector3 *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2Constraint **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
(arg1)->setLinearLowerLimit((btVector3 const &)*arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2Constraint_1getLinearLowerLimit(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btGeneric6DofSpring2Constraint *arg1 = (btGeneric6DofSpring2Constraint *) 0 ;
btVector3 *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2Constraint **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
(arg1)->getLinearLowerLimit(*arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2Constraint_1setLinearUpperLimit(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btGeneric6DofSpring2Constraint *arg1 = (btGeneric6DofSpring2Constraint *) 0 ;
btVector3 *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2Constraint **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
(arg1)->setLinearUpperLimit((btVector3 const &)*arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2Constraint_1getLinearUpperLimit(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btGeneric6DofSpring2Constraint *arg1 = (btGeneric6DofSpring2Constraint *) 0 ;
btVector3 *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2Constraint **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
(arg1)->getLinearUpperLimit(*arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2Constraint_1setAngularLowerLimit(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btGeneric6DofSpring2Constraint *arg1 = (btGeneric6DofSpring2Constraint *) 0 ;
btVector3 *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2Constraint **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
(arg1)->setAngularLowerLimit((btVector3 const &)*arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2Constraint_1setAngularLowerLimitReversed(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btGeneric6DofSpring2Constraint *arg1 = (btGeneric6DofSpring2Constraint *) 0 ;
btVector3 *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2Constraint **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
(arg1)->setAngularLowerLimitReversed((btVector3 const &)*arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2Constraint_1getAngularLowerLimit(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btGeneric6DofSpring2Constraint *arg1 = (btGeneric6DofSpring2Constraint *) 0 ;
btVector3 *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2Constraint **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
(arg1)->getAngularLowerLimit(*arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2Constraint_1getAngularLowerLimitReversed(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btGeneric6DofSpring2Constraint *arg1 = (btGeneric6DofSpring2Constraint *) 0 ;
btVector3 *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2Constraint **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
(arg1)->getAngularLowerLimitReversed(*arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2Constraint_1setAngularUpperLimit(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btGeneric6DofSpring2Constraint *arg1 = (btGeneric6DofSpring2Constraint *) 0 ;
btVector3 *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2Constraint **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
(arg1)->setAngularUpperLimit((btVector3 const &)*arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2Constraint_1setAngularUpperLimitReversed(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btGeneric6DofSpring2Constraint *arg1 = (btGeneric6DofSpring2Constraint *) 0 ;
btVector3 *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2Constraint **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
(arg1)->setAngularUpperLimitReversed((btVector3 const &)*arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2Constraint_1getAngularUpperLimit(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btGeneric6DofSpring2Constraint *arg1 = (btGeneric6DofSpring2Constraint *) 0 ;
btVector3 *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2Constraint **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
(arg1)->getAngularUpperLimit(*arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2Constraint_1getAngularUpperLimitReversed(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btGeneric6DofSpring2Constraint *arg1 = (btGeneric6DofSpring2Constraint *) 0 ;
btVector3 *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2Constraint **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
(arg1)->getAngularUpperLimitReversed(*arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2Constraint_1setLimit(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jfloat jarg3, jfloat jarg4) {
btGeneric6DofSpring2Constraint *arg1 = (btGeneric6DofSpring2Constraint *) 0 ;
int arg2 ;
btScalar arg3 ;
btScalar arg4 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2Constraint **)&jarg1;
arg2 = (int)jarg2;
arg3 = (btScalar)jarg3;
arg4 = (btScalar)jarg4;
(arg1)->setLimit(arg2,arg3,arg4);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2Constraint_1setLimitReversed(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jfloat jarg3, jfloat jarg4) {
btGeneric6DofSpring2Constraint *arg1 = (btGeneric6DofSpring2Constraint *) 0 ;
int arg2 ;
btScalar arg3 ;
btScalar arg4 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2Constraint **)&jarg1;
arg2 = (int)jarg2;
arg3 = (btScalar)jarg3;
arg4 = (btScalar)jarg4;
(arg1)->setLimitReversed(arg2,arg3,arg4);
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2Constraint_1isLimited(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jboolean jresult = 0 ;
btGeneric6DofSpring2Constraint *arg1 = (btGeneric6DofSpring2Constraint *) 0 ;
int arg2 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2Constraint **)&jarg1;
arg2 = (int)jarg2;
result = (bool)(arg1)->isLimited(arg2);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2Constraint_1setRotationOrder(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btGeneric6DofSpring2Constraint *arg1 = (btGeneric6DofSpring2Constraint *) 0 ;
RotateOrder arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2Constraint **)&jarg1;
arg2 = (RotateOrder)jarg2;
(arg1)->setRotationOrder(arg2);
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2Constraint_1getRotationOrder(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btGeneric6DofSpring2Constraint *arg1 = (btGeneric6DofSpring2Constraint *) 0 ;
RotateOrder result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2Constraint **)&jarg1;
result = (RotateOrder)(arg1)->getRotationOrder();
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2Constraint_1setAxis(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jobject jarg3) {
btGeneric6DofSpring2Constraint *arg1 = (btGeneric6DofSpring2Constraint *) 0 ;
btVector3 *arg2 = 0 ;
btVector3 *arg3 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2Constraint **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
(arg1)->setAxis((btVector3 const &)*arg2,(btVector3 const &)*arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2Constraint_1setBounce(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jfloat jarg3) {
btGeneric6DofSpring2Constraint *arg1 = (btGeneric6DofSpring2Constraint *) 0 ;
int arg2 ;
btScalar arg3 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2Constraint **)&jarg1;
arg2 = (int)jarg2;
arg3 = (btScalar)jarg3;
(arg1)->setBounce(arg2,arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2Constraint_1enableMotor(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jboolean jarg3) {
btGeneric6DofSpring2Constraint *arg1 = (btGeneric6DofSpring2Constraint *) 0 ;
int arg2 ;
bool arg3 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2Constraint **)&jarg1;
arg2 = (int)jarg2;
arg3 = jarg3 ? true : false;
(arg1)->enableMotor(arg2,arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2Constraint_1setServo(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jboolean jarg3) {
btGeneric6DofSpring2Constraint *arg1 = (btGeneric6DofSpring2Constraint *) 0 ;
int arg2 ;
bool arg3 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2Constraint **)&jarg1;
arg2 = (int)jarg2;
arg3 = jarg3 ? true : false;
(arg1)->setServo(arg2,arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2Constraint_1setTargetVelocity(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jfloat jarg3) {
btGeneric6DofSpring2Constraint *arg1 = (btGeneric6DofSpring2Constraint *) 0 ;
int arg2 ;
btScalar arg3 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2Constraint **)&jarg1;
arg2 = (int)jarg2;
arg3 = (btScalar)jarg3;
(arg1)->setTargetVelocity(arg2,arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2Constraint_1setServoTarget(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jfloat jarg3) {
btGeneric6DofSpring2Constraint *arg1 = (btGeneric6DofSpring2Constraint *) 0 ;
int arg2 ;
btScalar arg3 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2Constraint **)&jarg1;
arg2 = (int)jarg2;
arg3 = (btScalar)jarg3;
(arg1)->setServoTarget(arg2,arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2Constraint_1setMaxMotorForce(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jfloat jarg3) {
btGeneric6DofSpring2Constraint *arg1 = (btGeneric6DofSpring2Constraint *) 0 ;
int arg2 ;
btScalar arg3 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2Constraint **)&jarg1;
arg2 = (int)jarg2;
arg3 = (btScalar)jarg3;
(arg1)->setMaxMotorForce(arg2,arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2Constraint_1enableSpring(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jboolean jarg3) {
btGeneric6DofSpring2Constraint *arg1 = (btGeneric6DofSpring2Constraint *) 0 ;
int arg2 ;
bool arg3 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2Constraint **)&jarg1;
arg2 = (int)jarg2;
arg3 = jarg3 ? true : false;
(arg1)->enableSpring(arg2,arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2Constraint_1setStiffness_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jfloat jarg3, jboolean jarg4) {
btGeneric6DofSpring2Constraint *arg1 = (btGeneric6DofSpring2Constraint *) 0 ;
int arg2 ;
btScalar arg3 ;
bool arg4 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2Constraint **)&jarg1;
arg2 = (int)jarg2;
arg3 = (btScalar)jarg3;
arg4 = jarg4 ? true : false;
(arg1)->setStiffness(arg2,arg3,arg4);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2Constraint_1setStiffness_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jfloat jarg3) {
btGeneric6DofSpring2Constraint *arg1 = (btGeneric6DofSpring2Constraint *) 0 ;
int arg2 ;
btScalar arg3 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2Constraint **)&jarg1;
arg2 = (int)jarg2;
arg3 = (btScalar)jarg3;
(arg1)->setStiffness(arg2,arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2Constraint_1setDamping_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jfloat jarg3, jboolean jarg4) {
btGeneric6DofSpring2Constraint *arg1 = (btGeneric6DofSpring2Constraint *) 0 ;
int arg2 ;
btScalar arg3 ;
bool arg4 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2Constraint **)&jarg1;
arg2 = (int)jarg2;
arg3 = (btScalar)jarg3;
arg4 = jarg4 ? true : false;
(arg1)->setDamping(arg2,arg3,arg4);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2Constraint_1setDamping_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jfloat jarg3) {
btGeneric6DofSpring2Constraint *arg1 = (btGeneric6DofSpring2Constraint *) 0 ;
int arg2 ;
btScalar arg3 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2Constraint **)&jarg1;
arg2 = (int)jarg2;
arg3 = (btScalar)jarg3;
(arg1)->setDamping(arg2,arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2Constraint_1setEquilibriumPoint_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
btGeneric6DofSpring2Constraint *arg1 = (btGeneric6DofSpring2Constraint *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2Constraint **)&jarg1;
(arg1)->setEquilibriumPoint();
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2Constraint_1setEquilibriumPoint_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btGeneric6DofSpring2Constraint *arg1 = (btGeneric6DofSpring2Constraint *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2Constraint **)&jarg1;
arg2 = (int)jarg2;
(arg1)->setEquilibriumPoint(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2Constraint_1setEquilibriumPoint_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jfloat jarg3) {
btGeneric6DofSpring2Constraint *arg1 = (btGeneric6DofSpring2Constraint *) 0 ;
int arg2 ;
btScalar arg3 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2Constraint **)&jarg1;
arg2 = (int)jarg2;
arg3 = (btScalar)jarg3;
(arg1)->setEquilibriumPoint(arg2,arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2Constraint_1setParam_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jfloat jarg3, jint jarg4) {
btGeneric6DofSpring2Constraint *arg1 = (btGeneric6DofSpring2Constraint *) 0 ;
int arg2 ;
btScalar arg3 ;
int arg4 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2Constraint **)&jarg1;
arg2 = (int)jarg2;
arg3 = (btScalar)jarg3;
arg4 = (int)jarg4;
(arg1)->setParam(arg2,arg3,arg4);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2Constraint_1setParam_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jfloat jarg3) {
btGeneric6DofSpring2Constraint *arg1 = (btGeneric6DofSpring2Constraint *) 0 ;
int arg2 ;
btScalar arg3 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2Constraint **)&jarg1;
arg2 = (int)jarg2;
arg3 = (btScalar)jarg3;
(arg1)->setParam(arg2,arg3);
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2Constraint_1getParam_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jint jarg3) {
jfloat jresult = 0 ;
btGeneric6DofSpring2Constraint *arg1 = (btGeneric6DofSpring2Constraint *) 0 ;
int arg2 ;
int arg3 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2Constraint **)&jarg1;
arg2 = (int)jarg2;
arg3 = (int)jarg3;
result = (btScalar)((btGeneric6DofSpring2Constraint const *)arg1)->getParam(arg2,arg3);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2Constraint_1getParam_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jfloat jresult = 0 ;
btGeneric6DofSpring2Constraint *arg1 = (btGeneric6DofSpring2Constraint *) 0 ;
int arg2 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2Constraint **)&jarg1;
arg2 = (int)jarg2;
result = (btScalar)((btGeneric6DofSpring2Constraint const *)arg1)->getParam(arg2);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2Constraint_1btGetMatrixElem(JNIEnv *jenv, jclass jcls, jobject jarg1, jint jarg2) {
jfloat jresult = 0 ;
btMatrix3x3 *arg1 = 0 ;
int arg2 ;
btScalar result;
(void)jenv;
(void)jcls;
btMatrix3x3 local_arg1;
gdx_setbtMatrix3x3FromMatrix3(jenv, local_arg1, jarg1);
arg1 = &local_arg1;
gdxAutoCommitMatrix3 auto_commit_arg1(jenv, jarg1, &local_arg1);
arg2 = (int)jarg2;
result = (btScalar)btGeneric6DofSpring2Constraint::btGetMatrixElem((btMatrix3x3 const &)*arg1,arg2);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2Constraint_1matrixToEulerXYZ(JNIEnv *jenv, jclass jcls, jobject jarg1, jobject jarg2) {
jboolean jresult = 0 ;
btMatrix3x3 *arg1 = 0 ;
btVector3 *arg2 = 0 ;
bool result;
(void)jenv;
(void)jcls;
btMatrix3x3 local_arg1;
gdx_setbtMatrix3x3FromMatrix3(jenv, local_arg1, jarg1);
arg1 = &local_arg1;
gdxAutoCommitMatrix3 auto_commit_arg1(jenv, jarg1, &local_arg1);
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
result = (bool)btGeneric6DofSpring2Constraint::matrixToEulerXYZ((btMatrix3x3 const &)*arg1,*arg2);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2Constraint_1matrixToEulerXZY(JNIEnv *jenv, jclass jcls, jobject jarg1, jobject jarg2) {
jboolean jresult = 0 ;
btMatrix3x3 *arg1 = 0 ;
btVector3 *arg2 = 0 ;
bool result;
(void)jenv;
(void)jcls;
btMatrix3x3 local_arg1;
gdx_setbtMatrix3x3FromMatrix3(jenv, local_arg1, jarg1);
arg1 = &local_arg1;
gdxAutoCommitMatrix3 auto_commit_arg1(jenv, jarg1, &local_arg1);
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
result = (bool)btGeneric6DofSpring2Constraint::matrixToEulerXZY((btMatrix3x3 const &)*arg1,*arg2);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2Constraint_1matrixToEulerYXZ(JNIEnv *jenv, jclass jcls, jobject jarg1, jobject jarg2) {
jboolean jresult = 0 ;
btMatrix3x3 *arg1 = 0 ;
btVector3 *arg2 = 0 ;
bool result;
(void)jenv;
(void)jcls;
btMatrix3x3 local_arg1;
gdx_setbtMatrix3x3FromMatrix3(jenv, local_arg1, jarg1);
arg1 = &local_arg1;
gdxAutoCommitMatrix3 auto_commit_arg1(jenv, jarg1, &local_arg1);
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
result = (bool)btGeneric6DofSpring2Constraint::matrixToEulerYXZ((btMatrix3x3 const &)*arg1,*arg2);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2Constraint_1matrixToEulerYZX(JNIEnv *jenv, jclass jcls, jobject jarg1, jobject jarg2) {
jboolean jresult = 0 ;
btMatrix3x3 *arg1 = 0 ;
btVector3 *arg2 = 0 ;
bool result;
(void)jenv;
(void)jcls;
btMatrix3x3 local_arg1;
gdx_setbtMatrix3x3FromMatrix3(jenv, local_arg1, jarg1);
arg1 = &local_arg1;
gdxAutoCommitMatrix3 auto_commit_arg1(jenv, jarg1, &local_arg1);
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
result = (bool)btGeneric6DofSpring2Constraint::matrixToEulerYZX((btMatrix3x3 const &)*arg1,*arg2);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2Constraint_1matrixToEulerZXY(JNIEnv *jenv, jclass jcls, jobject jarg1, jobject jarg2) {
jboolean jresult = 0 ;
btMatrix3x3 *arg1 = 0 ;
btVector3 *arg2 = 0 ;
bool result;
(void)jenv;
(void)jcls;
btMatrix3x3 local_arg1;
gdx_setbtMatrix3x3FromMatrix3(jenv, local_arg1, jarg1);
arg1 = &local_arg1;
gdxAutoCommitMatrix3 auto_commit_arg1(jenv, jarg1, &local_arg1);
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
result = (bool)btGeneric6DofSpring2Constraint::matrixToEulerZXY((btMatrix3x3 const &)*arg1,*arg2);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2Constraint_1matrixToEulerZYX(JNIEnv *jenv, jclass jcls, jobject jarg1, jobject jarg2) {
jboolean jresult = 0 ;
btMatrix3x3 *arg1 = 0 ;
btVector3 *arg2 = 0 ;
bool result;
(void)jenv;
(void)jcls;
btMatrix3x3 local_arg1;
gdx_setbtMatrix3x3FromMatrix3(jenv, local_arg1, jarg1);
arg1 = &local_arg1;
gdxAutoCommitMatrix3 auto_commit_arg1(jenv, jarg1, &local_arg1);
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
result = (bool)btGeneric6DofSpring2Constraint::matrixToEulerZYX((btMatrix3x3 const &)*arg1,*arg2);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btGeneric6DofSpring2Constraint(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btGeneric6DofSpring2Constraint *arg1 = (btGeneric6DofSpring2Constraint *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btGeneric6DofSpring2Constraint **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1typeConstraintData_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ;
btTypedConstraintData *arg2 = (btTypedConstraintData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1;
arg2 = *(btTypedConstraintData **)&jarg2;
if (arg1) (arg1)->m_typeConstraintData = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1typeConstraintData_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ;
btTypedConstraintData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1;
result = (btTypedConstraintData *)& ((arg1)->m_typeConstraintData);
*(btTypedConstraintData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1rbAFrame_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ;
btTransformFloatData *arg2 = (btTransformFloatData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1;
arg2 = *(btTransformFloatData **)&jarg2;
if (arg1) (arg1)->m_rbAFrame = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1rbAFrame_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ;
btTransformFloatData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1;
result = (btTransformFloatData *)& ((arg1)->m_rbAFrame);
*(btTransformFloatData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1rbBFrame_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ;
btTransformFloatData *arg2 = (btTransformFloatData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1;
arg2 = *(btTransformFloatData **)&jarg2;
if (arg1) (arg1)->m_rbBFrame = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1rbBFrame_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ;
btTransformFloatData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1;
result = (btTransformFloatData *)& ((arg1)->m_rbBFrame);
*(btTransformFloatData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1linearUpperLimit_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ;
btVector3FloatData *arg2 = (btVector3FloatData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1;
arg2 = *(btVector3FloatData **)&jarg2;
if (arg1) (arg1)->m_linearUpperLimit = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1linearUpperLimit_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ;
btVector3FloatData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1;
result = (btVector3FloatData *)& ((arg1)->m_linearUpperLimit);
*(btVector3FloatData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1linearLowerLimit_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ;
btVector3FloatData *arg2 = (btVector3FloatData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1;
arg2 = *(btVector3FloatData **)&jarg2;
if (arg1) (arg1)->m_linearLowerLimit = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1linearLowerLimit_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ;
btVector3FloatData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1;
result = (btVector3FloatData *)& ((arg1)->m_linearLowerLimit);
*(btVector3FloatData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1linearBounce_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ;
btVector3FloatData *arg2 = (btVector3FloatData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1;
arg2 = *(btVector3FloatData **)&jarg2;
if (arg1) (arg1)->m_linearBounce = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1linearBounce_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ;
btVector3FloatData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1;
result = (btVector3FloatData *)& ((arg1)->m_linearBounce);
*(btVector3FloatData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1linearStopERP_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ;
btVector3FloatData *arg2 = (btVector3FloatData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1;
arg2 = *(btVector3FloatData **)&jarg2;
if (arg1) (arg1)->m_linearStopERP = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1linearStopERP_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ;
btVector3FloatData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1;
result = (btVector3FloatData *)& ((arg1)->m_linearStopERP);
*(btVector3FloatData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1linearStopCFM_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ;
btVector3FloatData *arg2 = (btVector3FloatData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1;
arg2 = *(btVector3FloatData **)&jarg2;
if (arg1) (arg1)->m_linearStopCFM = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1linearStopCFM_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ;
btVector3FloatData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1;
result = (btVector3FloatData *)& ((arg1)->m_linearStopCFM);
*(btVector3FloatData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1linearMotorERP_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ;
btVector3FloatData *arg2 = (btVector3FloatData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1;
arg2 = *(btVector3FloatData **)&jarg2;
if (arg1) (arg1)->m_linearMotorERP = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1linearMotorERP_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ;
btVector3FloatData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1;
result = (btVector3FloatData *)& ((arg1)->m_linearMotorERP);
*(btVector3FloatData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1linearMotorCFM_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ;
btVector3FloatData *arg2 = (btVector3FloatData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1;
arg2 = *(btVector3FloatData **)&jarg2;
if (arg1) (arg1)->m_linearMotorCFM = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1linearMotorCFM_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ;
btVector3FloatData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1;
result = (btVector3FloatData *)& ((arg1)->m_linearMotorCFM);
*(btVector3FloatData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1linearTargetVelocity_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ;
btVector3FloatData *arg2 = (btVector3FloatData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1;
arg2 = *(btVector3FloatData **)&jarg2;
if (arg1) (arg1)->m_linearTargetVelocity = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1linearTargetVelocity_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ;
btVector3FloatData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1;
result = (btVector3FloatData *)& ((arg1)->m_linearTargetVelocity);
*(btVector3FloatData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1linearMaxMotorForce_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ;
btVector3FloatData *arg2 = (btVector3FloatData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1;
arg2 = *(btVector3FloatData **)&jarg2;
if (arg1) (arg1)->m_linearMaxMotorForce = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1linearMaxMotorForce_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ;
btVector3FloatData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1;
result = (btVector3FloatData *)& ((arg1)->m_linearMaxMotorForce);
*(btVector3FloatData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1linearServoTarget_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ;
btVector3FloatData *arg2 = (btVector3FloatData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1;
arg2 = *(btVector3FloatData **)&jarg2;
if (arg1) (arg1)->m_linearServoTarget = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1linearServoTarget_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ;
btVector3FloatData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1;
result = (btVector3FloatData *)& ((arg1)->m_linearServoTarget);
*(btVector3FloatData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1linearSpringStiffness_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ;
btVector3FloatData *arg2 = (btVector3FloatData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1;
arg2 = *(btVector3FloatData **)&jarg2;
if (arg1) (arg1)->m_linearSpringStiffness = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1linearSpringStiffness_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ;
btVector3FloatData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1;
result = (btVector3FloatData *)& ((arg1)->m_linearSpringStiffness);
*(btVector3FloatData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1linearSpringDamping_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ;
btVector3FloatData *arg2 = (btVector3FloatData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1;
arg2 = *(btVector3FloatData **)&jarg2;
if (arg1) (arg1)->m_linearSpringDamping = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1linearSpringDamping_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ;
btVector3FloatData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1;
result = (btVector3FloatData *)& ((arg1)->m_linearSpringDamping);
*(btVector3FloatData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1linearEquilibriumPoint_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ;
btVector3FloatData *arg2 = (btVector3FloatData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1;
arg2 = *(btVector3FloatData **)&jarg2;
if (arg1) (arg1)->m_linearEquilibriumPoint = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1linearEquilibriumPoint_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ;
btVector3FloatData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1;
result = (btVector3FloatData *)& ((arg1)->m_linearEquilibriumPoint);
*(btVector3FloatData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1linearEnableMotor_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ;
char *arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1;
arg2 = 0;
if (jarg2) {
arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
if (!arg2) return ;
}
{
if(arg2) {
strncpy((char*)arg1->m_linearEnableMotor, (const char *)arg2, 4-1);
arg1->m_linearEnableMotor[4-1] = 0;
} else {
arg1->m_linearEnableMotor[0] = 0;
}
}
if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
}
SWIGEXPORT jstring JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1linearEnableMotor_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jstring jresult = 0 ;
btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ;
char *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1;
result = (char *)(char *) ((arg1)->m_linearEnableMotor);
if (result) jresult = jenv->NewStringUTF((const char *)result);
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1linearServoMotor_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ;
char *arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1;
arg2 = 0;
if (jarg2) {
arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
if (!arg2) return ;
}
{
if(arg2) {
strncpy((char*)arg1->m_linearServoMotor, (const char *)arg2, 4-1);
arg1->m_linearServoMotor[4-1] = 0;
} else {
arg1->m_linearServoMotor[0] = 0;
}
}
if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
}
SWIGEXPORT jstring JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1linearServoMotor_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jstring jresult = 0 ;
btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ;
char *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1;
result = (char *)(char *) ((arg1)->m_linearServoMotor);
if (result) jresult = jenv->NewStringUTF((const char *)result);
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1linearEnableSpring_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ;
char *arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1;
arg2 = 0;
if (jarg2) {
arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
if (!arg2) return ;
}
{
if(arg2) {
strncpy((char*)arg1->m_linearEnableSpring, (const char *)arg2, 4-1);
arg1->m_linearEnableSpring[4-1] = 0;
} else {
arg1->m_linearEnableSpring[0] = 0;
}
}
if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
}
SWIGEXPORT jstring JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1linearEnableSpring_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jstring jresult = 0 ;
btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ;
char *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1;
result = (char *)(char *) ((arg1)->m_linearEnableSpring);
if (result) jresult = jenv->NewStringUTF((const char *)result);
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1linearSpringStiffnessLimited_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ;
char *arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1;
arg2 = 0;
if (jarg2) {
arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
if (!arg2) return ;
}
{
if(arg2) {
strncpy((char*)arg1->m_linearSpringStiffnessLimited, (const char *)arg2, 4-1);
arg1->m_linearSpringStiffnessLimited[4-1] = 0;
} else {
arg1->m_linearSpringStiffnessLimited[0] = 0;
}
}
if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
}
SWIGEXPORT jstring JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1linearSpringStiffnessLimited_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jstring jresult = 0 ;
btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ;
char *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1;
result = (char *)(char *) ((arg1)->m_linearSpringStiffnessLimited);
if (result) jresult = jenv->NewStringUTF((const char *)result);
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1linearSpringDampingLimited_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ;
char *arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1;
arg2 = 0;
if (jarg2) {
arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
if (!arg2) return ;
}
{
if(arg2) {
strncpy((char*)arg1->m_linearSpringDampingLimited, (const char *)arg2, 4-1);
arg1->m_linearSpringDampingLimited[4-1] = 0;
} else {
arg1->m_linearSpringDampingLimited[0] = 0;
}
}
if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
}
SWIGEXPORT jstring JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1linearSpringDampingLimited_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jstring jresult = 0 ;
btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ;
char *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1;
result = (char *)(char *) ((arg1)->m_linearSpringDampingLimited);
if (result) jresult = jenv->NewStringUTF((const char *)result);
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1padding1_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ;
char *arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1;
arg2 = 0;
if (jarg2) {
arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
if (!arg2) return ;
}
{
if(arg2) {
strncpy((char*)arg1->m_padding1, (const char *)arg2, 4-1);
arg1->m_padding1[4-1] = 0;
} else {
arg1->m_padding1[0] = 0;
}
}
if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
}
SWIGEXPORT jstring JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1padding1_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jstring jresult = 0 ;
btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ;
char *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1;
result = (char *)(char *) ((arg1)->m_padding1);
if (result) jresult = jenv->NewStringUTF((const char *)result);
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1angularUpperLimit_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ;
btVector3FloatData *arg2 = (btVector3FloatData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1;
arg2 = *(btVector3FloatData **)&jarg2;
if (arg1) (arg1)->m_angularUpperLimit = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1angularUpperLimit_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ;
btVector3FloatData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1;
result = (btVector3FloatData *)& ((arg1)->m_angularUpperLimit);
*(btVector3FloatData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1angularLowerLimit_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ;
btVector3FloatData *arg2 = (btVector3FloatData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1;
arg2 = *(btVector3FloatData **)&jarg2;
if (arg1) (arg1)->m_angularLowerLimit = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1angularLowerLimit_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ;
btVector3FloatData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1;
result = (btVector3FloatData *)& ((arg1)->m_angularLowerLimit);
*(btVector3FloatData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1angularBounce_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ;
btVector3FloatData *arg2 = (btVector3FloatData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1;
arg2 = *(btVector3FloatData **)&jarg2;
if (arg1) (arg1)->m_angularBounce = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1angularBounce_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ;
btVector3FloatData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1;
result = (btVector3FloatData *)& ((arg1)->m_angularBounce);
*(btVector3FloatData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1angularStopERP_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ;
btVector3FloatData *arg2 = (btVector3FloatData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1;
arg2 = *(btVector3FloatData **)&jarg2;
if (arg1) (arg1)->m_angularStopERP = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1angularStopERP_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ;
btVector3FloatData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1;
result = (btVector3FloatData *)& ((arg1)->m_angularStopERP);
*(btVector3FloatData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1angularStopCFM_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ;
btVector3FloatData *arg2 = (btVector3FloatData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1;
arg2 = *(btVector3FloatData **)&jarg2;
if (arg1) (arg1)->m_angularStopCFM = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1angularStopCFM_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ;
btVector3FloatData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1;
result = (btVector3FloatData *)& ((arg1)->m_angularStopCFM);
*(btVector3FloatData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1angularMotorERP_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ;
btVector3FloatData *arg2 = (btVector3FloatData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1;
arg2 = *(btVector3FloatData **)&jarg2;
if (arg1) (arg1)->m_angularMotorERP = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1angularMotorERP_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ;
btVector3FloatData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1;
result = (btVector3FloatData *)& ((arg1)->m_angularMotorERP);
*(btVector3FloatData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1angularMotorCFM_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ;
btVector3FloatData *arg2 = (btVector3FloatData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1;
arg2 = *(btVector3FloatData **)&jarg2;
if (arg1) (arg1)->m_angularMotorCFM = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1angularMotorCFM_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ;
btVector3FloatData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1;
result = (btVector3FloatData *)& ((arg1)->m_angularMotorCFM);
*(btVector3FloatData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1angularTargetVelocity_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ;
btVector3FloatData *arg2 = (btVector3FloatData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1;
arg2 = *(btVector3FloatData **)&jarg2;
if (arg1) (arg1)->m_angularTargetVelocity = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1angularTargetVelocity_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ;
btVector3FloatData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1;
result = (btVector3FloatData *)& ((arg1)->m_angularTargetVelocity);
*(btVector3FloatData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1angularMaxMotorForce_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ;
btVector3FloatData *arg2 = (btVector3FloatData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1;
arg2 = *(btVector3FloatData **)&jarg2;
if (arg1) (arg1)->m_angularMaxMotorForce = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1angularMaxMotorForce_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ;
btVector3FloatData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1;
result = (btVector3FloatData *)& ((arg1)->m_angularMaxMotorForce);
*(btVector3FloatData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1angularServoTarget_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ;
btVector3FloatData *arg2 = (btVector3FloatData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1;
arg2 = *(btVector3FloatData **)&jarg2;
if (arg1) (arg1)->m_angularServoTarget = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1angularServoTarget_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ;
btVector3FloatData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1;
result = (btVector3FloatData *)& ((arg1)->m_angularServoTarget);
*(btVector3FloatData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1angularSpringStiffness_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ;
btVector3FloatData *arg2 = (btVector3FloatData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1;
arg2 = *(btVector3FloatData **)&jarg2;
if (arg1) (arg1)->m_angularSpringStiffness = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1angularSpringStiffness_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ;
btVector3FloatData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1;
result = (btVector3FloatData *)& ((arg1)->m_angularSpringStiffness);
*(btVector3FloatData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1angularSpringDamping_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ;
btVector3FloatData *arg2 = (btVector3FloatData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1;
arg2 = *(btVector3FloatData **)&jarg2;
if (arg1) (arg1)->m_angularSpringDamping = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1angularSpringDamping_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ;
btVector3FloatData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1;
result = (btVector3FloatData *)& ((arg1)->m_angularSpringDamping);
*(btVector3FloatData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1angularEquilibriumPoint_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ;
btVector3FloatData *arg2 = (btVector3FloatData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1;
arg2 = *(btVector3FloatData **)&jarg2;
if (arg1) (arg1)->m_angularEquilibriumPoint = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1angularEquilibriumPoint_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ;
btVector3FloatData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1;
result = (btVector3FloatData *)& ((arg1)->m_angularEquilibriumPoint);
*(btVector3FloatData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1angularEnableMotor_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ;
char *arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1;
arg2 = 0;
if (jarg2) {
arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
if (!arg2) return ;
}
{
if(arg2) {
strncpy((char*)arg1->m_angularEnableMotor, (const char *)arg2, 4-1);
arg1->m_angularEnableMotor[4-1] = 0;
} else {
arg1->m_angularEnableMotor[0] = 0;
}
}
if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
}
SWIGEXPORT jstring JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1angularEnableMotor_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jstring jresult = 0 ;
btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ;
char *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1;
result = (char *)(char *) ((arg1)->m_angularEnableMotor);
if (result) jresult = jenv->NewStringUTF((const char *)result);
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1angularServoMotor_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ;
char *arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1;
arg2 = 0;
if (jarg2) {
arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
if (!arg2) return ;
}
{
if(arg2) {
strncpy((char*)arg1->m_angularServoMotor, (const char *)arg2, 4-1);
arg1->m_angularServoMotor[4-1] = 0;
} else {
arg1->m_angularServoMotor[0] = 0;
}
}
if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
}
SWIGEXPORT jstring JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1angularServoMotor_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jstring jresult = 0 ;
btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ;
char *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1;
result = (char *)(char *) ((arg1)->m_angularServoMotor);
if (result) jresult = jenv->NewStringUTF((const char *)result);
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1angularEnableSpring_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ;
char *arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1;
arg2 = 0;
if (jarg2) {
arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
if (!arg2) return ;
}
{
if(arg2) {
strncpy((char*)arg1->m_angularEnableSpring, (const char *)arg2, 4-1);
arg1->m_angularEnableSpring[4-1] = 0;
} else {
arg1->m_angularEnableSpring[0] = 0;
}
}
if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
}
SWIGEXPORT jstring JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1angularEnableSpring_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jstring jresult = 0 ;
btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ;
char *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1;
result = (char *)(char *) ((arg1)->m_angularEnableSpring);
if (result) jresult = jenv->NewStringUTF((const char *)result);
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1angularSpringStiffnessLimited_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ;
char *arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1;
arg2 = 0;
if (jarg2) {
arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
if (!arg2) return ;
}
{
if(arg2) {
strncpy((char*)arg1->m_angularSpringStiffnessLimited, (const char *)arg2, 4-1);
arg1->m_angularSpringStiffnessLimited[4-1] = 0;
} else {
arg1->m_angularSpringStiffnessLimited[0] = 0;
}
}
if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
}
SWIGEXPORT jstring JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1angularSpringStiffnessLimited_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jstring jresult = 0 ;
btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ;
char *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1;
result = (char *)(char *) ((arg1)->m_angularSpringStiffnessLimited);
if (result) jresult = jenv->NewStringUTF((const char *)result);
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1angularSpringDampingLimited_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ;
char *arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1;
arg2 = 0;
if (jarg2) {
arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
if (!arg2) return ;
}
{
if(arg2) {
strncpy((char*)arg1->m_angularSpringDampingLimited, (const char *)arg2, 4-1);
arg1->m_angularSpringDampingLimited[4-1] = 0;
} else {
arg1->m_angularSpringDampingLimited[0] = 0;
}
}
if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
}
SWIGEXPORT jstring JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1angularSpringDampingLimited_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jstring jresult = 0 ;
btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ;
char *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1;
result = (char *)(char *) ((arg1)->m_angularSpringDampingLimited);
if (result) jresult = jenv->NewStringUTF((const char *)result);
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1rotateOrder_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_rotateOrder = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1rotateOrder_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1;
result = (int) ((arg1)->m_rotateOrder);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btGeneric6DofSpring2ConstraintData(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btGeneric6DofSpring2ConstraintData *result = 0 ;
(void)jenv;
(void)jcls;
result = (btGeneric6DofSpring2ConstraintData *)new btGeneric6DofSpring2ConstraintData();
*(btGeneric6DofSpring2ConstraintData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btGeneric6DofSpring2ConstraintData(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1typeConstraintData_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ;
btTypedConstraintDoubleData *arg2 = (btTypedConstraintDoubleData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1;
arg2 = *(btTypedConstraintDoubleData **)&jarg2;
if (arg1) (arg1)->m_typeConstraintData = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1typeConstraintData_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ;
btTypedConstraintDoubleData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1;
result = (btTypedConstraintDoubleData *)& ((arg1)->m_typeConstraintData);
*(btTypedConstraintDoubleData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1rbAFrame_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ;
btTransformDoubleData *arg2 = (btTransformDoubleData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1;
arg2 = *(btTransformDoubleData **)&jarg2;
if (arg1) (arg1)->m_rbAFrame = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1rbAFrame_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ;
btTransformDoubleData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1;
result = (btTransformDoubleData *)& ((arg1)->m_rbAFrame);
*(btTransformDoubleData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1rbBFrame_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ;
btTransformDoubleData *arg2 = (btTransformDoubleData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1;
arg2 = *(btTransformDoubleData **)&jarg2;
if (arg1) (arg1)->m_rbBFrame = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1rbBFrame_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ;
btTransformDoubleData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1;
result = (btTransformDoubleData *)& ((arg1)->m_rbBFrame);
*(btTransformDoubleData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1linearUpperLimit_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ;
btVector3DoubleData *arg2 = (btVector3DoubleData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1;
arg2 = *(btVector3DoubleData **)&jarg2;
if (arg1) (arg1)->m_linearUpperLimit = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1linearUpperLimit_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ;
btVector3DoubleData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1;
result = (btVector3DoubleData *)& ((arg1)->m_linearUpperLimit);
*(btVector3DoubleData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1linearLowerLimit_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ;
btVector3DoubleData *arg2 = (btVector3DoubleData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1;
arg2 = *(btVector3DoubleData **)&jarg2;
if (arg1) (arg1)->m_linearLowerLimit = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1linearLowerLimit_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ;
btVector3DoubleData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1;
result = (btVector3DoubleData *)& ((arg1)->m_linearLowerLimit);
*(btVector3DoubleData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1linearBounce_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ;
btVector3DoubleData *arg2 = (btVector3DoubleData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1;
arg2 = *(btVector3DoubleData **)&jarg2;
if (arg1) (arg1)->m_linearBounce = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1linearBounce_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ;
btVector3DoubleData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1;
result = (btVector3DoubleData *)& ((arg1)->m_linearBounce);
*(btVector3DoubleData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1linearStopERP_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ;
btVector3DoubleData *arg2 = (btVector3DoubleData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1;
arg2 = *(btVector3DoubleData **)&jarg2;
if (arg1) (arg1)->m_linearStopERP = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1linearStopERP_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ;
btVector3DoubleData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1;
result = (btVector3DoubleData *)& ((arg1)->m_linearStopERP);
*(btVector3DoubleData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1linearStopCFM_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ;
btVector3DoubleData *arg2 = (btVector3DoubleData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1;
arg2 = *(btVector3DoubleData **)&jarg2;
if (arg1) (arg1)->m_linearStopCFM = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1linearStopCFM_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ;
btVector3DoubleData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1;
result = (btVector3DoubleData *)& ((arg1)->m_linearStopCFM);
*(btVector3DoubleData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1linearMotorERP_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ;
btVector3DoubleData *arg2 = (btVector3DoubleData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1;
arg2 = *(btVector3DoubleData **)&jarg2;
if (arg1) (arg1)->m_linearMotorERP = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1linearMotorERP_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ;
btVector3DoubleData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1;
result = (btVector3DoubleData *)& ((arg1)->m_linearMotorERP);
*(btVector3DoubleData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1linearMotorCFM_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ;
btVector3DoubleData *arg2 = (btVector3DoubleData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1;
arg2 = *(btVector3DoubleData **)&jarg2;
if (arg1) (arg1)->m_linearMotorCFM = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1linearMotorCFM_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ;
btVector3DoubleData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1;
result = (btVector3DoubleData *)& ((arg1)->m_linearMotorCFM);
*(btVector3DoubleData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1linearTargetVelocity_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ;
btVector3DoubleData *arg2 = (btVector3DoubleData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1;
arg2 = *(btVector3DoubleData **)&jarg2;
if (arg1) (arg1)->m_linearTargetVelocity = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1linearTargetVelocity_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ;
btVector3DoubleData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1;
result = (btVector3DoubleData *)& ((arg1)->m_linearTargetVelocity);
*(btVector3DoubleData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1linearMaxMotorForce_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ;
btVector3DoubleData *arg2 = (btVector3DoubleData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1;
arg2 = *(btVector3DoubleData **)&jarg2;
if (arg1) (arg1)->m_linearMaxMotorForce = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1linearMaxMotorForce_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ;
btVector3DoubleData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1;
result = (btVector3DoubleData *)& ((arg1)->m_linearMaxMotorForce);
*(btVector3DoubleData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1linearServoTarget_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ;
btVector3DoubleData *arg2 = (btVector3DoubleData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1;
arg2 = *(btVector3DoubleData **)&jarg2;
if (arg1) (arg1)->m_linearServoTarget = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1linearServoTarget_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ;
btVector3DoubleData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1;
result = (btVector3DoubleData *)& ((arg1)->m_linearServoTarget);
*(btVector3DoubleData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1linearSpringStiffness_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ;
btVector3DoubleData *arg2 = (btVector3DoubleData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1;
arg2 = *(btVector3DoubleData **)&jarg2;
if (arg1) (arg1)->m_linearSpringStiffness = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1linearSpringStiffness_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ;
btVector3DoubleData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1;
result = (btVector3DoubleData *)& ((arg1)->m_linearSpringStiffness);
*(btVector3DoubleData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1linearSpringDamping_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ;
btVector3DoubleData *arg2 = (btVector3DoubleData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1;
arg2 = *(btVector3DoubleData **)&jarg2;
if (arg1) (arg1)->m_linearSpringDamping = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1linearSpringDamping_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ;
btVector3DoubleData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1;
result = (btVector3DoubleData *)& ((arg1)->m_linearSpringDamping);
*(btVector3DoubleData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1linearEquilibriumPoint_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ;
btVector3DoubleData *arg2 = (btVector3DoubleData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1;
arg2 = *(btVector3DoubleData **)&jarg2;
if (arg1) (arg1)->m_linearEquilibriumPoint = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1linearEquilibriumPoint_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ;
btVector3DoubleData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1;
result = (btVector3DoubleData *)& ((arg1)->m_linearEquilibriumPoint);
*(btVector3DoubleData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1linearEnableMotor_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ;
char *arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1;
arg2 = 0;
if (jarg2) {
arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
if (!arg2) return ;
}
{
if(arg2) {
strncpy((char*)arg1->m_linearEnableMotor, (const char *)arg2, 4-1);
arg1->m_linearEnableMotor[4-1] = 0;
} else {
arg1->m_linearEnableMotor[0] = 0;
}
}
if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
}
SWIGEXPORT jstring JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1linearEnableMotor_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jstring jresult = 0 ;
btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ;
char *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1;
result = (char *)(char *) ((arg1)->m_linearEnableMotor);
if (result) jresult = jenv->NewStringUTF((const char *)result);
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1linearServoMotor_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ;
char *arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1;
arg2 = 0;
if (jarg2) {
arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
if (!arg2) return ;
}
{
if(arg2) {
strncpy((char*)arg1->m_linearServoMotor, (const char *)arg2, 4-1);
arg1->m_linearServoMotor[4-1] = 0;
} else {
arg1->m_linearServoMotor[0] = 0;
}
}
if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
}
SWIGEXPORT jstring JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1linearServoMotor_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jstring jresult = 0 ;
btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ;
char *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1;
result = (char *)(char *) ((arg1)->m_linearServoMotor);
if (result) jresult = jenv->NewStringUTF((const char *)result);
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1linearEnableSpring_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ;
char *arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1;
arg2 = 0;
if (jarg2) {
arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
if (!arg2) return ;
}
{
if(arg2) {
strncpy((char*)arg1->m_linearEnableSpring, (const char *)arg2, 4-1);
arg1->m_linearEnableSpring[4-1] = 0;
} else {
arg1->m_linearEnableSpring[0] = 0;
}
}
if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
}
SWIGEXPORT jstring JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1linearEnableSpring_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jstring jresult = 0 ;
btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ;
char *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1;
result = (char *)(char *) ((arg1)->m_linearEnableSpring);
if (result) jresult = jenv->NewStringUTF((const char *)result);
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1linearSpringStiffnessLimited_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ;
char *arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1;
arg2 = 0;
if (jarg2) {
arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
if (!arg2) return ;
}
{
if(arg2) {
strncpy((char*)arg1->m_linearSpringStiffnessLimited, (const char *)arg2, 4-1);
arg1->m_linearSpringStiffnessLimited[4-1] = 0;
} else {
arg1->m_linearSpringStiffnessLimited[0] = 0;
}
}
if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
}
SWIGEXPORT jstring JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1linearSpringStiffnessLimited_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jstring jresult = 0 ;
btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ;
char *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1;
result = (char *)(char *) ((arg1)->m_linearSpringStiffnessLimited);
if (result) jresult = jenv->NewStringUTF((const char *)result);
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1linearSpringDampingLimited_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ;
char *arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1;
arg2 = 0;
if (jarg2) {
arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
if (!arg2) return ;
}
{
if(arg2) {
strncpy((char*)arg1->m_linearSpringDampingLimited, (const char *)arg2, 4-1);
arg1->m_linearSpringDampingLimited[4-1] = 0;
} else {
arg1->m_linearSpringDampingLimited[0] = 0;
}
}
if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
}
SWIGEXPORT jstring JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1linearSpringDampingLimited_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jstring jresult = 0 ;
btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ;
char *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1;
result = (char *)(char *) ((arg1)->m_linearSpringDampingLimited);
if (result) jresult = jenv->NewStringUTF((const char *)result);
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1padding1_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ;
char *arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1;
arg2 = 0;
if (jarg2) {
arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
if (!arg2) return ;
}
{
if(arg2) {
strncpy((char*)arg1->m_padding1, (const char *)arg2, 4-1);
arg1->m_padding1[4-1] = 0;
} else {
arg1->m_padding1[0] = 0;
}
}
if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
}
SWIGEXPORT jstring JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1padding1_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jstring jresult = 0 ;
btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ;
char *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1;
result = (char *)(char *) ((arg1)->m_padding1);
if (result) jresult = jenv->NewStringUTF((const char *)result);
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1angularUpperLimit_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ;
btVector3DoubleData *arg2 = (btVector3DoubleData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1;
arg2 = *(btVector3DoubleData **)&jarg2;
if (arg1) (arg1)->m_angularUpperLimit = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1angularUpperLimit_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ;
btVector3DoubleData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1;
result = (btVector3DoubleData *)& ((arg1)->m_angularUpperLimit);
*(btVector3DoubleData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1angularLowerLimit_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ;
btVector3DoubleData *arg2 = (btVector3DoubleData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1;
arg2 = *(btVector3DoubleData **)&jarg2;
if (arg1) (arg1)->m_angularLowerLimit = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1angularLowerLimit_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ;
btVector3DoubleData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1;
result = (btVector3DoubleData *)& ((arg1)->m_angularLowerLimit);
*(btVector3DoubleData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1angularBounce_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ;
btVector3DoubleData *arg2 = (btVector3DoubleData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1;
arg2 = *(btVector3DoubleData **)&jarg2;
if (arg1) (arg1)->m_angularBounce = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1angularBounce_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ;
btVector3DoubleData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1;
result = (btVector3DoubleData *)& ((arg1)->m_angularBounce);
*(btVector3DoubleData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1angularStopERP_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ;
btVector3DoubleData *arg2 = (btVector3DoubleData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1;
arg2 = *(btVector3DoubleData **)&jarg2;
if (arg1) (arg1)->m_angularStopERP = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1angularStopERP_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ;
btVector3DoubleData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1;
result = (btVector3DoubleData *)& ((arg1)->m_angularStopERP);
*(btVector3DoubleData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1angularStopCFM_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ;
btVector3DoubleData *arg2 = (btVector3DoubleData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1;
arg2 = *(btVector3DoubleData **)&jarg2;
if (arg1) (arg1)->m_angularStopCFM = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1angularStopCFM_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ;
btVector3DoubleData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1;
result = (btVector3DoubleData *)& ((arg1)->m_angularStopCFM);
*(btVector3DoubleData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1angularMotorERP_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ;
btVector3DoubleData *arg2 = (btVector3DoubleData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1;
arg2 = *(btVector3DoubleData **)&jarg2;
if (arg1) (arg1)->m_angularMotorERP = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1angularMotorERP_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ;
btVector3DoubleData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1;
result = (btVector3DoubleData *)& ((arg1)->m_angularMotorERP);
*(btVector3DoubleData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1angularMotorCFM_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ;
btVector3DoubleData *arg2 = (btVector3DoubleData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1;
arg2 = *(btVector3DoubleData **)&jarg2;
if (arg1) (arg1)->m_angularMotorCFM = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1angularMotorCFM_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ;
btVector3DoubleData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1;
result = (btVector3DoubleData *)& ((arg1)->m_angularMotorCFM);
*(btVector3DoubleData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1angularTargetVelocity_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ;
btVector3DoubleData *arg2 = (btVector3DoubleData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1;
arg2 = *(btVector3DoubleData **)&jarg2;
if (arg1) (arg1)->m_angularTargetVelocity = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1angularTargetVelocity_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ;
btVector3DoubleData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1;
result = (btVector3DoubleData *)& ((arg1)->m_angularTargetVelocity);
*(btVector3DoubleData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1angularMaxMotorForce_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ;
btVector3DoubleData *arg2 = (btVector3DoubleData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1;
arg2 = *(btVector3DoubleData **)&jarg2;
if (arg1) (arg1)->m_angularMaxMotorForce = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1angularMaxMotorForce_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ;
btVector3DoubleData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1;
result = (btVector3DoubleData *)& ((arg1)->m_angularMaxMotorForce);
*(btVector3DoubleData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1angularServoTarget_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ;
btVector3DoubleData *arg2 = (btVector3DoubleData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1;
arg2 = *(btVector3DoubleData **)&jarg2;
if (arg1) (arg1)->m_angularServoTarget = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1angularServoTarget_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ;
btVector3DoubleData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1;
result = (btVector3DoubleData *)& ((arg1)->m_angularServoTarget);
*(btVector3DoubleData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1angularSpringStiffness_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ;
btVector3DoubleData *arg2 = (btVector3DoubleData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1;
arg2 = *(btVector3DoubleData **)&jarg2;
if (arg1) (arg1)->m_angularSpringStiffness = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1angularSpringStiffness_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ;
btVector3DoubleData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1;
result = (btVector3DoubleData *)& ((arg1)->m_angularSpringStiffness);
*(btVector3DoubleData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1angularSpringDamping_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ;
btVector3DoubleData *arg2 = (btVector3DoubleData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1;
arg2 = *(btVector3DoubleData **)&jarg2;
if (arg1) (arg1)->m_angularSpringDamping = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1angularSpringDamping_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ;
btVector3DoubleData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1;
result = (btVector3DoubleData *)& ((arg1)->m_angularSpringDamping);
*(btVector3DoubleData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1angularEquilibriumPoint_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ;
btVector3DoubleData *arg2 = (btVector3DoubleData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1;
arg2 = *(btVector3DoubleData **)&jarg2;
if (arg1) (arg1)->m_angularEquilibriumPoint = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1angularEquilibriumPoint_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ;
btVector3DoubleData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1;
result = (btVector3DoubleData *)& ((arg1)->m_angularEquilibriumPoint);
*(btVector3DoubleData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1angularEnableMotor_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ;
char *arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1;
arg2 = 0;
if (jarg2) {
arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
if (!arg2) return ;
}
{
if(arg2) {
strncpy((char*)arg1->m_angularEnableMotor, (const char *)arg2, 4-1);
arg1->m_angularEnableMotor[4-1] = 0;
} else {
arg1->m_angularEnableMotor[0] = 0;
}
}
if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
}
SWIGEXPORT jstring JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1angularEnableMotor_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jstring jresult = 0 ;
btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ;
char *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1;
result = (char *)(char *) ((arg1)->m_angularEnableMotor);
if (result) jresult = jenv->NewStringUTF((const char *)result);
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1angularServoMotor_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ;
char *arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1;
arg2 = 0;
if (jarg2) {
arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
if (!arg2) return ;
}
{
if(arg2) {
strncpy((char*)arg1->m_angularServoMotor, (const char *)arg2, 4-1);
arg1->m_angularServoMotor[4-1] = 0;
} else {
arg1->m_angularServoMotor[0] = 0;
}
}
if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
}
SWIGEXPORT jstring JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1angularServoMotor_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jstring jresult = 0 ;
btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ;
char *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1;
result = (char *)(char *) ((arg1)->m_angularServoMotor);
if (result) jresult = jenv->NewStringUTF((const char *)result);
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1angularEnableSpring_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ;
char *arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1;
arg2 = 0;
if (jarg2) {
arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
if (!arg2) return ;
}
{
if(arg2) {
strncpy((char*)arg1->m_angularEnableSpring, (const char *)arg2, 4-1);
arg1->m_angularEnableSpring[4-1] = 0;
} else {
arg1->m_angularEnableSpring[0] = 0;
}
}
if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
}
SWIGEXPORT jstring JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1angularEnableSpring_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jstring jresult = 0 ;
btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ;
char *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1;
result = (char *)(char *) ((arg1)->m_angularEnableSpring);
if (result) jresult = jenv->NewStringUTF((const char *)result);
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1angularSpringStiffnessLimited_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ;
char *arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1;
arg2 = 0;
if (jarg2) {
arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
if (!arg2) return ;
}
{
if(arg2) {
strncpy((char*)arg1->m_angularSpringStiffnessLimited, (const char *)arg2, 4-1);
arg1->m_angularSpringStiffnessLimited[4-1] = 0;
} else {
arg1->m_angularSpringStiffnessLimited[0] = 0;
}
}
if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
}
SWIGEXPORT jstring JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1angularSpringStiffnessLimited_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jstring jresult = 0 ;
btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ;
char *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1;
result = (char *)(char *) ((arg1)->m_angularSpringStiffnessLimited);
if (result) jresult = jenv->NewStringUTF((const char *)result);
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1angularSpringDampingLimited_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ;
char *arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1;
arg2 = 0;
if (jarg2) {
arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
if (!arg2) return ;
}
{
if(arg2) {
strncpy((char*)arg1->m_angularSpringDampingLimited, (const char *)arg2, 4-1);
arg1->m_angularSpringDampingLimited[4-1] = 0;
} else {
arg1->m_angularSpringDampingLimited[0] = 0;
}
}
if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
}
SWIGEXPORT jstring JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1angularSpringDampingLimited_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jstring jresult = 0 ;
btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ;
char *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1;
result = (char *)(char *) ((arg1)->m_angularSpringDampingLimited);
if (result) jresult = jenv->NewStringUTF((const char *)result);
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1rotateOrder_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_rotateOrder = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1rotateOrder_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1;
result = (int) ((arg1)->m_rotateOrder);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btGeneric6DofSpring2ConstraintDoubleData2(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btGeneric6DofSpring2ConstraintDoubleData2 *result = 0 ;
(void)jenv;
(void)jcls;
result = (btGeneric6DofSpring2ConstraintDoubleData2 *)new btGeneric6DofSpring2ConstraintDoubleData2();
*(btGeneric6DofSpring2ConstraintDoubleData2 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btGeneric6DofSpring2ConstraintDoubleData2(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1;
delete arg1;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraint_1operatorNew_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btHingeConstraint *arg1 = (btHingeConstraint *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraint **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new(arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraint_1operatorDelete_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btHingeConstraint *arg1 = (btHingeConstraint *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraint **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete(arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraint_1operatorNew_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btHingeConstraint *arg1 = (btHingeConstraint *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraint **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new(arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraint_1operatorDelete_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btHingeConstraint *arg1 = (btHingeConstraint *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraint **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete(arg2,arg3);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraint_1operatorNewArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btHingeConstraint *arg1 = (btHingeConstraint *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraint **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new[](arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraint_1operatorDeleteArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btHingeConstraint *arg1 = (btHingeConstraint *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraint **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete[](arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraint_1operatorNewArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btHingeConstraint *arg1 = (btHingeConstraint *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraint **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new[](arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraint_1operatorDeleteArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btHingeConstraint *arg1 = (btHingeConstraint *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraint **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete[](arg2,arg3);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btHingeConstraint_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jobject jarg3, jobject jarg4, jobject jarg5, jobject jarg6, jboolean jarg7) {
jlong jresult = 0 ;
btRigidBody *arg1 = 0 ;
btRigidBody *arg2 = 0 ;
btVector3 *arg3 = 0 ;
btVector3 *arg4 = 0 ;
btVector3 *arg5 = 0 ;
btVector3 *arg6 = 0 ;
bool arg7 ;
btHingeConstraint *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btRigidBody **)&jarg1;
if (!arg1) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btRigidBody & reference is null");
return 0;
}
arg2 = *(btRigidBody **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btRigidBody & reference is null");
return 0;
}
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
btVector3 local_arg4;
gdx_setbtVector3FromVector3(jenv, local_arg4, jarg4);
arg4 = &local_arg4;
gdxAutoCommitVector3 auto_commit_arg4(jenv, jarg4, &local_arg4);
btVector3 local_arg5;
gdx_setbtVector3FromVector3(jenv, local_arg5, jarg5);
arg5 = &local_arg5;
gdxAutoCommitVector3 auto_commit_arg5(jenv, jarg5, &local_arg5);
btVector3 local_arg6;
gdx_setbtVector3FromVector3(jenv, local_arg6, jarg6);
arg6 = &local_arg6;
gdxAutoCommitVector3 auto_commit_arg6(jenv, jarg6, &local_arg6);
arg7 = jarg7 ? true : false;
result = (btHingeConstraint *)new btHingeConstraint(*arg1,*arg2,(btVector3 const &)*arg3,(btVector3 const &)*arg4,(btVector3 const &)*arg5,(btVector3 const &)*arg6,arg7);
*(btHingeConstraint **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btHingeConstraint_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jobject jarg3, jobject jarg4, jobject jarg5, jobject jarg6) {
jlong jresult = 0 ;
btRigidBody *arg1 = 0 ;
btRigidBody *arg2 = 0 ;
btVector3 *arg3 = 0 ;
btVector3 *arg4 = 0 ;
btVector3 *arg5 = 0 ;
btVector3 *arg6 = 0 ;
btHingeConstraint *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btRigidBody **)&jarg1;
if (!arg1) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btRigidBody & reference is null");
return 0;
}
arg2 = *(btRigidBody **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btRigidBody & reference is null");
return 0;
}
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
btVector3 local_arg4;
gdx_setbtVector3FromVector3(jenv, local_arg4, jarg4);
arg4 = &local_arg4;
gdxAutoCommitVector3 auto_commit_arg4(jenv, jarg4, &local_arg4);
btVector3 local_arg5;
gdx_setbtVector3FromVector3(jenv, local_arg5, jarg5);
arg5 = &local_arg5;
gdxAutoCommitVector3 auto_commit_arg5(jenv, jarg5, &local_arg5);
btVector3 local_arg6;
gdx_setbtVector3FromVector3(jenv, local_arg6, jarg6);
arg6 = &local_arg6;
gdxAutoCommitVector3 auto_commit_arg6(jenv, jarg6, &local_arg6);
result = (btHingeConstraint *)new btHingeConstraint(*arg1,*arg2,(btVector3 const &)*arg3,(btVector3 const &)*arg4,(btVector3 const &)*arg5,(btVector3 const &)*arg6);
*(btHingeConstraint **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btHingeConstraint_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jobject jarg3, jboolean jarg4) {
jlong jresult = 0 ;
btRigidBody *arg1 = 0 ;
btVector3 *arg2 = 0 ;
btVector3 *arg3 = 0 ;
bool arg4 ;
btHingeConstraint *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody **)&jarg1;
if (!arg1) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btRigidBody & reference is null");
return 0;
}
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
arg4 = jarg4 ? true : false;
result = (btHingeConstraint *)new btHingeConstraint(*arg1,(btVector3 const &)*arg2,(btVector3 const &)*arg3,arg4);
*(btHingeConstraint **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btHingeConstraint_1_1SWIG_13(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jobject jarg3) {
jlong jresult = 0 ;
btRigidBody *arg1 = 0 ;
btVector3 *arg2 = 0 ;
btVector3 *arg3 = 0 ;
btHingeConstraint *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody **)&jarg1;
if (!arg1) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btRigidBody & reference is null");
return 0;
}
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
result = (btHingeConstraint *)new btHingeConstraint(*arg1,(btVector3 const &)*arg2,(btVector3 const &)*arg3);
*(btHingeConstraint **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btHingeConstraint_1_1SWIG_14(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jobject jarg3, jobject jarg4, jboolean jarg5) {
jlong jresult = 0 ;
btRigidBody *arg1 = 0 ;
btRigidBody *arg2 = 0 ;
btTransform *arg3 = 0 ;
btTransform *arg4 = 0 ;
bool arg5 ;
btHingeConstraint *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btRigidBody **)&jarg1;
if (!arg1) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btRigidBody & reference is null");
return 0;
}
arg2 = *(btRigidBody **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btRigidBody & reference is null");
return 0;
}
btTransform local_arg3;
gdx_setbtTransformFromMatrix4(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitMatrix4 auto_commit_arg3(jenv, jarg3, &local_arg3);
btTransform local_arg4;
gdx_setbtTransformFromMatrix4(jenv, local_arg4, jarg4);
arg4 = &local_arg4;
gdxAutoCommitMatrix4 auto_commit_arg4(jenv, jarg4, &local_arg4);
arg5 = jarg5 ? true : false;
result = (btHingeConstraint *)new btHingeConstraint(*arg1,*arg2,(btTransform const &)*arg3,(btTransform const &)*arg4,arg5);
*(btHingeConstraint **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btHingeConstraint_1_1SWIG_15(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jobject jarg3, jobject jarg4) {
jlong jresult = 0 ;
btRigidBody *arg1 = 0 ;
btRigidBody *arg2 = 0 ;
btTransform *arg3 = 0 ;
btTransform *arg4 = 0 ;
btHingeConstraint *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btRigidBody **)&jarg1;
if (!arg1) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btRigidBody & reference is null");
return 0;
}
arg2 = *(btRigidBody **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btRigidBody & reference is null");
return 0;
}
btTransform local_arg3;
gdx_setbtTransformFromMatrix4(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitMatrix4 auto_commit_arg3(jenv, jarg3, &local_arg3);
btTransform local_arg4;
gdx_setbtTransformFromMatrix4(jenv, local_arg4, jarg4);
arg4 = &local_arg4;
gdxAutoCommitMatrix4 auto_commit_arg4(jenv, jarg4, &local_arg4);
result = (btHingeConstraint *)new btHingeConstraint(*arg1,*arg2,(btTransform const &)*arg3,(btTransform const &)*arg4);
*(btHingeConstraint **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btHingeConstraint_1_1SWIG_16(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jboolean jarg3) {
jlong jresult = 0 ;
btRigidBody *arg1 = 0 ;
btTransform *arg2 = 0 ;
bool arg3 ;
btHingeConstraint *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody **)&jarg1;
if (!arg1) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btRigidBody & reference is null");
return 0;
}
btTransform local_arg2;
gdx_setbtTransformFromMatrix4(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitMatrix4 auto_commit_arg2(jenv, jarg2, &local_arg2);
arg3 = jarg3 ? true : false;
result = (btHingeConstraint *)new btHingeConstraint(*arg1,(btTransform const &)*arg2,arg3);
*(btHingeConstraint **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btHingeConstraint_1_1SWIG_17(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
jlong jresult = 0 ;
btRigidBody *arg1 = 0 ;
btTransform *arg2 = 0 ;
btHingeConstraint *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody **)&jarg1;
if (!arg1) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btRigidBody & reference is null");
return 0;
}
btTransform local_arg2;
gdx_setbtTransformFromMatrix4(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitMatrix4 auto_commit_arg2(jenv, jarg2, &local_arg2);
result = (btHingeConstraint *)new btHingeConstraint(*arg1,(btTransform const &)*arg2);
*(btHingeConstraint **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraint_1getInfo1NonVirtual(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btHingeConstraint *arg1 = (btHingeConstraint *) 0 ;
btTypedConstraint::btConstraintInfo1 *arg2 = (btTypedConstraint::btConstraintInfo1 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btHingeConstraint **)&jarg1;
arg2 = *(btTypedConstraint::btConstraintInfo1 **)&jarg2;
(arg1)->getInfo1NonVirtual(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraint_1getInfo2NonVirtual(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jobject jarg3, jobject jarg4, jobject jarg5, jobject jarg6) {
btHingeConstraint *arg1 = (btHingeConstraint *) 0 ;
btTypedConstraint::btConstraintInfo2 *arg2 = (btTypedConstraint::btConstraintInfo2 *) 0 ;
btTransform *arg3 = 0 ;
btTransform *arg4 = 0 ;
btVector3 *arg5 = 0 ;
btVector3 *arg6 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btHingeConstraint **)&jarg1;
arg2 = *(btTypedConstraint::btConstraintInfo2 **)&jarg2;
btTransform local_arg3;
gdx_setbtTransformFromMatrix4(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitMatrix4 auto_commit_arg3(jenv, jarg3, &local_arg3);
btTransform local_arg4;
gdx_setbtTransformFromMatrix4(jenv, local_arg4, jarg4);
arg4 = &local_arg4;
gdxAutoCommitMatrix4 auto_commit_arg4(jenv, jarg4, &local_arg4);
btVector3 local_arg5;
gdx_setbtVector3FromVector3(jenv, local_arg5, jarg5);
arg5 = &local_arg5;
gdxAutoCommitVector3 auto_commit_arg5(jenv, jarg5, &local_arg5);
btVector3 local_arg6;
gdx_setbtVector3FromVector3(jenv, local_arg6, jarg6);
arg6 = &local_arg6;
gdxAutoCommitVector3 auto_commit_arg6(jenv, jarg6, &local_arg6);
(arg1)->getInfo2NonVirtual(arg2,(btTransform const &)*arg3,(btTransform const &)*arg4,(btVector3 const &)*arg5,(btVector3 const &)*arg6);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraint_1getInfo2Internal(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jobject jarg3, jobject jarg4, jobject jarg5, jobject jarg6) {
btHingeConstraint *arg1 = (btHingeConstraint *) 0 ;
btTypedConstraint::btConstraintInfo2 *arg2 = (btTypedConstraint::btConstraintInfo2 *) 0 ;
btTransform *arg3 = 0 ;
btTransform *arg4 = 0 ;
btVector3 *arg5 = 0 ;
btVector3 *arg6 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btHingeConstraint **)&jarg1;
arg2 = *(btTypedConstraint::btConstraintInfo2 **)&jarg2;
btTransform local_arg3;
gdx_setbtTransformFromMatrix4(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitMatrix4 auto_commit_arg3(jenv, jarg3, &local_arg3);
btTransform local_arg4;
gdx_setbtTransformFromMatrix4(jenv, local_arg4, jarg4);
arg4 = &local_arg4;
gdxAutoCommitMatrix4 auto_commit_arg4(jenv, jarg4, &local_arg4);
btVector3 local_arg5;
gdx_setbtVector3FromVector3(jenv, local_arg5, jarg5);
arg5 = &local_arg5;
gdxAutoCommitVector3 auto_commit_arg5(jenv, jarg5, &local_arg5);
btVector3 local_arg6;
gdx_setbtVector3FromVector3(jenv, local_arg6, jarg6);
arg6 = &local_arg6;
gdxAutoCommitVector3 auto_commit_arg6(jenv, jarg6, &local_arg6);
(arg1)->getInfo2Internal(arg2,(btTransform const &)*arg3,(btTransform const &)*arg4,(btVector3 const &)*arg5,(btVector3 const &)*arg6);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraint_1getInfo2InternalUsingFrameOffset(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jobject jarg3, jobject jarg4, jobject jarg5, jobject jarg6) {
btHingeConstraint *arg1 = (btHingeConstraint *) 0 ;
btTypedConstraint::btConstraintInfo2 *arg2 = (btTypedConstraint::btConstraintInfo2 *) 0 ;
btTransform *arg3 = 0 ;
btTransform *arg4 = 0 ;
btVector3 *arg5 = 0 ;
btVector3 *arg6 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btHingeConstraint **)&jarg1;
arg2 = *(btTypedConstraint::btConstraintInfo2 **)&jarg2;
btTransform local_arg3;
gdx_setbtTransformFromMatrix4(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitMatrix4 auto_commit_arg3(jenv, jarg3, &local_arg3);
btTransform local_arg4;
gdx_setbtTransformFromMatrix4(jenv, local_arg4, jarg4);
arg4 = &local_arg4;
gdxAutoCommitMatrix4 auto_commit_arg4(jenv, jarg4, &local_arg4);
btVector3 local_arg5;
gdx_setbtVector3FromVector3(jenv, local_arg5, jarg5);
arg5 = &local_arg5;
gdxAutoCommitVector3 auto_commit_arg5(jenv, jarg5, &local_arg5);
btVector3 local_arg6;
gdx_setbtVector3FromVector3(jenv, local_arg6, jarg6);
arg6 = &local_arg6;
gdxAutoCommitVector3 auto_commit_arg6(jenv, jarg6, &local_arg6);
(arg1)->getInfo2InternalUsingFrameOffset(arg2,(btTransform const &)*arg3,(btTransform const &)*arg4,(btVector3 const &)*arg5,(btVector3 const &)*arg6);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraint_1updateRHS(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btHingeConstraint *arg1 = (btHingeConstraint *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraint **)&jarg1;
arg2 = (btScalar)jarg2;
(arg1)->updateRHS(arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraint_1getRigidBodyAConst(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btHingeConstraint *arg1 = (btHingeConstraint *) 0 ;
btRigidBody *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraint **)&jarg1;
result = (btRigidBody *) &((btHingeConstraint const *)arg1)->getRigidBodyA();
*(btRigidBody **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraint_1getRigidBodyBConst(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btHingeConstraint *arg1 = (btHingeConstraint *) 0 ;
btRigidBody *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraint **)&jarg1;
result = (btRigidBody *) &((btHingeConstraint const *)arg1)->getRigidBodyB();
*(btRigidBody **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraint_1getRigidBodyA(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btHingeConstraint *arg1 = (btHingeConstraint *) 0 ;
btRigidBody *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraint **)&jarg1;
result = (btRigidBody *) &(arg1)->getRigidBodyA();
*(btRigidBody **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraint_1getRigidBodyB(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btHingeConstraint *arg1 = (btHingeConstraint *) 0 ;
btRigidBody *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraint **)&jarg1;
result = (btRigidBody *) &(arg1)->getRigidBodyB();
*(btRigidBody **)&jresult = result;
return jresult;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraint_1getFrameOffsetA(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btHingeConstraint *arg1 = (btHingeConstraint *) 0 ;
btTransform *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraint **)&jarg1;
result = (btTransform *) &(arg1)->getFrameOffsetA();
jresult = gdx_getReturnMatrix4(jenv);
gdx_setMatrix4FrombtTransform(jenv, jresult, result);
return jresult;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraint_1getFrameOffsetB(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btHingeConstraint *arg1 = (btHingeConstraint *) 0 ;
btTransform *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraint **)&jarg1;
result = (btTransform *) &(arg1)->getFrameOffsetB();
jresult = gdx_getReturnMatrix4(jenv);
gdx_setMatrix4FrombtTransform(jenv, jresult, result);
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraint_1setFrames(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jobject jarg3) {
btHingeConstraint *arg1 = (btHingeConstraint *) 0 ;
btTransform *arg2 = 0 ;
btTransform *arg3 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraint **)&jarg1;
btTransform local_arg2;
gdx_setbtTransformFromMatrix4(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitMatrix4 auto_commit_arg2(jenv, jarg2, &local_arg2);
btTransform local_arg3;
gdx_setbtTransformFromMatrix4(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitMatrix4 auto_commit_arg3(jenv, jarg3, &local_arg3);
(arg1)->setFrames((btTransform const &)*arg2,(btTransform const &)*arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraint_1setAngularOnly(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jboolean jarg2) {
btHingeConstraint *arg1 = (btHingeConstraint *) 0 ;
bool arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraint **)&jarg1;
arg2 = jarg2 ? true : false;
(arg1)->setAngularOnly(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraint_1enableAngularMotor(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jboolean jarg2, jfloat jarg3, jfloat jarg4) {
btHingeConstraint *arg1 = (btHingeConstraint *) 0 ;
bool arg2 ;
btScalar arg3 ;
btScalar arg4 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraint **)&jarg1;
arg2 = jarg2 ? true : false;
arg3 = (btScalar)jarg3;
arg4 = (btScalar)jarg4;
(arg1)->enableAngularMotor(arg2,arg3,arg4);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraint_1enableMotor(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jboolean jarg2) {
btHingeConstraint *arg1 = (btHingeConstraint *) 0 ;
bool arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraint **)&jarg1;
arg2 = jarg2 ? true : false;
(arg1)->enableMotor(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraint_1setMaxMotorImpulse(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btHingeConstraint *arg1 = (btHingeConstraint *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraint **)&jarg1;
arg2 = (btScalar)jarg2;
(arg1)->setMaxMotorImpulse(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraint_1setMotorTargetVelocity(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btHingeConstraint *arg1 = (btHingeConstraint *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraint **)&jarg1;
arg2 = (btScalar)jarg2;
(arg1)->setMotorTargetVelocity(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraint_1setMotorTarget_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jfloat jarg3) {
btHingeConstraint *arg1 = (btHingeConstraint *) 0 ;
btQuaternion *arg2 = 0 ;
btScalar arg3 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraint **)&jarg1;
btQuaternion local_arg2;
gdx_setbtQuaternionFromQuaternion(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitQuaternion auto_commit_arg2(jenv, jarg2, &local_arg2);
arg3 = (btScalar)jarg3;
(arg1)->setMotorTarget((btQuaternion const &)*arg2,arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraint_1setMotorTarget_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2, jfloat jarg3) {
btHingeConstraint *arg1 = (btHingeConstraint *) 0 ;
btScalar arg2 ;
btScalar arg3 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraint **)&jarg1;
arg2 = (btScalar)jarg2;
arg3 = (btScalar)jarg3;
(arg1)->setMotorTarget(arg2,arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraint_1setLimit_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2, jfloat jarg3, jfloat jarg4, jfloat jarg5, jfloat jarg6) {
btHingeConstraint *arg1 = (btHingeConstraint *) 0 ;
btScalar arg2 ;
btScalar arg3 ;
btScalar arg4 ;
btScalar arg5 ;
btScalar arg6 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraint **)&jarg1;
arg2 = (btScalar)jarg2;
arg3 = (btScalar)jarg3;
arg4 = (btScalar)jarg4;
arg5 = (btScalar)jarg5;
arg6 = (btScalar)jarg6;
(arg1)->setLimit(arg2,arg3,arg4,arg5,arg6);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraint_1setLimit_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2, jfloat jarg3, jfloat jarg4, jfloat jarg5) {
btHingeConstraint *arg1 = (btHingeConstraint *) 0 ;
btScalar arg2 ;
btScalar arg3 ;
btScalar arg4 ;
btScalar arg5 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraint **)&jarg1;
arg2 = (btScalar)jarg2;
arg3 = (btScalar)jarg3;
arg4 = (btScalar)jarg4;
arg5 = (btScalar)jarg5;
(arg1)->setLimit(arg2,arg3,arg4,arg5);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraint_1setLimit_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2, jfloat jarg3, jfloat jarg4) {
btHingeConstraint *arg1 = (btHingeConstraint *) 0 ;
btScalar arg2 ;
btScalar arg3 ;
btScalar arg4 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraint **)&jarg1;
arg2 = (btScalar)jarg2;
arg3 = (btScalar)jarg3;
arg4 = (btScalar)jarg4;
(arg1)->setLimit(arg2,arg3,arg4);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraint_1setLimit_1_1SWIG_13(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2, jfloat jarg3) {
btHingeConstraint *arg1 = (btHingeConstraint *) 0 ;
btScalar arg2 ;
btScalar arg3 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraint **)&jarg1;
arg2 = (btScalar)jarg2;
arg3 = (btScalar)jarg3;
(arg1)->setLimit(arg2,arg3);
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraint_1getLimitSoftness(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btHingeConstraint *arg1 = (btHingeConstraint *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraint **)&jarg1;
result = (btScalar)((btHingeConstraint const *)arg1)->getLimitSoftness();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraint_1getLimitBiasFactor(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btHingeConstraint *arg1 = (btHingeConstraint *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraint **)&jarg1;
result = (btScalar)((btHingeConstraint const *)arg1)->getLimitBiasFactor();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraint_1getLimitRelaxationFactor(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btHingeConstraint *arg1 = (btHingeConstraint *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraint **)&jarg1;
result = (btScalar)((btHingeConstraint const *)arg1)->getLimitRelaxationFactor();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraint_1setAxis(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btHingeConstraint *arg1 = (btHingeConstraint *) 0 ;
btVector3 *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraint **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
(arg1)->setAxis(*arg2);
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraint_1hasLimit(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jboolean jresult = 0 ;
btHingeConstraint *arg1 = (btHingeConstraint *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraint **)&jarg1;
result = (bool)((btHingeConstraint const *)arg1)->hasLimit();
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraint_1getLowerLimit(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btHingeConstraint *arg1 = (btHingeConstraint *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraint **)&jarg1;
result = (btScalar)((btHingeConstraint const *)arg1)->getLowerLimit();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraint_1getUpperLimit(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btHingeConstraint *arg1 = (btHingeConstraint *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraint **)&jarg1;
result = (btScalar)((btHingeConstraint const *)arg1)->getUpperLimit();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraint_1getHingeAngle_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btHingeConstraint *arg1 = (btHingeConstraint *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraint **)&jarg1;
result = (btScalar)(arg1)->getHingeAngle();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraint_1getHingeAngle_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jobject jarg3) {
jfloat jresult = 0 ;
btHingeConstraint *arg1 = (btHingeConstraint *) 0 ;
btTransform *arg2 = 0 ;
btTransform *arg3 = 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraint **)&jarg1;
btTransform local_arg2;
gdx_setbtTransformFromMatrix4(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitMatrix4 auto_commit_arg2(jenv, jarg2, &local_arg2);
btTransform local_arg3;
gdx_setbtTransformFromMatrix4(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitMatrix4 auto_commit_arg3(jenv, jarg3, &local_arg3);
result = (btScalar)(arg1)->getHingeAngle((btTransform const &)*arg2,(btTransform const &)*arg3);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraint_1testLimit(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jobject jarg3) {
btHingeConstraint *arg1 = (btHingeConstraint *) 0 ;
btTransform *arg2 = 0 ;
btTransform *arg3 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraint **)&jarg1;
btTransform local_arg2;
gdx_setbtTransformFromMatrix4(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitMatrix4 auto_commit_arg2(jenv, jarg2, &local_arg2);
btTransform local_arg3;
gdx_setbtTransformFromMatrix4(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitMatrix4 auto_commit_arg3(jenv, jarg3, &local_arg3);
(arg1)->testLimit((btTransform const &)*arg2,(btTransform const &)*arg3);
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraint_1getAFrameConst(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btHingeConstraint *arg1 = (btHingeConstraint *) 0 ;
btTransform *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraint **)&jarg1;
result = (btTransform *) &((btHingeConstraint const *)arg1)->getAFrame();
jresult = gdx_getReturnMatrix4(jenv);
gdx_setMatrix4FrombtTransform(jenv, jresult, result);
return jresult;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraint_1getBFrameConst(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btHingeConstraint *arg1 = (btHingeConstraint *) 0 ;
btTransform *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraint **)&jarg1;
result = (btTransform *) &((btHingeConstraint const *)arg1)->getBFrame();
jresult = gdx_getReturnMatrix4(jenv);
gdx_setMatrix4FrombtTransform(jenv, jresult, result);
return jresult;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraint_1getAFrame(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btHingeConstraint *arg1 = (btHingeConstraint *) 0 ;
btTransform *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraint **)&jarg1;
result = (btTransform *) &(arg1)->getAFrame();
jresult = gdx_getReturnMatrix4(jenv);
gdx_setMatrix4FrombtTransform(jenv, jresult, result);
return jresult;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraint_1getBFrame(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btHingeConstraint *arg1 = (btHingeConstraint *) 0 ;
btTransform *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraint **)&jarg1;
result = (btTransform *) &(arg1)->getBFrame();
jresult = gdx_getReturnMatrix4(jenv);
gdx_setMatrix4FrombtTransform(jenv, jresult, result);
return jresult;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraint_1getSolveLimit(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btHingeConstraint *arg1 = (btHingeConstraint *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraint **)&jarg1;
result = (int)(arg1)->getSolveLimit();
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraint_1getLimitSign(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btHingeConstraint *arg1 = (btHingeConstraint *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraint **)&jarg1;
result = (btScalar)(arg1)->getLimitSign();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraint_1getAngularOnly(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jboolean jresult = 0 ;
btHingeConstraint *arg1 = (btHingeConstraint *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraint **)&jarg1;
result = (bool)(arg1)->getAngularOnly();
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraint_1getEnableAngularMotor(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jboolean jresult = 0 ;
btHingeConstraint *arg1 = (btHingeConstraint *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraint **)&jarg1;
result = (bool)(arg1)->getEnableAngularMotor();
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraint_1getMotorTargetVelocity(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btHingeConstraint *arg1 = (btHingeConstraint *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraint **)&jarg1;
result = (btScalar)(arg1)->getMotorTargetVelocity();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraint_1getMaxMotorImpulse(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btHingeConstraint *arg1 = (btHingeConstraint *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraint **)&jarg1;
result = (btScalar)(arg1)->getMaxMotorImpulse();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraint_1getUseFrameOffset(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jboolean jresult = 0 ;
btHingeConstraint *arg1 = (btHingeConstraint *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraint **)&jarg1;
result = (bool)(arg1)->getUseFrameOffset();
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraint_1setUseFrameOffset(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jboolean jarg2) {
btHingeConstraint *arg1 = (btHingeConstraint *) 0 ;
bool arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraint **)&jarg1;
arg2 = jarg2 ? true : false;
(arg1)->setUseFrameOffset(arg2);
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraint_1getUseReferenceFrameA(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jboolean jresult = 0 ;
btHingeConstraint *arg1 = (btHingeConstraint *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraint **)&jarg1;
result = (bool)((btHingeConstraint const *)arg1)->getUseReferenceFrameA();
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraint_1setUseReferenceFrameA(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jboolean jarg2) {
btHingeConstraint *arg1 = (btHingeConstraint *) 0 ;
bool arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraint **)&jarg1;
arg2 = jarg2 ? true : false;
(arg1)->setUseReferenceFrameA(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraint_1setParam_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jfloat jarg3, jint jarg4) {
btHingeConstraint *arg1 = (btHingeConstraint *) 0 ;
int arg2 ;
btScalar arg3 ;
int arg4 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraint **)&jarg1;
arg2 = (int)jarg2;
arg3 = (btScalar)jarg3;
arg4 = (int)jarg4;
(arg1)->setParam(arg2,arg3,arg4);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraint_1setParam_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jfloat jarg3) {
btHingeConstraint *arg1 = (btHingeConstraint *) 0 ;
int arg2 ;
btScalar arg3 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraint **)&jarg1;
arg2 = (int)jarg2;
arg3 = (btScalar)jarg3;
(arg1)->setParam(arg2,arg3);
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraint_1getParam_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jint jarg3) {
jfloat jresult = 0 ;
btHingeConstraint *arg1 = (btHingeConstraint *) 0 ;
int arg2 ;
int arg3 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraint **)&jarg1;
arg2 = (int)jarg2;
arg3 = (int)jarg3;
result = (btScalar)((btHingeConstraint const *)arg1)->getParam(arg2,arg3);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraint_1getParam_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jfloat jresult = 0 ;
btHingeConstraint *arg1 = (btHingeConstraint *) 0 ;
int arg2 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraint **)&jarg1;
arg2 = (int)jarg2;
result = (btScalar)((btHingeConstraint const *)arg1)->getParam(arg2);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraint_1getFlags(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btHingeConstraint *arg1 = (btHingeConstraint *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraint **)&jarg1;
result = (int)((btHingeConstraint const *)arg1)->getFlags();
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btHingeConstraint(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btHingeConstraint *arg1 = (btHingeConstraint *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btHingeConstraint **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintDoubleData_1typeConstraintData_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btHingeConstraintDoubleData *arg1 = (btHingeConstraintDoubleData *) 0 ;
btTypedConstraintData *arg2 = (btTypedConstraintData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btHingeConstraintDoubleData **)&jarg1;
arg2 = *(btTypedConstraintData **)&jarg2;
if (arg1) (arg1)->m_typeConstraintData = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintDoubleData_1typeConstraintData_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btHingeConstraintDoubleData *arg1 = (btHingeConstraintDoubleData *) 0 ;
btTypedConstraintData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraintDoubleData **)&jarg1;
result = (btTypedConstraintData *)& ((arg1)->m_typeConstraintData);
*(btTypedConstraintData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintDoubleData_1rbAFrame_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btHingeConstraintDoubleData *arg1 = (btHingeConstraintDoubleData *) 0 ;
btTransformDoubleData *arg2 = (btTransformDoubleData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btHingeConstraintDoubleData **)&jarg1;
arg2 = *(btTransformDoubleData **)&jarg2;
if (arg1) (arg1)->m_rbAFrame = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintDoubleData_1rbAFrame_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btHingeConstraintDoubleData *arg1 = (btHingeConstraintDoubleData *) 0 ;
btTransformDoubleData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraintDoubleData **)&jarg1;
result = (btTransformDoubleData *)& ((arg1)->m_rbAFrame);
*(btTransformDoubleData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintDoubleData_1rbBFrame_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btHingeConstraintDoubleData *arg1 = (btHingeConstraintDoubleData *) 0 ;
btTransformDoubleData *arg2 = (btTransformDoubleData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btHingeConstraintDoubleData **)&jarg1;
arg2 = *(btTransformDoubleData **)&jarg2;
if (arg1) (arg1)->m_rbBFrame = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintDoubleData_1rbBFrame_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btHingeConstraintDoubleData *arg1 = (btHingeConstraintDoubleData *) 0 ;
btTransformDoubleData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraintDoubleData **)&jarg1;
result = (btTransformDoubleData *)& ((arg1)->m_rbBFrame);
*(btTransformDoubleData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintDoubleData_1useReferenceFrameA_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btHingeConstraintDoubleData *arg1 = (btHingeConstraintDoubleData *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraintDoubleData **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_useReferenceFrameA = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintDoubleData_1useReferenceFrameA_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btHingeConstraintDoubleData *arg1 = (btHingeConstraintDoubleData *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraintDoubleData **)&jarg1;
result = (int) ((arg1)->m_useReferenceFrameA);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintDoubleData_1angularOnly_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btHingeConstraintDoubleData *arg1 = (btHingeConstraintDoubleData *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraintDoubleData **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_angularOnly = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintDoubleData_1angularOnly_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btHingeConstraintDoubleData *arg1 = (btHingeConstraintDoubleData *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraintDoubleData **)&jarg1;
result = (int) ((arg1)->m_angularOnly);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintDoubleData_1enableAngularMotor_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btHingeConstraintDoubleData *arg1 = (btHingeConstraintDoubleData *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraintDoubleData **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_enableAngularMotor = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintDoubleData_1enableAngularMotor_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btHingeConstraintDoubleData *arg1 = (btHingeConstraintDoubleData *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraintDoubleData **)&jarg1;
result = (int) ((arg1)->m_enableAngularMotor);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintDoubleData_1motorTargetVelocity_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btHingeConstraintDoubleData *arg1 = (btHingeConstraintDoubleData *) 0 ;
float arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraintDoubleData **)&jarg1;
arg2 = (float)jarg2;
if (arg1) (arg1)->m_motorTargetVelocity = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintDoubleData_1motorTargetVelocity_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btHingeConstraintDoubleData *arg1 = (btHingeConstraintDoubleData *) 0 ;
float result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraintDoubleData **)&jarg1;
result = (float) ((arg1)->m_motorTargetVelocity);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintDoubleData_1maxMotorImpulse_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btHingeConstraintDoubleData *arg1 = (btHingeConstraintDoubleData *) 0 ;
float arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraintDoubleData **)&jarg1;
arg2 = (float)jarg2;
if (arg1) (arg1)->m_maxMotorImpulse = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintDoubleData_1maxMotorImpulse_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btHingeConstraintDoubleData *arg1 = (btHingeConstraintDoubleData *) 0 ;
float result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraintDoubleData **)&jarg1;
result = (float) ((arg1)->m_maxMotorImpulse);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintDoubleData_1lowerLimit_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btHingeConstraintDoubleData *arg1 = (btHingeConstraintDoubleData *) 0 ;
float arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraintDoubleData **)&jarg1;
arg2 = (float)jarg2;
if (arg1) (arg1)->m_lowerLimit = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintDoubleData_1lowerLimit_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btHingeConstraintDoubleData *arg1 = (btHingeConstraintDoubleData *) 0 ;
float result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraintDoubleData **)&jarg1;
result = (float) ((arg1)->m_lowerLimit);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintDoubleData_1upperLimit_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btHingeConstraintDoubleData *arg1 = (btHingeConstraintDoubleData *) 0 ;
float arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraintDoubleData **)&jarg1;
arg2 = (float)jarg2;
if (arg1) (arg1)->m_upperLimit = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintDoubleData_1upperLimit_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btHingeConstraintDoubleData *arg1 = (btHingeConstraintDoubleData *) 0 ;
float result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraintDoubleData **)&jarg1;
result = (float) ((arg1)->m_upperLimit);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintDoubleData_1limitSoftness_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btHingeConstraintDoubleData *arg1 = (btHingeConstraintDoubleData *) 0 ;
float arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraintDoubleData **)&jarg1;
arg2 = (float)jarg2;
if (arg1) (arg1)->m_limitSoftness = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintDoubleData_1limitSoftness_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btHingeConstraintDoubleData *arg1 = (btHingeConstraintDoubleData *) 0 ;
float result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraintDoubleData **)&jarg1;
result = (float) ((arg1)->m_limitSoftness);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintDoubleData_1biasFactor_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btHingeConstraintDoubleData *arg1 = (btHingeConstraintDoubleData *) 0 ;
float arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraintDoubleData **)&jarg1;
arg2 = (float)jarg2;
if (arg1) (arg1)->m_biasFactor = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintDoubleData_1biasFactor_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btHingeConstraintDoubleData *arg1 = (btHingeConstraintDoubleData *) 0 ;
float result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraintDoubleData **)&jarg1;
result = (float) ((arg1)->m_biasFactor);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintDoubleData_1relaxationFactor_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btHingeConstraintDoubleData *arg1 = (btHingeConstraintDoubleData *) 0 ;
float arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraintDoubleData **)&jarg1;
arg2 = (float)jarg2;
if (arg1) (arg1)->m_relaxationFactor = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintDoubleData_1relaxationFactor_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btHingeConstraintDoubleData *arg1 = (btHingeConstraintDoubleData *) 0 ;
float result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraintDoubleData **)&jarg1;
result = (float) ((arg1)->m_relaxationFactor);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btHingeConstraintDoubleData(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btHingeConstraintDoubleData *result = 0 ;
(void)jenv;
(void)jcls;
result = (btHingeConstraintDoubleData *)new btHingeConstraintDoubleData();
*(btHingeConstraintDoubleData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btHingeConstraintDoubleData(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btHingeConstraintDoubleData *arg1 = (btHingeConstraintDoubleData *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btHingeConstraintDoubleData **)&jarg1;
delete arg1;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeAccumulatedAngleConstraint_1operatorNew_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btHingeAccumulatedAngleConstraint *arg1 = (btHingeAccumulatedAngleConstraint *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeAccumulatedAngleConstraint **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new(arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeAccumulatedAngleConstraint_1operatorDelete_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btHingeAccumulatedAngleConstraint *arg1 = (btHingeAccumulatedAngleConstraint *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeAccumulatedAngleConstraint **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete(arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeAccumulatedAngleConstraint_1operatorNew_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btHingeAccumulatedAngleConstraint *arg1 = (btHingeAccumulatedAngleConstraint *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeAccumulatedAngleConstraint **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new(arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeAccumulatedAngleConstraint_1operatorDelete_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btHingeAccumulatedAngleConstraint *arg1 = (btHingeAccumulatedAngleConstraint *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeAccumulatedAngleConstraint **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete(arg2,arg3);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeAccumulatedAngleConstraint_1operatorNewArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btHingeAccumulatedAngleConstraint *arg1 = (btHingeAccumulatedAngleConstraint *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeAccumulatedAngleConstraint **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new[](arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeAccumulatedAngleConstraint_1operatorDeleteArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btHingeAccumulatedAngleConstraint *arg1 = (btHingeAccumulatedAngleConstraint *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeAccumulatedAngleConstraint **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete[](arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeAccumulatedAngleConstraint_1operatorNewArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btHingeAccumulatedAngleConstraint *arg1 = (btHingeAccumulatedAngleConstraint *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeAccumulatedAngleConstraint **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new[](arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeAccumulatedAngleConstraint_1operatorDeleteArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btHingeAccumulatedAngleConstraint *arg1 = (btHingeAccumulatedAngleConstraint *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeAccumulatedAngleConstraint **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete[](arg2,arg3);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btHingeAccumulatedAngleConstraint_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jobject jarg3, jobject jarg4, jobject jarg5, jobject jarg6, jboolean jarg7) {
jlong jresult = 0 ;
btRigidBody *arg1 = 0 ;
btRigidBody *arg2 = 0 ;
btVector3 *arg3 = 0 ;
btVector3 *arg4 = 0 ;
btVector3 *arg5 = 0 ;
btVector3 *arg6 = 0 ;
bool arg7 ;
btHingeAccumulatedAngleConstraint *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btRigidBody **)&jarg1;
if (!arg1) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btRigidBody & reference is null");
return 0;
}
arg2 = *(btRigidBody **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btRigidBody & reference is null");
return 0;
}
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
btVector3 local_arg4;
gdx_setbtVector3FromVector3(jenv, local_arg4, jarg4);
arg4 = &local_arg4;
gdxAutoCommitVector3 auto_commit_arg4(jenv, jarg4, &local_arg4);
btVector3 local_arg5;
gdx_setbtVector3FromVector3(jenv, local_arg5, jarg5);
arg5 = &local_arg5;
gdxAutoCommitVector3 auto_commit_arg5(jenv, jarg5, &local_arg5);
btVector3 local_arg6;
gdx_setbtVector3FromVector3(jenv, local_arg6, jarg6);
arg6 = &local_arg6;
gdxAutoCommitVector3 auto_commit_arg6(jenv, jarg6, &local_arg6);
arg7 = jarg7 ? true : false;
result = (btHingeAccumulatedAngleConstraint *)new btHingeAccumulatedAngleConstraint(*arg1,*arg2,(btVector3 const &)*arg3,(btVector3 const &)*arg4,(btVector3 const &)*arg5,(btVector3 const &)*arg6,arg7);
*(btHingeAccumulatedAngleConstraint **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btHingeAccumulatedAngleConstraint_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jobject jarg3, jobject jarg4, jobject jarg5, jobject jarg6) {
jlong jresult = 0 ;
btRigidBody *arg1 = 0 ;
btRigidBody *arg2 = 0 ;
btVector3 *arg3 = 0 ;
btVector3 *arg4 = 0 ;
btVector3 *arg5 = 0 ;
btVector3 *arg6 = 0 ;
btHingeAccumulatedAngleConstraint *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btRigidBody **)&jarg1;
if (!arg1) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btRigidBody & reference is null");
return 0;
}
arg2 = *(btRigidBody **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btRigidBody & reference is null");
return 0;
}
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
btVector3 local_arg4;
gdx_setbtVector3FromVector3(jenv, local_arg4, jarg4);
arg4 = &local_arg4;
gdxAutoCommitVector3 auto_commit_arg4(jenv, jarg4, &local_arg4);
btVector3 local_arg5;
gdx_setbtVector3FromVector3(jenv, local_arg5, jarg5);
arg5 = &local_arg5;
gdxAutoCommitVector3 auto_commit_arg5(jenv, jarg5, &local_arg5);
btVector3 local_arg6;
gdx_setbtVector3FromVector3(jenv, local_arg6, jarg6);
arg6 = &local_arg6;
gdxAutoCommitVector3 auto_commit_arg6(jenv, jarg6, &local_arg6);
result = (btHingeAccumulatedAngleConstraint *)new btHingeAccumulatedAngleConstraint(*arg1,*arg2,(btVector3 const &)*arg3,(btVector3 const &)*arg4,(btVector3 const &)*arg5,(btVector3 const &)*arg6);
*(btHingeAccumulatedAngleConstraint **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btHingeAccumulatedAngleConstraint_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jobject jarg3, jboolean jarg4) {
jlong jresult = 0 ;
btRigidBody *arg1 = 0 ;
btVector3 *arg2 = 0 ;
btVector3 *arg3 = 0 ;
bool arg4 ;
btHingeAccumulatedAngleConstraint *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody **)&jarg1;
if (!arg1) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btRigidBody & reference is null");
return 0;
}
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
arg4 = jarg4 ? true : false;
result = (btHingeAccumulatedAngleConstraint *)new btHingeAccumulatedAngleConstraint(*arg1,(btVector3 const &)*arg2,(btVector3 const &)*arg3,arg4);
*(btHingeAccumulatedAngleConstraint **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btHingeAccumulatedAngleConstraint_1_1SWIG_13(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jobject jarg3) {
jlong jresult = 0 ;
btRigidBody *arg1 = 0 ;
btVector3 *arg2 = 0 ;
btVector3 *arg3 = 0 ;
btHingeAccumulatedAngleConstraint *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody **)&jarg1;
if (!arg1) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btRigidBody & reference is null");
return 0;
}
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
result = (btHingeAccumulatedAngleConstraint *)new btHingeAccumulatedAngleConstraint(*arg1,(btVector3 const &)*arg2,(btVector3 const &)*arg3);
*(btHingeAccumulatedAngleConstraint **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btHingeAccumulatedAngleConstraint_1_1SWIG_14(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jobject jarg3, jobject jarg4, jboolean jarg5) {
jlong jresult = 0 ;
btRigidBody *arg1 = 0 ;
btRigidBody *arg2 = 0 ;
btTransform *arg3 = 0 ;
btTransform *arg4 = 0 ;
bool arg5 ;
btHingeAccumulatedAngleConstraint *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btRigidBody **)&jarg1;
if (!arg1) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btRigidBody & reference is null");
return 0;
}
arg2 = *(btRigidBody **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btRigidBody & reference is null");
return 0;
}
btTransform local_arg3;
gdx_setbtTransformFromMatrix4(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitMatrix4 auto_commit_arg3(jenv, jarg3, &local_arg3);
btTransform local_arg4;
gdx_setbtTransformFromMatrix4(jenv, local_arg4, jarg4);
arg4 = &local_arg4;
gdxAutoCommitMatrix4 auto_commit_arg4(jenv, jarg4, &local_arg4);
arg5 = jarg5 ? true : false;
result = (btHingeAccumulatedAngleConstraint *)new btHingeAccumulatedAngleConstraint(*arg1,*arg2,(btTransform const &)*arg3,(btTransform const &)*arg4,arg5);
*(btHingeAccumulatedAngleConstraint **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btHingeAccumulatedAngleConstraint_1_1SWIG_15(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jobject jarg3, jobject jarg4) {
jlong jresult = 0 ;
btRigidBody *arg1 = 0 ;
btRigidBody *arg2 = 0 ;
btTransform *arg3 = 0 ;
btTransform *arg4 = 0 ;
btHingeAccumulatedAngleConstraint *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btRigidBody **)&jarg1;
if (!arg1) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btRigidBody & reference is null");
return 0;
}
arg2 = *(btRigidBody **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btRigidBody & reference is null");
return 0;
}
btTransform local_arg3;
gdx_setbtTransformFromMatrix4(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitMatrix4 auto_commit_arg3(jenv, jarg3, &local_arg3);
btTransform local_arg4;
gdx_setbtTransformFromMatrix4(jenv, local_arg4, jarg4);
arg4 = &local_arg4;
gdxAutoCommitMatrix4 auto_commit_arg4(jenv, jarg4, &local_arg4);
result = (btHingeAccumulatedAngleConstraint *)new btHingeAccumulatedAngleConstraint(*arg1,*arg2,(btTransform const &)*arg3,(btTransform const &)*arg4);
*(btHingeAccumulatedAngleConstraint **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btHingeAccumulatedAngleConstraint_1_1SWIG_16(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jboolean jarg3) {
jlong jresult = 0 ;
btRigidBody *arg1 = 0 ;
btTransform *arg2 = 0 ;
bool arg3 ;
btHingeAccumulatedAngleConstraint *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody **)&jarg1;
if (!arg1) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btRigidBody & reference is null");
return 0;
}
btTransform local_arg2;
gdx_setbtTransformFromMatrix4(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitMatrix4 auto_commit_arg2(jenv, jarg2, &local_arg2);
arg3 = jarg3 ? true : false;
result = (btHingeAccumulatedAngleConstraint *)new btHingeAccumulatedAngleConstraint(*arg1,(btTransform const &)*arg2,arg3);
*(btHingeAccumulatedAngleConstraint **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btHingeAccumulatedAngleConstraint_1_1SWIG_17(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
jlong jresult = 0 ;
btRigidBody *arg1 = 0 ;
btTransform *arg2 = 0 ;
btHingeAccumulatedAngleConstraint *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody **)&jarg1;
if (!arg1) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btRigidBody & reference is null");
return 0;
}
btTransform local_arg2;
gdx_setbtTransformFromMatrix4(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitMatrix4 auto_commit_arg2(jenv, jarg2, &local_arg2);
result = (btHingeAccumulatedAngleConstraint *)new btHingeAccumulatedAngleConstraint(*arg1,(btTransform const &)*arg2);
*(btHingeAccumulatedAngleConstraint **)&jresult = result;
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeAccumulatedAngleConstraint_1getAccumulatedHingeAngle(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btHingeAccumulatedAngleConstraint *arg1 = (btHingeAccumulatedAngleConstraint *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeAccumulatedAngleConstraint **)&jarg1;
result = (btScalar)(arg1)->getAccumulatedHingeAngle();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeAccumulatedAngleConstraint_1setAccumulatedHingeAngle(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btHingeAccumulatedAngleConstraint *arg1 = (btHingeAccumulatedAngleConstraint *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeAccumulatedAngleConstraint **)&jarg1;
arg2 = (btScalar)jarg2;
(arg1)->setAccumulatedHingeAngle(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btHingeAccumulatedAngleConstraint(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btHingeAccumulatedAngleConstraint *arg1 = (btHingeAccumulatedAngleConstraint *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btHingeAccumulatedAngleConstraint **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintFloatData_1typeConstraintData_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btHingeConstraintFloatData *arg1 = (btHingeConstraintFloatData *) 0 ;
btTypedConstraintData *arg2 = (btTypedConstraintData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btHingeConstraintFloatData **)&jarg1;
arg2 = *(btTypedConstraintData **)&jarg2;
if (arg1) (arg1)->m_typeConstraintData = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintFloatData_1typeConstraintData_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btHingeConstraintFloatData *arg1 = (btHingeConstraintFloatData *) 0 ;
btTypedConstraintData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraintFloatData **)&jarg1;
result = (btTypedConstraintData *)& ((arg1)->m_typeConstraintData);
*(btTypedConstraintData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintFloatData_1rbAFrame_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btHingeConstraintFloatData *arg1 = (btHingeConstraintFloatData *) 0 ;
btTransformFloatData *arg2 = (btTransformFloatData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btHingeConstraintFloatData **)&jarg1;
arg2 = *(btTransformFloatData **)&jarg2;
if (arg1) (arg1)->m_rbAFrame = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintFloatData_1rbAFrame_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btHingeConstraintFloatData *arg1 = (btHingeConstraintFloatData *) 0 ;
btTransformFloatData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraintFloatData **)&jarg1;
result = (btTransformFloatData *)& ((arg1)->m_rbAFrame);
*(btTransformFloatData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintFloatData_1rbBFrame_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btHingeConstraintFloatData *arg1 = (btHingeConstraintFloatData *) 0 ;
btTransformFloatData *arg2 = (btTransformFloatData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btHingeConstraintFloatData **)&jarg1;
arg2 = *(btTransformFloatData **)&jarg2;
if (arg1) (arg1)->m_rbBFrame = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintFloatData_1rbBFrame_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btHingeConstraintFloatData *arg1 = (btHingeConstraintFloatData *) 0 ;
btTransformFloatData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraintFloatData **)&jarg1;
result = (btTransformFloatData *)& ((arg1)->m_rbBFrame);
*(btTransformFloatData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintFloatData_1useReferenceFrameA_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btHingeConstraintFloatData *arg1 = (btHingeConstraintFloatData *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraintFloatData **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_useReferenceFrameA = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintFloatData_1useReferenceFrameA_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btHingeConstraintFloatData *arg1 = (btHingeConstraintFloatData *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraintFloatData **)&jarg1;
result = (int) ((arg1)->m_useReferenceFrameA);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintFloatData_1angularOnly_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btHingeConstraintFloatData *arg1 = (btHingeConstraintFloatData *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraintFloatData **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_angularOnly = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintFloatData_1angularOnly_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btHingeConstraintFloatData *arg1 = (btHingeConstraintFloatData *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraintFloatData **)&jarg1;
result = (int) ((arg1)->m_angularOnly);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintFloatData_1enableAngularMotor_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btHingeConstraintFloatData *arg1 = (btHingeConstraintFloatData *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraintFloatData **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_enableAngularMotor = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintFloatData_1enableAngularMotor_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btHingeConstraintFloatData *arg1 = (btHingeConstraintFloatData *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraintFloatData **)&jarg1;
result = (int) ((arg1)->m_enableAngularMotor);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintFloatData_1motorTargetVelocity_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btHingeConstraintFloatData *arg1 = (btHingeConstraintFloatData *) 0 ;
float arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraintFloatData **)&jarg1;
arg2 = (float)jarg2;
if (arg1) (arg1)->m_motorTargetVelocity = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintFloatData_1motorTargetVelocity_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btHingeConstraintFloatData *arg1 = (btHingeConstraintFloatData *) 0 ;
float result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraintFloatData **)&jarg1;
result = (float) ((arg1)->m_motorTargetVelocity);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintFloatData_1maxMotorImpulse_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btHingeConstraintFloatData *arg1 = (btHingeConstraintFloatData *) 0 ;
float arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraintFloatData **)&jarg1;
arg2 = (float)jarg2;
if (arg1) (arg1)->m_maxMotorImpulse = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintFloatData_1maxMotorImpulse_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btHingeConstraintFloatData *arg1 = (btHingeConstraintFloatData *) 0 ;
float result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraintFloatData **)&jarg1;
result = (float) ((arg1)->m_maxMotorImpulse);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintFloatData_1lowerLimit_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btHingeConstraintFloatData *arg1 = (btHingeConstraintFloatData *) 0 ;
float arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraintFloatData **)&jarg1;
arg2 = (float)jarg2;
if (arg1) (arg1)->m_lowerLimit = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintFloatData_1lowerLimit_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btHingeConstraintFloatData *arg1 = (btHingeConstraintFloatData *) 0 ;
float result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraintFloatData **)&jarg1;
result = (float) ((arg1)->m_lowerLimit);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintFloatData_1upperLimit_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btHingeConstraintFloatData *arg1 = (btHingeConstraintFloatData *) 0 ;
float arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraintFloatData **)&jarg1;
arg2 = (float)jarg2;
if (arg1) (arg1)->m_upperLimit = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintFloatData_1upperLimit_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btHingeConstraintFloatData *arg1 = (btHingeConstraintFloatData *) 0 ;
float result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraintFloatData **)&jarg1;
result = (float) ((arg1)->m_upperLimit);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintFloatData_1limitSoftness_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btHingeConstraintFloatData *arg1 = (btHingeConstraintFloatData *) 0 ;
float arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraintFloatData **)&jarg1;
arg2 = (float)jarg2;
if (arg1) (arg1)->m_limitSoftness = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintFloatData_1limitSoftness_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btHingeConstraintFloatData *arg1 = (btHingeConstraintFloatData *) 0 ;
float result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraintFloatData **)&jarg1;
result = (float) ((arg1)->m_limitSoftness);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintFloatData_1biasFactor_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btHingeConstraintFloatData *arg1 = (btHingeConstraintFloatData *) 0 ;
float arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraintFloatData **)&jarg1;
arg2 = (float)jarg2;
if (arg1) (arg1)->m_biasFactor = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintFloatData_1biasFactor_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btHingeConstraintFloatData *arg1 = (btHingeConstraintFloatData *) 0 ;
float result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraintFloatData **)&jarg1;
result = (float) ((arg1)->m_biasFactor);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintFloatData_1relaxationFactor_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btHingeConstraintFloatData *arg1 = (btHingeConstraintFloatData *) 0 ;
float arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraintFloatData **)&jarg1;
arg2 = (float)jarg2;
if (arg1) (arg1)->m_relaxationFactor = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintFloatData_1relaxationFactor_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btHingeConstraintFloatData *arg1 = (btHingeConstraintFloatData *) 0 ;
float result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraintFloatData **)&jarg1;
result = (float) ((arg1)->m_relaxationFactor);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btHingeConstraintFloatData(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btHingeConstraintFloatData *result = 0 ;
(void)jenv;
(void)jcls;
result = (btHingeConstraintFloatData *)new btHingeConstraintFloatData();
*(btHingeConstraintFloatData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btHingeConstraintFloatData(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btHingeConstraintFloatData *arg1 = (btHingeConstraintFloatData *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btHingeConstraintFloatData **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintDoubleData2_1typeConstraintData_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btHingeConstraintDoubleData2 *arg1 = (btHingeConstraintDoubleData2 *) 0 ;
btTypedConstraintDoubleData *arg2 = (btTypedConstraintDoubleData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btHingeConstraintDoubleData2 **)&jarg1;
arg2 = *(btTypedConstraintDoubleData **)&jarg2;
if (arg1) (arg1)->m_typeConstraintData = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintDoubleData2_1typeConstraintData_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btHingeConstraintDoubleData2 *arg1 = (btHingeConstraintDoubleData2 *) 0 ;
btTypedConstraintDoubleData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraintDoubleData2 **)&jarg1;
result = (btTypedConstraintDoubleData *)& ((arg1)->m_typeConstraintData);
*(btTypedConstraintDoubleData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintDoubleData2_1rbAFrame_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btHingeConstraintDoubleData2 *arg1 = (btHingeConstraintDoubleData2 *) 0 ;
btTransformDoubleData *arg2 = (btTransformDoubleData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btHingeConstraintDoubleData2 **)&jarg1;
arg2 = *(btTransformDoubleData **)&jarg2;
if (arg1) (arg1)->m_rbAFrame = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintDoubleData2_1rbAFrame_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btHingeConstraintDoubleData2 *arg1 = (btHingeConstraintDoubleData2 *) 0 ;
btTransformDoubleData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraintDoubleData2 **)&jarg1;
result = (btTransformDoubleData *)& ((arg1)->m_rbAFrame);
*(btTransformDoubleData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintDoubleData2_1rbBFrame_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btHingeConstraintDoubleData2 *arg1 = (btHingeConstraintDoubleData2 *) 0 ;
btTransformDoubleData *arg2 = (btTransformDoubleData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btHingeConstraintDoubleData2 **)&jarg1;
arg2 = *(btTransformDoubleData **)&jarg2;
if (arg1) (arg1)->m_rbBFrame = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintDoubleData2_1rbBFrame_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btHingeConstraintDoubleData2 *arg1 = (btHingeConstraintDoubleData2 *) 0 ;
btTransformDoubleData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraintDoubleData2 **)&jarg1;
result = (btTransformDoubleData *)& ((arg1)->m_rbBFrame);
*(btTransformDoubleData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintDoubleData2_1useReferenceFrameA_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btHingeConstraintDoubleData2 *arg1 = (btHingeConstraintDoubleData2 *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraintDoubleData2 **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_useReferenceFrameA = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintDoubleData2_1useReferenceFrameA_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btHingeConstraintDoubleData2 *arg1 = (btHingeConstraintDoubleData2 *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraintDoubleData2 **)&jarg1;
result = (int) ((arg1)->m_useReferenceFrameA);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintDoubleData2_1angularOnly_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btHingeConstraintDoubleData2 *arg1 = (btHingeConstraintDoubleData2 *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraintDoubleData2 **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_angularOnly = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintDoubleData2_1angularOnly_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btHingeConstraintDoubleData2 *arg1 = (btHingeConstraintDoubleData2 *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraintDoubleData2 **)&jarg1;
result = (int) ((arg1)->m_angularOnly);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintDoubleData2_1enableAngularMotor_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btHingeConstraintDoubleData2 *arg1 = (btHingeConstraintDoubleData2 *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraintDoubleData2 **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_enableAngularMotor = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintDoubleData2_1enableAngularMotor_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btHingeConstraintDoubleData2 *arg1 = (btHingeConstraintDoubleData2 *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraintDoubleData2 **)&jarg1;
result = (int) ((arg1)->m_enableAngularMotor);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintDoubleData2_1motorTargetVelocity_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2) {
btHingeConstraintDoubleData2 *arg1 = (btHingeConstraintDoubleData2 *) 0 ;
double arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraintDoubleData2 **)&jarg1;
arg2 = (double)jarg2;
if (arg1) (arg1)->m_motorTargetVelocity = arg2;
}
SWIGEXPORT jdouble JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintDoubleData2_1motorTargetVelocity_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jdouble jresult = 0 ;
btHingeConstraintDoubleData2 *arg1 = (btHingeConstraintDoubleData2 *) 0 ;
double result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraintDoubleData2 **)&jarg1;
result = (double) ((arg1)->m_motorTargetVelocity);
jresult = (jdouble)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintDoubleData2_1maxMotorImpulse_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2) {
btHingeConstraintDoubleData2 *arg1 = (btHingeConstraintDoubleData2 *) 0 ;
double arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraintDoubleData2 **)&jarg1;
arg2 = (double)jarg2;
if (arg1) (arg1)->m_maxMotorImpulse = arg2;
}
SWIGEXPORT jdouble JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintDoubleData2_1maxMotorImpulse_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jdouble jresult = 0 ;
btHingeConstraintDoubleData2 *arg1 = (btHingeConstraintDoubleData2 *) 0 ;
double result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraintDoubleData2 **)&jarg1;
result = (double) ((arg1)->m_maxMotorImpulse);
jresult = (jdouble)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintDoubleData2_1lowerLimit_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2) {
btHingeConstraintDoubleData2 *arg1 = (btHingeConstraintDoubleData2 *) 0 ;
double arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraintDoubleData2 **)&jarg1;
arg2 = (double)jarg2;
if (arg1) (arg1)->m_lowerLimit = arg2;
}
SWIGEXPORT jdouble JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintDoubleData2_1lowerLimit_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jdouble jresult = 0 ;
btHingeConstraintDoubleData2 *arg1 = (btHingeConstraintDoubleData2 *) 0 ;
double result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraintDoubleData2 **)&jarg1;
result = (double) ((arg1)->m_lowerLimit);
jresult = (jdouble)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintDoubleData2_1upperLimit_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2) {
btHingeConstraintDoubleData2 *arg1 = (btHingeConstraintDoubleData2 *) 0 ;
double arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraintDoubleData2 **)&jarg1;
arg2 = (double)jarg2;
if (arg1) (arg1)->m_upperLimit = arg2;
}
SWIGEXPORT jdouble JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintDoubleData2_1upperLimit_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jdouble jresult = 0 ;
btHingeConstraintDoubleData2 *arg1 = (btHingeConstraintDoubleData2 *) 0 ;
double result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraintDoubleData2 **)&jarg1;
result = (double) ((arg1)->m_upperLimit);
jresult = (jdouble)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintDoubleData2_1limitSoftness_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2) {
btHingeConstraintDoubleData2 *arg1 = (btHingeConstraintDoubleData2 *) 0 ;
double arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraintDoubleData2 **)&jarg1;
arg2 = (double)jarg2;
if (arg1) (arg1)->m_limitSoftness = arg2;
}
SWIGEXPORT jdouble JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintDoubleData2_1limitSoftness_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jdouble jresult = 0 ;
btHingeConstraintDoubleData2 *arg1 = (btHingeConstraintDoubleData2 *) 0 ;
double result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraintDoubleData2 **)&jarg1;
result = (double) ((arg1)->m_limitSoftness);
jresult = (jdouble)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintDoubleData2_1biasFactor_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2) {
btHingeConstraintDoubleData2 *arg1 = (btHingeConstraintDoubleData2 *) 0 ;
double arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraintDoubleData2 **)&jarg1;
arg2 = (double)jarg2;
if (arg1) (arg1)->m_biasFactor = arg2;
}
SWIGEXPORT jdouble JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintDoubleData2_1biasFactor_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jdouble jresult = 0 ;
btHingeConstraintDoubleData2 *arg1 = (btHingeConstraintDoubleData2 *) 0 ;
double result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraintDoubleData2 **)&jarg1;
result = (double) ((arg1)->m_biasFactor);
jresult = (jdouble)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintDoubleData2_1relaxationFactor_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2) {
btHingeConstraintDoubleData2 *arg1 = (btHingeConstraintDoubleData2 *) 0 ;
double arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraintDoubleData2 **)&jarg1;
arg2 = (double)jarg2;
if (arg1) (arg1)->m_relaxationFactor = arg2;
}
SWIGEXPORT jdouble JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintDoubleData2_1relaxationFactor_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jdouble jresult = 0 ;
btHingeConstraintDoubleData2 *arg1 = (btHingeConstraintDoubleData2 *) 0 ;
double result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraintDoubleData2 **)&jarg1;
result = (double) ((arg1)->m_relaxationFactor);
jresult = (jdouble)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintDoubleData2_1padding1_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
btHingeConstraintDoubleData2 *arg1 = (btHingeConstraintDoubleData2 *) 0 ;
char *arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraintDoubleData2 **)&jarg1;
arg2 = 0;
if (jarg2) {
arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
if (!arg2) return ;
}
{
if(arg2) {
strncpy((char*)arg1->m_padding1, (const char *)arg2, 4-1);
arg1->m_padding1[4-1] = 0;
} else {
arg1->m_padding1[0] = 0;
}
}
if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
}
SWIGEXPORT jstring JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintDoubleData2_1padding1_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jstring jresult = 0 ;
btHingeConstraintDoubleData2 *arg1 = (btHingeConstraintDoubleData2 *) 0 ;
char *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraintDoubleData2 **)&jarg1;
result = (char *)(char *) ((arg1)->m_padding1);
if (result) jresult = jenv->NewStringUTF((const char *)result);
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btHingeConstraintDoubleData2(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btHingeConstraintDoubleData2 *result = 0 ;
(void)jenv;
(void)jcls;
result = (btHingeConstraintDoubleData2 *)new btHingeConstraintDoubleData2();
*(btHingeConstraintDoubleData2 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btHingeConstraintDoubleData2(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btHingeConstraintDoubleData2 *arg1 = (btHingeConstraintDoubleData2 *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btHingeConstraintDoubleData2 **)&jarg1;
delete arg1;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverConstraint_1operatorNew_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btSolverConstraint *arg1 = (btSolverConstraint *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSolverConstraint **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new(arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverConstraint_1operatorDelete_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btSolverConstraint *arg1 = (btSolverConstraint *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSolverConstraint **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete(arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverConstraint_1operatorNew_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btSolverConstraint *arg1 = (btSolverConstraint *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSolverConstraint **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new(arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverConstraint_1operatorDelete_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btSolverConstraint *arg1 = (btSolverConstraint *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSolverConstraint **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete(arg2,arg3);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverConstraint_1operatorNewArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btSolverConstraint *arg1 = (btSolverConstraint *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSolverConstraint **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new[](arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverConstraint_1operatorDeleteArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btSolverConstraint *arg1 = (btSolverConstraint *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSolverConstraint **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete[](arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverConstraint_1operatorNewArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btSolverConstraint *arg1 = (btSolverConstraint *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSolverConstraint **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new[](arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverConstraint_1operatorDeleteArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btSolverConstraint *arg1 = (btSolverConstraint *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSolverConstraint **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete[](arg2,arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverConstraint_1relpos1CrossNormal_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btSolverConstraint *arg1 = (btSolverConstraint *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btSolverConstraint **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->m_relpos1CrossNormal = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverConstraint_1relpos1CrossNormal_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btSolverConstraint *arg1 = (btSolverConstraint *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSolverConstraint **)&jarg1;
result = (btVector3 *)& ((arg1)->m_relpos1CrossNormal);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverConstraint_1contactNormal1_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btSolverConstraint *arg1 = (btSolverConstraint *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btSolverConstraint **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->m_contactNormal1 = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverConstraint_1contactNormal1_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btSolverConstraint *arg1 = (btSolverConstraint *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSolverConstraint **)&jarg1;
result = (btVector3 *)& ((arg1)->m_contactNormal1);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverConstraint_1relpos2CrossNormal_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btSolverConstraint *arg1 = (btSolverConstraint *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btSolverConstraint **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->m_relpos2CrossNormal = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverConstraint_1relpos2CrossNormal_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btSolverConstraint *arg1 = (btSolverConstraint *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSolverConstraint **)&jarg1;
result = (btVector3 *)& ((arg1)->m_relpos2CrossNormal);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverConstraint_1contactNormal2_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btSolverConstraint *arg1 = (btSolverConstraint *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btSolverConstraint **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->m_contactNormal2 = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverConstraint_1contactNormal2_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btSolverConstraint *arg1 = (btSolverConstraint *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSolverConstraint **)&jarg1;
result = (btVector3 *)& ((arg1)->m_contactNormal2);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverConstraint_1angularComponentA_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btSolverConstraint *arg1 = (btSolverConstraint *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btSolverConstraint **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->m_angularComponentA = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverConstraint_1angularComponentA_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btSolverConstraint *arg1 = (btSolverConstraint *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSolverConstraint **)&jarg1;
result = (btVector3 *)& ((arg1)->m_angularComponentA);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverConstraint_1angularComponentB_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btSolverConstraint *arg1 = (btSolverConstraint *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btSolverConstraint **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->m_angularComponentB = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverConstraint_1angularComponentB_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btSolverConstraint *arg1 = (btSolverConstraint *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSolverConstraint **)&jarg1;
result = (btVector3 *)& ((arg1)->m_angularComponentB);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverConstraint_1appliedPushImpulse_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btSolverConstraint *arg1 = (btSolverConstraint *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSolverConstraint **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_appliedPushImpulse = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverConstraint_1appliedPushImpulse_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btSolverConstraint *arg1 = (btSolverConstraint *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSolverConstraint **)&jarg1;
result = (btScalar) ((arg1)->m_appliedPushImpulse);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverConstraint_1appliedImpulse_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btSolverConstraint *arg1 = (btSolverConstraint *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSolverConstraint **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_appliedImpulse = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverConstraint_1appliedImpulse_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btSolverConstraint *arg1 = (btSolverConstraint *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSolverConstraint **)&jarg1;
result = (btScalar) ((arg1)->m_appliedImpulse);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverConstraint_1friction_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btSolverConstraint *arg1 = (btSolverConstraint *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSolverConstraint **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_friction = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverConstraint_1friction_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btSolverConstraint *arg1 = (btSolverConstraint *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSolverConstraint **)&jarg1;
result = (btScalar) ((arg1)->m_friction);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverConstraint_1jacDiagABInv_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btSolverConstraint *arg1 = (btSolverConstraint *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSolverConstraint **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_jacDiagABInv = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverConstraint_1jacDiagABInv_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btSolverConstraint *arg1 = (btSolverConstraint *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSolverConstraint **)&jarg1;
result = (btScalar) ((arg1)->m_jacDiagABInv);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverConstraint_1rhs_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btSolverConstraint *arg1 = (btSolverConstraint *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSolverConstraint **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_rhs = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverConstraint_1rhs_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btSolverConstraint *arg1 = (btSolverConstraint *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSolverConstraint **)&jarg1;
result = (btScalar) ((arg1)->m_rhs);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverConstraint_1cfm_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btSolverConstraint *arg1 = (btSolverConstraint *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSolverConstraint **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_cfm = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverConstraint_1cfm_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btSolverConstraint *arg1 = (btSolverConstraint *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSolverConstraint **)&jarg1;
result = (btScalar) ((arg1)->m_cfm);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverConstraint_1lowerLimit_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btSolverConstraint *arg1 = (btSolverConstraint *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSolverConstraint **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_lowerLimit = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverConstraint_1lowerLimit_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btSolverConstraint *arg1 = (btSolverConstraint *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSolverConstraint **)&jarg1;
result = (btScalar) ((arg1)->m_lowerLimit);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverConstraint_1upperLimit_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btSolverConstraint *arg1 = (btSolverConstraint *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSolverConstraint **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_upperLimit = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverConstraint_1upperLimit_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btSolverConstraint *arg1 = (btSolverConstraint *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSolverConstraint **)&jarg1;
result = (btScalar) ((arg1)->m_upperLimit);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverConstraint_1rhsPenetration_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btSolverConstraint *arg1 = (btSolverConstraint *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSolverConstraint **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_rhsPenetration = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverConstraint_1rhsPenetration_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btSolverConstraint *arg1 = (btSolverConstraint *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSolverConstraint **)&jarg1;
result = (btScalar) ((arg1)->m_rhsPenetration);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverConstraint_1originalContactPoint_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btSolverConstraint *arg1 = (btSolverConstraint *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSolverConstraint **)&jarg1;
arg2 = (void *)jarg2;
if (arg1) (arg1)->m_originalContactPoint = arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverConstraint_1originalContactPoint_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btSolverConstraint *arg1 = (btSolverConstraint *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSolverConstraint **)&jarg1;
result = (void *) ((arg1)->m_originalContactPoint);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverConstraint_1unusedPadding4_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btSolverConstraint *arg1 = (btSolverConstraint *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSolverConstraint **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_unusedPadding4 = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverConstraint_1unusedPadding4_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btSolverConstraint *arg1 = (btSolverConstraint *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSolverConstraint **)&jarg1;
result = (btScalar) ((arg1)->m_unusedPadding4);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverConstraint_1numRowsForNonContactConstraint_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btSolverConstraint *arg1 = (btSolverConstraint *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSolverConstraint **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_numRowsForNonContactConstraint = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverConstraint_1numRowsForNonContactConstraint_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btSolverConstraint *arg1 = (btSolverConstraint *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSolverConstraint **)&jarg1;
result = (int) ((arg1)->m_numRowsForNonContactConstraint);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverConstraint_1overrideNumSolverIterations_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btSolverConstraint *arg1 = (btSolverConstraint *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSolverConstraint **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_overrideNumSolverIterations = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverConstraint_1overrideNumSolverIterations_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btSolverConstraint *arg1 = (btSolverConstraint *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSolverConstraint **)&jarg1;
result = (int) ((arg1)->m_overrideNumSolverIterations);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverConstraint_1frictionIndex_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btSolverConstraint *arg1 = (btSolverConstraint *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSolverConstraint **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_frictionIndex = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverConstraint_1frictionIndex_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btSolverConstraint *arg1 = (btSolverConstraint *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSolverConstraint **)&jarg1;
result = (int) ((arg1)->m_frictionIndex);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverConstraint_1solverBodyIdA_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btSolverConstraint *arg1 = (btSolverConstraint *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSolverConstraint **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_solverBodyIdA = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverConstraint_1solverBodyIdA_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btSolverConstraint *arg1 = (btSolverConstraint *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSolverConstraint **)&jarg1;
result = (int) ((arg1)->m_solverBodyIdA);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverConstraint_1solverBodyIdB_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btSolverConstraint *arg1 = (btSolverConstraint *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSolverConstraint **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_solverBodyIdB = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverConstraint_1solverBodyIdB_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btSolverConstraint *arg1 = (btSolverConstraint *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSolverConstraint **)&jarg1;
result = (int) ((arg1)->m_solverBodyIdB);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btSolverConstraint(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btSolverConstraint *result = 0 ;
(void)jenv;
(void)jcls;
result = (btSolverConstraint *)new btSolverConstraint();
*(btSolverConstraint **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btSolverConstraint(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btSolverConstraint *arg1 = (btSolverConstraint *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btSolverConstraint **)&jarg1;
delete arg1;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHinge2Constraint_1operatorNew_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btHinge2Constraint *arg1 = (btHinge2Constraint *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHinge2Constraint **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new(arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHinge2Constraint_1operatorDelete_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btHinge2Constraint *arg1 = (btHinge2Constraint *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHinge2Constraint **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete(arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHinge2Constraint_1operatorNew_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btHinge2Constraint *arg1 = (btHinge2Constraint *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHinge2Constraint **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new(arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHinge2Constraint_1operatorDelete_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btHinge2Constraint *arg1 = (btHinge2Constraint *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHinge2Constraint **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete(arg2,arg3);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHinge2Constraint_1operatorNewArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btHinge2Constraint *arg1 = (btHinge2Constraint *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHinge2Constraint **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new[](arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHinge2Constraint_1operatorDeleteArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btHinge2Constraint *arg1 = (btHinge2Constraint *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHinge2Constraint **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete[](arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHinge2Constraint_1operatorNewArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btHinge2Constraint *arg1 = (btHinge2Constraint *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHinge2Constraint **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new[](arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHinge2Constraint_1operatorDeleteArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btHinge2Constraint *arg1 = (btHinge2Constraint *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHinge2Constraint **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete[](arg2,arg3);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btHinge2Constraint(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jobject jarg3, jobject jarg4, jobject jarg5) {
jlong jresult = 0 ;
btRigidBody *arg1 = 0 ;
btRigidBody *arg2 = 0 ;
btVector3 *arg3 = 0 ;
btVector3 *arg4 = 0 ;
btVector3 *arg5 = 0 ;
btHinge2Constraint *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btRigidBody **)&jarg1;
if (!arg1) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btRigidBody & reference is null");
return 0;
}
arg2 = *(btRigidBody **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btRigidBody & reference is null");
return 0;
}
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
btVector3 local_arg4;
gdx_setbtVector3FromVector3(jenv, local_arg4, jarg4);
arg4 = &local_arg4;
gdxAutoCommitVector3 auto_commit_arg4(jenv, jarg4, &local_arg4);
btVector3 local_arg5;
gdx_setbtVector3FromVector3(jenv, local_arg5, jarg5);
arg5 = &local_arg5;
gdxAutoCommitVector3 auto_commit_arg5(jenv, jarg5, &local_arg5);
result = (btHinge2Constraint *)new btHinge2Constraint(*arg1,*arg2,*arg3,*arg4,*arg5);
*(btHinge2Constraint **)&jresult = result;
return jresult;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHinge2Constraint_1getAnchor(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btHinge2Constraint *arg1 = (btHinge2Constraint *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHinge2Constraint **)&jarg1;
result = (btVector3 *) &(arg1)->getAnchor();
jresult = gdx_getReturnVector3(jenv);
gdx_setVector3FrombtVector3(jenv, jresult, result);
return jresult;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHinge2Constraint_1getAnchor2(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btHinge2Constraint *arg1 = (btHinge2Constraint *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHinge2Constraint **)&jarg1;
result = (btVector3 *) &(arg1)->getAnchor2();
jresult = gdx_getReturnVector3(jenv);
gdx_setVector3FrombtVector3(jenv, jresult, result);
return jresult;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHinge2Constraint_1getAxis1(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btHinge2Constraint *arg1 = (btHinge2Constraint *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHinge2Constraint **)&jarg1;
result = (btVector3 *) &(arg1)->getAxis1();
jresult = gdx_getReturnVector3(jenv);
gdx_setVector3FrombtVector3(jenv, jresult, result);
return jresult;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHinge2Constraint_1getAxis2(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btHinge2Constraint *arg1 = (btHinge2Constraint *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHinge2Constraint **)&jarg1;
result = (btVector3 *) &(arg1)->getAxis2();
jresult = gdx_getReturnVector3(jenv);
gdx_setVector3FrombtVector3(jenv, jresult, result);
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHinge2Constraint_1getAngle1(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btHinge2Constraint *arg1 = (btHinge2Constraint *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHinge2Constraint **)&jarg1;
result = (btScalar)(arg1)->getAngle1();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHinge2Constraint_1getAngle2(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btHinge2Constraint *arg1 = (btHinge2Constraint *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHinge2Constraint **)&jarg1;
result = (btScalar)(arg1)->getAngle2();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHinge2Constraint_1setUpperLimit(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btHinge2Constraint *arg1 = (btHinge2Constraint *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHinge2Constraint **)&jarg1;
arg2 = (btScalar)jarg2;
(arg1)->setUpperLimit(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHinge2Constraint_1setLowerLimit(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btHinge2Constraint *arg1 = (btHinge2Constraint *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHinge2Constraint **)&jarg1;
arg2 = (btScalar)jarg2;
(arg1)->setLowerLimit(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btHinge2Constraint(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btHinge2Constraint *arg1 = (btHinge2Constraint *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btHinge2Constraint **)&jarg1;
delete arg1;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btFixedConstraint(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jobject jarg3, jobject jarg4) {
jlong jresult = 0 ;
btRigidBody *arg1 = 0 ;
btRigidBody *arg2 = 0 ;
btTransform *arg3 = 0 ;
btTransform *arg4 = 0 ;
btFixedConstraint *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btRigidBody **)&jarg1;
if (!arg1) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btRigidBody & reference is null");
return 0;
}
arg2 = *(btRigidBody **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btRigidBody & reference is null");
return 0;
}
btTransform local_arg3;
gdx_setbtTransformFromMatrix4(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitMatrix4 auto_commit_arg3(jenv, jarg3, &local_arg3);
btTransform local_arg4;
gdx_setbtTransformFromMatrix4(jenv, local_arg4, jarg4);
arg4 = &local_arg4;
gdxAutoCommitMatrix4 auto_commit_arg4(jenv, jarg4, &local_arg4);
result = (btFixedConstraint *)new btFixedConstraint(*arg1,*arg2,(btTransform const &)*arg3,(btTransform const &)*arg4);
*(btFixedConstraint **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btFixedConstraint(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btFixedConstraint *arg1 = (btFixedConstraint *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btFixedConstraint **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btVehicleRaycaster(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btVehicleRaycaster *arg1 = (btVehicleRaycaster *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btVehicleRaycaster **)&jarg1;
delete arg1;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btVehicleRaycaster_1btVehicleRaycasterResult(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btVehicleRaycaster::btVehicleRaycasterResult *result = 0 ;
(void)jenv;
(void)jcls;
result = (btVehicleRaycaster::btVehicleRaycasterResult *)new btVehicleRaycaster::btVehicleRaycasterResult();
*(btVehicleRaycaster::btVehicleRaycasterResult **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btVehicleRaycaster_1btVehicleRaycasterResult_1hitPointInWorld_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btVehicleRaycaster::btVehicleRaycasterResult *arg1 = (btVehicleRaycaster::btVehicleRaycasterResult *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btVehicleRaycaster::btVehicleRaycasterResult **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->m_hitPointInWorld = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btVehicleRaycaster_1btVehicleRaycasterResult_1hitPointInWorld_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btVehicleRaycaster::btVehicleRaycasterResult *arg1 = (btVehicleRaycaster::btVehicleRaycasterResult *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btVehicleRaycaster::btVehicleRaycasterResult **)&jarg1;
result = (btVector3 *)& ((arg1)->m_hitPointInWorld);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btVehicleRaycaster_1btVehicleRaycasterResult_1hitNormalInWorld_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btVehicleRaycaster::btVehicleRaycasterResult *arg1 = (btVehicleRaycaster::btVehicleRaycasterResult *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btVehicleRaycaster::btVehicleRaycasterResult **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->m_hitNormalInWorld = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btVehicleRaycaster_1btVehicleRaycasterResult_1hitNormalInWorld_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btVehicleRaycaster::btVehicleRaycasterResult *arg1 = (btVehicleRaycaster::btVehicleRaycasterResult *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btVehicleRaycaster::btVehicleRaycasterResult **)&jarg1;
result = (btVector3 *)& ((arg1)->m_hitNormalInWorld);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btVehicleRaycaster_1btVehicleRaycasterResult_1distFraction_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btVehicleRaycaster::btVehicleRaycasterResult *arg1 = (btVehicleRaycaster::btVehicleRaycasterResult *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btVehicleRaycaster::btVehicleRaycasterResult **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_distFraction = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btVehicleRaycaster_1btVehicleRaycasterResult_1distFraction_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btVehicleRaycaster::btVehicleRaycasterResult *arg1 = (btVehicleRaycaster::btVehicleRaycasterResult *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btVehicleRaycaster::btVehicleRaycasterResult **)&jarg1;
result = (btScalar) ((arg1)->m_distFraction);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btVehicleRaycaster_1btVehicleRaycasterResult(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btVehicleRaycaster::btVehicleRaycasterResult *arg1 = (btVehicleRaycaster::btVehicleRaycasterResult *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btVehicleRaycaster::btVehicleRaycasterResult **)&jarg1;
delete arg1;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btVehicleRaycaster_1castRay(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jobject jarg3, jlong jarg4, jobject jarg4_) {
jlong jresult = 0 ;
btVehicleRaycaster *arg1 = (btVehicleRaycaster *) 0 ;
btVector3 *arg2 = 0 ;
btVector3 *arg3 = 0 ;
btVehicleRaycaster::btVehicleRaycasterResult *arg4 = 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg4_;
arg1 = *(btVehicleRaycaster **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
arg4 = *(btVehicleRaycaster::btVehicleRaycasterResult **)&jarg4;
if (!arg4) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btVehicleRaycaster::btVehicleRaycasterResult & reference is null");
return 0;
}
result = (void *)(arg1)->castRay((btVector3 const &)*arg2,(btVector3 const &)*arg3,*arg4);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfoConstructionInfo_1chassisConnectionCS_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btWheelInfoConstructionInfo *arg1 = (btWheelInfoConstructionInfo *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btWheelInfoConstructionInfo **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->m_chassisConnectionCS = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfoConstructionInfo_1chassisConnectionCS_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btWheelInfoConstructionInfo *arg1 = (btWheelInfoConstructionInfo *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btWheelInfoConstructionInfo **)&jarg1;
result = (btVector3 *)& ((arg1)->m_chassisConnectionCS);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfoConstructionInfo_1wheelDirectionCS_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btWheelInfoConstructionInfo *arg1 = (btWheelInfoConstructionInfo *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btWheelInfoConstructionInfo **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->m_wheelDirectionCS = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfoConstructionInfo_1wheelDirectionCS_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btWheelInfoConstructionInfo *arg1 = (btWheelInfoConstructionInfo *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btWheelInfoConstructionInfo **)&jarg1;
result = (btVector3 *)& ((arg1)->m_wheelDirectionCS);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfoConstructionInfo_1wheelAxleCS_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btWheelInfoConstructionInfo *arg1 = (btWheelInfoConstructionInfo *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btWheelInfoConstructionInfo **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->m_wheelAxleCS = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfoConstructionInfo_1wheelAxleCS_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btWheelInfoConstructionInfo *arg1 = (btWheelInfoConstructionInfo *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btWheelInfoConstructionInfo **)&jarg1;
result = (btVector3 *)& ((arg1)->m_wheelAxleCS);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfoConstructionInfo_1suspensionRestLength_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btWheelInfoConstructionInfo *arg1 = (btWheelInfoConstructionInfo *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btWheelInfoConstructionInfo **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_suspensionRestLength = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfoConstructionInfo_1suspensionRestLength_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btWheelInfoConstructionInfo *arg1 = (btWheelInfoConstructionInfo *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btWheelInfoConstructionInfo **)&jarg1;
result = (btScalar) ((arg1)->m_suspensionRestLength);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfoConstructionInfo_1maxSuspensionTravelCm_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btWheelInfoConstructionInfo *arg1 = (btWheelInfoConstructionInfo *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btWheelInfoConstructionInfo **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_maxSuspensionTravelCm = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfoConstructionInfo_1maxSuspensionTravelCm_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btWheelInfoConstructionInfo *arg1 = (btWheelInfoConstructionInfo *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btWheelInfoConstructionInfo **)&jarg1;
result = (btScalar) ((arg1)->m_maxSuspensionTravelCm);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfoConstructionInfo_1wheelRadius_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btWheelInfoConstructionInfo *arg1 = (btWheelInfoConstructionInfo *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btWheelInfoConstructionInfo **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_wheelRadius = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfoConstructionInfo_1wheelRadius_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btWheelInfoConstructionInfo *arg1 = (btWheelInfoConstructionInfo *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btWheelInfoConstructionInfo **)&jarg1;
result = (btScalar) ((arg1)->m_wheelRadius);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfoConstructionInfo_1suspensionStiffness_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btWheelInfoConstructionInfo *arg1 = (btWheelInfoConstructionInfo *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btWheelInfoConstructionInfo **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_suspensionStiffness = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfoConstructionInfo_1suspensionStiffness_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btWheelInfoConstructionInfo *arg1 = (btWheelInfoConstructionInfo *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btWheelInfoConstructionInfo **)&jarg1;
result = (btScalar) ((arg1)->m_suspensionStiffness);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfoConstructionInfo_1wheelsDampingCompression_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btWheelInfoConstructionInfo *arg1 = (btWheelInfoConstructionInfo *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btWheelInfoConstructionInfo **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_wheelsDampingCompression = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfoConstructionInfo_1wheelsDampingCompression_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btWheelInfoConstructionInfo *arg1 = (btWheelInfoConstructionInfo *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btWheelInfoConstructionInfo **)&jarg1;
result = (btScalar) ((arg1)->m_wheelsDampingCompression);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfoConstructionInfo_1wheelsDampingRelaxation_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btWheelInfoConstructionInfo *arg1 = (btWheelInfoConstructionInfo *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btWheelInfoConstructionInfo **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_wheelsDampingRelaxation = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfoConstructionInfo_1wheelsDampingRelaxation_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btWheelInfoConstructionInfo *arg1 = (btWheelInfoConstructionInfo *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btWheelInfoConstructionInfo **)&jarg1;
result = (btScalar) ((arg1)->m_wheelsDampingRelaxation);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfoConstructionInfo_1frictionSlip_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btWheelInfoConstructionInfo *arg1 = (btWheelInfoConstructionInfo *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btWheelInfoConstructionInfo **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_frictionSlip = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfoConstructionInfo_1frictionSlip_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btWheelInfoConstructionInfo *arg1 = (btWheelInfoConstructionInfo *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btWheelInfoConstructionInfo **)&jarg1;
result = (btScalar) ((arg1)->m_frictionSlip);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfoConstructionInfo_1maxSuspensionForce_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btWheelInfoConstructionInfo *arg1 = (btWheelInfoConstructionInfo *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btWheelInfoConstructionInfo **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_maxSuspensionForce = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfoConstructionInfo_1maxSuspensionForce_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btWheelInfoConstructionInfo *arg1 = (btWheelInfoConstructionInfo *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btWheelInfoConstructionInfo **)&jarg1;
result = (btScalar) ((arg1)->m_maxSuspensionForce);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfoConstructionInfo_1bIsFrontWheel_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jboolean jarg2) {
btWheelInfoConstructionInfo *arg1 = (btWheelInfoConstructionInfo *) 0 ;
bool arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btWheelInfoConstructionInfo **)&jarg1;
arg2 = jarg2 ? true : false;
if (arg1) (arg1)->m_bIsFrontWheel = arg2;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfoConstructionInfo_1bIsFrontWheel_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jboolean jresult = 0 ;
btWheelInfoConstructionInfo *arg1 = (btWheelInfoConstructionInfo *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btWheelInfoConstructionInfo **)&jarg1;
result = (bool) ((arg1)->m_bIsFrontWheel);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btWheelInfoConstructionInfo(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btWheelInfoConstructionInfo *result = 0 ;
(void)jenv;
(void)jcls;
result = (btWheelInfoConstructionInfo *)new btWheelInfoConstructionInfo();
*(btWheelInfoConstructionInfo **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btWheelInfoConstructionInfo(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btWheelInfoConstructionInfo *arg1 = (btWheelInfoConstructionInfo *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btWheelInfoConstructionInfo **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfo_1RaycastInfo_1contactNormalWS_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btWheelInfo::RaycastInfo *arg1 = (btWheelInfo::RaycastInfo *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btWheelInfo::RaycastInfo **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->m_contactNormalWS = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfo_1RaycastInfo_1contactNormalWS_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btWheelInfo::RaycastInfo *arg1 = (btWheelInfo::RaycastInfo *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btWheelInfo::RaycastInfo **)&jarg1;
result = (btVector3 *)& ((arg1)->m_contactNormalWS);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfo_1RaycastInfo_1contactPointWS_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btWheelInfo::RaycastInfo *arg1 = (btWheelInfo::RaycastInfo *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btWheelInfo::RaycastInfo **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->m_contactPointWS = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfo_1RaycastInfo_1contactPointWS_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btWheelInfo::RaycastInfo *arg1 = (btWheelInfo::RaycastInfo *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btWheelInfo::RaycastInfo **)&jarg1;
result = (btVector3 *)& ((arg1)->m_contactPointWS);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfo_1RaycastInfo_1suspensionLength_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btWheelInfo::RaycastInfo *arg1 = (btWheelInfo::RaycastInfo *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btWheelInfo::RaycastInfo **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_suspensionLength = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfo_1RaycastInfo_1suspensionLength_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btWheelInfo::RaycastInfo *arg1 = (btWheelInfo::RaycastInfo *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btWheelInfo::RaycastInfo **)&jarg1;
result = (btScalar) ((arg1)->m_suspensionLength);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfo_1RaycastInfo_1hardPointWS_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btWheelInfo::RaycastInfo *arg1 = (btWheelInfo::RaycastInfo *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btWheelInfo::RaycastInfo **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->m_hardPointWS = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfo_1RaycastInfo_1hardPointWS_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btWheelInfo::RaycastInfo *arg1 = (btWheelInfo::RaycastInfo *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btWheelInfo::RaycastInfo **)&jarg1;
result = (btVector3 *)& ((arg1)->m_hardPointWS);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfo_1RaycastInfo_1wheelDirectionWS_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btWheelInfo::RaycastInfo *arg1 = (btWheelInfo::RaycastInfo *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btWheelInfo::RaycastInfo **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->m_wheelDirectionWS = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfo_1RaycastInfo_1wheelDirectionWS_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btWheelInfo::RaycastInfo *arg1 = (btWheelInfo::RaycastInfo *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btWheelInfo::RaycastInfo **)&jarg1;
result = (btVector3 *)& ((arg1)->m_wheelDirectionWS);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfo_1RaycastInfo_1wheelAxleWS_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btWheelInfo::RaycastInfo *arg1 = (btWheelInfo::RaycastInfo *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btWheelInfo::RaycastInfo **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->m_wheelAxleWS = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfo_1RaycastInfo_1wheelAxleWS_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btWheelInfo::RaycastInfo *arg1 = (btWheelInfo::RaycastInfo *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btWheelInfo::RaycastInfo **)&jarg1;
result = (btVector3 *)& ((arg1)->m_wheelAxleWS);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfo_1RaycastInfo_1isInContact_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jboolean jarg2) {
btWheelInfo::RaycastInfo *arg1 = (btWheelInfo::RaycastInfo *) 0 ;
bool arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btWheelInfo::RaycastInfo **)&jarg1;
arg2 = jarg2 ? true : false;
if (arg1) (arg1)->m_isInContact = arg2;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfo_1RaycastInfo_1isInContact_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jboolean jresult = 0 ;
btWheelInfo::RaycastInfo *arg1 = (btWheelInfo::RaycastInfo *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btWheelInfo::RaycastInfo **)&jarg1;
result = (bool) ((arg1)->m_isInContact);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfo_1RaycastInfo_1groundObject_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btWheelInfo::RaycastInfo *arg1 = (btWheelInfo::RaycastInfo *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btWheelInfo::RaycastInfo **)&jarg1;
arg2 = (void *)jarg2;
if (arg1) (arg1)->m_groundObject = arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfo_1RaycastInfo_1groundObject_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btWheelInfo::RaycastInfo *arg1 = (btWheelInfo::RaycastInfo *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btWheelInfo::RaycastInfo **)&jarg1;
result = (void *) ((arg1)->m_groundObject);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btWheelInfo_1RaycastInfo(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btWheelInfo::RaycastInfo *result = 0 ;
(void)jenv;
(void)jcls;
result = (btWheelInfo::RaycastInfo *)new btWheelInfo::RaycastInfo();
*(btWheelInfo::RaycastInfo **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btWheelInfo_1RaycastInfo(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btWheelInfo::RaycastInfo *arg1 = (btWheelInfo::RaycastInfo *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btWheelInfo::RaycastInfo **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfo_1raycastInfo_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btWheelInfo *arg1 = (btWheelInfo *) 0 ;
btWheelInfo::RaycastInfo *arg2 = (btWheelInfo::RaycastInfo *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btWheelInfo **)&jarg1;
arg2 = *(btWheelInfo::RaycastInfo **)&jarg2;
if (arg1) (arg1)->m_raycastInfo = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfo_1raycastInfo_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btWheelInfo *arg1 = (btWheelInfo *) 0 ;
btWheelInfo::RaycastInfo *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btWheelInfo **)&jarg1;
result = (btWheelInfo::RaycastInfo *)& ((arg1)->m_raycastInfo);
*(btWheelInfo::RaycastInfo **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfo_1worldTransform_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btWheelInfo *arg1 = (btWheelInfo *) 0 ;
btTransform *arg2 = (btTransform *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btWheelInfo **)&jarg1;
arg2 = *(btTransform **)&jarg2;
if (arg1) (arg1)->m_worldTransform = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfo_1worldTransform_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btWheelInfo *arg1 = (btWheelInfo *) 0 ;
btTransform *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btWheelInfo **)&jarg1;
result = (btTransform *)& ((arg1)->m_worldTransform);
*(btTransform **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfo_1chassisConnectionPointCS_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btWheelInfo *arg1 = (btWheelInfo *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btWheelInfo **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->m_chassisConnectionPointCS = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfo_1chassisConnectionPointCS_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btWheelInfo *arg1 = (btWheelInfo *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btWheelInfo **)&jarg1;
result = (btVector3 *)& ((arg1)->m_chassisConnectionPointCS);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfo_1wheelDirectionCS_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btWheelInfo *arg1 = (btWheelInfo *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btWheelInfo **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->m_wheelDirectionCS = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfo_1wheelDirectionCS_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btWheelInfo *arg1 = (btWheelInfo *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btWheelInfo **)&jarg1;
result = (btVector3 *)& ((arg1)->m_wheelDirectionCS);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfo_1wheelAxleCS_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btWheelInfo *arg1 = (btWheelInfo *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btWheelInfo **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->m_wheelAxleCS = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfo_1wheelAxleCS_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btWheelInfo *arg1 = (btWheelInfo *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btWheelInfo **)&jarg1;
result = (btVector3 *)& ((arg1)->m_wheelAxleCS);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfo_1suspensionRestLength1_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btWheelInfo *arg1 = (btWheelInfo *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btWheelInfo **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_suspensionRestLength1 = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfo_1suspensionRestLength1_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btWheelInfo *arg1 = (btWheelInfo *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btWheelInfo **)&jarg1;
result = (btScalar) ((arg1)->m_suspensionRestLength1);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfo_1maxSuspensionTravelCm_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btWheelInfo *arg1 = (btWheelInfo *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btWheelInfo **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_maxSuspensionTravelCm = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfo_1maxSuspensionTravelCm_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btWheelInfo *arg1 = (btWheelInfo *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btWheelInfo **)&jarg1;
result = (btScalar) ((arg1)->m_maxSuspensionTravelCm);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfo_1getSuspensionRestLength(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btWheelInfo *arg1 = (btWheelInfo *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btWheelInfo **)&jarg1;
result = (btScalar)((btWheelInfo const *)arg1)->getSuspensionRestLength();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfo_1wheelsRadius_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btWheelInfo *arg1 = (btWheelInfo *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btWheelInfo **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_wheelsRadius = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfo_1wheelsRadius_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btWheelInfo *arg1 = (btWheelInfo *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btWheelInfo **)&jarg1;
result = (btScalar) ((arg1)->m_wheelsRadius);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfo_1suspensionStiffness_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btWheelInfo *arg1 = (btWheelInfo *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btWheelInfo **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_suspensionStiffness = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfo_1suspensionStiffness_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btWheelInfo *arg1 = (btWheelInfo *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btWheelInfo **)&jarg1;
result = (btScalar) ((arg1)->m_suspensionStiffness);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfo_1wheelsDampingCompression_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btWheelInfo *arg1 = (btWheelInfo *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btWheelInfo **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_wheelsDampingCompression = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfo_1wheelsDampingCompression_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btWheelInfo *arg1 = (btWheelInfo *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btWheelInfo **)&jarg1;
result = (btScalar) ((arg1)->m_wheelsDampingCompression);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfo_1wheelsDampingRelaxation_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btWheelInfo *arg1 = (btWheelInfo *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btWheelInfo **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_wheelsDampingRelaxation = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfo_1wheelsDampingRelaxation_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btWheelInfo *arg1 = (btWheelInfo *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btWheelInfo **)&jarg1;
result = (btScalar) ((arg1)->m_wheelsDampingRelaxation);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfo_1frictionSlip_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btWheelInfo *arg1 = (btWheelInfo *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btWheelInfo **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_frictionSlip = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfo_1frictionSlip_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btWheelInfo *arg1 = (btWheelInfo *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btWheelInfo **)&jarg1;
result = (btScalar) ((arg1)->m_frictionSlip);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfo_1steering_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btWheelInfo *arg1 = (btWheelInfo *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btWheelInfo **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_steering = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfo_1steering_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btWheelInfo *arg1 = (btWheelInfo *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btWheelInfo **)&jarg1;
result = (btScalar) ((arg1)->m_steering);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfo_1rotation_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btWheelInfo *arg1 = (btWheelInfo *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btWheelInfo **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_rotation = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfo_1rotation_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btWheelInfo *arg1 = (btWheelInfo *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btWheelInfo **)&jarg1;
result = (btScalar) ((arg1)->m_rotation);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfo_1deltaRotation_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btWheelInfo *arg1 = (btWheelInfo *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btWheelInfo **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_deltaRotation = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfo_1deltaRotation_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btWheelInfo *arg1 = (btWheelInfo *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btWheelInfo **)&jarg1;
result = (btScalar) ((arg1)->m_deltaRotation);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfo_1rollInfluence_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btWheelInfo *arg1 = (btWheelInfo *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btWheelInfo **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_rollInfluence = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfo_1rollInfluence_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btWheelInfo *arg1 = (btWheelInfo *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btWheelInfo **)&jarg1;
result = (btScalar) ((arg1)->m_rollInfluence);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfo_1maxSuspensionForce_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btWheelInfo *arg1 = (btWheelInfo *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btWheelInfo **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_maxSuspensionForce = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfo_1maxSuspensionForce_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btWheelInfo *arg1 = (btWheelInfo *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btWheelInfo **)&jarg1;
result = (btScalar) ((arg1)->m_maxSuspensionForce);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfo_1engineForce_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btWheelInfo *arg1 = (btWheelInfo *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btWheelInfo **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_engineForce = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfo_1engineForce_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btWheelInfo *arg1 = (btWheelInfo *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btWheelInfo **)&jarg1;
result = (btScalar) ((arg1)->m_engineForce);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfo_1brake_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btWheelInfo *arg1 = (btWheelInfo *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btWheelInfo **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_brake = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfo_1brake_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btWheelInfo *arg1 = (btWheelInfo *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btWheelInfo **)&jarg1;
result = (btScalar) ((arg1)->m_brake);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfo_1bIsFrontWheel_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jboolean jarg2) {
btWheelInfo *arg1 = (btWheelInfo *) 0 ;
bool arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btWheelInfo **)&jarg1;
arg2 = jarg2 ? true : false;
if (arg1) (arg1)->m_bIsFrontWheel = arg2;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfo_1bIsFrontWheel_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jboolean jresult = 0 ;
btWheelInfo *arg1 = (btWheelInfo *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btWheelInfo **)&jarg1;
result = (bool) ((arg1)->m_bIsFrontWheel);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfo_1clientInfo_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btWheelInfo *arg1 = (btWheelInfo *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btWheelInfo **)&jarg1;
arg2 = (void *)jarg2;
if (arg1) (arg1)->m_clientInfo = arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfo_1clientInfo_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btWheelInfo *arg1 = (btWheelInfo *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btWheelInfo **)&jarg1;
result = (void *) ((arg1)->m_clientInfo);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btWheelInfo_1_1SWIG_10(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btWheelInfo *result = 0 ;
(void)jenv;
(void)jcls;
result = (btWheelInfo *)new btWheelInfo();
*(btWheelInfo **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btWheelInfo_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btWheelInfoConstructionInfo *arg1 = 0 ;
btWheelInfo *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btWheelInfoConstructionInfo **)&jarg1;
if (!arg1) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btWheelInfoConstructionInfo & reference is null");
return 0;
}
result = (btWheelInfo *)new btWheelInfo(*arg1);
*(btWheelInfo **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfo_1updateWheel(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_) {
btWheelInfo *arg1 = (btWheelInfo *) 0 ;
btRigidBody *arg2 = 0 ;
btWheelInfo::RaycastInfo *arg3 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
(void)jarg3_;
arg1 = *(btWheelInfo **)&jarg1;
arg2 = *(btRigidBody **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btRigidBody const & reference is null");
return ;
}
arg3 = *(btWheelInfo::RaycastInfo **)&jarg3;
if (!arg3) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btWheelInfo::RaycastInfo & reference is null");
return ;
}
(arg1)->updateWheel((btRigidBody const &)*arg2,*arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfo_1clippedInvContactDotSuspension_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btWheelInfo *arg1 = (btWheelInfo *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btWheelInfo **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_clippedInvContactDotSuspension = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfo_1clippedInvContactDotSuspension_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btWheelInfo *arg1 = (btWheelInfo *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btWheelInfo **)&jarg1;
result = (btScalar) ((arg1)->m_clippedInvContactDotSuspension);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfo_1suspensionRelativeVelocity_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btWheelInfo *arg1 = (btWheelInfo *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btWheelInfo **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_suspensionRelativeVelocity = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfo_1suspensionRelativeVelocity_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btWheelInfo *arg1 = (btWheelInfo *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btWheelInfo **)&jarg1;
result = (btScalar) ((arg1)->m_suspensionRelativeVelocity);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfo_1wheelsSuspensionForce_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btWheelInfo *arg1 = (btWheelInfo *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btWheelInfo **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_wheelsSuspensionForce = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfo_1wheelsSuspensionForce_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btWheelInfo *arg1 = (btWheelInfo *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btWheelInfo **)&jarg1;
result = (btScalar) ((arg1)->m_wheelsSuspensionForce);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfo_1skidInfo_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btWheelInfo *arg1 = (btWheelInfo *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btWheelInfo **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_skidInfo = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfo_1skidInfo_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btWheelInfo *arg1 = (btWheelInfo *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btWheelInfo **)&jarg1;
result = (btScalar) ((arg1)->m_skidInfo);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btWheelInfo(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btWheelInfo *arg1 = (btWheelInfo *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btWheelInfo **)&jarg1;
delete arg1;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btRaycastVehicle_1btVehicleTuning(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btRaycastVehicle::btVehicleTuning *result = 0 ;
(void)jenv;
(void)jcls;
result = (btRaycastVehicle::btVehicleTuning *)new btRaycastVehicle::btVehicleTuning();
*(btRaycastVehicle::btVehicleTuning **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRaycastVehicle_1btVehicleTuning_1suspensionStiffness_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btRaycastVehicle::btVehicleTuning *arg1 = (btRaycastVehicle::btVehicleTuning *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRaycastVehicle::btVehicleTuning **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_suspensionStiffness = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRaycastVehicle_1btVehicleTuning_1suspensionStiffness_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btRaycastVehicle::btVehicleTuning *arg1 = (btRaycastVehicle::btVehicleTuning *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRaycastVehicle::btVehicleTuning **)&jarg1;
result = (btScalar) ((arg1)->m_suspensionStiffness);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRaycastVehicle_1btVehicleTuning_1suspensionCompression_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btRaycastVehicle::btVehicleTuning *arg1 = (btRaycastVehicle::btVehicleTuning *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRaycastVehicle::btVehicleTuning **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_suspensionCompression = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRaycastVehicle_1btVehicleTuning_1suspensionCompression_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btRaycastVehicle::btVehicleTuning *arg1 = (btRaycastVehicle::btVehicleTuning *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRaycastVehicle::btVehicleTuning **)&jarg1;
result = (btScalar) ((arg1)->m_suspensionCompression);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRaycastVehicle_1btVehicleTuning_1suspensionDamping_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btRaycastVehicle::btVehicleTuning *arg1 = (btRaycastVehicle::btVehicleTuning *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRaycastVehicle::btVehicleTuning **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_suspensionDamping = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRaycastVehicle_1btVehicleTuning_1suspensionDamping_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btRaycastVehicle::btVehicleTuning *arg1 = (btRaycastVehicle::btVehicleTuning *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRaycastVehicle::btVehicleTuning **)&jarg1;
result = (btScalar) ((arg1)->m_suspensionDamping);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRaycastVehicle_1btVehicleTuning_1maxSuspensionTravelCm_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btRaycastVehicle::btVehicleTuning *arg1 = (btRaycastVehicle::btVehicleTuning *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRaycastVehicle::btVehicleTuning **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_maxSuspensionTravelCm = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRaycastVehicle_1btVehicleTuning_1maxSuspensionTravelCm_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btRaycastVehicle::btVehicleTuning *arg1 = (btRaycastVehicle::btVehicleTuning *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRaycastVehicle::btVehicleTuning **)&jarg1;
result = (btScalar) ((arg1)->m_maxSuspensionTravelCm);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRaycastVehicle_1btVehicleTuning_1frictionSlip_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btRaycastVehicle::btVehicleTuning *arg1 = (btRaycastVehicle::btVehicleTuning *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRaycastVehicle::btVehicleTuning **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_frictionSlip = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRaycastVehicle_1btVehicleTuning_1frictionSlip_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btRaycastVehicle::btVehicleTuning *arg1 = (btRaycastVehicle::btVehicleTuning *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRaycastVehicle::btVehicleTuning **)&jarg1;
result = (btScalar) ((arg1)->m_frictionSlip);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRaycastVehicle_1btVehicleTuning_1maxSuspensionForce_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btRaycastVehicle::btVehicleTuning *arg1 = (btRaycastVehicle::btVehicleTuning *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRaycastVehicle::btVehicleTuning **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_maxSuspensionForce = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRaycastVehicle_1btVehicleTuning_1maxSuspensionForce_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btRaycastVehicle::btVehicleTuning *arg1 = (btRaycastVehicle::btVehicleTuning *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRaycastVehicle::btVehicleTuning **)&jarg1;
result = (btScalar) ((arg1)->m_maxSuspensionForce);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btRaycastVehicle_1btVehicleTuning(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btRaycastVehicle::btVehicleTuning *arg1 = (btRaycastVehicle::btVehicleTuning *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btRaycastVehicle::btVehicleTuning **)&jarg1;
delete arg1;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btRaycastVehicle(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_) {
jlong jresult = 0 ;
btRaycastVehicle::btVehicleTuning *arg1 = 0 ;
btRigidBody *arg2 = (btRigidBody *) 0 ;
btVehicleRaycaster *arg3 = (btVehicleRaycaster *) 0 ;
btRaycastVehicle *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
(void)jarg3_;
arg1 = *(btRaycastVehicle::btVehicleTuning **)&jarg1;
if (!arg1) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btRaycastVehicle::btVehicleTuning const & reference is null");
return 0;
}
arg2 = *(btRigidBody **)&jarg2;
arg3 = *(btVehicleRaycaster **)&jarg3;
result = (btRaycastVehicle *)new btRaycastVehicle((btRaycastVehicle::btVehicleTuning const &)*arg1,arg2,arg3);
*(btRaycastVehicle **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btRaycastVehicle(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btRaycastVehicle *arg1 = (btRaycastVehicle *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btRaycastVehicle **)&jarg1;
delete arg1;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRaycastVehicle_1getChassisWorldTransform(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btRaycastVehicle *arg1 = (btRaycastVehicle *) 0 ;
btTransform *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRaycastVehicle **)&jarg1;
result = (btTransform *) &((btRaycastVehicle const *)arg1)->getChassisWorldTransform();
jresult = gdx_getReturnMatrix4(jenv);
gdx_setMatrix4FrombtTransform(jenv, jresult, result);
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRaycastVehicle_1rayCast(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
jfloat jresult = 0 ;
btRaycastVehicle *arg1 = (btRaycastVehicle *) 0 ;
btWheelInfo *arg2 = 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btRaycastVehicle **)&jarg1;
arg2 = *(btWheelInfo **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btWheelInfo & reference is null");
return 0;
}
result = (btScalar)(arg1)->rayCast(*arg2);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRaycastVehicle_1updateVehicle(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btRaycastVehicle *arg1 = (btRaycastVehicle *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRaycastVehicle **)&jarg1;
arg2 = (btScalar)jarg2;
(arg1)->updateVehicle(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRaycastVehicle_1resetSuspension(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
btRaycastVehicle *arg1 = (btRaycastVehicle *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRaycastVehicle **)&jarg1;
(arg1)->resetSuspension();
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRaycastVehicle_1getSteeringValue(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jfloat jresult = 0 ;
btRaycastVehicle *arg1 = (btRaycastVehicle *) 0 ;
int arg2 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRaycastVehicle **)&jarg1;
arg2 = (int)jarg2;
result = (btScalar)((btRaycastVehicle const *)arg1)->getSteeringValue(arg2);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRaycastVehicle_1setSteeringValue(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2, jint jarg3) {
btRaycastVehicle *arg1 = (btRaycastVehicle *) 0 ;
btScalar arg2 ;
int arg3 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRaycastVehicle **)&jarg1;
arg2 = (btScalar)jarg2;
arg3 = (int)jarg3;
(arg1)->setSteeringValue(arg2,arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRaycastVehicle_1applyEngineForce(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2, jint jarg3) {
btRaycastVehicle *arg1 = (btRaycastVehicle *) 0 ;
btScalar arg2 ;
int arg3 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRaycastVehicle **)&jarg1;
arg2 = (btScalar)jarg2;
arg3 = (int)jarg3;
(arg1)->applyEngineForce(arg2,arg3);
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRaycastVehicle_1getWheelTransformWS(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jobject jresult = 0 ;
btRaycastVehicle *arg1 = (btRaycastVehicle *) 0 ;
int arg2 ;
btTransform *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRaycastVehicle **)&jarg1;
arg2 = (int)jarg2;
result = (btTransform *) &((btRaycastVehicle const *)arg1)->getWheelTransformWS(arg2);
jresult = gdx_getReturnMatrix4(jenv);
gdx_setMatrix4FrombtTransform(jenv, jresult, result);
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRaycastVehicle_1updateWheelTransform_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jboolean jarg3) {
btRaycastVehicle *arg1 = (btRaycastVehicle *) 0 ;
int arg2 ;
bool arg3 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRaycastVehicle **)&jarg1;
arg2 = (int)jarg2;
arg3 = jarg3 ? true : false;
(arg1)->updateWheelTransform(arg2,arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRaycastVehicle_1updateWheelTransform_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btRaycastVehicle *arg1 = (btRaycastVehicle *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRaycastVehicle **)&jarg1;
arg2 = (int)jarg2;
(arg1)->updateWheelTransform(arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRaycastVehicle_1addWheel(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jobject jarg3, jobject jarg4, jfloat jarg5, jfloat jarg6, jlong jarg7, jobject jarg7_, jboolean jarg8) {
jlong jresult = 0 ;
btRaycastVehicle *arg1 = (btRaycastVehicle *) 0 ;
btVector3 *arg2 = 0 ;
btVector3 *arg3 = 0 ;
btVector3 *arg4 = 0 ;
btScalar arg5 ;
btScalar arg6 ;
btRaycastVehicle::btVehicleTuning *arg7 = 0 ;
bool arg8 ;
btWheelInfo *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg7_;
arg1 = *(btRaycastVehicle **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
btVector3 local_arg4;
gdx_setbtVector3FromVector3(jenv, local_arg4, jarg4);
arg4 = &local_arg4;
gdxAutoCommitVector3 auto_commit_arg4(jenv, jarg4, &local_arg4);
arg5 = (btScalar)jarg5;
arg6 = (btScalar)jarg6;
arg7 = *(btRaycastVehicle::btVehicleTuning **)&jarg7;
if (!arg7) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btRaycastVehicle::btVehicleTuning const & reference is null");
return 0;
}
arg8 = jarg8 ? true : false;
result = (btWheelInfo *) &(arg1)->addWheel((btVector3 const &)*arg2,(btVector3 const &)*arg3,(btVector3 const &)*arg4,arg5,arg6,(btRaycastVehicle::btVehicleTuning const &)*arg7,arg8);
*(btWheelInfo **)&jresult = result;
return jresult;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRaycastVehicle_1getNumWheels(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btRaycastVehicle *arg1 = (btRaycastVehicle *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRaycastVehicle **)&jarg1;
result = (int)((btRaycastVehicle const *)arg1)->getNumWheels();
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRaycastVehicle_1wheelInfo_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btRaycastVehicle *arg1 = (btRaycastVehicle *) 0 ;
btAlignedObjectArray< btWheelInfo > *arg2 = (btAlignedObjectArray< btWheelInfo > *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRaycastVehicle **)&jarg1;
arg2 = *(btAlignedObjectArray< btWheelInfo > **)&jarg2;
if (arg1) (arg1)->m_wheelInfo = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRaycastVehicle_1wheelInfo_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btRaycastVehicle *arg1 = (btRaycastVehicle *) 0 ;
btAlignedObjectArray< btWheelInfo > *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRaycastVehicle **)&jarg1;
result = (btAlignedObjectArray< btWheelInfo > *)& ((arg1)->m_wheelInfo);
*(btAlignedObjectArray< btWheelInfo > **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRaycastVehicle_1getWheelInfo(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jlong jresult = 0 ;
btRaycastVehicle *arg1 = (btRaycastVehicle *) 0 ;
int arg2 ;
btWheelInfo *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRaycastVehicle **)&jarg1;
arg2 = (int)jarg2;
result = (btWheelInfo *) &((btRaycastVehicle const *)arg1)->getWheelInfo(arg2);
*(btWheelInfo **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRaycastVehicle_1getWheelInfoConst(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jlong jresult = 0 ;
btRaycastVehicle *arg1 = (btRaycastVehicle *) 0 ;
int arg2 ;
btWheelInfo *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRaycastVehicle **)&jarg1;
arg2 = (int)jarg2;
result = (btWheelInfo *) &(arg1)->getWheelInfo(arg2);
*(btWheelInfo **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRaycastVehicle_1updateWheelTransformsWS_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jboolean jarg3) {
btRaycastVehicle *arg1 = (btRaycastVehicle *) 0 ;
btWheelInfo *arg2 = 0 ;
bool arg3 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btRaycastVehicle **)&jarg1;
arg2 = *(btWheelInfo **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btWheelInfo & reference is null");
return ;
}
arg3 = jarg3 ? true : false;
(arg1)->updateWheelTransformsWS(*arg2,arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRaycastVehicle_1updateWheelTransformsWS_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btRaycastVehicle *arg1 = (btRaycastVehicle *) 0 ;
btWheelInfo *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btRaycastVehicle **)&jarg1;
arg2 = *(btWheelInfo **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btWheelInfo & reference is null");
return ;
}
(arg1)->updateWheelTransformsWS(*arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRaycastVehicle_1setBrake(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2, jint jarg3) {
btRaycastVehicle *arg1 = (btRaycastVehicle *) 0 ;
btScalar arg2 ;
int arg3 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRaycastVehicle **)&jarg1;
arg2 = (btScalar)jarg2;
arg3 = (int)jarg3;
(arg1)->setBrake(arg2,arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRaycastVehicle_1setPitchControl(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btRaycastVehicle *arg1 = (btRaycastVehicle *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRaycastVehicle **)&jarg1;
arg2 = (btScalar)jarg2;
(arg1)->setPitchControl(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRaycastVehicle_1updateSuspension(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btRaycastVehicle *arg1 = (btRaycastVehicle *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRaycastVehicle **)&jarg1;
arg2 = (btScalar)jarg2;
(arg1)->updateSuspension(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRaycastVehicle_1updateFriction(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btRaycastVehicle *arg1 = (btRaycastVehicle *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRaycastVehicle **)&jarg1;
arg2 = (btScalar)jarg2;
(arg1)->updateFriction(arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRaycastVehicle_1getRigidBody(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btRaycastVehicle *arg1 = (btRaycastVehicle *) 0 ;
btRigidBody *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRaycastVehicle **)&jarg1;
result = (btRigidBody *)(arg1)->getRigidBody();
*(btRigidBody **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRaycastVehicle_1getRigidBodyConst(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btRaycastVehicle *arg1 = (btRaycastVehicle *) 0 ;
btRigidBody *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRaycastVehicle **)&jarg1;
result = (btRigidBody *)((btRaycastVehicle const *)arg1)->getRigidBody();
*(btRigidBody **)&jresult = result;
return jresult;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRaycastVehicle_1getRightAxis(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btRaycastVehicle *arg1 = (btRaycastVehicle *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRaycastVehicle **)&jarg1;
result = (int)((btRaycastVehicle const *)arg1)->getRightAxis();
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRaycastVehicle_1getUpAxis(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btRaycastVehicle *arg1 = (btRaycastVehicle *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRaycastVehicle **)&jarg1;
result = (int)((btRaycastVehicle const *)arg1)->getUpAxis();
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRaycastVehicle_1getForwardAxis(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btRaycastVehicle *arg1 = (btRaycastVehicle *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRaycastVehicle **)&jarg1;
result = (int)((btRaycastVehicle const *)arg1)->getForwardAxis();
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRaycastVehicle_1getForwardVector(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btRaycastVehicle *arg1 = (btRaycastVehicle *) 0 ;
btVector3 result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRaycastVehicle **)&jarg1;
result = ((btRaycastVehicle const *)arg1)->getForwardVector();
jresult = gdx_getReturnVector3(jenv);
gdx_setVector3FrombtVector3(jenv, jresult, result);
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRaycastVehicle_1getCurrentSpeedKmHour(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btRaycastVehicle *arg1 = (btRaycastVehicle *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRaycastVehicle **)&jarg1;
result = (btScalar)((btRaycastVehicle const *)arg1)->getCurrentSpeedKmHour();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRaycastVehicle_1setCoordinateSystem(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jint jarg3, jint jarg4) {
btRaycastVehicle *arg1 = (btRaycastVehicle *) 0 ;
int arg2 ;
int arg3 ;
int arg4 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRaycastVehicle **)&jarg1;
arg2 = (int)jarg2;
arg3 = (int)jarg3;
arg4 = (int)jarg4;
(arg1)->setCoordinateSystem(arg2,arg3,arg4);
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRaycastVehicle_1getUserConstraintType(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btRaycastVehicle *arg1 = (btRaycastVehicle *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRaycastVehicle **)&jarg1;
result = (int)((btRaycastVehicle const *)arg1)->getUserConstraintType();
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRaycastVehicle_1setUserConstraintType(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btRaycastVehicle *arg1 = (btRaycastVehicle *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRaycastVehicle **)&jarg1;
arg2 = (int)jarg2;
(arg1)->setUserConstraintType(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRaycastVehicle_1setUserConstraintId(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btRaycastVehicle *arg1 = (btRaycastVehicle *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRaycastVehicle **)&jarg1;
arg2 = (int)jarg2;
(arg1)->setUserConstraintId(arg2);
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRaycastVehicle_1getUserConstraintId(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btRaycastVehicle *arg1 = (btRaycastVehicle *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRaycastVehicle **)&jarg1;
result = (int)((btRaycastVehicle const *)arg1)->getUserConstraintId();
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btDefaultVehicleRaycaster(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btDynamicsWorld *arg1 = (btDynamicsWorld *) 0 ;
btDefaultVehicleRaycaster *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDynamicsWorld **)&jarg1;
result = (btDefaultVehicleRaycaster *)new btDefaultVehicleRaycaster(arg1);
*(btDefaultVehicleRaycaster **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btDefaultVehicleRaycaster(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btDefaultVehicleRaycaster *arg1 = (btDefaultVehicleRaycaster *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btDefaultVehicleRaycaster **)&jarg1;
delete arg1;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1FilterableVehicleRaycaster(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btDynamicsWorld *arg1 = (btDynamicsWorld *) 0 ;
FilterableVehicleRaycaster *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDynamicsWorld **)&jarg1;
result = (FilterableVehicleRaycaster *)new FilterableVehicleRaycaster(arg1);
*(FilterableVehicleRaycaster **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_FilterableVehicleRaycaster_1setCollisionFilterMask(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jshort jarg2) {
FilterableVehicleRaycaster *arg1 = (FilterableVehicleRaycaster *) 0 ;
short arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(FilterableVehicleRaycaster **)&jarg1;
arg2 = (short)jarg2;
(arg1)->setCollisionFilterMask(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_FilterableVehicleRaycaster_1setCollisionFilterGroup(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jshort jarg2) {
FilterableVehicleRaycaster *arg1 = (FilterableVehicleRaycaster *) 0 ;
short arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(FilterableVehicleRaycaster **)&jarg1;
arg2 = (short)jarg2;
(arg1)->setCollisionFilterGroup(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1FilterableVehicleRaycaster(JNIEnv *jenv, jclass jcls, jlong jarg1) {
FilterableVehicleRaycaster *arg1 = (FilterableVehicleRaycaster *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(FilterableVehicleRaycaster **)&jarg1;
delete arg1;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btGearConstraint_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jobject jarg3, jobject jarg4, jfloat jarg5) {
jlong jresult = 0 ;
btRigidBody *arg1 = 0 ;
btRigidBody *arg2 = 0 ;
btVector3 *arg3 = 0 ;
btVector3 *arg4 = 0 ;
btScalar arg5 ;
btGearConstraint *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btRigidBody **)&jarg1;
if (!arg1) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btRigidBody & reference is null");
return 0;
}
arg2 = *(btRigidBody **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btRigidBody & reference is null");
return 0;
}
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
btVector3 local_arg4;
gdx_setbtVector3FromVector3(jenv, local_arg4, jarg4);
arg4 = &local_arg4;
gdxAutoCommitVector3 auto_commit_arg4(jenv, jarg4, &local_arg4);
arg5 = (btScalar)jarg5;
result = (btGearConstraint *)new btGearConstraint(*arg1,*arg2,(btVector3 const &)*arg3,(btVector3 const &)*arg4,arg5);
*(btGearConstraint **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btGearConstraint_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jobject jarg3, jobject jarg4) {
jlong jresult = 0 ;
btRigidBody *arg1 = 0 ;
btRigidBody *arg2 = 0 ;
btVector3 *arg3 = 0 ;
btVector3 *arg4 = 0 ;
btGearConstraint *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btRigidBody **)&jarg1;
if (!arg1) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btRigidBody & reference is null");
return 0;
}
arg2 = *(btRigidBody **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btRigidBody & reference is null");
return 0;
}
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
btVector3 local_arg4;
gdx_setbtVector3FromVector3(jenv, local_arg4, jarg4);
arg4 = &local_arg4;
gdxAutoCommitVector3 auto_commit_arg4(jenv, jarg4, &local_arg4);
result = (btGearConstraint *)new btGearConstraint(*arg1,*arg2,(btVector3 const &)*arg3,(btVector3 const &)*arg4);
*(btGearConstraint **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btGearConstraint(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btGearConstraint *arg1 = (btGearConstraint *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btGearConstraint **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGearConstraint_1setAxisA(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btGearConstraint *arg1 = (btGearConstraint *) 0 ;
btVector3 *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGearConstraint **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
(arg1)->setAxisA(*arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGearConstraint_1setAxisB(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btGearConstraint *arg1 = (btGearConstraint *) 0 ;
btVector3 *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGearConstraint **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
(arg1)->setAxisB(*arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGearConstraint_1setRatio(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btGearConstraint *arg1 = (btGearConstraint *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGearConstraint **)&jarg1;
arg2 = (btScalar)jarg2;
(arg1)->setRatio(arg2);
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGearConstraint_1getAxisA(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btGearConstraint *arg1 = (btGearConstraint *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGearConstraint **)&jarg1;
result = (btVector3 *) &((btGearConstraint const *)arg1)->getAxisA();
jresult = gdx_getReturnVector3(jenv);
gdx_setVector3FrombtVector3(jenv, jresult, result);
return jresult;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGearConstraint_1getAxisB(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btGearConstraint *arg1 = (btGearConstraint *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGearConstraint **)&jarg1;
result = (btVector3 *) &((btGearConstraint const *)arg1)->getAxisB();
jresult = gdx_getReturnVector3(jenv);
gdx_setVector3FrombtVector3(jenv, jresult, result);
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGearConstraint_1getRatio(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btGearConstraint *arg1 = (btGearConstraint *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGearConstraint **)&jarg1;
result = (btScalar)((btGearConstraint const *)arg1)->getRatio();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGearConstraint_1setParam_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jfloat jarg3, jint jarg4) {
btGearConstraint *arg1 = (btGearConstraint *) 0 ;
int arg2 ;
btScalar arg3 ;
int arg4 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGearConstraint **)&jarg1;
arg2 = (int)jarg2;
arg3 = (btScalar)jarg3;
arg4 = (int)jarg4;
(arg1)->setParam(arg2,arg3,arg4);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGearConstraint_1setParam_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jfloat jarg3) {
btGearConstraint *arg1 = (btGearConstraint *) 0 ;
int arg2 ;
btScalar arg3 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGearConstraint **)&jarg1;
arg2 = (int)jarg2;
arg3 = (btScalar)jarg3;
(arg1)->setParam(arg2,arg3);
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGearConstraint_1getParam_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jint jarg3) {
jfloat jresult = 0 ;
btGearConstraint *arg1 = (btGearConstraint *) 0 ;
int arg2 ;
int arg3 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGearConstraint **)&jarg1;
arg2 = (int)jarg2;
arg3 = (int)jarg3;
result = (btScalar)((btGearConstraint const *)arg1)->getParam(arg2,arg3);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGearConstraint_1getParam_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jfloat jresult = 0 ;
btGearConstraint *arg1 = (btGearConstraint *) 0 ;
int arg2 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGearConstraint **)&jarg1;
arg2 = (int)jarg2;
result = (btScalar)((btGearConstraint const *)arg1)->getParam(arg2);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGearConstraintFloatData_1typeConstraintData_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btGearConstraintFloatData *arg1 = (btGearConstraintFloatData *) 0 ;
btTypedConstraintFloatData *arg2 = (btTypedConstraintFloatData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btGearConstraintFloatData **)&jarg1;
arg2 = *(btTypedConstraintFloatData **)&jarg2;
if (arg1) (arg1)->m_typeConstraintData = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGearConstraintFloatData_1typeConstraintData_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btGearConstraintFloatData *arg1 = (btGearConstraintFloatData *) 0 ;
btTypedConstraintFloatData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGearConstraintFloatData **)&jarg1;
result = (btTypedConstraintFloatData *)& ((arg1)->m_typeConstraintData);
*(btTypedConstraintFloatData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGearConstraintFloatData_1axisInA_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btGearConstraintFloatData *arg1 = (btGearConstraintFloatData *) 0 ;
btVector3FloatData *arg2 = (btVector3FloatData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btGearConstraintFloatData **)&jarg1;
arg2 = *(btVector3FloatData **)&jarg2;
if (arg1) (arg1)->m_axisInA = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGearConstraintFloatData_1axisInA_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btGearConstraintFloatData *arg1 = (btGearConstraintFloatData *) 0 ;
btVector3FloatData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGearConstraintFloatData **)&jarg1;
result = (btVector3FloatData *)& ((arg1)->m_axisInA);
*(btVector3FloatData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGearConstraintFloatData_1axisInB_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btGearConstraintFloatData *arg1 = (btGearConstraintFloatData *) 0 ;
btVector3FloatData *arg2 = (btVector3FloatData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btGearConstraintFloatData **)&jarg1;
arg2 = *(btVector3FloatData **)&jarg2;
if (arg1) (arg1)->m_axisInB = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGearConstraintFloatData_1axisInB_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btGearConstraintFloatData *arg1 = (btGearConstraintFloatData *) 0 ;
btVector3FloatData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGearConstraintFloatData **)&jarg1;
result = (btVector3FloatData *)& ((arg1)->m_axisInB);
*(btVector3FloatData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGearConstraintFloatData_1ratio_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btGearConstraintFloatData *arg1 = (btGearConstraintFloatData *) 0 ;
float arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGearConstraintFloatData **)&jarg1;
arg2 = (float)jarg2;
if (arg1) (arg1)->m_ratio = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGearConstraintFloatData_1ratio_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btGearConstraintFloatData *arg1 = (btGearConstraintFloatData *) 0 ;
float result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGearConstraintFloatData **)&jarg1;
result = (float) ((arg1)->m_ratio);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGearConstraintFloatData_1padding_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
btGearConstraintFloatData *arg1 = (btGearConstraintFloatData *) 0 ;
char *arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGearConstraintFloatData **)&jarg1;
arg2 = 0;
if (jarg2) {
arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
if (!arg2) return ;
}
{
if(arg2) {
strncpy((char*)arg1->m_padding, (const char *)arg2, 4-1);
arg1->m_padding[4-1] = 0;
} else {
arg1->m_padding[0] = 0;
}
}
if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
}
SWIGEXPORT jstring JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGearConstraintFloatData_1padding_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jstring jresult = 0 ;
btGearConstraintFloatData *arg1 = (btGearConstraintFloatData *) 0 ;
char *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGearConstraintFloatData **)&jarg1;
result = (char *)(char *) ((arg1)->m_padding);
if (result) jresult = jenv->NewStringUTF((const char *)result);
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btGearConstraintFloatData(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btGearConstraintFloatData *result = 0 ;
(void)jenv;
(void)jcls;
result = (btGearConstraintFloatData *)new btGearConstraintFloatData();
*(btGearConstraintFloatData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btGearConstraintFloatData(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btGearConstraintFloatData *arg1 = (btGearConstraintFloatData *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btGearConstraintFloatData **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGearConstraintDoubleData_1typeConstraintData_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btGearConstraintDoubleData *arg1 = (btGearConstraintDoubleData *) 0 ;
btTypedConstraintDoubleData *arg2 = (btTypedConstraintDoubleData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btGearConstraintDoubleData **)&jarg1;
arg2 = *(btTypedConstraintDoubleData **)&jarg2;
if (arg1) (arg1)->m_typeConstraintData = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGearConstraintDoubleData_1typeConstraintData_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btGearConstraintDoubleData *arg1 = (btGearConstraintDoubleData *) 0 ;
btTypedConstraintDoubleData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGearConstraintDoubleData **)&jarg1;
result = (btTypedConstraintDoubleData *)& ((arg1)->m_typeConstraintData);
*(btTypedConstraintDoubleData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGearConstraintDoubleData_1axisInA_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btGearConstraintDoubleData *arg1 = (btGearConstraintDoubleData *) 0 ;
btVector3DoubleData *arg2 = (btVector3DoubleData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btGearConstraintDoubleData **)&jarg1;
arg2 = *(btVector3DoubleData **)&jarg2;
if (arg1) (arg1)->m_axisInA = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGearConstraintDoubleData_1axisInA_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btGearConstraintDoubleData *arg1 = (btGearConstraintDoubleData *) 0 ;
btVector3DoubleData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGearConstraintDoubleData **)&jarg1;
result = (btVector3DoubleData *)& ((arg1)->m_axisInA);
*(btVector3DoubleData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGearConstraintDoubleData_1axisInB_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btGearConstraintDoubleData *arg1 = (btGearConstraintDoubleData *) 0 ;
btVector3DoubleData *arg2 = (btVector3DoubleData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btGearConstraintDoubleData **)&jarg1;
arg2 = *(btVector3DoubleData **)&jarg2;
if (arg1) (arg1)->m_axisInB = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGearConstraintDoubleData_1axisInB_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btGearConstraintDoubleData *arg1 = (btGearConstraintDoubleData *) 0 ;
btVector3DoubleData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGearConstraintDoubleData **)&jarg1;
result = (btVector3DoubleData *)& ((arg1)->m_axisInB);
*(btVector3DoubleData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGearConstraintDoubleData_1ratio_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2) {
btGearConstraintDoubleData *arg1 = (btGearConstraintDoubleData *) 0 ;
double arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGearConstraintDoubleData **)&jarg1;
arg2 = (double)jarg2;
if (arg1) (arg1)->m_ratio = arg2;
}
SWIGEXPORT jdouble JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGearConstraintDoubleData_1ratio_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jdouble jresult = 0 ;
btGearConstraintDoubleData *arg1 = (btGearConstraintDoubleData *) 0 ;
double result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGearConstraintDoubleData **)&jarg1;
result = (double) ((arg1)->m_ratio);
jresult = (jdouble)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btGearConstraintDoubleData(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btGearConstraintDoubleData *result = 0 ;
(void)jenv;
(void)jcls;
result = (btGearConstraintDoubleData *)new btGearConstraintDoubleData();
*(btGearConstraintDoubleData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btGearConstraintDoubleData(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btGearConstraintDoubleData *arg1 = (btGearConstraintDoubleData *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btGearConstraintDoubleData **)&jarg1;
delete arg1;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btNNCGConstraintSolver_1operatorNew_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btNNCGConstraintSolver *arg1 = (btNNCGConstraintSolver *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btNNCGConstraintSolver **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new(arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btNNCGConstraintSolver_1operatorDelete_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btNNCGConstraintSolver *arg1 = (btNNCGConstraintSolver *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btNNCGConstraintSolver **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete(arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btNNCGConstraintSolver_1operatorNew_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btNNCGConstraintSolver *arg1 = (btNNCGConstraintSolver *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btNNCGConstraintSolver **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new(arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btNNCGConstraintSolver_1operatorDelete_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btNNCGConstraintSolver *arg1 = (btNNCGConstraintSolver *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btNNCGConstraintSolver **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete(arg2,arg3);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btNNCGConstraintSolver_1operatorNewArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btNNCGConstraintSolver *arg1 = (btNNCGConstraintSolver *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btNNCGConstraintSolver **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new[](arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btNNCGConstraintSolver_1operatorDeleteArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btNNCGConstraintSolver *arg1 = (btNNCGConstraintSolver *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btNNCGConstraintSolver **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete[](arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btNNCGConstraintSolver_1operatorNewArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btNNCGConstraintSolver *arg1 = (btNNCGConstraintSolver *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btNNCGConstraintSolver **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new[](arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btNNCGConstraintSolver_1operatorDeleteArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btNNCGConstraintSolver *arg1 = (btNNCGConstraintSolver *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btNNCGConstraintSolver **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete[](arg2,arg3);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btNNCGConstraintSolver(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btNNCGConstraintSolver *result = 0 ;
(void)jenv;
(void)jcls;
result = (btNNCGConstraintSolver *)new btNNCGConstraintSolver();
*(btNNCGConstraintSolver **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btNNCGConstraintSolver_1onlyForNoneContact_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jboolean jarg2) {
btNNCGConstraintSolver *arg1 = (btNNCGConstraintSolver *) 0 ;
bool arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btNNCGConstraintSolver **)&jarg1;
arg2 = jarg2 ? true : false;
if (arg1) (arg1)->m_onlyForNoneContact = arg2;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btNNCGConstraintSolver_1onlyForNoneContact_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jboolean jresult = 0 ;
btNNCGConstraintSolver *arg1 = (btNNCGConstraintSolver *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btNNCGConstraintSolver **)&jarg1;
result = (bool) ((arg1)->m_onlyForNoneContact);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btNNCGConstraintSolver(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btNNCGConstraintSolver *arg1 = (btNNCGConstraintSolver *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btNNCGConstraintSolver **)&jarg1;
delete arg1;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btConstraintSolverPoolMt_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jint jarg1) {
jlong jresult = 0 ;
int arg1 ;
btConstraintSolverPoolMt *result = 0 ;
(void)jenv;
(void)jcls;
arg1 = (int)jarg1;
result = (btConstraintSolverPoolMt *)new btConstraintSolverPoolMt(arg1);
*(btConstraintSolverPoolMt **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btConstraintSolverPoolMt_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jint jarg2) {
jlong jresult = 0 ;
btConstraintSolver **arg1 = (btConstraintSolver **) 0 ;
int arg2 ;
btConstraintSolverPoolMt *result = 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btConstraintSolver ***)&jarg1;
arg2 = (int)jarg2;
result = (btConstraintSolverPoolMt *)new btConstraintSolverPoolMt(arg1,arg2);
*(btConstraintSolverPoolMt **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btConstraintSolverPoolMt(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btConstraintSolverPoolMt *arg1 = (btConstraintSolverPoolMt *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btConstraintSolverPoolMt **)&jarg1;
delete arg1;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDiscreteDynamicsWorldMt_1operatorNew_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btDiscreteDynamicsWorldMt *arg1 = (btDiscreteDynamicsWorldMt *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDiscreteDynamicsWorldMt **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new(arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDiscreteDynamicsWorldMt_1operatorDelete_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btDiscreteDynamicsWorldMt *arg1 = (btDiscreteDynamicsWorldMt *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDiscreteDynamicsWorldMt **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete(arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDiscreteDynamicsWorldMt_1operatorNew_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btDiscreteDynamicsWorldMt *arg1 = (btDiscreteDynamicsWorldMt *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDiscreteDynamicsWorldMt **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new(arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDiscreteDynamicsWorldMt_1operatorDelete_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btDiscreteDynamicsWorldMt *arg1 = (btDiscreteDynamicsWorldMt *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDiscreteDynamicsWorldMt **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete(arg2,arg3);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDiscreteDynamicsWorldMt_1operatorNewArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btDiscreteDynamicsWorldMt *arg1 = (btDiscreteDynamicsWorldMt *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDiscreteDynamicsWorldMt **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new[](arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDiscreteDynamicsWorldMt_1operatorDeleteArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btDiscreteDynamicsWorldMt *arg1 = (btDiscreteDynamicsWorldMt *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDiscreteDynamicsWorldMt **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete[](arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDiscreteDynamicsWorldMt_1operatorNewArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btDiscreteDynamicsWorldMt *arg1 = (btDiscreteDynamicsWorldMt *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDiscreteDynamicsWorldMt **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new[](arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDiscreteDynamicsWorldMt_1operatorDeleteArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btDiscreteDynamicsWorldMt *arg1 = (btDiscreteDynamicsWorldMt *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDiscreteDynamicsWorldMt **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete[](arg2,arg3);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btDiscreteDynamicsWorldMt(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_, jlong jarg4, jobject jarg4_) {
jlong jresult = 0 ;
btDispatcher *arg1 = (btDispatcher *) 0 ;
btBroadphaseInterface *arg2 = (btBroadphaseInterface *) 0 ;
btConstraintSolverPoolMt *arg3 = (btConstraintSolverPoolMt *) 0 ;
btCollisionConfiguration *arg4 = (btCollisionConfiguration *) 0 ;
btDiscreteDynamicsWorldMt *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
(void)jarg3_;
(void)jarg4_;
arg1 = *(btDispatcher **)&jarg1;
arg2 = *(btBroadphaseInterface **)&jarg2;
arg3 = *(btConstraintSolverPoolMt **)&jarg3;
arg4 = *(btCollisionConfiguration **)&jarg4;
result = (btDiscreteDynamicsWorldMt *)new btDiscreteDynamicsWorldMt(arg1,arg2,arg3,arg4);
*(btDiscreteDynamicsWorldMt **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btDiscreteDynamicsWorldMt(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btDiscreteDynamicsWorldMt *arg1 = (btDiscreteDynamicsWorldMt *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btDiscreteDynamicsWorldMt **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSimulationIslandManagerMt_1Island_1bodyArray_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btSimulationIslandManagerMt::Island *arg1 = (btSimulationIslandManagerMt::Island *) 0 ;
btAlignedObjectArray< btCollisionObject * > *arg2 = (btAlignedObjectArray< btCollisionObject * > *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btSimulationIslandManagerMt::Island **)&jarg1;
arg2 = *(btAlignedObjectArray< btCollisionObject * > **)&jarg2;
if (arg1) (arg1)->bodyArray = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSimulationIslandManagerMt_1Island_1bodyArray_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btSimulationIslandManagerMt::Island *arg1 = (btSimulationIslandManagerMt::Island *) 0 ;
btAlignedObjectArray< btCollisionObject * > *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSimulationIslandManagerMt::Island **)&jarg1;
result = (btAlignedObjectArray< btCollisionObject * > *)& ((arg1)->bodyArray);
*(btAlignedObjectArray< btCollisionObject * > **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSimulationIslandManagerMt_1Island_1manifoldArray_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btSimulationIslandManagerMt::Island *arg1 = (btSimulationIslandManagerMt::Island *) 0 ;
btAlignedObjectArray< btPersistentManifold * > *arg2 = (btAlignedObjectArray< btPersistentManifold * > *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btSimulationIslandManagerMt::Island **)&jarg1;
arg2 = *(btAlignedObjectArray< btPersistentManifold * > **)&jarg2;
if (arg1) (arg1)->manifoldArray = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSimulationIslandManagerMt_1Island_1manifoldArray_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btSimulationIslandManagerMt::Island *arg1 = (btSimulationIslandManagerMt::Island *) 0 ;
btAlignedObjectArray< btPersistentManifold * > *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSimulationIslandManagerMt::Island **)&jarg1;
result = (btAlignedObjectArray< btPersistentManifold * > *)& ((arg1)->manifoldArray);
*(btAlignedObjectArray< btPersistentManifold * > **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSimulationIslandManagerMt_1Island_1constraintArray_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btSimulationIslandManagerMt::Island *arg1 = (btSimulationIslandManagerMt::Island *) 0 ;
btAlignedObjectArray< btTypedConstraint * > *arg2 = (btAlignedObjectArray< btTypedConstraint * > *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSimulationIslandManagerMt::Island **)&jarg1;
arg2 = *(btAlignedObjectArray< btTypedConstraint * > **)&jarg2;
if (arg1) (arg1)->constraintArray = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSimulationIslandManagerMt_1Island_1constraintArray_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btSimulationIslandManagerMt::Island *arg1 = (btSimulationIslandManagerMt::Island *) 0 ;
btAlignedObjectArray< btTypedConstraint * > *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSimulationIslandManagerMt::Island **)&jarg1;
result = (btAlignedObjectArray< btTypedConstraint * > *)& ((arg1)->constraintArray);
*(btAlignedObjectArray< btTypedConstraint * > **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSimulationIslandManagerMt_1Island_1id_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btSimulationIslandManagerMt::Island *arg1 = (btSimulationIslandManagerMt::Island *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSimulationIslandManagerMt::Island **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->id = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSimulationIslandManagerMt_1Island_1id_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btSimulationIslandManagerMt::Island *arg1 = (btSimulationIslandManagerMt::Island *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSimulationIslandManagerMt::Island **)&jarg1;
result = (int) ((arg1)->id);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSimulationIslandManagerMt_1Island_1isSleeping_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jboolean jarg2) {
btSimulationIslandManagerMt::Island *arg1 = (btSimulationIslandManagerMt::Island *) 0 ;
bool arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSimulationIslandManagerMt::Island **)&jarg1;
arg2 = jarg2 ? true : false;
if (arg1) (arg1)->isSleeping = arg2;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSimulationIslandManagerMt_1Island_1isSleeping_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jboolean jresult = 0 ;
btSimulationIslandManagerMt::Island *arg1 = (btSimulationIslandManagerMt::Island *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSimulationIslandManagerMt::Island **)&jarg1;
result = (bool) ((arg1)->isSleeping);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSimulationIslandManagerMt_1Island_1append(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btSimulationIslandManagerMt::Island *arg1 = (btSimulationIslandManagerMt::Island *) 0 ;
btSimulationIslandManagerMt::Island *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btSimulationIslandManagerMt::Island **)&jarg1;
arg2 = *(btSimulationIslandManagerMt::Island **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btSimulationIslandManagerMt::Island const & reference is null");
return ;
}
(arg1)->append((btSimulationIslandManagerMt::Island const &)*arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btSimulationIslandManagerMt_1Island(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btSimulationIslandManagerMt::Island *result = 0 ;
(void)jenv;
(void)jcls;
result = (btSimulationIslandManagerMt::Island *)new btSimulationIslandManagerMt::Island();
*(btSimulationIslandManagerMt::Island **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btSimulationIslandManagerMt_1Island(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btSimulationIslandManagerMt::Island *arg1 = (btSimulationIslandManagerMt::Island *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btSimulationIslandManagerMt::Island **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btSimulationIslandManagerMt_1IslandCallback(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btSimulationIslandManagerMt::IslandCallback *arg1 = (btSimulationIslandManagerMt::IslandCallback *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btSimulationIslandManagerMt::IslandCallback **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSimulationIslandManagerMt_1IslandCallback_1processIsland(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jint jarg3, jlong jarg4, jint jarg5, jlong jarg6, jint jarg7, jint jarg8) {
btSimulationIslandManagerMt::IslandCallback *arg1 = (btSimulationIslandManagerMt::IslandCallback *) 0 ;
btCollisionObject **arg2 = (btCollisionObject **) 0 ;
int arg3 ;
btPersistentManifold **arg4 = (btPersistentManifold **) 0 ;
int arg5 ;
btTypedConstraint **arg6 = (btTypedConstraint **) 0 ;
int arg7 ;
int arg8 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSimulationIslandManagerMt::IslandCallback **)&jarg1;
arg2 = *(btCollisionObject ***)&jarg2;
arg3 = (int)jarg3;
arg4 = *(btPersistentManifold ***)&jarg4;
arg5 = (int)jarg5;
arg6 = *(btTypedConstraint ***)&jarg6;
arg7 = (int)jarg7;
arg8 = (int)jarg8;
(arg1)->processIsland(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSimulationIslandManagerMt_1serialIslandDispatch(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jobject jarg2_) {
btAlignedObjectArray< btSimulationIslandManagerMt::Island * > *arg1 = (btAlignedObjectArray< btSimulationIslandManagerMt::Island * > *) 0 ;
btSimulationIslandManagerMt::IslandCallback *arg2 = (btSimulationIslandManagerMt::IslandCallback *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg2_;
arg1 = *(btAlignedObjectArray< btSimulationIslandManagerMt::Island * > **)&jarg1;
arg2 = *(btSimulationIslandManagerMt::IslandCallback **)&jarg2;
btSimulationIslandManagerMt::serialIslandDispatch(arg1,arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSimulationIslandManagerMt_1parallelIslandDispatch(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jobject jarg2_) {
btAlignedObjectArray< btSimulationIslandManagerMt::Island * > *arg1 = (btAlignedObjectArray< btSimulationIslandManagerMt::Island * > *) 0 ;
btSimulationIslandManagerMt::IslandCallback *arg2 = (btSimulationIslandManagerMt::IslandCallback *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg2_;
arg1 = *(btAlignedObjectArray< btSimulationIslandManagerMt::Island * > **)&jarg1;
arg2 = *(btSimulationIslandManagerMt::IslandCallback **)&jarg2;
btSimulationIslandManagerMt::parallelIslandDispatch(arg1,arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btSimulationIslandManagerMt(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btSimulationIslandManagerMt *result = 0 ;
(void)jenv;
(void)jcls;
result = (btSimulationIslandManagerMt *)new btSimulationIslandManagerMt();
*(btSimulationIslandManagerMt **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btSimulationIslandManagerMt(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btSimulationIslandManagerMt *arg1 = (btSimulationIslandManagerMt *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btSimulationIslandManagerMt **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSimulationIslandManagerMt_1buildAndProcessIslands(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_, jlong jarg4, jlong jarg5, jobject jarg5_) {
btSimulationIslandManagerMt *arg1 = (btSimulationIslandManagerMt *) 0 ;
btDispatcher *arg2 = (btDispatcher *) 0 ;
btCollisionWorld *arg3 = (btCollisionWorld *) 0 ;
btAlignedObjectArray< btTypedConstraint * > *arg4 = 0 ;
btSimulationIslandManagerMt::IslandCallback *arg5 = (btSimulationIslandManagerMt::IslandCallback *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
(void)jarg3_;
(void)jarg5_;
arg1 = *(btSimulationIslandManagerMt **)&jarg1;
arg2 = *(btDispatcher **)&jarg2;
arg3 = *(btCollisionWorld **)&jarg3;
arg4 = *(btAlignedObjectArray< btTypedConstraint * > **)&jarg4;
if (!arg4) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btAlignedObjectArray< btTypedConstraint * > & reference is null");
return ;
}
arg5 = *(btSimulationIslandManagerMt::IslandCallback **)&jarg5;
(arg1)->buildAndProcessIslands(arg2,arg3,*arg4,arg5);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSimulationIslandManagerMt_1buildIslands(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_) {
btSimulationIslandManagerMt *arg1 = (btSimulationIslandManagerMt *) 0 ;
btDispatcher *arg2 = (btDispatcher *) 0 ;
btCollisionWorld *arg3 = (btCollisionWorld *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
(void)jarg3_;
arg1 = *(btSimulationIslandManagerMt **)&jarg1;
arg2 = *(btDispatcher **)&jarg2;
arg3 = *(btCollisionWorld **)&jarg3;
(arg1)->buildIslands(arg2,arg3);
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSimulationIslandManagerMt_1getMinimumSolverBatchSize(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btSimulationIslandManagerMt *arg1 = (btSimulationIslandManagerMt *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSimulationIslandManagerMt **)&jarg1;
result = (int)((btSimulationIslandManagerMt const *)arg1)->getMinimumSolverBatchSize();
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSimulationIslandManagerMt_1setMinimumSolverBatchSize(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btSimulationIslandManagerMt *arg1 = (btSimulationIslandManagerMt *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSimulationIslandManagerMt **)&jarg1;
arg2 = (int)jarg2;
(arg1)->setMinimumSolverBatchSize(arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSimulationIslandManagerMt_1getIslandDispatchFunction(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btSimulationIslandManagerMt *arg1 = (btSimulationIslandManagerMt *) 0 ;
btSimulationIslandManagerMt::IslandDispatchFunc result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSimulationIslandManagerMt **)&jarg1;
result = (btSimulationIslandManagerMt::IslandDispatchFunc)((btSimulationIslandManagerMt const *)arg1)->getIslandDispatchFunction();
*(btSimulationIslandManagerMt::IslandDispatchFunc *)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSimulationIslandManagerMt_1setIslandDispatchFunction(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btSimulationIslandManagerMt *arg1 = (btSimulationIslandManagerMt *) 0 ;
btSimulationIslandManagerMt::IslandDispatchFunc arg2 = (btSimulationIslandManagerMt::IslandDispatchFunc) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSimulationIslandManagerMt **)&jarg1;
arg2 = *(btSimulationIslandManagerMt::IslandDispatchFunc *)&jarg2;
(arg1)->setIslandDispatchFunction(arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1operatorNew_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btMultiBody *arg1 = (btMultiBody *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new(arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1operatorDelete_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btMultiBody *arg1 = (btMultiBody *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete(arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1operatorNew_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btMultiBody *arg1 = (btMultiBody *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new(arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1operatorDelete_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btMultiBody *arg1 = (btMultiBody *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete(arg2,arg3);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1operatorNewArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btMultiBody *arg1 = (btMultiBody *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new[](arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1operatorDeleteArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btMultiBody *arg1 = (btMultiBody *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete[](arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1operatorNewArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btMultiBody *arg1 = (btMultiBody *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new[](arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1operatorDeleteArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btMultiBody *arg1 = (btMultiBody *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete[](arg2,arg3);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btMultiBody_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jint jarg1, jfloat jarg2, jobject jarg3, jboolean jarg4, jboolean jarg5, jboolean jarg6) {
jlong jresult = 0 ;
int arg1 ;
btScalar arg2 ;
btVector3 *arg3 = 0 ;
bool arg4 ;
bool arg5 ;
bool arg6 ;
btMultiBody *result = 0 ;
(void)jenv;
(void)jcls;
arg1 = (int)jarg1;
arg2 = (btScalar)jarg2;
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
arg4 = jarg4 ? true : false;
arg5 = jarg5 ? true : false;
arg6 = jarg6 ? true : false;
result = (btMultiBody *)new btMultiBody(arg1,arg2,(btVector3 const &)*arg3,arg4,arg5,arg6);
*(btMultiBody **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btMultiBody_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jint jarg1, jfloat jarg2, jobject jarg3, jboolean jarg4, jboolean jarg5) {
jlong jresult = 0 ;
int arg1 ;
btScalar arg2 ;
btVector3 *arg3 = 0 ;
bool arg4 ;
bool arg5 ;
btMultiBody *result = 0 ;
(void)jenv;
(void)jcls;
arg1 = (int)jarg1;
arg2 = (btScalar)jarg2;
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
arg4 = jarg4 ? true : false;
arg5 = jarg5 ? true : false;
result = (btMultiBody *)new btMultiBody(arg1,arg2,(btVector3 const &)*arg3,arg4,arg5);
*(btMultiBody **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btMultiBody(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btMultiBody *arg1 = (btMultiBody *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btMultiBody **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1setupFixed_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jfloat jarg3, jobject jarg4, jint jarg5, jobject jarg6, jobject jarg7, jobject jarg8, jboolean jarg9) {
btMultiBody *arg1 = (btMultiBody *) 0 ;
int arg2 ;
btScalar arg3 ;
btVector3 *arg4 = 0 ;
int arg5 ;
btQuaternion *arg6 = 0 ;
btVector3 *arg7 = 0 ;
btVector3 *arg8 = 0 ;
bool arg9 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
arg2 = (int)jarg2;
arg3 = (btScalar)jarg3;
btVector3 local_arg4;
gdx_setbtVector3FromVector3(jenv, local_arg4, jarg4);
arg4 = &local_arg4;
gdxAutoCommitVector3 auto_commit_arg4(jenv, jarg4, &local_arg4);
arg5 = (int)jarg5;
btQuaternion local_arg6;
gdx_setbtQuaternionFromQuaternion(jenv, local_arg6, jarg6);
arg6 = &local_arg6;
gdxAutoCommitQuaternion auto_commit_arg6(jenv, jarg6, &local_arg6);
btVector3 local_arg7;
gdx_setbtVector3FromVector3(jenv, local_arg7, jarg7);
arg7 = &local_arg7;
gdxAutoCommitVector3 auto_commit_arg7(jenv, jarg7, &local_arg7);
btVector3 local_arg8;
gdx_setbtVector3FromVector3(jenv, local_arg8, jarg8);
arg8 = &local_arg8;
gdxAutoCommitVector3 auto_commit_arg8(jenv, jarg8, &local_arg8);
arg9 = jarg9 ? true : false;
(arg1)->setupFixed(arg2,arg3,(btVector3 const &)*arg4,arg5,(btQuaternion const &)*arg6,(btVector3 const &)*arg7,(btVector3 const &)*arg8,arg9);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1setupFixed_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jfloat jarg3, jobject jarg4, jint jarg5, jobject jarg6, jobject jarg7, jobject jarg8) {
btMultiBody *arg1 = (btMultiBody *) 0 ;
int arg2 ;
btScalar arg3 ;
btVector3 *arg4 = 0 ;
int arg5 ;
btQuaternion *arg6 = 0 ;
btVector3 *arg7 = 0 ;
btVector3 *arg8 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
arg2 = (int)jarg2;
arg3 = (btScalar)jarg3;
btVector3 local_arg4;
gdx_setbtVector3FromVector3(jenv, local_arg4, jarg4);
arg4 = &local_arg4;
gdxAutoCommitVector3 auto_commit_arg4(jenv, jarg4, &local_arg4);
arg5 = (int)jarg5;
btQuaternion local_arg6;
gdx_setbtQuaternionFromQuaternion(jenv, local_arg6, jarg6);
arg6 = &local_arg6;
gdxAutoCommitQuaternion auto_commit_arg6(jenv, jarg6, &local_arg6);
btVector3 local_arg7;
gdx_setbtVector3FromVector3(jenv, local_arg7, jarg7);
arg7 = &local_arg7;
gdxAutoCommitVector3 auto_commit_arg7(jenv, jarg7, &local_arg7);
btVector3 local_arg8;
gdx_setbtVector3FromVector3(jenv, local_arg8, jarg8);
arg8 = &local_arg8;
gdxAutoCommitVector3 auto_commit_arg8(jenv, jarg8, &local_arg8);
(arg1)->setupFixed(arg2,arg3,(btVector3 const &)*arg4,arg5,(btQuaternion const &)*arg6,(btVector3 const &)*arg7,(btVector3 const &)*arg8);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1setupPrismatic(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jfloat jarg3, jobject jarg4, jint jarg5, jobject jarg6, jobject jarg7, jobject jarg8, jobject jarg9, jboolean jarg10) {
btMultiBody *arg1 = (btMultiBody *) 0 ;
int arg2 ;
btScalar arg3 ;
btVector3 *arg4 = 0 ;
int arg5 ;
btQuaternion *arg6 = 0 ;
btVector3 *arg7 = 0 ;
btVector3 *arg8 = 0 ;
btVector3 *arg9 = 0 ;
bool arg10 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
arg2 = (int)jarg2;
arg3 = (btScalar)jarg3;
btVector3 local_arg4;
gdx_setbtVector3FromVector3(jenv, local_arg4, jarg4);
arg4 = &local_arg4;
gdxAutoCommitVector3 auto_commit_arg4(jenv, jarg4, &local_arg4);
arg5 = (int)jarg5;
btQuaternion local_arg6;
gdx_setbtQuaternionFromQuaternion(jenv, local_arg6, jarg6);
arg6 = &local_arg6;
gdxAutoCommitQuaternion auto_commit_arg6(jenv, jarg6, &local_arg6);
btVector3 local_arg7;
gdx_setbtVector3FromVector3(jenv, local_arg7, jarg7);
arg7 = &local_arg7;
gdxAutoCommitVector3 auto_commit_arg7(jenv, jarg7, &local_arg7);
btVector3 local_arg8;
gdx_setbtVector3FromVector3(jenv, local_arg8, jarg8);
arg8 = &local_arg8;
gdxAutoCommitVector3 auto_commit_arg8(jenv, jarg8, &local_arg8);
btVector3 local_arg9;
gdx_setbtVector3FromVector3(jenv, local_arg9, jarg9);
arg9 = &local_arg9;
gdxAutoCommitVector3 auto_commit_arg9(jenv, jarg9, &local_arg9);
arg10 = jarg10 ? true : false;
(arg1)->setupPrismatic(arg2,arg3,(btVector3 const &)*arg4,arg5,(btQuaternion const &)*arg6,(btVector3 const &)*arg7,(btVector3 const &)*arg8,(btVector3 const &)*arg9,arg10);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1setupRevolute_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jfloat jarg3, jobject jarg4, jint jarg5, jobject jarg6, jobject jarg7, jobject jarg8, jobject jarg9, jboolean jarg10) {
btMultiBody *arg1 = (btMultiBody *) 0 ;
int arg2 ;
btScalar arg3 ;
btVector3 *arg4 = 0 ;
int arg5 ;
btQuaternion *arg6 = 0 ;
btVector3 *arg7 = 0 ;
btVector3 *arg8 = 0 ;
btVector3 *arg9 = 0 ;
bool arg10 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
arg2 = (int)jarg2;
arg3 = (btScalar)jarg3;
btVector3 local_arg4;
gdx_setbtVector3FromVector3(jenv, local_arg4, jarg4);
arg4 = &local_arg4;
gdxAutoCommitVector3 auto_commit_arg4(jenv, jarg4, &local_arg4);
arg5 = (int)jarg5;
btQuaternion local_arg6;
gdx_setbtQuaternionFromQuaternion(jenv, local_arg6, jarg6);
arg6 = &local_arg6;
gdxAutoCommitQuaternion auto_commit_arg6(jenv, jarg6, &local_arg6);
btVector3 local_arg7;
gdx_setbtVector3FromVector3(jenv, local_arg7, jarg7);
arg7 = &local_arg7;
gdxAutoCommitVector3 auto_commit_arg7(jenv, jarg7, &local_arg7);
btVector3 local_arg8;
gdx_setbtVector3FromVector3(jenv, local_arg8, jarg8);
arg8 = &local_arg8;
gdxAutoCommitVector3 auto_commit_arg8(jenv, jarg8, &local_arg8);
btVector3 local_arg9;
gdx_setbtVector3FromVector3(jenv, local_arg9, jarg9);
arg9 = &local_arg9;
gdxAutoCommitVector3 auto_commit_arg9(jenv, jarg9, &local_arg9);
arg10 = jarg10 ? true : false;
(arg1)->setupRevolute(arg2,arg3,(btVector3 const &)*arg4,arg5,(btQuaternion const &)*arg6,(btVector3 const &)*arg7,(btVector3 const &)*arg8,(btVector3 const &)*arg9,arg10);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1setupRevolute_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jfloat jarg3, jobject jarg4, jint jarg5, jobject jarg6, jobject jarg7, jobject jarg8, jobject jarg9) {
btMultiBody *arg1 = (btMultiBody *) 0 ;
int arg2 ;
btScalar arg3 ;
btVector3 *arg4 = 0 ;
int arg5 ;
btQuaternion *arg6 = 0 ;
btVector3 *arg7 = 0 ;
btVector3 *arg8 = 0 ;
btVector3 *arg9 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
arg2 = (int)jarg2;
arg3 = (btScalar)jarg3;
btVector3 local_arg4;
gdx_setbtVector3FromVector3(jenv, local_arg4, jarg4);
arg4 = &local_arg4;
gdxAutoCommitVector3 auto_commit_arg4(jenv, jarg4, &local_arg4);
arg5 = (int)jarg5;
btQuaternion local_arg6;
gdx_setbtQuaternionFromQuaternion(jenv, local_arg6, jarg6);
arg6 = &local_arg6;
gdxAutoCommitQuaternion auto_commit_arg6(jenv, jarg6, &local_arg6);
btVector3 local_arg7;
gdx_setbtVector3FromVector3(jenv, local_arg7, jarg7);
arg7 = &local_arg7;
gdxAutoCommitVector3 auto_commit_arg7(jenv, jarg7, &local_arg7);
btVector3 local_arg8;
gdx_setbtVector3FromVector3(jenv, local_arg8, jarg8);
arg8 = &local_arg8;
gdxAutoCommitVector3 auto_commit_arg8(jenv, jarg8, &local_arg8);
btVector3 local_arg9;
gdx_setbtVector3FromVector3(jenv, local_arg9, jarg9);
arg9 = &local_arg9;
gdxAutoCommitVector3 auto_commit_arg9(jenv, jarg9, &local_arg9);
(arg1)->setupRevolute(arg2,arg3,(btVector3 const &)*arg4,arg5,(btQuaternion const &)*arg6,(btVector3 const &)*arg7,(btVector3 const &)*arg8,(btVector3 const &)*arg9);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1setupSpherical_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jfloat jarg3, jobject jarg4, jint jarg5, jobject jarg6, jobject jarg7, jobject jarg8, jboolean jarg9) {
btMultiBody *arg1 = (btMultiBody *) 0 ;
int arg2 ;
btScalar arg3 ;
btVector3 *arg4 = 0 ;
int arg5 ;
btQuaternion *arg6 = 0 ;
btVector3 *arg7 = 0 ;
btVector3 *arg8 = 0 ;
bool arg9 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
arg2 = (int)jarg2;
arg3 = (btScalar)jarg3;
btVector3 local_arg4;
gdx_setbtVector3FromVector3(jenv, local_arg4, jarg4);
arg4 = &local_arg4;
gdxAutoCommitVector3 auto_commit_arg4(jenv, jarg4, &local_arg4);
arg5 = (int)jarg5;
btQuaternion local_arg6;
gdx_setbtQuaternionFromQuaternion(jenv, local_arg6, jarg6);
arg6 = &local_arg6;
gdxAutoCommitQuaternion auto_commit_arg6(jenv, jarg6, &local_arg6);
btVector3 local_arg7;
gdx_setbtVector3FromVector3(jenv, local_arg7, jarg7);
arg7 = &local_arg7;
gdxAutoCommitVector3 auto_commit_arg7(jenv, jarg7, &local_arg7);
btVector3 local_arg8;
gdx_setbtVector3FromVector3(jenv, local_arg8, jarg8);
arg8 = &local_arg8;
gdxAutoCommitVector3 auto_commit_arg8(jenv, jarg8, &local_arg8);
arg9 = jarg9 ? true : false;
(arg1)->setupSpherical(arg2,arg3,(btVector3 const &)*arg4,arg5,(btQuaternion const &)*arg6,(btVector3 const &)*arg7,(btVector3 const &)*arg8,arg9);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1setupSpherical_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jfloat jarg3, jobject jarg4, jint jarg5, jobject jarg6, jobject jarg7, jobject jarg8) {
btMultiBody *arg1 = (btMultiBody *) 0 ;
int arg2 ;
btScalar arg3 ;
btVector3 *arg4 = 0 ;
int arg5 ;
btQuaternion *arg6 = 0 ;
btVector3 *arg7 = 0 ;
btVector3 *arg8 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
arg2 = (int)jarg2;
arg3 = (btScalar)jarg3;
btVector3 local_arg4;
gdx_setbtVector3FromVector3(jenv, local_arg4, jarg4);
arg4 = &local_arg4;
gdxAutoCommitVector3 auto_commit_arg4(jenv, jarg4, &local_arg4);
arg5 = (int)jarg5;
btQuaternion local_arg6;
gdx_setbtQuaternionFromQuaternion(jenv, local_arg6, jarg6);
arg6 = &local_arg6;
gdxAutoCommitQuaternion auto_commit_arg6(jenv, jarg6, &local_arg6);
btVector3 local_arg7;
gdx_setbtVector3FromVector3(jenv, local_arg7, jarg7);
arg7 = &local_arg7;
gdxAutoCommitVector3 auto_commit_arg7(jenv, jarg7, &local_arg7);
btVector3 local_arg8;
gdx_setbtVector3FromVector3(jenv, local_arg8, jarg8);
arg8 = &local_arg8;
gdxAutoCommitVector3 auto_commit_arg8(jenv, jarg8, &local_arg8);
(arg1)->setupSpherical(arg2,arg3,(btVector3 const &)*arg4,arg5,(btQuaternion const &)*arg6,(btVector3 const &)*arg7,(btVector3 const &)*arg8);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1setupPlanar_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jfloat jarg3, jobject jarg4, jint jarg5, jobject jarg6, jobject jarg7, jobject jarg8, jboolean jarg9) {
btMultiBody *arg1 = (btMultiBody *) 0 ;
int arg2 ;
btScalar arg3 ;
btVector3 *arg4 = 0 ;
int arg5 ;
btQuaternion *arg6 = 0 ;
btVector3 *arg7 = 0 ;
btVector3 *arg8 = 0 ;
bool arg9 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
arg2 = (int)jarg2;
arg3 = (btScalar)jarg3;
btVector3 local_arg4;
gdx_setbtVector3FromVector3(jenv, local_arg4, jarg4);
arg4 = &local_arg4;
gdxAutoCommitVector3 auto_commit_arg4(jenv, jarg4, &local_arg4);
arg5 = (int)jarg5;
btQuaternion local_arg6;
gdx_setbtQuaternionFromQuaternion(jenv, local_arg6, jarg6);
arg6 = &local_arg6;
gdxAutoCommitQuaternion auto_commit_arg6(jenv, jarg6, &local_arg6);
btVector3 local_arg7;
gdx_setbtVector3FromVector3(jenv, local_arg7, jarg7);
arg7 = &local_arg7;
gdxAutoCommitVector3 auto_commit_arg7(jenv, jarg7, &local_arg7);
btVector3 local_arg8;
gdx_setbtVector3FromVector3(jenv, local_arg8, jarg8);
arg8 = &local_arg8;
gdxAutoCommitVector3 auto_commit_arg8(jenv, jarg8, &local_arg8);
arg9 = jarg9 ? true : false;
(arg1)->setupPlanar(arg2,arg3,(btVector3 const &)*arg4,arg5,(btQuaternion const &)*arg6,(btVector3 const &)*arg7,(btVector3 const &)*arg8,arg9);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1setupPlanar_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jfloat jarg3, jobject jarg4, jint jarg5, jobject jarg6, jobject jarg7, jobject jarg8) {
btMultiBody *arg1 = (btMultiBody *) 0 ;
int arg2 ;
btScalar arg3 ;
btVector3 *arg4 = 0 ;
int arg5 ;
btQuaternion *arg6 = 0 ;
btVector3 *arg7 = 0 ;
btVector3 *arg8 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
arg2 = (int)jarg2;
arg3 = (btScalar)jarg3;
btVector3 local_arg4;
gdx_setbtVector3FromVector3(jenv, local_arg4, jarg4);
arg4 = &local_arg4;
gdxAutoCommitVector3 auto_commit_arg4(jenv, jarg4, &local_arg4);
arg5 = (int)jarg5;
btQuaternion local_arg6;
gdx_setbtQuaternionFromQuaternion(jenv, local_arg6, jarg6);
arg6 = &local_arg6;
gdxAutoCommitQuaternion auto_commit_arg6(jenv, jarg6, &local_arg6);
btVector3 local_arg7;
gdx_setbtVector3FromVector3(jenv, local_arg7, jarg7);
arg7 = &local_arg7;
gdxAutoCommitVector3 auto_commit_arg7(jenv, jarg7, &local_arg7);
btVector3 local_arg8;
gdx_setbtVector3FromVector3(jenv, local_arg8, jarg8);
arg8 = &local_arg8;
gdxAutoCommitVector3 auto_commit_arg8(jenv, jarg8, &local_arg8);
(arg1)->setupPlanar(arg2,arg3,(btVector3 const &)*arg4,arg5,(btQuaternion const &)*arg6,(btVector3 const &)*arg7,(btVector3 const &)*arg8);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1getLinkConst(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jlong jresult = 0 ;
btMultiBody *arg1 = (btMultiBody *) 0 ;
int arg2 ;
btMultibodyLink *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
arg2 = (int)jarg2;
result = (btMultibodyLink *) &((btMultiBody const *)arg1)->getLink(arg2);
*(btMultibodyLink **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1getLink(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jlong jresult = 0 ;
btMultiBody *arg1 = (btMultiBody *) 0 ;
int arg2 ;
btMultibodyLink *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
arg2 = (int)jarg2;
result = (btMultibodyLink *) &(arg1)->getLink(arg2);
*(btMultibodyLink **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1setBaseCollider(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btMultiBody *arg1 = (btMultiBody *) 0 ;
btMultiBodyLinkCollider *arg2 = (btMultiBodyLinkCollider *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btMultiBody **)&jarg1;
arg2 = *(btMultiBodyLinkCollider **)&jarg2;
(arg1)->setBaseCollider(arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1getBaseColliderConst(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btMultiBody *arg1 = (btMultiBody *) 0 ;
btMultiBodyLinkCollider *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
result = (btMultiBodyLinkCollider *)((btMultiBody const *)arg1)->getBaseCollider();
*(btMultiBodyLinkCollider **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1getBaseCollider(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btMultiBody *arg1 = (btMultiBody *) 0 ;
btMultiBodyLinkCollider *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
result = (btMultiBodyLinkCollider *)(arg1)->getBaseCollider();
*(btMultiBodyLinkCollider **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1getLinkCollider(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jlong jresult = 0 ;
btMultiBody *arg1 = (btMultiBody *) 0 ;
int arg2 ;
btMultiBodyLinkCollider *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
arg2 = (int)jarg2;
result = (btMultiBodyLinkCollider *)(arg1)->getLinkCollider(arg2);
*(btMultiBodyLinkCollider **)&jresult = result;
return jresult;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1getParent(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jint jresult = 0 ;
btMultiBody *arg1 = (btMultiBody *) 0 ;
int arg2 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
arg2 = (int)jarg2;
result = (int)((btMultiBody const *)arg1)->getParent(arg2);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1getNumLinks(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btMultiBody *arg1 = (btMultiBody *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
result = (int)((btMultiBody const *)arg1)->getNumLinks();
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1getNumDofs(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btMultiBody *arg1 = (btMultiBody *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
result = (int)((btMultiBody const *)arg1)->getNumDofs();
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1getNumPosVars(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btMultiBody *arg1 = (btMultiBody *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
result = (int)((btMultiBody const *)arg1)->getNumPosVars();
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1getBaseMass(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btMultiBody *arg1 = (btMultiBody *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
result = (btScalar)((btMultiBody const *)arg1)->getBaseMass();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1getBaseInertia(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btMultiBody *arg1 = (btMultiBody *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
result = (btVector3 *) &((btMultiBody const *)arg1)->getBaseInertia();
jresult = gdx_getReturnVector3(jenv);
gdx_setVector3FrombtVector3(jenv, jresult, result);
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1getLinkMass(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jfloat jresult = 0 ;
btMultiBody *arg1 = (btMultiBody *) 0 ;
int arg2 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
arg2 = (int)jarg2;
result = (btScalar)((btMultiBody const *)arg1)->getLinkMass(arg2);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1getLinkInertia(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jobject jresult = 0 ;
btMultiBody *arg1 = (btMultiBody *) 0 ;
int arg2 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
arg2 = (int)jarg2;
result = (btVector3 *) &((btMultiBody const *)arg1)->getLinkInertia(arg2);
jresult = gdx_getReturnVector3(jenv);
gdx_setVector3FrombtVector3(jenv, jresult, result);
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1setBaseMass(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btMultiBody *arg1 = (btMultiBody *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
arg2 = (btScalar)jarg2;
(arg1)->setBaseMass(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1setBaseInertia(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btMultiBody *arg1 = (btMultiBody *) 0 ;
btVector3 *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
(arg1)->setBaseInertia((btVector3 const &)*arg2);
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1getBasePos(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btMultiBody *arg1 = (btMultiBody *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
result = (btVector3 *) &((btMultiBody const *)arg1)->getBasePos();
jresult = gdx_getReturnVector3(jenv);
gdx_setVector3FrombtVector3(jenv, jresult, result);
return jresult;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1getBaseVel(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btMultiBody *arg1 = (btMultiBody *) 0 ;
btVector3 result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
result = ((btMultiBody const *)arg1)->getBaseVel();
jresult = gdx_getReturnVector3(jenv);
gdx_setVector3FrombtVector3(jenv, jresult, result);
return jresult;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1getWorldToBaseRot(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btMultiBody *arg1 = (btMultiBody *) 0 ;
btQuaternion *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
result = (btQuaternion *) &((btMultiBody const *)arg1)->getWorldToBaseRot();
jresult = gdx_getReturnQuaternion(jenv);
gdx_setQuaternionFrombtQuaternion(jenv, jresult, result);
return jresult;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1getBaseOmega(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btMultiBody *arg1 = (btMultiBody *) 0 ;
btVector3 result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
result = ((btMultiBody const *)arg1)->getBaseOmega();
jresult = gdx_getReturnVector3(jenv);
gdx_setVector3FrombtVector3(jenv, jresult, result);
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1setBasePos(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btMultiBody *arg1 = (btMultiBody *) 0 ;
btVector3 *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
(arg1)->setBasePos((btVector3 const &)*arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1setBaseWorldTransform(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btMultiBody *arg1 = (btMultiBody *) 0 ;
btTransform *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
btTransform local_arg2;
gdx_setbtTransformFromMatrix4(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitMatrix4 auto_commit_arg2(jenv, jarg2, &local_arg2);
(arg1)->setBaseWorldTransform((btTransform const &)*arg2);
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1getBaseWorldTransform(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btMultiBody *arg1 = (btMultiBody *) 0 ;
btTransform result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
result = ((btMultiBody const *)arg1)->getBaseWorldTransform();
jresult = gdx_getReturnMatrix4(jenv);
gdx_setMatrix4FrombtTransform(jenv, jresult, result);
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1setBaseVel(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btMultiBody *arg1 = (btMultiBody *) 0 ;
btVector3 *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
(arg1)->setBaseVel((btVector3 const &)*arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1setWorldToBaseRot(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btMultiBody *arg1 = (btMultiBody *) 0 ;
btQuaternion *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
btQuaternion local_arg2;
gdx_setbtQuaternionFromQuaternion(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitQuaternion auto_commit_arg2(jenv, jarg2, &local_arg2);
(arg1)->setWorldToBaseRot((btQuaternion const &)*arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1setBaseOmega(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btMultiBody *arg1 = (btMultiBody *) 0 ;
btVector3 *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
(arg1)->setBaseOmega((btVector3 const &)*arg2);
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1getJointPos(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jfloat jresult = 0 ;
btMultiBody *arg1 = (btMultiBody *) 0 ;
int arg2 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
arg2 = (int)jarg2;
result = (btScalar)((btMultiBody const *)arg1)->getJointPos(arg2);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1getJointVel(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jfloat jresult = 0 ;
btMultiBody *arg1 = (btMultiBody *) 0 ;
int arg2 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
arg2 = (int)jarg2;
result = (btScalar)((btMultiBody const *)arg1)->getJointVel(arg2);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1getJointVelMultiDof(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jobject jresult = 0 ;
btMultiBody *arg1 = (btMultiBody *) 0 ;
int arg2 ;
btScalar *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
arg2 = (int)jarg2;
result = (btScalar *)(arg1)->getJointVelMultiDof(arg2);
*(btScalar **)&jresult = result;
return jresult;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1getJointPosMultiDof(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jobject jresult = 0 ;
btMultiBody *arg1 = (btMultiBody *) 0 ;
int arg2 ;
btScalar *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
arg2 = (int)jarg2;
result = (btScalar *)(arg1)->getJointPosMultiDof(arg2);
*(btScalar **)&jresult = result;
return jresult;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1getJointVelMultiDofConst(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jobject jresult = 0 ;
btMultiBody *arg1 = (btMultiBody *) 0 ;
int arg2 ;
btScalar *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
arg2 = (int)jarg2;
result = (btScalar *)((btMultiBody const *)arg1)->getJointVelMultiDof(arg2);
*(btScalar **)&jresult = result;
return jresult;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1getJointPosMultiDofConst(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jobject jresult = 0 ;
btMultiBody *arg1 = (btMultiBody *) 0 ;
int arg2 ;
btScalar *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
arg2 = (int)jarg2;
result = (btScalar *)((btMultiBody const *)arg1)->getJointPosMultiDof(arg2);
*(btScalar **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1setJointPos(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jfloat jarg3) {
btMultiBody *arg1 = (btMultiBody *) 0 ;
int arg2 ;
btScalar arg3 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
arg2 = (int)jarg2;
arg3 = (btScalar)jarg3;
(arg1)->setJointPos(arg2,arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1setJointVel(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jfloat jarg3) {
btMultiBody *arg1 = (btMultiBody *) 0 ;
int arg2 ;
btScalar arg3 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
arg2 = (int)jarg2;
arg3 = (btScalar)jarg3;
(arg1)->setJointVel(arg2,arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1setJointPosMultiDof(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jobject jarg3) {
btMultiBody *arg1 = (btMultiBody *) 0 ;
int arg2 ;
btScalar *arg3 = (btScalar *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
arg2 = (int)jarg2;
{
arg3 = (btScalar*)jenv->GetDirectBufferAddress(jarg3);
if (arg3 == NULL) {
SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, "Unable to get address of direct buffer. Buffer must be allocated direct.");
}
}
(arg1)->setJointPosMultiDof(arg2,arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1setJointVelMultiDof(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jobject jarg3) {
btMultiBody *arg1 = (btMultiBody *) 0 ;
int arg2 ;
btScalar *arg3 = (btScalar *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
arg2 = (int)jarg2;
{
arg3 = (btScalar*)jenv->GetDirectBufferAddress(jarg3);
if (arg3 == NULL) {
SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, "Unable to get address of direct buffer. Buffer must be allocated direct.");
}
}
(arg1)->setJointVelMultiDof(arg2,arg3);
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1getVelocityVector(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btMultiBody *arg1 = (btMultiBody *) 0 ;
btScalar *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
result = (btScalar *)((btMultiBody const *)arg1)->getVelocityVector();
*(btScalar **)&jresult = result;
return jresult;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1getRVector(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jobject jresult = 0 ;
btMultiBody *arg1 = (btMultiBody *) 0 ;
int arg2 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
arg2 = (int)jarg2;
result = (btVector3 *) &((btMultiBody const *)arg1)->getRVector(arg2);
jresult = gdx_getReturnVector3(jenv);
gdx_setVector3FrombtVector3(jenv, jresult, result);
return jresult;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1getParentToLocalRot(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jobject jresult = 0 ;
btMultiBody *arg1 = (btMultiBody *) 0 ;
int arg2 ;
btQuaternion *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
arg2 = (int)jarg2;
result = (btQuaternion *) &((btMultiBody const *)arg1)->getParentToLocalRot(arg2);
jresult = gdx_getReturnQuaternion(jenv);
gdx_setQuaternionFrombtQuaternion(jenv, jresult, result);
return jresult;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1localPosToWorld(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jobject jarg3) {
jobject jresult = 0 ;
btMultiBody *arg1 = (btMultiBody *) 0 ;
int arg2 ;
btVector3 *arg3 = 0 ;
btVector3 result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
arg2 = (int)jarg2;
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
result = ((btMultiBody const *)arg1)->localPosToWorld(arg2,(btVector3 const &)*arg3);
jresult = gdx_getReturnVector3(jenv);
gdx_setVector3FrombtVector3(jenv, jresult, result);
return jresult;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1localDirToWorld(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jobject jarg3) {
jobject jresult = 0 ;
btMultiBody *arg1 = (btMultiBody *) 0 ;
int arg2 ;
btVector3 *arg3 = 0 ;
btVector3 result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
arg2 = (int)jarg2;
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
result = ((btMultiBody const *)arg1)->localDirToWorld(arg2,(btVector3 const &)*arg3);
jresult = gdx_getReturnVector3(jenv);
gdx_setVector3FrombtVector3(jenv, jresult, result);
return jresult;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1worldPosToLocal(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jobject jarg3) {
jobject jresult = 0 ;
btMultiBody *arg1 = (btMultiBody *) 0 ;
int arg2 ;
btVector3 *arg3 = 0 ;
btVector3 result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
arg2 = (int)jarg2;
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
result = ((btMultiBody const *)arg1)->worldPosToLocal(arg2,(btVector3 const &)*arg3);
jresult = gdx_getReturnVector3(jenv);
gdx_setVector3FrombtVector3(jenv, jresult, result);
return jresult;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1worldDirToLocal(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jobject jarg3) {
jobject jresult = 0 ;
btMultiBody *arg1 = (btMultiBody *) 0 ;
int arg2 ;
btVector3 *arg3 = 0 ;
btVector3 result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
arg2 = (int)jarg2;
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
result = ((btMultiBody const *)arg1)->worldDirToLocal(arg2,(btVector3 const &)*arg3);
jresult = gdx_getReturnVector3(jenv);
gdx_setVector3FrombtVector3(jenv, jresult, result);
return jresult;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1localFrameToWorld(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jobject jarg3) {
jobject jresult = 0 ;
btMultiBody *arg1 = (btMultiBody *) 0 ;
int arg2 ;
btMatrix3x3 *arg3 = 0 ;
btMatrix3x3 result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
arg2 = (int)jarg2;
btMatrix3x3 local_arg3;
gdx_setbtMatrix3x3FromMatrix3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitMatrix3 auto_commit_arg3(jenv, jarg3, &local_arg3);
result = ((btMultiBody const *)arg1)->localFrameToWorld(arg2,(btMatrix3x3 const &)*arg3);
jresult = gdx_getReturnMatrix3(jenv);
gdx_setMatrix3FrombtMatrix3x3(jenv, jresult, result);
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1getKineticEnergy(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btMultiBody *arg1 = (btMultiBody *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
result = (btScalar)((btMultiBody const *)arg1)->getKineticEnergy();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1getAngularMomentum(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btMultiBody *arg1 = (btMultiBody *) 0 ;
btVector3 result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
result = ((btMultiBody const *)arg1)->getAngularMomentum();
jresult = gdx_getReturnVector3(jenv);
gdx_setVector3FrombtVector3(jenv, jresult, result);
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1clearForcesAndTorques(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
btMultiBody *arg1 = (btMultiBody *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
(arg1)->clearForcesAndTorques();
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1clearConstraintForces(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
btMultiBody *arg1 = (btMultiBody *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
(arg1)->clearConstraintForces();
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1clearVelocities(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
btMultiBody *arg1 = (btMultiBody *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
(arg1)->clearVelocities();
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1addBaseForce(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btMultiBody *arg1 = (btMultiBody *) 0 ;
btVector3 *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
(arg1)->addBaseForce((btVector3 const &)*arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1addBaseTorque(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btMultiBody *arg1 = (btMultiBody *) 0 ;
btVector3 *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
(arg1)->addBaseTorque((btVector3 const &)*arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1addLinkForce(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jobject jarg3) {
btMultiBody *arg1 = (btMultiBody *) 0 ;
int arg2 ;
btVector3 *arg3 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
arg2 = (int)jarg2;
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
(arg1)->addLinkForce(arg2,(btVector3 const &)*arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1addLinkTorque(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jobject jarg3) {
btMultiBody *arg1 = (btMultiBody *) 0 ;
int arg2 ;
btVector3 *arg3 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
arg2 = (int)jarg2;
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
(arg1)->addLinkTorque(arg2,(btVector3 const &)*arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1addBaseConstraintForce(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btMultiBody *arg1 = (btMultiBody *) 0 ;
btVector3 *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
(arg1)->addBaseConstraintForce((btVector3 const &)*arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1addBaseConstraintTorque(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btMultiBody *arg1 = (btMultiBody *) 0 ;
btVector3 *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
(arg1)->addBaseConstraintTorque((btVector3 const &)*arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1addLinkConstraintForce(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jobject jarg3) {
btMultiBody *arg1 = (btMultiBody *) 0 ;
int arg2 ;
btVector3 *arg3 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
arg2 = (int)jarg2;
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
(arg1)->addLinkConstraintForce(arg2,(btVector3 const &)*arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1addLinkConstraintTorque(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jobject jarg3) {
btMultiBody *arg1 = (btMultiBody *) 0 ;
int arg2 ;
btVector3 *arg3 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
arg2 = (int)jarg2;
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
(arg1)->addLinkConstraintTorque(arg2,(btVector3 const &)*arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1addJointTorque(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jfloat jarg3) {
btMultiBody *arg1 = (btMultiBody *) 0 ;
int arg2 ;
btScalar arg3 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
arg2 = (int)jarg2;
arg3 = (btScalar)jarg3;
(arg1)->addJointTorque(arg2,arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1addJointTorqueMultiDof_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jint jarg3, jfloat jarg4) {
btMultiBody *arg1 = (btMultiBody *) 0 ;
int arg2 ;
int arg3 ;
btScalar arg4 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
arg2 = (int)jarg2;
arg3 = (int)jarg3;
arg4 = (btScalar)jarg4;
(arg1)->addJointTorqueMultiDof(arg2,arg3,arg4);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1addJointTorqueMultiDof_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jobject jarg3) {
btMultiBody *arg1 = (btMultiBody *) 0 ;
int arg2 ;
btScalar *arg3 = (btScalar *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
arg2 = (int)jarg2;
{
arg3 = (btScalar*)jenv->GetDirectBufferAddress(jarg3);
if (arg3 == NULL) {
SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, "Unable to get address of direct buffer. Buffer must be allocated direct.");
}
}
(arg1)->addJointTorqueMultiDof(arg2,(btScalar const *)arg3);
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1getBaseForce(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btMultiBody *arg1 = (btMultiBody *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
result = (btVector3 *) &((btMultiBody const *)arg1)->getBaseForce();
jresult = gdx_getReturnVector3(jenv);
gdx_setVector3FrombtVector3(jenv, jresult, result);
return jresult;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1getBaseTorque(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btMultiBody *arg1 = (btMultiBody *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
result = (btVector3 *) &((btMultiBody const *)arg1)->getBaseTorque();
jresult = gdx_getReturnVector3(jenv);
gdx_setVector3FrombtVector3(jenv, jresult, result);
return jresult;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1getLinkForce(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jobject jresult = 0 ;
btMultiBody *arg1 = (btMultiBody *) 0 ;
int arg2 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
arg2 = (int)jarg2;
result = (btVector3 *) &((btMultiBody const *)arg1)->getLinkForce(arg2);
jresult = gdx_getReturnVector3(jenv);
gdx_setVector3FrombtVector3(jenv, jresult, result);
return jresult;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1getLinkTorque(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jobject jresult = 0 ;
btMultiBody *arg1 = (btMultiBody *) 0 ;
int arg2 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
arg2 = (int)jarg2;
result = (btVector3 *) &((btMultiBody const *)arg1)->getLinkTorque(arg2);
jresult = gdx_getReturnVector3(jenv);
gdx_setVector3FrombtVector3(jenv, jresult, result);
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1getJointTorque(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jfloat jresult = 0 ;
btMultiBody *arg1 = (btMultiBody *) 0 ;
int arg2 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
arg2 = (int)jarg2;
result = (btScalar)((btMultiBody const *)arg1)->getJointTorque(arg2);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1getJointTorqueMultiDof(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jobject jresult = 0 ;
btMultiBody *arg1 = (btMultiBody *) 0 ;
int arg2 ;
btScalar *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
arg2 = (int)jarg2;
result = (btScalar *)(arg1)->getJointTorqueMultiDof(arg2);
*(btScalar **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1computeAccelerationsArticulatedBodyAlgorithmMultiDof_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2, jlong jarg3, jobject jarg3_, jlong jarg4, jobject jarg4_, jlong jarg5, jboolean jarg6) {
btMultiBody *arg1 = (btMultiBody *) 0 ;
btScalar arg2 ;
btAlignedObjectArray< btScalar > *arg3 = 0 ;
btAlignedObjectArray< btVector3 > *arg4 = 0 ;
btAlignedObjectArray< btMatrix3x3 > *arg5 = 0 ;
bool arg6 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg3_;
(void)jarg4_;
arg1 = *(btMultiBody **)&jarg1;
arg2 = (btScalar)jarg2;
arg3 = *(btAlignedObjectArray< btScalar > **)&jarg3;
if (!arg3) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btAlignedObjectArray< btScalar > & reference is null");
return ;
}
arg4 = *(btAlignedObjectArray< btVector3 > **)&jarg4;
if (!arg4) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btAlignedObjectArray< btVector3 > & reference is null");
return ;
}
arg5 = *(btAlignedObjectArray< btMatrix3x3 > **)&jarg5;
if (!arg5) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btAlignedObjectArray< btMatrix3x3 > & reference is null");
return ;
}
arg6 = jarg6 ? true : false;
(arg1)->computeAccelerationsArticulatedBodyAlgorithmMultiDof(arg2,*arg3,*arg4,*arg5,arg6);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1computeAccelerationsArticulatedBodyAlgorithmMultiDof_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2, jlong jarg3, jobject jarg3_, jlong jarg4, jobject jarg4_, jlong jarg5) {
btMultiBody *arg1 = (btMultiBody *) 0 ;
btScalar arg2 ;
btAlignedObjectArray< btScalar > *arg3 = 0 ;
btAlignedObjectArray< btVector3 > *arg4 = 0 ;
btAlignedObjectArray< btMatrix3x3 > *arg5 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg3_;
(void)jarg4_;
arg1 = *(btMultiBody **)&jarg1;
arg2 = (btScalar)jarg2;
arg3 = *(btAlignedObjectArray< btScalar > **)&jarg3;
if (!arg3) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btAlignedObjectArray< btScalar > & reference is null");
return ;
}
arg4 = *(btAlignedObjectArray< btVector3 > **)&jarg4;
if (!arg4) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btAlignedObjectArray< btVector3 > & reference is null");
return ;
}
arg5 = *(btAlignedObjectArray< btMatrix3x3 > **)&jarg5;
if (!arg5) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btAlignedObjectArray< btMatrix3x3 > & reference is null");
return ;
}
(arg1)->computeAccelerationsArticulatedBodyAlgorithmMultiDof(arg2,*arg3,*arg4,*arg5);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1stepVelocitiesMultiDof_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2, jlong jarg3, jobject jarg3_, jlong jarg4, jobject jarg4_, jlong jarg5, jboolean jarg6) {
btMultiBody *arg1 = (btMultiBody *) 0 ;
btScalar arg2 ;
btAlignedObjectArray< btScalar > *arg3 = 0 ;
btAlignedObjectArray< btVector3 > *arg4 = 0 ;
btAlignedObjectArray< btMatrix3x3 > *arg5 = 0 ;
bool arg6 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg3_;
(void)jarg4_;
arg1 = *(btMultiBody **)&jarg1;
arg2 = (btScalar)jarg2;
arg3 = *(btAlignedObjectArray< btScalar > **)&jarg3;
if (!arg3) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btAlignedObjectArray< btScalar > & reference is null");
return ;
}
arg4 = *(btAlignedObjectArray< btVector3 > **)&jarg4;
if (!arg4) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btAlignedObjectArray< btVector3 > & reference is null");
return ;
}
arg5 = *(btAlignedObjectArray< btMatrix3x3 > **)&jarg5;
if (!arg5) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btAlignedObjectArray< btMatrix3x3 > & reference is null");
return ;
}
arg6 = jarg6 ? true : false;
(arg1)->stepVelocitiesMultiDof(arg2,*arg3,*arg4,*arg5,arg6);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1stepVelocitiesMultiDof_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2, jlong jarg3, jobject jarg3_, jlong jarg4, jobject jarg4_, jlong jarg5) {
btMultiBody *arg1 = (btMultiBody *) 0 ;
btScalar arg2 ;
btAlignedObjectArray< btScalar > *arg3 = 0 ;
btAlignedObjectArray< btVector3 > *arg4 = 0 ;
btAlignedObjectArray< btMatrix3x3 > *arg5 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg3_;
(void)jarg4_;
arg1 = *(btMultiBody **)&jarg1;
arg2 = (btScalar)jarg2;
arg3 = *(btAlignedObjectArray< btScalar > **)&jarg3;
if (!arg3) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btAlignedObjectArray< btScalar > & reference is null");
return ;
}
arg4 = *(btAlignedObjectArray< btVector3 > **)&jarg4;
if (!arg4) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btAlignedObjectArray< btVector3 > & reference is null");
return ;
}
arg5 = *(btAlignedObjectArray< btMatrix3x3 > **)&jarg5;
if (!arg5) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btAlignedObjectArray< btMatrix3x3 > & reference is null");
return ;
}
(arg1)->stepVelocitiesMultiDof(arg2,*arg3,*arg4,*arg5);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1calcAccelerationDeltasMultiDof(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jobject jarg3, jlong jarg4, jobject jarg4_, jlong jarg5, jobject jarg5_) {
btMultiBody *arg1 = (btMultiBody *) 0 ;
btScalar *arg2 = (btScalar *) 0 ;
btScalar *arg3 = (btScalar *) 0 ;
btAlignedObjectArray< btScalar > *arg4 = 0 ;
btAlignedObjectArray< btVector3 > *arg5 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg4_;
(void)jarg5_;
arg1 = *(btMultiBody **)&jarg1;
{
arg2 = (btScalar*)jenv->GetDirectBufferAddress(jarg2);
if (arg2 == NULL) {
SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, "Unable to get address of direct buffer. Buffer must be allocated direct.");
}
}
{
arg3 = (btScalar*)jenv->GetDirectBufferAddress(jarg3);
if (arg3 == NULL) {
SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, "Unable to get address of direct buffer. Buffer must be allocated direct.");
}
}
arg4 = *(btAlignedObjectArray< btScalar > **)&jarg4;
if (!arg4) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btAlignedObjectArray< btScalar > & reference is null");
return ;
}
arg5 = *(btAlignedObjectArray< btVector3 > **)&jarg5;
if (!arg5) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btAlignedObjectArray< btVector3 > & reference is null");
return ;
}
((btMultiBody const *)arg1)->calcAccelerationDeltasMultiDof((btScalar const *)arg2,arg3,*arg4,*arg5);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1applyDeltaVeeMultiDof2(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jfloat jarg3) {
btMultiBody *arg1 = (btMultiBody *) 0 ;
btScalar *arg2 = (btScalar *) 0 ;
btScalar arg3 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
{
arg2 = (btScalar*)jenv->GetDirectBufferAddress(jarg2);
if (arg2 == NULL) {
SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, "Unable to get address of direct buffer. Buffer must be allocated direct.");
}
}
arg3 = (btScalar)jarg3;
(arg1)->applyDeltaVeeMultiDof2((btScalar const *)arg2,arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1processDeltaVeeMultiDof2(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
btMultiBody *arg1 = (btMultiBody *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
(arg1)->processDeltaVeeMultiDof2();
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1applyDeltaVeeMultiDof(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jfloat jarg3) {
btMultiBody *arg1 = (btMultiBody *) 0 ;
btScalar *arg2 = (btScalar *) 0 ;
btScalar arg3 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
{
arg2 = (btScalar*)jenv->GetDirectBufferAddress(jarg2);
if (arg2 == NULL) {
SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, "Unable to get address of direct buffer. Buffer must be allocated direct.");
}
}
arg3 = (btScalar)jarg3;
(arg1)->applyDeltaVeeMultiDof((btScalar const *)arg2,arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1stepPositionsMultiDof_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2, jobject jarg3, jobject jarg4) {
btMultiBody *arg1 = (btMultiBody *) 0 ;
btScalar arg2 ;
btScalar *arg3 = (btScalar *) 0 ;
btScalar *arg4 = (btScalar *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
arg2 = (btScalar)jarg2;
{
arg3 = (btScalar*)jenv->GetDirectBufferAddress(jarg3);
if (arg3 == NULL) {
SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, "Unable to get address of direct buffer. Buffer must be allocated direct.");
}
}
{
arg4 = (btScalar*)jenv->GetDirectBufferAddress(jarg4);
if (arg4 == NULL) {
SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, "Unable to get address of direct buffer. Buffer must be allocated direct.");
}
}
(arg1)->stepPositionsMultiDof(arg2,arg3,arg4);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1stepPositionsMultiDof_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2, jobject jarg3) {
btMultiBody *arg1 = (btMultiBody *) 0 ;
btScalar arg2 ;
btScalar *arg3 = (btScalar *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
arg2 = (btScalar)jarg2;
{
arg3 = (btScalar*)jenv->GetDirectBufferAddress(jarg3);
if (arg3 == NULL) {
SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, "Unable to get address of direct buffer. Buffer must be allocated direct.");
}
}
(arg1)->stepPositionsMultiDof(arg2,arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1stepPositionsMultiDof_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btMultiBody *arg1 = (btMultiBody *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
arg2 = (btScalar)jarg2;
(arg1)->stepPositionsMultiDof(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1fillContactJacobianMultiDof(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jobject jarg3, jobject jarg4, jobject jarg5, jlong jarg6, jobject jarg6_, jlong jarg7, jobject jarg7_, jlong jarg8) {
btMultiBody *arg1 = (btMultiBody *) 0 ;
int arg2 ;
btVector3 *arg3 = 0 ;
btVector3 *arg4 = 0 ;
btScalar *arg5 = (btScalar *) 0 ;
btAlignedObjectArray< btScalar > *arg6 = 0 ;
btAlignedObjectArray< btVector3 > *arg7 = 0 ;
btAlignedObjectArray< btMatrix3x3 > *arg8 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg6_;
(void)jarg7_;
arg1 = *(btMultiBody **)&jarg1;
arg2 = (int)jarg2;
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
btVector3 local_arg4;
gdx_setbtVector3FromVector3(jenv, local_arg4, jarg4);
arg4 = &local_arg4;
gdxAutoCommitVector3 auto_commit_arg4(jenv, jarg4, &local_arg4);
{
arg5 = (btScalar*)jenv->GetDirectBufferAddress(jarg5);
if (arg5 == NULL) {
SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, "Unable to get address of direct buffer. Buffer must be allocated direct.");
}
}
arg6 = *(btAlignedObjectArray< btScalar > **)&jarg6;
if (!arg6) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btAlignedObjectArray< btScalar > & reference is null");
return ;
}
arg7 = *(btAlignedObjectArray< btVector3 > **)&jarg7;
if (!arg7) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btAlignedObjectArray< btVector3 > & reference is null");
return ;
}
arg8 = *(btAlignedObjectArray< btMatrix3x3 > **)&jarg8;
if (!arg8) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btAlignedObjectArray< btMatrix3x3 > & reference is null");
return ;
}
((btMultiBody const *)arg1)->fillContactJacobianMultiDof(arg2,(btVector3 const &)*arg3,(btVector3 const &)*arg4,arg5,*arg6,*arg7,*arg8);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1fillConstraintJacobianMultiDof(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jobject jarg3, jobject jarg4, jobject jarg5, jobject jarg6, jlong jarg7, jobject jarg7_, jlong jarg8, jobject jarg8_, jlong jarg9) {
btMultiBody *arg1 = (btMultiBody *) 0 ;
int arg2 ;
btVector3 *arg3 = 0 ;
btVector3 *arg4 = 0 ;
btVector3 *arg5 = 0 ;
btScalar *arg6 = (btScalar *) 0 ;
btAlignedObjectArray< btScalar > *arg7 = 0 ;
btAlignedObjectArray< btVector3 > *arg8 = 0 ;
btAlignedObjectArray< btMatrix3x3 > *arg9 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg7_;
(void)jarg8_;
arg1 = *(btMultiBody **)&jarg1;
arg2 = (int)jarg2;
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
btVector3 local_arg4;
gdx_setbtVector3FromVector3(jenv, local_arg4, jarg4);
arg4 = &local_arg4;
gdxAutoCommitVector3 auto_commit_arg4(jenv, jarg4, &local_arg4);
btVector3 local_arg5;
gdx_setbtVector3FromVector3(jenv, local_arg5, jarg5);
arg5 = &local_arg5;
gdxAutoCommitVector3 auto_commit_arg5(jenv, jarg5, &local_arg5);
{
arg6 = (btScalar*)jenv->GetDirectBufferAddress(jarg6);
if (arg6 == NULL) {
SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, "Unable to get address of direct buffer. Buffer must be allocated direct.");
}
}
arg7 = *(btAlignedObjectArray< btScalar > **)&jarg7;
if (!arg7) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btAlignedObjectArray< btScalar > & reference is null");
return ;
}
arg8 = *(btAlignedObjectArray< btVector3 > **)&jarg8;
if (!arg8) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btAlignedObjectArray< btVector3 > & reference is null");
return ;
}
arg9 = *(btAlignedObjectArray< btMatrix3x3 > **)&jarg9;
if (!arg9) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btAlignedObjectArray< btMatrix3x3 > & reference is null");
return ;
}
((btMultiBody const *)arg1)->fillConstraintJacobianMultiDof(arg2,(btVector3 const &)*arg3,(btVector3 const &)*arg4,(btVector3 const &)*arg5,arg6,*arg7,*arg8,*arg9);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1setCanSleep(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jboolean jarg2) {
btMultiBody *arg1 = (btMultiBody *) 0 ;
bool arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
arg2 = jarg2 ? true : false;
(arg1)->setCanSleep(arg2);
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1getCanSleep(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jboolean jresult = 0 ;
btMultiBody *arg1 = (btMultiBody *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
result = (bool)((btMultiBody const *)arg1)->getCanSleep();
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1isAwake(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jboolean jresult = 0 ;
btMultiBody *arg1 = (btMultiBody *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
result = (bool)((btMultiBody const *)arg1)->isAwake();
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1wakeUp(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
btMultiBody *arg1 = (btMultiBody *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
(arg1)->wakeUp();
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1goToSleep(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
btMultiBody *arg1 = (btMultiBody *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
(arg1)->goToSleep();
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1checkMotionAndSleepIfRequired(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btMultiBody *arg1 = (btMultiBody *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
arg2 = (btScalar)jarg2;
(arg1)->checkMotionAndSleepIfRequired(arg2);
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1hasFixedBase(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jboolean jresult = 0 ;
btMultiBody *arg1 = (btMultiBody *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
result = (bool)((btMultiBody const *)arg1)->hasFixedBase();
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1getCompanionId(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btMultiBody *arg1 = (btMultiBody *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
result = (int)((btMultiBody const *)arg1)->getCompanionId();
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1setCompanionId(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btMultiBody *arg1 = (btMultiBody *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
arg2 = (int)jarg2;
(arg1)->setCompanionId(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1setNumLinks(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btMultiBody *arg1 = (btMultiBody *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
arg2 = (int)jarg2;
(arg1)->setNumLinks(arg2);
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1getLinearDamping(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btMultiBody *arg1 = (btMultiBody *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
result = (btScalar)((btMultiBody const *)arg1)->getLinearDamping();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1setLinearDamping(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btMultiBody *arg1 = (btMultiBody *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
arg2 = (btScalar)jarg2;
(arg1)->setLinearDamping(arg2);
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1getAngularDamping(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btMultiBody *arg1 = (btMultiBody *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
result = (btScalar)((btMultiBody const *)arg1)->getAngularDamping();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1setAngularDamping(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btMultiBody *arg1 = (btMultiBody *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
arg2 = (btScalar)jarg2;
(arg1)->setAngularDamping(arg2);
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1getUseGyroTerm(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jboolean jresult = 0 ;
btMultiBody *arg1 = (btMultiBody *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
result = (bool)((btMultiBody const *)arg1)->getUseGyroTerm();
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1setUseGyroTerm(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jboolean jarg2) {
btMultiBody *arg1 = (btMultiBody *) 0 ;
bool arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
arg2 = jarg2 ? true : false;
(arg1)->setUseGyroTerm(arg2);
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1getMaxCoordinateVelocity(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btMultiBody *arg1 = (btMultiBody *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
result = (btScalar)((btMultiBody const *)arg1)->getMaxCoordinateVelocity();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1setMaxCoordinateVelocity(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btMultiBody *arg1 = (btMultiBody *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
arg2 = (btScalar)jarg2;
(arg1)->setMaxCoordinateVelocity(arg2);
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1getMaxAppliedImpulse(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btMultiBody *arg1 = (btMultiBody *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
result = (btScalar)((btMultiBody const *)arg1)->getMaxAppliedImpulse();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1setMaxAppliedImpulse(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btMultiBody *arg1 = (btMultiBody *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
arg2 = (btScalar)jarg2;
(arg1)->setMaxAppliedImpulse(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1setHasSelfCollision(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jboolean jarg2) {
btMultiBody *arg1 = (btMultiBody *) 0 ;
bool arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
arg2 = jarg2 ? true : false;
(arg1)->setHasSelfCollision(arg2);
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1hasSelfCollision(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jboolean jresult = 0 ;
btMultiBody *arg1 = (btMultiBody *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
result = (bool)((btMultiBody const *)arg1)->hasSelfCollision();
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1finalizeMultiDof(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
btMultiBody *arg1 = (btMultiBody *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
(arg1)->finalizeMultiDof();
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1useRK4Integration(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jboolean jarg2) {
btMultiBody *arg1 = (btMultiBody *) 0 ;
bool arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
arg2 = jarg2 ? true : false;
(arg1)->useRK4Integration(arg2);
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1isUsingRK4Integration(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jboolean jresult = 0 ;
btMultiBody *arg1 = (btMultiBody *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
result = (bool)((btMultiBody const *)arg1)->isUsingRK4Integration();
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1useGlobalVelocities(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jboolean jarg2) {
btMultiBody *arg1 = (btMultiBody *) 0 ;
bool arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
arg2 = jarg2 ? true : false;
(arg1)->useGlobalVelocities(arg2);
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1isUsingGlobalVelocities(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jboolean jresult = 0 ;
btMultiBody *arg1 = (btMultiBody *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
result = (bool)((btMultiBody const *)arg1)->isUsingGlobalVelocities();
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1isPosUpdated(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jboolean jresult = 0 ;
btMultiBody *arg1 = (btMultiBody *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
result = (bool)((btMultiBody const *)arg1)->isPosUpdated();
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1setPosUpdated(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jboolean jarg2) {
btMultiBody *arg1 = (btMultiBody *) 0 ;
bool arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
arg2 = jarg2 ? true : false;
(arg1)->setPosUpdated(arg2);
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1internalNeedsJointFeedback(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jboolean jresult = 0 ;
btMultiBody *arg1 = (btMultiBody *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
result = (bool)((btMultiBody const *)arg1)->internalNeedsJointFeedback();
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1forwardKinematics(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3, jobject jarg3_) {
btMultiBody *arg1 = (btMultiBody *) 0 ;
btAlignedObjectArray< btQuaternion > *arg2 = 0 ;
btAlignedObjectArray< btVector3 > *arg3 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg3_;
arg1 = *(btMultiBody **)&jarg1;
arg2 = *(btAlignedObjectArray< btQuaternion > **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btAlignedObjectArray< btQuaternion > & reference is null");
return ;
}
arg3 = *(btAlignedObjectArray< btVector3 > **)&jarg3;
if (!arg3) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btAlignedObjectArray< btVector3 > & reference is null");
return ;
}
(arg1)->forwardKinematics(*arg2,*arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1compTreeLinkVelocities(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_) {
btMultiBody *arg1 = (btMultiBody *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
btVector3 *arg3 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
(void)jarg3_;
arg1 = *(btMultiBody **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
arg3 = *(btVector3 **)&jarg3;
((btMultiBody const *)arg1)->compTreeLinkVelocities(arg2,arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1updateCollisionObjectWorldTransforms(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3, jobject jarg3_) {
btMultiBody *arg1 = (btMultiBody *) 0 ;
btAlignedObjectArray< btQuaternion > *arg2 = 0 ;
btAlignedObjectArray< btVector3 > *arg3 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg3_;
arg1 = *(btMultiBody **)&jarg1;
arg2 = *(btAlignedObjectArray< btQuaternion > **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btAlignedObjectArray< btQuaternion > & reference is null");
return ;
}
arg3 = *(btAlignedObjectArray< btVector3 > **)&jarg3;
if (!arg3) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btAlignedObjectArray< btVector3 > & reference is null");
return ;
}
(arg1)->updateCollisionObjectWorldTransforms(*arg2,*arg3);
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1calculateSerializeBufferSize(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btMultiBody *arg1 = (btMultiBody *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
result = (int)((btMultiBody const *)arg1)->calculateSerializeBufferSize();
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jstring JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1serialize(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3, jobject jarg3_) {
jstring jresult = 0 ;
btMultiBody *arg1 = (btMultiBody *) 0 ;
void *arg2 = (void *) 0 ;
btSerializer *arg3 = (btSerializer *) 0 ;
char *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg3_;
arg1 = *(btMultiBody **)&jarg1;
arg2 = (void *)jarg2;
arg3 = *(btSerializer **)&jarg3;
result = (char *)((btMultiBody const *)arg1)->serialize(arg2,arg3);
if (result) jresult = jenv->NewStringUTF((const char *)result);
return jresult;
}
SWIGEXPORT jstring JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1getBaseName(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jstring jresult = 0 ;
btMultiBody *arg1 = (btMultiBody *) 0 ;
char *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
result = (char *)((btMultiBody const *)arg1)->getBaseName();
if (result) jresult = jenv->NewStringUTF((const char *)result);
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1setBaseName(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
btMultiBody *arg1 = (btMultiBody *) 0 ;
char *arg2 = (char *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
arg2 = 0;
if (jarg2) {
arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
if (!arg2) return ;
}
(arg1)->setBaseName((char const *)arg2);
if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1getUserPointer(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btMultiBody *arg1 = (btMultiBody *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
result = (void *)((btMultiBody const *)arg1)->getUserPointer();
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1getUserIndex(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btMultiBody *arg1 = (btMultiBody *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
result = (int)((btMultiBody const *)arg1)->getUserIndex();
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1getUserIndex2(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btMultiBody *arg1 = (btMultiBody *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
result = (int)((btMultiBody const *)arg1)->getUserIndex2();
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1setUserPointer(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btMultiBody *arg1 = (btMultiBody *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->setUserPointer(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1setUserIndex(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btMultiBody *arg1 = (btMultiBody *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
arg2 = (int)jarg2;
(arg1)->setUserIndex(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1setUserIndex2(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btMultiBody *arg1 = (btMultiBody *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
arg2 = (int)jarg2;
(arg1)->setUserIndex2(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyLinkDoubleData_1zeroRotParentToThis_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btMultiBodyLinkDoubleData *arg1 = (btMultiBodyLinkDoubleData *) 0 ;
btQuaternionDoubleData *arg2 = (btQuaternionDoubleData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btMultiBodyLinkDoubleData **)&jarg1;
arg2 = *(btQuaternionDoubleData **)&jarg2;
if (arg1) (arg1)->m_zeroRotParentToThis = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyLinkDoubleData_1zeroRotParentToThis_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btMultiBodyLinkDoubleData *arg1 = (btMultiBodyLinkDoubleData *) 0 ;
btQuaternionDoubleData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyLinkDoubleData **)&jarg1;
result = (btQuaternionDoubleData *)& ((arg1)->m_zeroRotParentToThis);
*(btQuaternionDoubleData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyLinkDoubleData_1parentComToThisComOffset_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btMultiBodyLinkDoubleData *arg1 = (btMultiBodyLinkDoubleData *) 0 ;
btVector3DoubleData *arg2 = (btVector3DoubleData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btMultiBodyLinkDoubleData **)&jarg1;
arg2 = *(btVector3DoubleData **)&jarg2;
if (arg1) (arg1)->m_parentComToThisComOffset = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyLinkDoubleData_1parentComToThisComOffset_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btMultiBodyLinkDoubleData *arg1 = (btMultiBodyLinkDoubleData *) 0 ;
btVector3DoubleData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyLinkDoubleData **)&jarg1;
result = (btVector3DoubleData *)& ((arg1)->m_parentComToThisComOffset);
*(btVector3DoubleData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyLinkDoubleData_1thisPivotToThisComOffset_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btMultiBodyLinkDoubleData *arg1 = (btMultiBodyLinkDoubleData *) 0 ;
btVector3DoubleData *arg2 = (btVector3DoubleData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btMultiBodyLinkDoubleData **)&jarg1;
arg2 = *(btVector3DoubleData **)&jarg2;
if (arg1) (arg1)->m_thisPivotToThisComOffset = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyLinkDoubleData_1thisPivotToThisComOffset_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btMultiBodyLinkDoubleData *arg1 = (btMultiBodyLinkDoubleData *) 0 ;
btVector3DoubleData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyLinkDoubleData **)&jarg1;
result = (btVector3DoubleData *)& ((arg1)->m_thisPivotToThisComOffset);
*(btVector3DoubleData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyLinkDoubleData_1jointAxisTop_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btMultiBodyLinkDoubleData *arg1 = (btMultiBodyLinkDoubleData *) 0 ;
btVector3DoubleData *arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btMultiBodyLinkDoubleData **)&jarg1;
arg2 = *(btVector3DoubleData **)&jarg2;
{
size_t ii;
btVector3DoubleData *b = (btVector3DoubleData *) arg1->m_jointAxisTop;
for (ii = 0; ii < (size_t)6; ii++) b[ii] = *((btVector3DoubleData *) arg2 + ii);
}
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyLinkDoubleData_1jointAxisTop_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btMultiBodyLinkDoubleData *arg1 = (btMultiBodyLinkDoubleData *) 0 ;
btVector3DoubleData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyLinkDoubleData **)&jarg1;
result = (btVector3DoubleData *)(btVector3DoubleData *) ((arg1)->m_jointAxisTop);
*(btVector3DoubleData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyLinkDoubleData_1jointAxisBottom_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btMultiBodyLinkDoubleData *arg1 = (btMultiBodyLinkDoubleData *) 0 ;
btVector3DoubleData *arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btMultiBodyLinkDoubleData **)&jarg1;
arg2 = *(btVector3DoubleData **)&jarg2;
{
size_t ii;
btVector3DoubleData *b = (btVector3DoubleData *) arg1->m_jointAxisBottom;
for (ii = 0; ii < (size_t)6; ii++) b[ii] = *((btVector3DoubleData *) arg2 + ii);
}
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyLinkDoubleData_1jointAxisBottom_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btMultiBodyLinkDoubleData *arg1 = (btMultiBodyLinkDoubleData *) 0 ;
btVector3DoubleData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyLinkDoubleData **)&jarg1;
result = (btVector3DoubleData *)(btVector3DoubleData *) ((arg1)->m_jointAxisBottom);
*(btVector3DoubleData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyLinkDoubleData_1linkInertia_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btMultiBodyLinkDoubleData *arg1 = (btMultiBodyLinkDoubleData *) 0 ;
btVector3DoubleData *arg2 = (btVector3DoubleData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btMultiBodyLinkDoubleData **)&jarg1;
arg2 = *(btVector3DoubleData **)&jarg2;
if (arg1) (arg1)->m_linkInertia = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyLinkDoubleData_1linkInertia_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btMultiBodyLinkDoubleData *arg1 = (btMultiBodyLinkDoubleData *) 0 ;
btVector3DoubleData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyLinkDoubleData **)&jarg1;
result = (btVector3DoubleData *)& ((arg1)->m_linkInertia);
*(btVector3DoubleData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyLinkDoubleData_1linkMass_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2) {
btMultiBodyLinkDoubleData *arg1 = (btMultiBodyLinkDoubleData *) 0 ;
double arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyLinkDoubleData **)&jarg1;
arg2 = (double)jarg2;
if (arg1) (arg1)->m_linkMass = arg2;
}
SWIGEXPORT jdouble JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyLinkDoubleData_1linkMass_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jdouble jresult = 0 ;
btMultiBodyLinkDoubleData *arg1 = (btMultiBodyLinkDoubleData *) 0 ;
double result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyLinkDoubleData **)&jarg1;
result = (double) ((arg1)->m_linkMass);
jresult = (jdouble)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyLinkDoubleData_1parentIndex_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btMultiBodyLinkDoubleData *arg1 = (btMultiBodyLinkDoubleData *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyLinkDoubleData **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_parentIndex = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyLinkDoubleData_1parentIndex_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btMultiBodyLinkDoubleData *arg1 = (btMultiBodyLinkDoubleData *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyLinkDoubleData **)&jarg1;
result = (int) ((arg1)->m_parentIndex);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyLinkDoubleData_1jointType_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btMultiBodyLinkDoubleData *arg1 = (btMultiBodyLinkDoubleData *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyLinkDoubleData **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_jointType = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyLinkDoubleData_1jointType_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btMultiBodyLinkDoubleData *arg1 = (btMultiBodyLinkDoubleData *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyLinkDoubleData **)&jarg1;
result = (int) ((arg1)->m_jointType);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyLinkDoubleData_1dofCount_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btMultiBodyLinkDoubleData *arg1 = (btMultiBodyLinkDoubleData *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyLinkDoubleData **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_dofCount = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyLinkDoubleData_1dofCount_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btMultiBodyLinkDoubleData *arg1 = (btMultiBodyLinkDoubleData *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyLinkDoubleData **)&jarg1;
result = (int) ((arg1)->m_dofCount);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyLinkDoubleData_1posVarCount_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btMultiBodyLinkDoubleData *arg1 = (btMultiBodyLinkDoubleData *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyLinkDoubleData **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_posVarCount = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyLinkDoubleData_1posVarCount_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btMultiBodyLinkDoubleData *arg1 = (btMultiBodyLinkDoubleData *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyLinkDoubleData **)&jarg1;
result = (int) ((arg1)->m_posVarCount);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyLinkDoubleData_1jointPos_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdoubleArray jarg2) {
btMultiBodyLinkDoubleData *arg1 = (btMultiBodyLinkDoubleData *) 0 ;
double *arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyLinkDoubleData **)&jarg1;
if (jarg2 && jenv->GetArrayLength(jarg2) != 7) {
SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, "incorrect array size");
return ;
}
arg2 = (double *)jenv->GetPrimitiveArrayCritical(jarg2, 0);
{
size_t ii;
double *b = (double *) arg1->m_jointPos;
for (ii = 0; ii < (size_t)7; ii++) b[ii] = *((double *) arg2 + ii);
}
jenv->ReleasePrimitiveArrayCritical(jarg2, (double *)arg2, 0);
}
SWIGEXPORT jdoubleArray JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyLinkDoubleData_1jointPos_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jdoubleArray jresult = 0 ;
btMultiBodyLinkDoubleData *arg1 = (btMultiBodyLinkDoubleData *) 0 ;
double *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyLinkDoubleData **)&jarg1;
result = (double *)(double *) ((arg1)->m_jointPos);
/*jresult = SWIG_JavaArrayOut##Double(jenv, (double *)result, 7);*/
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyLinkDoubleData_1jointVel_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdoubleArray jarg2) {
btMultiBodyLinkDoubleData *arg1 = (btMultiBodyLinkDoubleData *) 0 ;
double *arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyLinkDoubleData **)&jarg1;
if (jarg2 && jenv->GetArrayLength(jarg2) != 6) {
SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, "incorrect array size");
return ;
}
arg2 = (double *)jenv->GetPrimitiveArrayCritical(jarg2, 0);
{
size_t ii;
double *b = (double *) arg1->m_jointVel;
for (ii = 0; ii < (size_t)6; ii++) b[ii] = *((double *) arg2 + ii);
}
jenv->ReleasePrimitiveArrayCritical(jarg2, (double *)arg2, 0);
}
SWIGEXPORT jdoubleArray JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyLinkDoubleData_1jointVel_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jdoubleArray jresult = 0 ;
btMultiBodyLinkDoubleData *arg1 = (btMultiBodyLinkDoubleData *) 0 ;
double *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyLinkDoubleData **)&jarg1;
result = (double *)(double *) ((arg1)->m_jointVel);
/*jresult = SWIG_JavaArrayOut##Double(jenv, (double *)result, 6);*/
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyLinkDoubleData_1jointTorque_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdoubleArray jarg2) {
btMultiBodyLinkDoubleData *arg1 = (btMultiBodyLinkDoubleData *) 0 ;
double *arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyLinkDoubleData **)&jarg1;
if (jarg2 && jenv->GetArrayLength(jarg2) != 6) {
SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, "incorrect array size");
return ;
}
arg2 = (double *)jenv->GetPrimitiveArrayCritical(jarg2, 0);
{
size_t ii;
double *b = (double *) arg1->m_jointTorque;
for (ii = 0; ii < (size_t)6; ii++) b[ii] = *((double *) arg2 + ii);
}
jenv->ReleasePrimitiveArrayCritical(jarg2, (double *)arg2, 0);
}
SWIGEXPORT jdoubleArray JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyLinkDoubleData_1jointTorque_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jdoubleArray jresult = 0 ;
btMultiBodyLinkDoubleData *arg1 = (btMultiBodyLinkDoubleData *) 0 ;
double *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyLinkDoubleData **)&jarg1;
result = (double *)(double *) ((arg1)->m_jointTorque);
/*jresult = SWIG_JavaArrayOut##Double(jenv, (double *)result, 6);*/
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyLinkDoubleData_1jointDamping_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2) {
btMultiBodyLinkDoubleData *arg1 = (btMultiBodyLinkDoubleData *) 0 ;
double arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyLinkDoubleData **)&jarg1;
arg2 = (double)jarg2;
if (arg1) (arg1)->m_jointDamping = arg2;
}
SWIGEXPORT jdouble JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyLinkDoubleData_1jointDamping_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jdouble jresult = 0 ;
btMultiBodyLinkDoubleData *arg1 = (btMultiBodyLinkDoubleData *) 0 ;
double result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyLinkDoubleData **)&jarg1;
result = (double) ((arg1)->m_jointDamping);
jresult = (jdouble)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyLinkDoubleData_1jointFriction_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2) {
btMultiBodyLinkDoubleData *arg1 = (btMultiBodyLinkDoubleData *) 0 ;
double arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyLinkDoubleData **)&jarg1;
arg2 = (double)jarg2;
if (arg1) (arg1)->m_jointFriction = arg2;
}
SWIGEXPORT jdouble JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyLinkDoubleData_1jointFriction_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jdouble jresult = 0 ;
btMultiBodyLinkDoubleData *arg1 = (btMultiBodyLinkDoubleData *) 0 ;
double result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyLinkDoubleData **)&jarg1;
result = (double) ((arg1)->m_jointFriction);
jresult = (jdouble)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyLinkDoubleData_1jointLowerLimit_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2) {
btMultiBodyLinkDoubleData *arg1 = (btMultiBodyLinkDoubleData *) 0 ;
double arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyLinkDoubleData **)&jarg1;
arg2 = (double)jarg2;
if (arg1) (arg1)->m_jointLowerLimit = arg2;
}
SWIGEXPORT jdouble JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyLinkDoubleData_1jointLowerLimit_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jdouble jresult = 0 ;
btMultiBodyLinkDoubleData *arg1 = (btMultiBodyLinkDoubleData *) 0 ;
double result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyLinkDoubleData **)&jarg1;
result = (double) ((arg1)->m_jointLowerLimit);
jresult = (jdouble)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyLinkDoubleData_1jointUpperLimit_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2) {
btMultiBodyLinkDoubleData *arg1 = (btMultiBodyLinkDoubleData *) 0 ;
double arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyLinkDoubleData **)&jarg1;
arg2 = (double)jarg2;
if (arg1) (arg1)->m_jointUpperLimit = arg2;
}
SWIGEXPORT jdouble JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyLinkDoubleData_1jointUpperLimit_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jdouble jresult = 0 ;
btMultiBodyLinkDoubleData *arg1 = (btMultiBodyLinkDoubleData *) 0 ;
double result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyLinkDoubleData **)&jarg1;
result = (double) ((arg1)->m_jointUpperLimit);
jresult = (jdouble)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyLinkDoubleData_1jointMaxForce_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2) {
btMultiBodyLinkDoubleData *arg1 = (btMultiBodyLinkDoubleData *) 0 ;
double arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyLinkDoubleData **)&jarg1;
arg2 = (double)jarg2;
if (arg1) (arg1)->m_jointMaxForce = arg2;
}
SWIGEXPORT jdouble JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyLinkDoubleData_1jointMaxForce_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jdouble jresult = 0 ;
btMultiBodyLinkDoubleData *arg1 = (btMultiBodyLinkDoubleData *) 0 ;
double result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyLinkDoubleData **)&jarg1;
result = (double) ((arg1)->m_jointMaxForce);
jresult = (jdouble)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyLinkDoubleData_1jointMaxVelocity_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2) {
btMultiBodyLinkDoubleData *arg1 = (btMultiBodyLinkDoubleData *) 0 ;
double arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyLinkDoubleData **)&jarg1;
arg2 = (double)jarg2;
if (arg1) (arg1)->m_jointMaxVelocity = arg2;
}
SWIGEXPORT jdouble JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyLinkDoubleData_1jointMaxVelocity_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jdouble jresult = 0 ;
btMultiBodyLinkDoubleData *arg1 = (btMultiBodyLinkDoubleData *) 0 ;
double result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyLinkDoubleData **)&jarg1;
result = (double) ((arg1)->m_jointMaxVelocity);
jresult = (jdouble)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyLinkDoubleData_1linkName_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
btMultiBodyLinkDoubleData *arg1 = (btMultiBodyLinkDoubleData *) 0 ;
char *arg2 = (char *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyLinkDoubleData **)&jarg1;
arg2 = 0;
if (jarg2) {
arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
if (!arg2) return ;
}
{
delete [] arg1->m_linkName;
if (arg2) {
arg1->m_linkName = (char *) (new char[strlen((const char *)arg2)+1]);
strcpy((char *)arg1->m_linkName, (const char *)arg2);
} else {
arg1->m_linkName = 0;
}
}
if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
}
SWIGEXPORT jstring JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyLinkDoubleData_1linkName_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jstring jresult = 0 ;
btMultiBodyLinkDoubleData *arg1 = (btMultiBodyLinkDoubleData *) 0 ;
char *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyLinkDoubleData **)&jarg1;
result = (char *) ((arg1)->m_linkName);
if (result) jresult = jenv->NewStringUTF((const char *)result);
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyLinkDoubleData_1jointName_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
btMultiBodyLinkDoubleData *arg1 = (btMultiBodyLinkDoubleData *) 0 ;
char *arg2 = (char *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyLinkDoubleData **)&jarg1;
arg2 = 0;
if (jarg2) {
arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
if (!arg2) return ;
}
{
delete [] arg1->m_jointName;
if (arg2) {
arg1->m_jointName = (char *) (new char[strlen((const char *)arg2)+1]);
strcpy((char *)arg1->m_jointName, (const char *)arg2);
} else {
arg1->m_jointName = 0;
}
}
if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
}
SWIGEXPORT jstring JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyLinkDoubleData_1jointName_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jstring jresult = 0 ;
btMultiBodyLinkDoubleData *arg1 = (btMultiBodyLinkDoubleData *) 0 ;
char *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyLinkDoubleData **)&jarg1;
result = (char *) ((arg1)->m_jointName);
if (result) jresult = jenv->NewStringUTF((const char *)result);
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyLinkDoubleData_1linkCollider_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btMultiBodyLinkDoubleData *arg1 = (btMultiBodyLinkDoubleData *) 0 ;
btCollisionObjectDoubleData *arg2 = (btCollisionObjectDoubleData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btMultiBodyLinkDoubleData **)&jarg1;
arg2 = *(btCollisionObjectDoubleData **)&jarg2;
if (arg1) (arg1)->m_linkCollider = arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyLinkDoubleData_1linkCollider_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btMultiBodyLinkDoubleData *arg1 = (btMultiBodyLinkDoubleData *) 0 ;
btCollisionObjectDoubleData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyLinkDoubleData **)&jarg1;
result = (btCollisionObjectDoubleData *) ((arg1)->m_linkCollider);
*(btCollisionObjectDoubleData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyLinkDoubleData_1paddingPtr_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
btMultiBodyLinkDoubleData *arg1 = (btMultiBodyLinkDoubleData *) 0 ;
char *arg2 = (char *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyLinkDoubleData **)&jarg1;
arg2 = 0;
if (jarg2) {
arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
if (!arg2) return ;
}
{
delete [] arg1->m_paddingPtr;
if (arg2) {
arg1->m_paddingPtr = (char *) (new char[strlen((const char *)arg2)+1]);
strcpy((char *)arg1->m_paddingPtr, (const char *)arg2);
} else {
arg1->m_paddingPtr = 0;
}
}
if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
}
SWIGEXPORT jstring JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyLinkDoubleData_1paddingPtr_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jstring jresult = 0 ;
btMultiBodyLinkDoubleData *arg1 = (btMultiBodyLinkDoubleData *) 0 ;
char *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyLinkDoubleData **)&jarg1;
result = (char *) ((arg1)->m_paddingPtr);
if (result) jresult = jenv->NewStringUTF((const char *)result);
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btMultiBodyLinkDoubleData(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btMultiBodyLinkDoubleData *result = 0 ;
(void)jenv;
(void)jcls;
result = (btMultiBodyLinkDoubleData *)new btMultiBodyLinkDoubleData();
*(btMultiBodyLinkDoubleData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btMultiBodyLinkDoubleData(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btMultiBodyLinkDoubleData *arg1 = (btMultiBodyLinkDoubleData *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btMultiBodyLinkDoubleData **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyLinkFloatData_1zeroRotParentToThis_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btMultiBodyLinkFloatData *arg1 = (btMultiBodyLinkFloatData *) 0 ;
btQuaternionFloatData *arg2 = (btQuaternionFloatData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btMultiBodyLinkFloatData **)&jarg1;
arg2 = *(btQuaternionFloatData **)&jarg2;
if (arg1) (arg1)->m_zeroRotParentToThis = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyLinkFloatData_1zeroRotParentToThis_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btMultiBodyLinkFloatData *arg1 = (btMultiBodyLinkFloatData *) 0 ;
btQuaternionFloatData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyLinkFloatData **)&jarg1;
result = (btQuaternionFloatData *)& ((arg1)->m_zeroRotParentToThis);
*(btQuaternionFloatData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyLinkFloatData_1parentComToThisComOffset_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btMultiBodyLinkFloatData *arg1 = (btMultiBodyLinkFloatData *) 0 ;
btVector3FloatData *arg2 = (btVector3FloatData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btMultiBodyLinkFloatData **)&jarg1;
arg2 = *(btVector3FloatData **)&jarg2;
if (arg1) (arg1)->m_parentComToThisComOffset = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyLinkFloatData_1parentComToThisComOffset_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btMultiBodyLinkFloatData *arg1 = (btMultiBodyLinkFloatData *) 0 ;
btVector3FloatData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyLinkFloatData **)&jarg1;
result = (btVector3FloatData *)& ((arg1)->m_parentComToThisComOffset);
*(btVector3FloatData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyLinkFloatData_1thisPivotToThisComOffset_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btMultiBodyLinkFloatData *arg1 = (btMultiBodyLinkFloatData *) 0 ;
btVector3FloatData *arg2 = (btVector3FloatData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btMultiBodyLinkFloatData **)&jarg1;
arg2 = *(btVector3FloatData **)&jarg2;
if (arg1) (arg1)->m_thisPivotToThisComOffset = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyLinkFloatData_1thisPivotToThisComOffset_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btMultiBodyLinkFloatData *arg1 = (btMultiBodyLinkFloatData *) 0 ;
btVector3FloatData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyLinkFloatData **)&jarg1;
result = (btVector3FloatData *)& ((arg1)->m_thisPivotToThisComOffset);
*(btVector3FloatData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyLinkFloatData_1jointAxisTop_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btMultiBodyLinkFloatData *arg1 = (btMultiBodyLinkFloatData *) 0 ;
btVector3FloatData *arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btMultiBodyLinkFloatData **)&jarg1;
arg2 = *(btVector3FloatData **)&jarg2;
{
size_t ii;
btVector3FloatData *b = (btVector3FloatData *) arg1->m_jointAxisTop;
for (ii = 0; ii < (size_t)6; ii++) b[ii] = *((btVector3FloatData *) arg2 + ii);
}
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyLinkFloatData_1jointAxisTop_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btMultiBodyLinkFloatData *arg1 = (btMultiBodyLinkFloatData *) 0 ;
btVector3FloatData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyLinkFloatData **)&jarg1;
result = (btVector3FloatData *)(btVector3FloatData *) ((arg1)->m_jointAxisTop);
*(btVector3FloatData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyLinkFloatData_1jointAxisBottom_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btMultiBodyLinkFloatData *arg1 = (btMultiBodyLinkFloatData *) 0 ;
btVector3FloatData *arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btMultiBodyLinkFloatData **)&jarg1;
arg2 = *(btVector3FloatData **)&jarg2;
{
size_t ii;
btVector3FloatData *b = (btVector3FloatData *) arg1->m_jointAxisBottom;
for (ii = 0; ii < (size_t)6; ii++) b[ii] = *((btVector3FloatData *) arg2 + ii);
}
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyLinkFloatData_1jointAxisBottom_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btMultiBodyLinkFloatData *arg1 = (btMultiBodyLinkFloatData *) 0 ;
btVector3FloatData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyLinkFloatData **)&jarg1;
result = (btVector3FloatData *)(btVector3FloatData *) ((arg1)->m_jointAxisBottom);
*(btVector3FloatData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyLinkFloatData_1linkInertia_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btMultiBodyLinkFloatData *arg1 = (btMultiBodyLinkFloatData *) 0 ;
btVector3FloatData *arg2 = (btVector3FloatData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btMultiBodyLinkFloatData **)&jarg1;
arg2 = *(btVector3FloatData **)&jarg2;
if (arg1) (arg1)->m_linkInertia = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyLinkFloatData_1linkInertia_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btMultiBodyLinkFloatData *arg1 = (btMultiBodyLinkFloatData *) 0 ;
btVector3FloatData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyLinkFloatData **)&jarg1;
result = (btVector3FloatData *)& ((arg1)->m_linkInertia);
*(btVector3FloatData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyLinkFloatData_1dofCount_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btMultiBodyLinkFloatData *arg1 = (btMultiBodyLinkFloatData *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyLinkFloatData **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_dofCount = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyLinkFloatData_1dofCount_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btMultiBodyLinkFloatData *arg1 = (btMultiBodyLinkFloatData *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyLinkFloatData **)&jarg1;
result = (int) ((arg1)->m_dofCount);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyLinkFloatData_1linkMass_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btMultiBodyLinkFloatData *arg1 = (btMultiBodyLinkFloatData *) 0 ;
float arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyLinkFloatData **)&jarg1;
arg2 = (float)jarg2;
if (arg1) (arg1)->m_linkMass = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyLinkFloatData_1linkMass_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btMultiBodyLinkFloatData *arg1 = (btMultiBodyLinkFloatData *) 0 ;
float result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyLinkFloatData **)&jarg1;
result = (float) ((arg1)->m_linkMass);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyLinkFloatData_1parentIndex_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btMultiBodyLinkFloatData *arg1 = (btMultiBodyLinkFloatData *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyLinkFloatData **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_parentIndex = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyLinkFloatData_1parentIndex_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btMultiBodyLinkFloatData *arg1 = (btMultiBodyLinkFloatData *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyLinkFloatData **)&jarg1;
result = (int) ((arg1)->m_parentIndex);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyLinkFloatData_1jointType_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btMultiBodyLinkFloatData *arg1 = (btMultiBodyLinkFloatData *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyLinkFloatData **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_jointType = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyLinkFloatData_1jointType_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btMultiBodyLinkFloatData *arg1 = (btMultiBodyLinkFloatData *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyLinkFloatData **)&jarg1;
result = (int) ((arg1)->m_jointType);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyLinkFloatData_1jointPos_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloatArray jarg2) {
btMultiBodyLinkFloatData *arg1 = (btMultiBodyLinkFloatData *) 0 ;
float *arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyLinkFloatData **)&jarg1;
if (jarg2 && jenv->GetArrayLength(jarg2) != 7) {
SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, "incorrect array size");
return ;
}
arg2 = (float *)jenv->GetPrimitiveArrayCritical(jarg2, 0);
{
size_t ii;
float *b = (float *) arg1->m_jointPos;
for (ii = 0; ii < (size_t)7; ii++) b[ii] = *((float *) arg2 + ii);
}
jenv->ReleasePrimitiveArrayCritical(jarg2, (float *)arg2, 0);
}
SWIGEXPORT jfloatArray JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyLinkFloatData_1jointPos_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloatArray jresult = 0 ;
btMultiBodyLinkFloatData *arg1 = (btMultiBodyLinkFloatData *) 0 ;
float *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyLinkFloatData **)&jarg1;
result = (float *)(float *) ((arg1)->m_jointPos);
/*jresult = SWIG_JavaArrayOut##Float(jenv, (float *)result, 7);*/
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyLinkFloatData_1jointVel_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloatArray jarg2) {
btMultiBodyLinkFloatData *arg1 = (btMultiBodyLinkFloatData *) 0 ;
float *arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyLinkFloatData **)&jarg1;
if (jarg2 && jenv->GetArrayLength(jarg2) != 6) {
SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, "incorrect array size");
return ;
}
arg2 = (float *)jenv->GetPrimitiveArrayCritical(jarg2, 0);
{
size_t ii;
float *b = (float *) arg1->m_jointVel;
for (ii = 0; ii < (size_t)6; ii++) b[ii] = *((float *) arg2 + ii);
}
jenv->ReleasePrimitiveArrayCritical(jarg2, (float *)arg2, 0);
}
SWIGEXPORT jfloatArray JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyLinkFloatData_1jointVel_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloatArray jresult = 0 ;
btMultiBodyLinkFloatData *arg1 = (btMultiBodyLinkFloatData *) 0 ;
float *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyLinkFloatData **)&jarg1;
result = (float *)(float *) ((arg1)->m_jointVel);
/*jresult = SWIG_JavaArrayOut##Float(jenv, (float *)result, 6);*/
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyLinkFloatData_1jointTorque_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloatArray jarg2) {
btMultiBodyLinkFloatData *arg1 = (btMultiBodyLinkFloatData *) 0 ;
float *arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyLinkFloatData **)&jarg1;
if (jarg2 && jenv->GetArrayLength(jarg2) != 6) {
SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, "incorrect array size");
return ;
}
arg2 = (float *)jenv->GetPrimitiveArrayCritical(jarg2, 0);
{
size_t ii;
float *b = (float *) arg1->m_jointTorque;
for (ii = 0; ii < (size_t)6; ii++) b[ii] = *((float *) arg2 + ii);
}
jenv->ReleasePrimitiveArrayCritical(jarg2, (float *)arg2, 0);
}
SWIGEXPORT jfloatArray JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyLinkFloatData_1jointTorque_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloatArray jresult = 0 ;
btMultiBodyLinkFloatData *arg1 = (btMultiBodyLinkFloatData *) 0 ;
float *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyLinkFloatData **)&jarg1;
result = (float *)(float *) ((arg1)->m_jointTorque);
/*jresult = SWIG_JavaArrayOut##Float(jenv, (float *)result, 6);*/
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyLinkFloatData_1posVarCount_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btMultiBodyLinkFloatData *arg1 = (btMultiBodyLinkFloatData *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyLinkFloatData **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_posVarCount = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyLinkFloatData_1posVarCount_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btMultiBodyLinkFloatData *arg1 = (btMultiBodyLinkFloatData *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyLinkFloatData **)&jarg1;
result = (int) ((arg1)->m_posVarCount);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyLinkFloatData_1jointDamping_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btMultiBodyLinkFloatData *arg1 = (btMultiBodyLinkFloatData *) 0 ;
float arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyLinkFloatData **)&jarg1;
arg2 = (float)jarg2;
if (arg1) (arg1)->m_jointDamping = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyLinkFloatData_1jointDamping_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btMultiBodyLinkFloatData *arg1 = (btMultiBodyLinkFloatData *) 0 ;
float result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyLinkFloatData **)&jarg1;
result = (float) ((arg1)->m_jointDamping);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyLinkFloatData_1jointFriction_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btMultiBodyLinkFloatData *arg1 = (btMultiBodyLinkFloatData *) 0 ;
float arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyLinkFloatData **)&jarg1;
arg2 = (float)jarg2;
if (arg1) (arg1)->m_jointFriction = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyLinkFloatData_1jointFriction_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btMultiBodyLinkFloatData *arg1 = (btMultiBodyLinkFloatData *) 0 ;
float result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyLinkFloatData **)&jarg1;
result = (float) ((arg1)->m_jointFriction);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyLinkFloatData_1jointLowerLimit_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btMultiBodyLinkFloatData *arg1 = (btMultiBodyLinkFloatData *) 0 ;
float arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyLinkFloatData **)&jarg1;
arg2 = (float)jarg2;
if (arg1) (arg1)->m_jointLowerLimit = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyLinkFloatData_1jointLowerLimit_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btMultiBodyLinkFloatData *arg1 = (btMultiBodyLinkFloatData *) 0 ;
float result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyLinkFloatData **)&jarg1;
result = (float) ((arg1)->m_jointLowerLimit);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyLinkFloatData_1jointUpperLimit_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btMultiBodyLinkFloatData *arg1 = (btMultiBodyLinkFloatData *) 0 ;
float arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyLinkFloatData **)&jarg1;
arg2 = (float)jarg2;
if (arg1) (arg1)->m_jointUpperLimit = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyLinkFloatData_1jointUpperLimit_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btMultiBodyLinkFloatData *arg1 = (btMultiBodyLinkFloatData *) 0 ;
float result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyLinkFloatData **)&jarg1;
result = (float) ((arg1)->m_jointUpperLimit);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyLinkFloatData_1jointMaxForce_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btMultiBodyLinkFloatData *arg1 = (btMultiBodyLinkFloatData *) 0 ;
float arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyLinkFloatData **)&jarg1;
arg2 = (float)jarg2;
if (arg1) (arg1)->m_jointMaxForce = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyLinkFloatData_1jointMaxForce_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btMultiBodyLinkFloatData *arg1 = (btMultiBodyLinkFloatData *) 0 ;
float result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyLinkFloatData **)&jarg1;
result = (float) ((arg1)->m_jointMaxForce);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyLinkFloatData_1jointMaxVelocity_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btMultiBodyLinkFloatData *arg1 = (btMultiBodyLinkFloatData *) 0 ;
float arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyLinkFloatData **)&jarg1;
arg2 = (float)jarg2;
if (arg1) (arg1)->m_jointMaxVelocity = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyLinkFloatData_1jointMaxVelocity_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btMultiBodyLinkFloatData *arg1 = (btMultiBodyLinkFloatData *) 0 ;
float result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyLinkFloatData **)&jarg1;
result = (float) ((arg1)->m_jointMaxVelocity);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyLinkFloatData_1linkName_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
btMultiBodyLinkFloatData *arg1 = (btMultiBodyLinkFloatData *) 0 ;
char *arg2 = (char *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyLinkFloatData **)&jarg1;
arg2 = 0;
if (jarg2) {
arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
if (!arg2) return ;
}
{
delete [] arg1->m_linkName;
if (arg2) {
arg1->m_linkName = (char *) (new char[strlen((const char *)arg2)+1]);
strcpy((char *)arg1->m_linkName, (const char *)arg2);
} else {
arg1->m_linkName = 0;
}
}
if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
}
SWIGEXPORT jstring JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyLinkFloatData_1linkName_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jstring jresult = 0 ;
btMultiBodyLinkFloatData *arg1 = (btMultiBodyLinkFloatData *) 0 ;
char *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyLinkFloatData **)&jarg1;
result = (char *) ((arg1)->m_linkName);
if (result) jresult = jenv->NewStringUTF((const char *)result);
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyLinkFloatData_1jointName_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
btMultiBodyLinkFloatData *arg1 = (btMultiBodyLinkFloatData *) 0 ;
char *arg2 = (char *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyLinkFloatData **)&jarg1;
arg2 = 0;
if (jarg2) {
arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
if (!arg2) return ;
}
{
delete [] arg1->m_jointName;
if (arg2) {
arg1->m_jointName = (char *) (new char[strlen((const char *)arg2)+1]);
strcpy((char *)arg1->m_jointName, (const char *)arg2);
} else {
arg1->m_jointName = 0;
}
}
if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
}
SWIGEXPORT jstring JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyLinkFloatData_1jointName_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jstring jresult = 0 ;
btMultiBodyLinkFloatData *arg1 = (btMultiBodyLinkFloatData *) 0 ;
char *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyLinkFloatData **)&jarg1;
result = (char *) ((arg1)->m_jointName);
if (result) jresult = jenv->NewStringUTF((const char *)result);
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyLinkFloatData_1linkCollider_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btMultiBodyLinkFloatData *arg1 = (btMultiBodyLinkFloatData *) 0 ;
btCollisionObjectFloatData *arg2 = (btCollisionObjectFloatData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btMultiBodyLinkFloatData **)&jarg1;
arg2 = *(btCollisionObjectFloatData **)&jarg2;
if (arg1) (arg1)->m_linkCollider = arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyLinkFloatData_1linkCollider_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btMultiBodyLinkFloatData *arg1 = (btMultiBodyLinkFloatData *) 0 ;
btCollisionObjectFloatData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyLinkFloatData **)&jarg1;
result = (btCollisionObjectFloatData *) ((arg1)->m_linkCollider);
*(btCollisionObjectFloatData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyLinkFloatData_1paddingPtr_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
btMultiBodyLinkFloatData *arg1 = (btMultiBodyLinkFloatData *) 0 ;
char *arg2 = (char *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyLinkFloatData **)&jarg1;
arg2 = 0;
if (jarg2) {
arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
if (!arg2) return ;
}
{
delete [] arg1->m_paddingPtr;
if (arg2) {
arg1->m_paddingPtr = (char *) (new char[strlen((const char *)arg2)+1]);
strcpy((char *)arg1->m_paddingPtr, (const char *)arg2);
} else {
arg1->m_paddingPtr = 0;
}
}
if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
}
SWIGEXPORT jstring JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyLinkFloatData_1paddingPtr_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jstring jresult = 0 ;
btMultiBodyLinkFloatData *arg1 = (btMultiBodyLinkFloatData *) 0 ;
char *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyLinkFloatData **)&jarg1;
result = (char *) ((arg1)->m_paddingPtr);
if (result) jresult = jenv->NewStringUTF((const char *)result);
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btMultiBodyLinkFloatData(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btMultiBodyLinkFloatData *result = 0 ;
(void)jenv;
(void)jcls;
result = (btMultiBodyLinkFloatData *)new btMultiBodyLinkFloatData();
*(btMultiBodyLinkFloatData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btMultiBodyLinkFloatData(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btMultiBodyLinkFloatData *arg1 = (btMultiBodyLinkFloatData *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btMultiBodyLinkFloatData **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyDoubleData_1baseWorldTransform_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btMultiBodyDoubleData *arg1 = (btMultiBodyDoubleData *) 0 ;
btTransformDoubleData *arg2 = (btTransformDoubleData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btMultiBodyDoubleData **)&jarg1;
arg2 = *(btTransformDoubleData **)&jarg2;
if (arg1) (arg1)->m_baseWorldTransform = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyDoubleData_1baseWorldTransform_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btMultiBodyDoubleData *arg1 = (btMultiBodyDoubleData *) 0 ;
btTransformDoubleData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyDoubleData **)&jarg1;
result = (btTransformDoubleData *)& ((arg1)->m_baseWorldTransform);
*(btTransformDoubleData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyDoubleData_1baseInertia_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btMultiBodyDoubleData *arg1 = (btMultiBodyDoubleData *) 0 ;
btVector3DoubleData *arg2 = (btVector3DoubleData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btMultiBodyDoubleData **)&jarg1;
arg2 = *(btVector3DoubleData **)&jarg2;
if (arg1) (arg1)->m_baseInertia = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyDoubleData_1baseInertia_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btMultiBodyDoubleData *arg1 = (btMultiBodyDoubleData *) 0 ;
btVector3DoubleData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyDoubleData **)&jarg1;
result = (btVector3DoubleData *)& ((arg1)->m_baseInertia);
*(btVector3DoubleData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyDoubleData_1baseMass_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2) {
btMultiBodyDoubleData *arg1 = (btMultiBodyDoubleData *) 0 ;
double arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyDoubleData **)&jarg1;
arg2 = (double)jarg2;
if (arg1) (arg1)->m_baseMass = arg2;
}
SWIGEXPORT jdouble JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyDoubleData_1baseMass_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jdouble jresult = 0 ;
btMultiBodyDoubleData *arg1 = (btMultiBodyDoubleData *) 0 ;
double result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyDoubleData **)&jarg1;
result = (double) ((arg1)->m_baseMass);
jresult = (jdouble)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyDoubleData_1baseName_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
btMultiBodyDoubleData *arg1 = (btMultiBodyDoubleData *) 0 ;
char *arg2 = (char *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyDoubleData **)&jarg1;
arg2 = 0;
if (jarg2) {
arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
if (!arg2) return ;
}
{
delete [] arg1->m_baseName;
if (arg2) {
arg1->m_baseName = (char *) (new char[strlen((const char *)arg2)+1]);
strcpy((char *)arg1->m_baseName, (const char *)arg2);
} else {
arg1->m_baseName = 0;
}
}
if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
}
SWIGEXPORT jstring JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyDoubleData_1baseName_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jstring jresult = 0 ;
btMultiBodyDoubleData *arg1 = (btMultiBodyDoubleData *) 0 ;
char *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyDoubleData **)&jarg1;
result = (char *) ((arg1)->m_baseName);
if (result) jresult = jenv->NewStringUTF((const char *)result);
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyDoubleData_1links_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btMultiBodyDoubleData *arg1 = (btMultiBodyDoubleData *) 0 ;
btMultiBodyLinkDoubleData *arg2 = (btMultiBodyLinkDoubleData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btMultiBodyDoubleData **)&jarg1;
arg2 = *(btMultiBodyLinkDoubleData **)&jarg2;
if (arg1) (arg1)->m_links = arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyDoubleData_1links_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btMultiBodyDoubleData *arg1 = (btMultiBodyDoubleData *) 0 ;
btMultiBodyLinkDoubleData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyDoubleData **)&jarg1;
result = (btMultiBodyLinkDoubleData *) ((arg1)->m_links);
*(btMultiBodyLinkDoubleData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyDoubleData_1baseCollider_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btMultiBodyDoubleData *arg1 = (btMultiBodyDoubleData *) 0 ;
btCollisionObjectDoubleData *arg2 = (btCollisionObjectDoubleData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btMultiBodyDoubleData **)&jarg1;
arg2 = *(btCollisionObjectDoubleData **)&jarg2;
if (arg1) (arg1)->m_baseCollider = arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyDoubleData_1baseCollider_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btMultiBodyDoubleData *arg1 = (btMultiBodyDoubleData *) 0 ;
btCollisionObjectDoubleData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyDoubleData **)&jarg1;
result = (btCollisionObjectDoubleData *) ((arg1)->m_baseCollider);
*(btCollisionObjectDoubleData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyDoubleData_1paddingPtr_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
btMultiBodyDoubleData *arg1 = (btMultiBodyDoubleData *) 0 ;
char *arg2 = (char *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyDoubleData **)&jarg1;
arg2 = 0;
if (jarg2) {
arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
if (!arg2) return ;
}
{
delete [] arg1->m_paddingPtr;
if (arg2) {
arg1->m_paddingPtr = (char *) (new char[strlen((const char *)arg2)+1]);
strcpy((char *)arg1->m_paddingPtr, (const char *)arg2);
} else {
arg1->m_paddingPtr = 0;
}
}
if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
}
SWIGEXPORT jstring JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyDoubleData_1paddingPtr_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jstring jresult = 0 ;
btMultiBodyDoubleData *arg1 = (btMultiBodyDoubleData *) 0 ;
char *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyDoubleData **)&jarg1;
result = (char *) ((arg1)->m_paddingPtr);
if (result) jresult = jenv->NewStringUTF((const char *)result);
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyDoubleData_1numLinks_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btMultiBodyDoubleData *arg1 = (btMultiBodyDoubleData *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyDoubleData **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_numLinks = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyDoubleData_1numLinks_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btMultiBodyDoubleData *arg1 = (btMultiBodyDoubleData *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyDoubleData **)&jarg1;
result = (int) ((arg1)->m_numLinks);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyDoubleData_1padding_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
btMultiBodyDoubleData *arg1 = (btMultiBodyDoubleData *) 0 ;
char *arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyDoubleData **)&jarg1;
arg2 = 0;
if (jarg2) {
arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
if (!arg2) return ;
}
{
if(arg2) {
strncpy((char*)arg1->m_padding, (const char *)arg2, 4-1);
arg1->m_padding[4-1] = 0;
} else {
arg1->m_padding[0] = 0;
}
}
if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
}
SWIGEXPORT jstring JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyDoubleData_1padding_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jstring jresult = 0 ;
btMultiBodyDoubleData *arg1 = (btMultiBodyDoubleData *) 0 ;
char *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyDoubleData **)&jarg1;
result = (char *)(char *) ((arg1)->m_padding);
if (result) jresult = jenv->NewStringUTF((const char *)result);
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btMultiBodyDoubleData(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btMultiBodyDoubleData *result = 0 ;
(void)jenv;
(void)jcls;
result = (btMultiBodyDoubleData *)new btMultiBodyDoubleData();
*(btMultiBodyDoubleData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btMultiBodyDoubleData(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btMultiBodyDoubleData *arg1 = (btMultiBodyDoubleData *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btMultiBodyDoubleData **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyFloatData_1baseName_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
btMultiBodyFloatData *arg1 = (btMultiBodyFloatData *) 0 ;
char *arg2 = (char *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyFloatData **)&jarg1;
arg2 = 0;
if (jarg2) {
arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
if (!arg2) return ;
}
{
delete [] arg1->m_baseName;
if (arg2) {
arg1->m_baseName = (char *) (new char[strlen((const char *)arg2)+1]);
strcpy((char *)arg1->m_baseName, (const char *)arg2);
} else {
arg1->m_baseName = 0;
}
}
if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
}
SWIGEXPORT jstring JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyFloatData_1baseName_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jstring jresult = 0 ;
btMultiBodyFloatData *arg1 = (btMultiBodyFloatData *) 0 ;
char *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyFloatData **)&jarg1;
result = (char *) ((arg1)->m_baseName);
if (result) jresult = jenv->NewStringUTF((const char *)result);
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyFloatData_1links_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btMultiBodyFloatData *arg1 = (btMultiBodyFloatData *) 0 ;
btMultiBodyLinkFloatData *arg2 = (btMultiBodyLinkFloatData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btMultiBodyFloatData **)&jarg1;
arg2 = *(btMultiBodyLinkFloatData **)&jarg2;
if (arg1) (arg1)->m_links = arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyFloatData_1links_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btMultiBodyFloatData *arg1 = (btMultiBodyFloatData *) 0 ;
btMultiBodyLinkFloatData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyFloatData **)&jarg1;
result = (btMultiBodyLinkFloatData *) ((arg1)->m_links);
*(btMultiBodyLinkFloatData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyFloatData_1baseCollider_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btMultiBodyFloatData *arg1 = (btMultiBodyFloatData *) 0 ;
btCollisionObjectFloatData *arg2 = (btCollisionObjectFloatData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btMultiBodyFloatData **)&jarg1;
arg2 = *(btCollisionObjectFloatData **)&jarg2;
if (arg1) (arg1)->m_baseCollider = arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyFloatData_1baseCollider_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btMultiBodyFloatData *arg1 = (btMultiBodyFloatData *) 0 ;
btCollisionObjectFloatData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyFloatData **)&jarg1;
result = (btCollisionObjectFloatData *) ((arg1)->m_baseCollider);
*(btCollisionObjectFloatData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyFloatData_1baseWorldTransform_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btMultiBodyFloatData *arg1 = (btMultiBodyFloatData *) 0 ;
btTransformFloatData *arg2 = (btTransformFloatData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btMultiBodyFloatData **)&jarg1;
arg2 = *(btTransformFloatData **)&jarg2;
if (arg1) (arg1)->m_baseWorldTransform = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyFloatData_1baseWorldTransform_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btMultiBodyFloatData *arg1 = (btMultiBodyFloatData *) 0 ;
btTransformFloatData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyFloatData **)&jarg1;
result = (btTransformFloatData *)& ((arg1)->m_baseWorldTransform);
*(btTransformFloatData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyFloatData_1baseInertia_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btMultiBodyFloatData *arg1 = (btMultiBodyFloatData *) 0 ;
btVector3FloatData *arg2 = (btVector3FloatData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btMultiBodyFloatData **)&jarg1;
arg2 = *(btVector3FloatData **)&jarg2;
if (arg1) (arg1)->m_baseInertia = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyFloatData_1baseInertia_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btMultiBodyFloatData *arg1 = (btMultiBodyFloatData *) 0 ;
btVector3FloatData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyFloatData **)&jarg1;
result = (btVector3FloatData *)& ((arg1)->m_baseInertia);
*(btVector3FloatData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyFloatData_1baseMass_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btMultiBodyFloatData *arg1 = (btMultiBodyFloatData *) 0 ;
float arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyFloatData **)&jarg1;
arg2 = (float)jarg2;
if (arg1) (arg1)->m_baseMass = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyFloatData_1baseMass_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btMultiBodyFloatData *arg1 = (btMultiBodyFloatData *) 0 ;
float result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyFloatData **)&jarg1;
result = (float) ((arg1)->m_baseMass);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyFloatData_1numLinks_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btMultiBodyFloatData *arg1 = (btMultiBodyFloatData *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyFloatData **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_numLinks = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyFloatData_1numLinks_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btMultiBodyFloatData *arg1 = (btMultiBodyFloatData *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyFloatData **)&jarg1;
result = (int) ((arg1)->m_numLinks);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btMultiBodyFloatData(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btMultiBodyFloatData *result = 0 ;
(void)jenv;
(void)jcls;
result = (btMultiBodyFloatData *)new btMultiBodyFloatData();
*(btMultiBodyFloatData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btMultiBodyFloatData(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btMultiBodyFloatData *arg1 = (btMultiBodyFloatData *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btMultiBodyFloatData **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyJacobianData_1jacobians_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btMultiBodyJacobianData *arg1 = (btMultiBodyJacobianData *) 0 ;
btAlignedObjectArray< btScalar > *arg2 = (btAlignedObjectArray< btScalar > *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btMultiBodyJacobianData **)&jarg1;
arg2 = *(btAlignedObjectArray< btScalar > **)&jarg2;
if (arg1) (arg1)->m_jacobians = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyJacobianData_1jacobians_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btMultiBodyJacobianData *arg1 = (btMultiBodyJacobianData *) 0 ;
btAlignedObjectArray< btScalar > *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyJacobianData **)&jarg1;
result = (btAlignedObjectArray< btScalar > *)& ((arg1)->m_jacobians);
*(btAlignedObjectArray< btScalar > **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyJacobianData_1deltaVelocitiesUnitImpulse_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btMultiBodyJacobianData *arg1 = (btMultiBodyJacobianData *) 0 ;
btAlignedObjectArray< btScalar > *arg2 = (btAlignedObjectArray< btScalar > *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btMultiBodyJacobianData **)&jarg1;
arg2 = *(btAlignedObjectArray< btScalar > **)&jarg2;
if (arg1) (arg1)->m_deltaVelocitiesUnitImpulse = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyJacobianData_1deltaVelocitiesUnitImpulse_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btMultiBodyJacobianData *arg1 = (btMultiBodyJacobianData *) 0 ;
btAlignedObjectArray< btScalar > *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyJacobianData **)&jarg1;
result = (btAlignedObjectArray< btScalar > *)& ((arg1)->m_deltaVelocitiesUnitImpulse);
*(btAlignedObjectArray< btScalar > **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyJacobianData_1deltaVelocities_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btMultiBodyJacobianData *arg1 = (btMultiBodyJacobianData *) 0 ;
btAlignedObjectArray< btScalar > *arg2 = (btAlignedObjectArray< btScalar > *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btMultiBodyJacobianData **)&jarg1;
arg2 = *(btAlignedObjectArray< btScalar > **)&jarg2;
if (arg1) (arg1)->m_deltaVelocities = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyJacobianData_1deltaVelocities_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btMultiBodyJacobianData *arg1 = (btMultiBodyJacobianData *) 0 ;
btAlignedObjectArray< btScalar > *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyJacobianData **)&jarg1;
result = (btAlignedObjectArray< btScalar > *)& ((arg1)->m_deltaVelocities);
*(btAlignedObjectArray< btScalar > **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyJacobianData_1scratch_1r_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btMultiBodyJacobianData *arg1 = (btMultiBodyJacobianData *) 0 ;
btAlignedObjectArray< btScalar > *arg2 = (btAlignedObjectArray< btScalar > *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btMultiBodyJacobianData **)&jarg1;
arg2 = *(btAlignedObjectArray< btScalar > **)&jarg2;
if (arg1) (arg1)->scratch_r = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyJacobianData_1scratch_1r_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btMultiBodyJacobianData *arg1 = (btMultiBodyJacobianData *) 0 ;
btAlignedObjectArray< btScalar > *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyJacobianData **)&jarg1;
result = (btAlignedObjectArray< btScalar > *)& ((arg1)->scratch_r);
*(btAlignedObjectArray< btScalar > **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyJacobianData_1scratch_1v_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btMultiBodyJacobianData *arg1 = (btMultiBodyJacobianData *) 0 ;
btAlignedObjectArray< btVector3 > *arg2 = (btAlignedObjectArray< btVector3 > *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btMultiBodyJacobianData **)&jarg1;
arg2 = *(btAlignedObjectArray< btVector3 > **)&jarg2;
if (arg1) (arg1)->scratch_v = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyJacobianData_1scratch_1v_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btMultiBodyJacobianData *arg1 = (btMultiBodyJacobianData *) 0 ;
btAlignedObjectArray< btVector3 > *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyJacobianData **)&jarg1;
result = (btAlignedObjectArray< btVector3 > *)& ((arg1)->scratch_v);
*(btAlignedObjectArray< btVector3 > **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyJacobianData_1scratch_1m_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btMultiBodyJacobianData *arg1 = (btMultiBodyJacobianData *) 0 ;
btAlignedObjectArray< btMatrix3x3 > *arg2 = (btAlignedObjectArray< btMatrix3x3 > *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyJacobianData **)&jarg1;
arg2 = *(btAlignedObjectArray< btMatrix3x3 > **)&jarg2;
if (arg1) (arg1)->scratch_m = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyJacobianData_1scratch_1m_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btMultiBodyJacobianData *arg1 = (btMultiBodyJacobianData *) 0 ;
btAlignedObjectArray< btMatrix3x3 > *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyJacobianData **)&jarg1;
result = (btAlignedObjectArray< btMatrix3x3 > *)& ((arg1)->scratch_m);
*(btAlignedObjectArray< btMatrix3x3 > **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyJacobianData_1solverBodyPool_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btMultiBodyJacobianData *arg1 = (btMultiBodyJacobianData *) 0 ;
btAlignedObjectArray< btSolverBody > *arg2 = (btAlignedObjectArray< btSolverBody > *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyJacobianData **)&jarg1;
arg2 = *(btAlignedObjectArray< btSolverBody > **)&jarg2;
if (arg1) (arg1)->m_solverBodyPool = arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyJacobianData_1solverBodyPool_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btMultiBodyJacobianData *arg1 = (btMultiBodyJacobianData *) 0 ;
btAlignedObjectArray< btSolverBody > *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyJacobianData **)&jarg1;
result = (btAlignedObjectArray< btSolverBody > *) ((arg1)->m_solverBodyPool);
*(btAlignedObjectArray< btSolverBody > **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyJacobianData_1fixedBodyId_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btMultiBodyJacobianData *arg1 = (btMultiBodyJacobianData *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyJacobianData **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_fixedBodyId = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyJacobianData_1fixedBodyId_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btMultiBodyJacobianData *arg1 = (btMultiBodyJacobianData *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyJacobianData **)&jarg1;
result = (int) ((arg1)->m_fixedBodyId);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btMultiBodyJacobianData(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btMultiBodyJacobianData *result = 0 ;
(void)jenv;
(void)jcls;
result = (btMultiBodyJacobianData *)new btMultiBodyJacobianData();
*(btMultiBodyJacobianData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btMultiBodyJacobianData(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btMultiBodyJacobianData *arg1 = (btMultiBodyJacobianData *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btMultiBodyJacobianData **)&jarg1;
delete arg1;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyConstraint_1operatorNew_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btMultiBodyConstraint *arg1 = (btMultiBodyConstraint *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyConstraint **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new(arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyConstraint_1operatorDelete_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btMultiBodyConstraint *arg1 = (btMultiBodyConstraint *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyConstraint **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete(arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyConstraint_1operatorNew_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btMultiBodyConstraint *arg1 = (btMultiBodyConstraint *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyConstraint **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new(arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyConstraint_1operatorDelete_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btMultiBodyConstraint *arg1 = (btMultiBodyConstraint *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyConstraint **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete(arg2,arg3);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyConstraint_1operatorNewArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btMultiBodyConstraint *arg1 = (btMultiBodyConstraint *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyConstraint **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new[](arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyConstraint_1operatorDeleteArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btMultiBodyConstraint *arg1 = (btMultiBodyConstraint *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyConstraint **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete[](arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyConstraint_1operatorNewArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btMultiBodyConstraint *arg1 = (btMultiBodyConstraint *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyConstraint **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new[](arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyConstraint_1operatorDeleteArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btMultiBodyConstraint *arg1 = (btMultiBodyConstraint *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyConstraint **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete[](arg2,arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btMultiBodyConstraint(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btMultiBodyConstraint *arg1 = (btMultiBodyConstraint *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btMultiBodyConstraint **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyConstraint_1updateJacobianSizes(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
btMultiBodyConstraint *arg1 = (btMultiBodyConstraint *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyConstraint **)&jarg1;
(arg1)->updateJacobianSizes();
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyConstraint_1allocateJacobiansMultiDof(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
btMultiBodyConstraint *arg1 = (btMultiBodyConstraint *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyConstraint **)&jarg1;
(arg1)->allocateJacobiansMultiDof();
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyConstraint_1setFrameInB(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btMultiBodyConstraint *arg1 = (btMultiBodyConstraint *) 0 ;
btMatrix3x3 *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyConstraint **)&jarg1;
btMatrix3x3 local_arg2;
gdx_setbtMatrix3x3FromMatrix3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitMatrix3 auto_commit_arg2(jenv, jarg2, &local_arg2);
(arg1)->setFrameInB((btMatrix3x3 const &)*arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyConstraint_1setPivotInB(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btMultiBodyConstraint *arg1 = (btMultiBodyConstraint *) 0 ;
btVector3 *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyConstraint **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
(arg1)->setPivotInB((btVector3 const &)*arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyConstraint_1finalizeMultiDof(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
btMultiBodyConstraint *arg1 = (btMultiBodyConstraint *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyConstraint **)&jarg1;
(arg1)->finalizeMultiDof();
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyConstraint_1getIslandIdA(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btMultiBodyConstraint *arg1 = (btMultiBodyConstraint *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyConstraint **)&jarg1;
result = (int)((btMultiBodyConstraint const *)arg1)->getIslandIdA();
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyConstraint_1getIslandIdB(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btMultiBodyConstraint *arg1 = (btMultiBodyConstraint *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyConstraint **)&jarg1;
result = (int)((btMultiBodyConstraint const *)arg1)->getIslandIdB();
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyConstraint_1createConstraintRows(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3, jobject jarg3_, jlong jarg4, jobject jarg4_) {
btMultiBodyConstraint *arg1 = (btMultiBodyConstraint *) 0 ;
btMultiBodyConstraintArray *arg2 = 0 ;
btMultiBodyJacobianData *arg3 = 0 ;
btContactSolverInfo *arg4 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg3_;
(void)jarg4_;
arg1 = *(btMultiBodyConstraint **)&jarg1;
arg2 = *(btMultiBodyConstraintArray **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btMultiBodyConstraintArray & reference is null");
return ;
}
arg3 = *(btMultiBodyJacobianData **)&jarg3;
if (!arg3) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btMultiBodyJacobianData & reference is null");
return ;
}
arg4 = *(btContactSolverInfo **)&jarg4;
if (!arg4) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btContactSolverInfo const & reference is null");
return ;
}
(arg1)->createConstraintRows(*arg2,*arg3,(btContactSolverInfo const &)*arg4);
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyConstraint_1getNumRows(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btMultiBodyConstraint *arg1 = (btMultiBodyConstraint *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyConstraint **)&jarg1;
result = (int)((btMultiBodyConstraint const *)arg1)->getNumRows();
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyConstraint_1getMultiBodyA(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btMultiBodyConstraint *arg1 = (btMultiBodyConstraint *) 0 ;
btMultiBody *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyConstraint **)&jarg1;
result = (btMultiBody *)(arg1)->getMultiBodyA();
*(btMultiBody **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyConstraint_1getMultiBodyB(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btMultiBodyConstraint *arg1 = (btMultiBodyConstraint *) 0 ;
btMultiBody *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyConstraint **)&jarg1;
result = (btMultiBody *)(arg1)->getMultiBodyB();
*(btMultiBody **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyConstraint_1internalSetAppliedImpulse(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jfloat jarg3) {
btMultiBodyConstraint *arg1 = (btMultiBodyConstraint *) 0 ;
int arg2 ;
btScalar arg3 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyConstraint **)&jarg1;
arg2 = (int)jarg2;
arg3 = (btScalar)jarg3;
(arg1)->internalSetAppliedImpulse(arg2,arg3);
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyConstraint_1getAppliedImpulse(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jfloat jresult = 0 ;
btMultiBodyConstraint *arg1 = (btMultiBodyConstraint *) 0 ;
int arg2 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyConstraint **)&jarg1;
arg2 = (int)jarg2;
result = (btScalar)(arg1)->getAppliedImpulse(arg2);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyConstraint_1getPosition(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jfloat jresult = 0 ;
btMultiBodyConstraint *arg1 = (btMultiBodyConstraint *) 0 ;
int arg2 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyConstraint **)&jarg1;
arg2 = (int)jarg2;
result = (btScalar)((btMultiBodyConstraint const *)arg1)->getPosition(arg2);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyConstraint_1setPosition(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jfloat jarg3) {
btMultiBodyConstraint *arg1 = (btMultiBodyConstraint *) 0 ;
int arg2 ;
btScalar arg3 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyConstraint **)&jarg1;
arg2 = (int)jarg2;
arg3 = (btScalar)jarg3;
(arg1)->setPosition(arg2,arg3);
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyConstraint_1isUnilateral(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jboolean jresult = 0 ;
btMultiBodyConstraint *arg1 = (btMultiBodyConstraint *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyConstraint **)&jarg1;
result = (bool)((btMultiBodyConstraint const *)arg1)->isUnilateral();
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyConstraint_1jacobianA(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jobject jresult = 0 ;
btMultiBodyConstraint *arg1 = (btMultiBodyConstraint *) 0 ;
int arg2 ;
btScalar *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyConstraint **)&jarg1;
arg2 = (int)jarg2;
result = (btScalar *)(arg1)->jacobianA(arg2);
*(btScalar **)&jresult = result;
return jresult;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyConstraint_1jacobianAConst(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jobject jresult = 0 ;
btMultiBodyConstraint *arg1 = (btMultiBodyConstraint *) 0 ;
int arg2 ;
btScalar *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyConstraint **)&jarg1;
arg2 = (int)jarg2;
result = (btScalar *)((btMultiBodyConstraint const *)arg1)->jacobianA(arg2);
*(btScalar **)&jresult = result;
return jresult;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyConstraint_1jacobianB(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jobject jresult = 0 ;
btMultiBodyConstraint *arg1 = (btMultiBodyConstraint *) 0 ;
int arg2 ;
btScalar *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyConstraint **)&jarg1;
arg2 = (int)jarg2;
result = (btScalar *)(arg1)->jacobianB(arg2);
*(btScalar **)&jresult = result;
return jresult;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyConstraint_1jacobianBConst(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jobject jresult = 0 ;
btMultiBodyConstraint *arg1 = (btMultiBodyConstraint *) 0 ;
int arg2 ;
btScalar *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyConstraint **)&jarg1;
arg2 = (int)jarg2;
result = (btScalar *)((btMultiBodyConstraint const *)arg1)->jacobianB(arg2);
*(btScalar **)&jresult = result;
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyConstraint_1getMaxAppliedImpulse(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btMultiBodyConstraint *arg1 = (btMultiBodyConstraint *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyConstraint **)&jarg1;
result = (btScalar)((btMultiBodyConstraint const *)arg1)->getMaxAppliedImpulse();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyConstraint_1setMaxAppliedImpulse(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btMultiBodyConstraint *arg1 = (btMultiBodyConstraint *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyConstraint **)&jarg1;
arg2 = (btScalar)jarg2;
(arg1)->setMaxAppliedImpulse(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyConstraint_1debugDraw(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btMultiBodyConstraint *arg1 = (btMultiBodyConstraint *) 0 ;
btIDebugDraw *arg2 = (btIDebugDraw *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btMultiBodyConstraint **)&jarg1;
arg2 = *(btIDebugDraw **)&jarg2;
(arg1)->debugDraw(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyConstraint_1setGearRatio(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btMultiBodyConstraint *arg1 = (btMultiBodyConstraint *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyConstraint **)&jarg1;
arg2 = (btScalar)jarg2;
(arg1)->setGearRatio(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyConstraint_1setGearAuxLink(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btMultiBodyConstraint *arg1 = (btMultiBodyConstraint *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyConstraint **)&jarg1;
arg2 = (int)jarg2;
(arg1)->setGearAuxLink(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyConstraint_1setRelativePositionTarget(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btMultiBodyConstraint *arg1 = (btMultiBodyConstraint *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyConstraint **)&jarg1;
arg2 = (btScalar)jarg2;
(arg1)->setRelativePositionTarget(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyConstraint_1setErp(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btMultiBodyConstraint *arg1 = (btMultiBodyConstraint *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyConstraint **)&jarg1;
arg2 = (btScalar)jarg2;
(arg1)->setErp(arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btMultiBodyGearConstraint(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jlong jarg3, jobject jarg3_, jint jarg4, jobject jarg5, jobject jarg6, jobject jarg7, jobject jarg8) {
jlong jresult = 0 ;
btMultiBody *arg1 = (btMultiBody *) 0 ;
int arg2 ;
btMultiBody *arg3 = (btMultiBody *) 0 ;
int arg4 ;
btVector3 *arg5 = 0 ;
btVector3 *arg6 = 0 ;
btMatrix3x3 *arg7 = 0 ;
btMatrix3x3 *arg8 = 0 ;
btMultiBodyGearConstraint *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg3_;
arg1 = *(btMultiBody **)&jarg1;
arg2 = (int)jarg2;
arg3 = *(btMultiBody **)&jarg3;
arg4 = (int)jarg4;
btVector3 local_arg5;
gdx_setbtVector3FromVector3(jenv, local_arg5, jarg5);
arg5 = &local_arg5;
gdxAutoCommitVector3 auto_commit_arg5(jenv, jarg5, &local_arg5);
btVector3 local_arg6;
gdx_setbtVector3FromVector3(jenv, local_arg6, jarg6);
arg6 = &local_arg6;
gdxAutoCommitVector3 auto_commit_arg6(jenv, jarg6, &local_arg6);
btMatrix3x3 local_arg7;
gdx_setbtMatrix3x3FromMatrix3(jenv, local_arg7, jarg7);
arg7 = &local_arg7;
gdxAutoCommitMatrix3 auto_commit_arg7(jenv, jarg7, &local_arg7);
btMatrix3x3 local_arg8;
gdx_setbtMatrix3x3FromMatrix3(jenv, local_arg8, jarg8);
arg8 = &local_arg8;
gdxAutoCommitMatrix3 auto_commit_arg8(jenv, jarg8, &local_arg8);
result = (btMultiBodyGearConstraint *)new btMultiBodyGearConstraint(arg1,arg2,arg3,arg4,(btVector3 const &)*arg5,(btVector3 const &)*arg6,(btMatrix3x3 const &)*arg7,(btMatrix3x3 const &)*arg8);
*(btMultiBodyGearConstraint **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btMultiBodyGearConstraint(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btMultiBodyGearConstraint *arg1 = (btMultiBodyGearConstraint *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btMultiBodyGearConstraint **)&jarg1;
delete arg1;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyGearConstraint_1getPivotInA(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btMultiBodyGearConstraint *arg1 = (btMultiBodyGearConstraint *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyGearConstraint **)&jarg1;
result = (btVector3 *) &((btMultiBodyGearConstraint const *)arg1)->getPivotInA();
jresult = gdx_getReturnVector3(jenv);
gdx_setVector3FrombtVector3(jenv, jresult, result);
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyGearConstraint_1setPivotInA(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btMultiBodyGearConstraint *arg1 = (btMultiBodyGearConstraint *) 0 ;
btVector3 *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyGearConstraint **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
(arg1)->setPivotInA((btVector3 const &)*arg2);
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyGearConstraint_1getPivotInB(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btMultiBodyGearConstraint *arg1 = (btMultiBodyGearConstraint *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyGearConstraint **)&jarg1;
result = (btVector3 *) &((btMultiBodyGearConstraint const *)arg1)->getPivotInB();
jresult = gdx_getReturnVector3(jenv);
gdx_setVector3FrombtVector3(jenv, jresult, result);
return jresult;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyGearConstraint_1getFrameInA(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btMultiBodyGearConstraint *arg1 = (btMultiBodyGearConstraint *) 0 ;
btMatrix3x3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyGearConstraint **)&jarg1;
result = (btMatrix3x3 *) &((btMultiBodyGearConstraint const *)arg1)->getFrameInA();
jresult = gdx_getReturnMatrix3(jenv);
gdx_setMatrix3FrombtMatrix3x3(jenv, jresult, result);
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyGearConstraint_1setFrameInA(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btMultiBodyGearConstraint *arg1 = (btMultiBodyGearConstraint *) 0 ;
btMatrix3x3 *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyGearConstraint **)&jarg1;
btMatrix3x3 local_arg2;
gdx_setbtMatrix3x3FromMatrix3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitMatrix3 auto_commit_arg2(jenv, jarg2, &local_arg2);
(arg1)->setFrameInA((btMatrix3x3 const &)*arg2);
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyGearConstraint_1getFrameInB(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btMultiBodyGearConstraint *arg1 = (btMultiBodyGearConstraint *) 0 ;
btMatrix3x3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyGearConstraint **)&jarg1;
result = (btMatrix3x3 *) &((btMultiBodyGearConstraint const *)arg1)->getFrameInB();
jresult = gdx_getReturnMatrix3(jenv);
gdx_setMatrix3FrombtMatrix3x3(jenv, jresult, result);
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyConstraintSolver_1operatorNew_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btMultiBodyConstraintSolver *arg1 = (btMultiBodyConstraintSolver *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyConstraintSolver **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new(arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyConstraintSolver_1operatorDelete_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btMultiBodyConstraintSolver *arg1 = (btMultiBodyConstraintSolver *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyConstraintSolver **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete(arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyConstraintSolver_1operatorNew_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btMultiBodyConstraintSolver *arg1 = (btMultiBodyConstraintSolver *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyConstraintSolver **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new(arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyConstraintSolver_1operatorDelete_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btMultiBodyConstraintSolver *arg1 = (btMultiBodyConstraintSolver *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyConstraintSolver **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete(arg2,arg3);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyConstraintSolver_1operatorNewArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btMultiBodyConstraintSolver *arg1 = (btMultiBodyConstraintSolver *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyConstraintSolver **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new[](arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyConstraintSolver_1operatorDeleteArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btMultiBodyConstraintSolver *arg1 = (btMultiBodyConstraintSolver *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyConstraintSolver **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete[](arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyConstraintSolver_1operatorNewArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btMultiBodyConstraintSolver *arg1 = (btMultiBodyConstraintSolver *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyConstraintSolver **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new[](arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyConstraintSolver_1operatorDeleteArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btMultiBodyConstraintSolver *arg1 = (btMultiBodyConstraintSolver *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyConstraintSolver **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete[](arg2,arg3);
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyConstraintSolver_1solveGroupCacheFriendlyFinish(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jint jarg3, jlong jarg4, jobject jarg4_) {
jfloat jresult = 0 ;
btMultiBodyConstraintSolver *arg1 = (btMultiBodyConstraintSolver *) 0 ;
btCollisionObject **arg2 = (btCollisionObject **) 0 ;
int arg3 ;
btContactSolverInfo *arg4 = 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg4_;
arg1 = *(btMultiBodyConstraintSolver **)&jarg1;
arg2 = *(btCollisionObject ***)&jarg2;
arg3 = (int)jarg3;
arg4 = *(btContactSolverInfo **)&jarg4;
if (!arg4) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btContactSolverInfo const & reference is null");
return 0;
}
result = (btScalar)(arg1)->solveGroupCacheFriendlyFinish(arg2,arg3,(btContactSolverInfo const &)*arg4);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyConstraintSolver_1solveMultiBodyGroup(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jint jarg3, jlong jarg4, jint jarg5, jlong jarg6, jint jarg7, jlong jarg8, jint jarg9, jlong jarg10, jobject jarg10_, jlong jarg11, jobject jarg11_, jlong jarg12, jobject jarg12_) {
btMultiBodyConstraintSolver *arg1 = (btMultiBodyConstraintSolver *) 0 ;
btCollisionObject **arg2 = (btCollisionObject **) 0 ;
int arg3 ;
btPersistentManifold **arg4 = (btPersistentManifold **) 0 ;
int arg5 ;
btTypedConstraint **arg6 = (btTypedConstraint **) 0 ;
int arg7 ;
btMultiBodyConstraint **arg8 = (btMultiBodyConstraint **) 0 ;
int arg9 ;
btContactSolverInfo *arg10 = 0 ;
btIDebugDraw *arg11 = (btIDebugDraw *) 0 ;
btDispatcher *arg12 = (btDispatcher *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg10_;
(void)jarg11_;
(void)jarg12_;
arg1 = *(btMultiBodyConstraintSolver **)&jarg1;
arg2 = *(btCollisionObject ***)&jarg2;
arg3 = (int)jarg3;
arg4 = *(btPersistentManifold ***)&jarg4;
arg5 = (int)jarg5;
arg6 = *(btTypedConstraint ***)&jarg6;
arg7 = (int)jarg7;
arg8 = *(btMultiBodyConstraint ***)&jarg8;
arg9 = (int)jarg9;
arg10 = *(btContactSolverInfo **)&jarg10;
if (!arg10) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btContactSolverInfo const & reference is null");
return ;
}
arg11 = *(btIDebugDraw **)&jarg11;
arg12 = *(btDispatcher **)&jarg12;
(arg1)->solveMultiBodyGroup(arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,(btContactSolverInfo const &)*arg10,arg11,arg12);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btMultiBodyConstraintSolver(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btMultiBodyConstraintSolver *result = 0 ;
(void)jenv;
(void)jcls;
result = (btMultiBodyConstraintSolver *)new btMultiBodyConstraintSolver();
*(btMultiBodyConstraintSolver **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btMultiBodyConstraintSolver(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btMultiBodyConstraintSolver *arg1 = (btMultiBodyConstraintSolver *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btMultiBodyConstraintSolver **)&jarg1;
delete arg1;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btMultiBodyDynamicsWorld(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_, jlong jarg4, jobject jarg4_) {
jlong jresult = 0 ;
btDispatcher *arg1 = (btDispatcher *) 0 ;
btBroadphaseInterface *arg2 = (btBroadphaseInterface *) 0 ;
btMultiBodyConstraintSolver *arg3 = (btMultiBodyConstraintSolver *) 0 ;
btCollisionConfiguration *arg4 = (btCollisionConfiguration *) 0 ;
btMultiBodyDynamicsWorld *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
(void)jarg3_;
(void)jarg4_;
arg1 = *(btDispatcher **)&jarg1;
arg2 = *(btBroadphaseInterface **)&jarg2;
arg3 = *(btMultiBodyConstraintSolver **)&jarg3;
arg4 = *(btCollisionConfiguration **)&jarg4;
result = (btMultiBodyDynamicsWorld *)new btMultiBodyDynamicsWorld(arg1,arg2,arg3,arg4);
*(btMultiBodyDynamicsWorld **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btMultiBodyDynamicsWorld(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btMultiBodyDynamicsWorld *arg1 = (btMultiBodyDynamicsWorld *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btMultiBodyDynamicsWorld **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyDynamicsWorld_1addMultiBody_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jint jarg3, jint jarg4) {
btMultiBodyDynamicsWorld *arg1 = (btMultiBodyDynamicsWorld *) 0 ;
btMultiBody *arg2 = (btMultiBody *) 0 ;
int arg3 ;
int arg4 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btMultiBodyDynamicsWorld **)&jarg1;
arg2 = *(btMultiBody **)&jarg2;
arg3 = (int)jarg3;
arg4 = (int)jarg4;
(arg1)->addMultiBody(arg2,arg3,arg4);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyDynamicsWorld_1addMultiBody_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jint jarg3) {
btMultiBodyDynamicsWorld *arg1 = (btMultiBodyDynamicsWorld *) 0 ;
btMultiBody *arg2 = (btMultiBody *) 0 ;
int arg3 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btMultiBodyDynamicsWorld **)&jarg1;
arg2 = *(btMultiBody **)&jarg2;
arg3 = (int)jarg3;
(arg1)->addMultiBody(arg2,arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyDynamicsWorld_1addMultiBody_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btMultiBodyDynamicsWorld *arg1 = (btMultiBodyDynamicsWorld *) 0 ;
btMultiBody *arg2 = (btMultiBody *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btMultiBodyDynamicsWorld **)&jarg1;
arg2 = *(btMultiBody **)&jarg2;
(arg1)->addMultiBody(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyDynamicsWorld_1removeMultiBody(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btMultiBodyDynamicsWorld *arg1 = (btMultiBodyDynamicsWorld *) 0 ;
btMultiBody *arg2 = (btMultiBody *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btMultiBodyDynamicsWorld **)&jarg1;
arg2 = *(btMultiBody **)&jarg2;
(arg1)->removeMultiBody(arg2);
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyDynamicsWorld_1getNumMultibodies(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btMultiBodyDynamicsWorld *arg1 = (btMultiBodyDynamicsWorld *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyDynamicsWorld **)&jarg1;
result = (int)((btMultiBodyDynamicsWorld const *)arg1)->getNumMultibodies();
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyDynamicsWorld_1getMultiBody(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jlong jresult = 0 ;
btMultiBodyDynamicsWorld *arg1 = (btMultiBodyDynamicsWorld *) 0 ;
int arg2 ;
btMultiBody *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyDynamicsWorld **)&jarg1;
arg2 = (int)jarg2;
result = (btMultiBody *)(arg1)->getMultiBody(arg2);
*(btMultiBody **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyDynamicsWorld_1getMultiBodyConst(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jlong jresult = 0 ;
btMultiBodyDynamicsWorld *arg1 = (btMultiBodyDynamicsWorld *) 0 ;
int arg2 ;
btMultiBody *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyDynamicsWorld **)&jarg1;
arg2 = (int)jarg2;
result = (btMultiBody *)((btMultiBodyDynamicsWorld const *)arg1)->getMultiBody(arg2);
*(btMultiBody **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyDynamicsWorld_1addMultiBodyConstraint(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btMultiBodyDynamicsWorld *arg1 = (btMultiBodyDynamicsWorld *) 0 ;
btMultiBodyConstraint *arg2 = (btMultiBodyConstraint *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btMultiBodyDynamicsWorld **)&jarg1;
arg2 = *(btMultiBodyConstraint **)&jarg2;
(arg1)->addMultiBodyConstraint(arg2);
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyDynamicsWorld_1getNumMultiBodyConstraints(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btMultiBodyDynamicsWorld *arg1 = (btMultiBodyDynamicsWorld *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyDynamicsWorld **)&jarg1;
result = (int)((btMultiBodyDynamicsWorld const *)arg1)->getNumMultiBodyConstraints();
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyDynamicsWorld_1getMultiBodyConstraint(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jlong jresult = 0 ;
btMultiBodyDynamicsWorld *arg1 = (btMultiBodyDynamicsWorld *) 0 ;
int arg2 ;
btMultiBodyConstraint *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyDynamicsWorld **)&jarg1;
arg2 = (int)jarg2;
result = (btMultiBodyConstraint *)(arg1)->getMultiBodyConstraint(arg2);
*(btMultiBodyConstraint **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyDynamicsWorld_1getMultiBodyConstraintConst(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jlong jresult = 0 ;
btMultiBodyDynamicsWorld *arg1 = (btMultiBodyDynamicsWorld *) 0 ;
int arg2 ;
btMultiBodyConstraint *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyDynamicsWorld **)&jarg1;
arg2 = (int)jarg2;
result = (btMultiBodyConstraint *)((btMultiBodyDynamicsWorld const *)arg1)->getMultiBodyConstraint(arg2);
*(btMultiBodyConstraint **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyDynamicsWorld_1removeMultiBodyConstraint(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btMultiBodyDynamicsWorld *arg1 = (btMultiBodyDynamicsWorld *) 0 ;
btMultiBodyConstraint *arg2 = (btMultiBodyConstraint *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btMultiBodyDynamicsWorld **)&jarg1;
arg2 = *(btMultiBodyConstraint **)&jarg2;
(arg1)->removeMultiBodyConstraint(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyDynamicsWorld_1integrateTransforms(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btMultiBodyDynamicsWorld *arg1 = (btMultiBodyDynamicsWorld *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyDynamicsWorld **)&jarg1;
arg2 = (btScalar)jarg2;
(arg1)->integrateTransforms(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyDynamicsWorld_1debugDrawMultiBodyConstraint(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btMultiBodyDynamicsWorld *arg1 = (btMultiBodyDynamicsWorld *) 0 ;
btMultiBodyConstraint *arg2 = (btMultiBodyConstraint *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btMultiBodyDynamicsWorld **)&jarg1;
arg2 = *(btMultiBodyConstraint **)&jarg2;
(arg1)->debugDrawMultiBodyConstraint(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyDynamicsWorld_1forwardKinematics(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
btMultiBodyDynamicsWorld *arg1 = (btMultiBodyDynamicsWorld *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyDynamicsWorld **)&jarg1;
(arg1)->forwardKinematics();
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyDynamicsWorld_1clearMultiBodyConstraintForces(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
btMultiBodyDynamicsWorld *arg1 = (btMultiBodyDynamicsWorld *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyDynamicsWorld **)&jarg1;
(arg1)->clearMultiBodyConstraintForces();
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyDynamicsWorld_1clearMultiBodyForces(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
btMultiBodyDynamicsWorld *arg1 = (btMultiBodyDynamicsWorld *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyDynamicsWorld **)&jarg1;
(arg1)->clearMultiBodyForces();
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btMultiBodyFixedConstraint_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jlong jarg3, jobject jarg3_, jobject jarg4, jobject jarg5, jobject jarg6, jobject jarg7) {
jlong jresult = 0 ;
btMultiBody *arg1 = (btMultiBody *) 0 ;
int arg2 ;
btRigidBody *arg3 = (btRigidBody *) 0 ;
btVector3 *arg4 = 0 ;
btVector3 *arg5 = 0 ;
btMatrix3x3 *arg6 = 0 ;
btMatrix3x3 *arg7 = 0 ;
btMultiBodyFixedConstraint *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg3_;
arg1 = *(btMultiBody **)&jarg1;
arg2 = (int)jarg2;
arg3 = *(btRigidBody **)&jarg3;
btVector3 local_arg4;
gdx_setbtVector3FromVector3(jenv, local_arg4, jarg4);
arg4 = &local_arg4;
gdxAutoCommitVector3 auto_commit_arg4(jenv, jarg4, &local_arg4);
btVector3 local_arg5;
gdx_setbtVector3FromVector3(jenv, local_arg5, jarg5);
arg5 = &local_arg5;
gdxAutoCommitVector3 auto_commit_arg5(jenv, jarg5, &local_arg5);
btMatrix3x3 local_arg6;
gdx_setbtMatrix3x3FromMatrix3(jenv, local_arg6, jarg6);
arg6 = &local_arg6;
gdxAutoCommitMatrix3 auto_commit_arg6(jenv, jarg6, &local_arg6);
btMatrix3x3 local_arg7;
gdx_setbtMatrix3x3FromMatrix3(jenv, local_arg7, jarg7);
arg7 = &local_arg7;
gdxAutoCommitMatrix3 auto_commit_arg7(jenv, jarg7, &local_arg7);
result = (btMultiBodyFixedConstraint *)new btMultiBodyFixedConstraint(arg1,arg2,arg3,(btVector3 const &)*arg4,(btVector3 const &)*arg5,(btMatrix3x3 const &)*arg6,(btMatrix3x3 const &)*arg7);
*(btMultiBodyFixedConstraint **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btMultiBodyFixedConstraint_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jlong jarg3, jobject jarg3_, jint jarg4, jobject jarg5, jobject jarg6, jobject jarg7, jobject jarg8) {
jlong jresult = 0 ;
btMultiBody *arg1 = (btMultiBody *) 0 ;
int arg2 ;
btMultiBody *arg3 = (btMultiBody *) 0 ;
int arg4 ;
btVector3 *arg5 = 0 ;
btVector3 *arg6 = 0 ;
btMatrix3x3 *arg7 = 0 ;
btMatrix3x3 *arg8 = 0 ;
btMultiBodyFixedConstraint *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg3_;
arg1 = *(btMultiBody **)&jarg1;
arg2 = (int)jarg2;
arg3 = *(btMultiBody **)&jarg3;
arg4 = (int)jarg4;
btVector3 local_arg5;
gdx_setbtVector3FromVector3(jenv, local_arg5, jarg5);
arg5 = &local_arg5;
gdxAutoCommitVector3 auto_commit_arg5(jenv, jarg5, &local_arg5);
btVector3 local_arg6;
gdx_setbtVector3FromVector3(jenv, local_arg6, jarg6);
arg6 = &local_arg6;
gdxAutoCommitVector3 auto_commit_arg6(jenv, jarg6, &local_arg6);
btMatrix3x3 local_arg7;
gdx_setbtMatrix3x3FromMatrix3(jenv, local_arg7, jarg7);
arg7 = &local_arg7;
gdxAutoCommitMatrix3 auto_commit_arg7(jenv, jarg7, &local_arg7);
btMatrix3x3 local_arg8;
gdx_setbtMatrix3x3FromMatrix3(jenv, local_arg8, jarg8);
arg8 = &local_arg8;
gdxAutoCommitMatrix3 auto_commit_arg8(jenv, jarg8, &local_arg8);
result = (btMultiBodyFixedConstraint *)new btMultiBodyFixedConstraint(arg1,arg2,arg3,arg4,(btVector3 const &)*arg5,(btVector3 const &)*arg6,(btMatrix3x3 const &)*arg7,(btMatrix3x3 const &)*arg8);
*(btMultiBodyFixedConstraint **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btMultiBodyFixedConstraint(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btMultiBodyFixedConstraint *arg1 = (btMultiBodyFixedConstraint *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btMultiBodyFixedConstraint **)&jarg1;
delete arg1;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyFixedConstraint_1getPivotInA(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btMultiBodyFixedConstraint *arg1 = (btMultiBodyFixedConstraint *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyFixedConstraint **)&jarg1;
result = (btVector3 *) &((btMultiBodyFixedConstraint const *)arg1)->getPivotInA();
jresult = gdx_getReturnVector3(jenv);
gdx_setVector3FrombtVector3(jenv, jresult, result);
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyFixedConstraint_1setPivotInA(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btMultiBodyFixedConstraint *arg1 = (btMultiBodyFixedConstraint *) 0 ;
btVector3 *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyFixedConstraint **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
(arg1)->setPivotInA((btVector3 const &)*arg2);
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyFixedConstraint_1getPivotInB(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btMultiBodyFixedConstraint *arg1 = (btMultiBodyFixedConstraint *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyFixedConstraint **)&jarg1;
result = (btVector3 *) &((btMultiBodyFixedConstraint const *)arg1)->getPivotInB();
jresult = gdx_getReturnVector3(jenv);
gdx_setVector3FrombtVector3(jenv, jresult, result);
return jresult;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyFixedConstraint_1getFrameInA(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btMultiBodyFixedConstraint *arg1 = (btMultiBodyFixedConstraint *) 0 ;
btMatrix3x3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyFixedConstraint **)&jarg1;
result = (btMatrix3x3 *) &((btMultiBodyFixedConstraint const *)arg1)->getFrameInA();
jresult = gdx_getReturnMatrix3(jenv);
gdx_setMatrix3FrombtMatrix3x3(jenv, jresult, result);
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyFixedConstraint_1setFrameInA(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btMultiBodyFixedConstraint *arg1 = (btMultiBodyFixedConstraint *) 0 ;
btMatrix3x3 *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyFixedConstraint **)&jarg1;
btMatrix3x3 local_arg2;
gdx_setbtMatrix3x3FromMatrix3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitMatrix3 auto_commit_arg2(jenv, jarg2, &local_arg2);
(arg1)->setFrameInA((btMatrix3x3 const &)*arg2);
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyFixedConstraint_1getFrameInB(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btMultiBodyFixedConstraint *arg1 = (btMultiBodyFixedConstraint *) 0 ;
btMatrix3x3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyFixedConstraint **)&jarg1;
result = (btMatrix3x3 *) &((btMultiBodyFixedConstraint const *)arg1)->getFrameInB();
jresult = gdx_getReturnMatrix3(jenv);
gdx_setMatrix3FrombtMatrix3x3(jenv, jresult, result);
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyJointFeedback_1reactionForces_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btMultiBodyJointFeedback *arg1 = (btMultiBodyJointFeedback *) 0 ;
btSpatialForceVector *arg2 = (btSpatialForceVector *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btMultiBodyJointFeedback **)&jarg1;
arg2 = *(btSpatialForceVector **)&jarg2;
if (arg1) (arg1)->m_reactionForces = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyJointFeedback_1reactionForces_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btMultiBodyJointFeedback *arg1 = (btMultiBodyJointFeedback *) 0 ;
btSpatialForceVector *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyJointFeedback **)&jarg1;
result = (btSpatialForceVector *)& ((arg1)->m_reactionForces);
*(btSpatialForceVector **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btMultiBodyJointFeedback(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btMultiBodyJointFeedback *result = 0 ;
(void)jenv;
(void)jcls;
result = (btMultiBodyJointFeedback *)new btMultiBodyJointFeedback();
*(btMultiBodyJointFeedback **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btMultiBodyJointFeedback(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btMultiBodyJointFeedback *arg1 = (btMultiBodyJointFeedback *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btMultiBodyJointFeedback **)&jarg1;
delete arg1;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btMultiBodyJointLimitConstraint(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jfloat jarg3, jfloat jarg4) {
jlong jresult = 0 ;
btMultiBody *arg1 = (btMultiBody *) 0 ;
int arg2 ;
btScalar arg3 ;
btScalar arg4 ;
btMultiBodyJointLimitConstraint *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
arg2 = (int)jarg2;
arg3 = (btScalar)jarg3;
arg4 = (btScalar)jarg4;
result = (btMultiBodyJointLimitConstraint *)new btMultiBodyJointLimitConstraint(arg1,arg2,arg3,arg4);
*(btMultiBodyJointLimitConstraint **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btMultiBodyJointLimitConstraint(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btMultiBodyJointLimitConstraint *arg1 = (btMultiBodyJointLimitConstraint *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btMultiBodyJointLimitConstraint **)&jarg1;
delete arg1;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btMultiBodyJointMotor_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jfloat jarg3, jfloat jarg4) {
jlong jresult = 0 ;
btMultiBody *arg1 = (btMultiBody *) 0 ;
int arg2 ;
btScalar arg3 ;
btScalar arg4 ;
btMultiBodyJointMotor *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
arg2 = (int)jarg2;
arg3 = (btScalar)jarg3;
arg4 = (btScalar)jarg4;
result = (btMultiBodyJointMotor *)new btMultiBodyJointMotor(arg1,arg2,arg3,arg4);
*(btMultiBodyJointMotor **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btMultiBodyJointMotor_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jint jarg3, jfloat jarg4, jfloat jarg5) {
jlong jresult = 0 ;
btMultiBody *arg1 = (btMultiBody *) 0 ;
int arg2 ;
int arg3 ;
btScalar arg4 ;
btScalar arg5 ;
btMultiBodyJointMotor *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
arg2 = (int)jarg2;
arg3 = (int)jarg3;
arg4 = (btScalar)jarg4;
arg5 = (btScalar)jarg5;
result = (btMultiBodyJointMotor *)new btMultiBodyJointMotor(arg1,arg2,arg3,arg4,arg5);
*(btMultiBodyJointMotor **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btMultiBodyJointMotor(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btMultiBodyJointMotor *arg1 = (btMultiBodyJointMotor *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btMultiBodyJointMotor **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyJointMotor_1setVelocityTarget_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2, jfloat jarg3) {
btMultiBodyJointMotor *arg1 = (btMultiBodyJointMotor *) 0 ;
btScalar arg2 ;
btScalar arg3 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyJointMotor **)&jarg1;
arg2 = (btScalar)jarg2;
arg3 = (btScalar)jarg3;
(arg1)->setVelocityTarget(arg2,arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyJointMotor_1setVelocityTarget_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btMultiBodyJointMotor *arg1 = (btMultiBodyJointMotor *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyJointMotor **)&jarg1;
arg2 = (btScalar)jarg2;
(arg1)->setVelocityTarget(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyJointMotor_1setPositionTarget_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2, jfloat jarg3) {
btMultiBodyJointMotor *arg1 = (btMultiBodyJointMotor *) 0 ;
btScalar arg2 ;
btScalar arg3 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyJointMotor **)&jarg1;
arg2 = (btScalar)jarg2;
arg3 = (btScalar)jarg3;
(arg1)->setPositionTarget(arg2,arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyJointMotor_1setPositionTarget_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btMultiBodyJointMotor *arg1 = (btMultiBodyJointMotor *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyJointMotor **)&jarg1;
arg2 = (btScalar)jarg2;
(arg1)->setPositionTarget(arg2);
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyJointMotor_1getErp(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btMultiBodyJointMotor *arg1 = (btMultiBodyJointMotor *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyJointMotor **)&jarg1;
result = (btScalar)((btMultiBodyJointMotor const *)arg1)->getErp();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyJointMotor_1setRhsClamp(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btMultiBodyJointMotor *arg1 = (btMultiBodyJointMotor *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyJointMotor **)&jarg1;
arg2 = (btScalar)jarg2;
(arg1)->setRhsClamp(arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultibodyLink_1operatorNew_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btMultibodyLink *arg1 = (btMultibodyLink *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultibodyLink **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new(arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultibodyLink_1operatorDelete_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btMultibodyLink *arg1 = (btMultibodyLink *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultibodyLink **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete(arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultibodyLink_1operatorNew_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btMultibodyLink *arg1 = (btMultibodyLink *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultibodyLink **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new(arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultibodyLink_1operatorDelete_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btMultibodyLink *arg1 = (btMultibodyLink *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultibodyLink **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete(arg2,arg3);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultibodyLink_1operatorNewArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btMultibodyLink *arg1 = (btMultibodyLink *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultibodyLink **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new[](arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultibodyLink_1operatorDeleteArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btMultibodyLink *arg1 = (btMultibodyLink *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultibodyLink **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete[](arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultibodyLink_1operatorNewArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btMultibodyLink *arg1 = (btMultibodyLink *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultibodyLink **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new[](arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultibodyLink_1operatorDeleteArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btMultibodyLink *arg1 = (btMultibodyLink *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultibodyLink **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete[](arg2,arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultibodyLink_1mass_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btMultibodyLink *arg1 = (btMultibodyLink *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultibodyLink **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_mass = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultibodyLink_1mass_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btMultibodyLink *arg1 = (btMultibodyLink *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultibodyLink **)&jarg1;
result = (btScalar) ((arg1)->m_mass);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultibodyLink_1inertiaLocal_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btMultibodyLink *arg1 = (btMultibodyLink *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btMultibodyLink **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->m_inertiaLocal = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultibodyLink_1inertiaLocal_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btMultibodyLink *arg1 = (btMultibodyLink *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultibodyLink **)&jarg1;
result = (btVector3 *)& ((arg1)->m_inertiaLocal);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultibodyLink_1parent_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btMultibodyLink *arg1 = (btMultibodyLink *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultibodyLink **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_parent = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultibodyLink_1parent_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btMultibodyLink *arg1 = (btMultibodyLink *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultibodyLink **)&jarg1;
result = (int) ((arg1)->m_parent);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultibodyLink_1zeroRotParentToThis_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btMultibodyLink *arg1 = (btMultibodyLink *) 0 ;
btQuaternion *arg2 = (btQuaternion *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btMultibodyLink **)&jarg1;
arg2 = *(btQuaternion **)&jarg2;
if (arg1) (arg1)->m_zeroRotParentToThis = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultibodyLink_1zeroRotParentToThis_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btMultibodyLink *arg1 = (btMultibodyLink *) 0 ;
btQuaternion *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultibodyLink **)&jarg1;
result = (btQuaternion *)& ((arg1)->m_zeroRotParentToThis);
*(btQuaternion **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultibodyLink_1dVector_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btMultibodyLink *arg1 = (btMultibodyLink *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btMultibodyLink **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->m_dVector = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultibodyLink_1dVector_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btMultibodyLink *arg1 = (btMultibodyLink *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultibodyLink **)&jarg1;
result = (btVector3 *)& ((arg1)->m_dVector);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultibodyLink_1eVector_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btMultibodyLink *arg1 = (btMultibodyLink *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btMultibodyLink **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->m_eVector = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultibodyLink_1eVector_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btMultibodyLink *arg1 = (btMultibodyLink *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultibodyLink **)&jarg1;
result = (btVector3 *)& ((arg1)->m_eVector);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultibodyLink_1absFrameTotVelocity_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btMultibodyLink *arg1 = (btMultibodyLink *) 0 ;
btSpatialMotionVector *arg2 = (btSpatialMotionVector *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btMultibodyLink **)&jarg1;
arg2 = *(btSpatialMotionVector **)&jarg2;
if (arg1) (arg1)->m_absFrameTotVelocity = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultibodyLink_1absFrameTotVelocity_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btMultibodyLink *arg1 = (btMultibodyLink *) 0 ;
btSpatialMotionVector *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultibodyLink **)&jarg1;
result = (btSpatialMotionVector *)& ((arg1)->m_absFrameTotVelocity);
*(btSpatialMotionVector **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultibodyLink_1absFrameLocVelocity_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btMultibodyLink *arg1 = (btMultibodyLink *) 0 ;
btSpatialMotionVector *arg2 = (btSpatialMotionVector *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btMultibodyLink **)&jarg1;
arg2 = *(btSpatialMotionVector **)&jarg2;
if (arg1) (arg1)->m_absFrameLocVelocity = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultibodyLink_1absFrameLocVelocity_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btMultibodyLink *arg1 = (btMultibodyLink *) 0 ;
btSpatialMotionVector *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultibodyLink **)&jarg1;
result = (btSpatialMotionVector *)& ((arg1)->m_absFrameLocVelocity);
*(btSpatialMotionVector **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultibodyLink_1axes_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btMultibodyLink *arg1 = (btMultibodyLink *) 0 ;
btSpatialMotionVector *arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btMultibodyLink **)&jarg1;
arg2 = *(btSpatialMotionVector **)&jarg2;
{
size_t ii;
btSpatialMotionVector *b = (btSpatialMotionVector *) arg1->m_axes;
for (ii = 0; ii < (size_t)6; ii++) b[ii] = *((btSpatialMotionVector *) arg2 + ii);
}
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultibodyLink_1axes_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btMultibodyLink *arg1 = (btMultibodyLink *) 0 ;
btSpatialMotionVector *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultibodyLink **)&jarg1;
result = (btSpatialMotionVector *)(btSpatialMotionVector *) ((arg1)->m_axes);
*(btSpatialMotionVector **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultibodyLink_1setAxisTop_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jobject jarg3) {
btMultibodyLink *arg1 = (btMultibodyLink *) 0 ;
int arg2 ;
btVector3 *arg3 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultibodyLink **)&jarg1;
arg2 = (int)jarg2;
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
(arg1)->setAxisTop(arg2,(btVector3 const &)*arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultibodyLink_1setAxisBottom_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jobject jarg3) {
btMultibodyLink *arg1 = (btMultibodyLink *) 0 ;
int arg2 ;
btVector3 *arg3 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultibodyLink **)&jarg1;
arg2 = (int)jarg2;
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
(arg1)->setAxisBottom(arg2,(btVector3 const &)*arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultibodyLink_1setAxisTop_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jfloat jarg3, jfloat jarg4, jfloat jarg5) {
btMultibodyLink *arg1 = (btMultibodyLink *) 0 ;
int arg2 ;
btScalar *arg3 = 0 ;
btScalar *arg4 = 0 ;
btScalar *arg5 = 0 ;
btScalar temp3 ;
btScalar temp4 ;
btScalar temp5 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultibodyLink **)&jarg1;
arg2 = (int)jarg2;
temp3 = (btScalar)jarg3;
arg3 = &temp3;
temp4 = (btScalar)jarg4;
arg4 = &temp4;
temp5 = (btScalar)jarg5;
arg5 = &temp5;
(arg1)->setAxisTop(arg2,(btScalar const &)*arg3,(btScalar const &)*arg4,(btScalar const &)*arg5);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultibodyLink_1setAxisBottom_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jfloat jarg3, jfloat jarg4, jfloat jarg5) {
btMultibodyLink *arg1 = (btMultibodyLink *) 0 ;
int arg2 ;
btScalar *arg3 = 0 ;
btScalar *arg4 = 0 ;
btScalar *arg5 = 0 ;
btScalar temp3 ;
btScalar temp4 ;
btScalar temp5 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultibodyLink **)&jarg1;
arg2 = (int)jarg2;
temp3 = (btScalar)jarg3;
arg3 = &temp3;
temp4 = (btScalar)jarg4;
arg4 = &temp4;
temp5 = (btScalar)jarg5;
arg5 = &temp5;
(arg1)->setAxisBottom(arg2,(btScalar const &)*arg3,(btScalar const &)*arg4,(btScalar const &)*arg5);
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultibodyLink_1getAxisTop(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jobject jresult = 0 ;
btMultibodyLink *arg1 = (btMultibodyLink *) 0 ;
int arg2 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultibodyLink **)&jarg1;
arg2 = (int)jarg2;
result = (btVector3 *) &((btMultibodyLink const *)arg1)->getAxisTop(arg2);
jresult = gdx_getReturnVector3(jenv);
gdx_setVector3FrombtVector3(jenv, jresult, result);
return jresult;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultibodyLink_1getAxisBottom(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jobject jresult = 0 ;
btMultibodyLink *arg1 = (btMultibodyLink *) 0 ;
int arg2 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultibodyLink **)&jarg1;
arg2 = (int)jarg2;
result = (btVector3 *) &((btMultibodyLink const *)arg1)->getAxisBottom(arg2);
jresult = gdx_getReturnVector3(jenv);
gdx_setVector3FrombtVector3(jenv, jresult, result);
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultibodyLink_1dofOffset_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btMultibodyLink *arg1 = (btMultibodyLink *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultibodyLink **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_dofOffset = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultibodyLink_1dofOffset_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btMultibodyLink *arg1 = (btMultibodyLink *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultibodyLink **)&jarg1;
result = (int) ((arg1)->m_dofOffset);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultibodyLink_1cfgOffset_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btMultibodyLink *arg1 = (btMultibodyLink *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultibodyLink **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_cfgOffset = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultibodyLink_1cfgOffset_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btMultibodyLink *arg1 = (btMultibodyLink *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultibodyLink **)&jarg1;
result = (int) ((arg1)->m_cfgOffset);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultibodyLink_1cachedRotParentToThis_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btMultibodyLink *arg1 = (btMultibodyLink *) 0 ;
btQuaternion *arg2 = (btQuaternion *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btMultibodyLink **)&jarg1;
arg2 = *(btQuaternion **)&jarg2;
if (arg1) (arg1)->m_cachedRotParentToThis = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultibodyLink_1cachedRotParentToThis_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btMultibodyLink *arg1 = (btMultibodyLink *) 0 ;
btQuaternion *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultibodyLink **)&jarg1;
result = (btQuaternion *)& ((arg1)->m_cachedRotParentToThis);
*(btQuaternion **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultibodyLink_1cachedRVector_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btMultibodyLink *arg1 = (btMultibodyLink *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btMultibodyLink **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->m_cachedRVector = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultibodyLink_1cachedRVector_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btMultibodyLink *arg1 = (btMultibodyLink *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultibodyLink **)&jarg1;
result = (btVector3 *)& ((arg1)->m_cachedRVector);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultibodyLink_1appliedForce_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btMultibodyLink *arg1 = (btMultibodyLink *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btMultibodyLink **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->m_appliedForce = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultibodyLink_1appliedForce_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btMultibodyLink *arg1 = (btMultibodyLink *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultibodyLink **)&jarg1;
result = (btVector3 *)& ((arg1)->m_appliedForce);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultibodyLink_1appliedTorque_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btMultibodyLink *arg1 = (btMultibodyLink *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btMultibodyLink **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->m_appliedTorque = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultibodyLink_1appliedTorque_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btMultibodyLink *arg1 = (btMultibodyLink *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultibodyLink **)&jarg1;
result = (btVector3 *)& ((arg1)->m_appliedTorque);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultibodyLink_1appliedConstraintForce_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btMultibodyLink *arg1 = (btMultibodyLink *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btMultibodyLink **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->m_appliedConstraintForce = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultibodyLink_1appliedConstraintForce_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btMultibodyLink *arg1 = (btMultibodyLink *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultibodyLink **)&jarg1;
result = (btVector3 *)& ((arg1)->m_appliedConstraintForce);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultibodyLink_1appliedConstraintTorque_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btMultibodyLink *arg1 = (btMultibodyLink *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btMultibodyLink **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->m_appliedConstraintTorque = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultibodyLink_1appliedConstraintTorque_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btMultibodyLink *arg1 = (btMultibodyLink *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultibodyLink **)&jarg1;
result = (btVector3 *)& ((arg1)->m_appliedConstraintTorque);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultibodyLink_1jointPos_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloatArray jarg2) {
btMultibodyLink *arg1 = (btMultibodyLink *) 0 ;
btScalar *arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultibodyLink **)&jarg1;
if (jarg2 && jenv->GetArrayLength(jarg2) != 7) {
SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, "incorrect array size");
return ;
}
arg2 = (float *)jenv->GetPrimitiveArrayCritical(jarg2, 0);
{
size_t ii;
btScalar *b = (btScalar *) arg1->m_jointPos;
for (ii = 0; ii < (size_t)7; ii++) b[ii] = *((btScalar *) arg2 + ii);
}
jenv->ReleasePrimitiveArrayCritical(jarg2, (float *)arg2, 0);
}
SWIGEXPORT jfloatArray JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultibodyLink_1jointPos_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloatArray jresult = 0 ;
btMultibodyLink *arg1 = (btMultibodyLink *) 0 ;
btScalar *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultibodyLink **)&jarg1;
result = (btScalar *)(btScalar *) ((arg1)->m_jointPos);
/*jresult = SWIG_JavaArrayOut##Float(jenv, (float *)result, 7);*/
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultibodyLink_1jointTorque_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloatArray jarg2) {
btMultibodyLink *arg1 = (btMultibodyLink *) 0 ;
btScalar *arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultibodyLink **)&jarg1;
if (jarg2 && jenv->GetArrayLength(jarg2) != 6) {
SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, "incorrect array size");
return ;
}
arg2 = (float *)jenv->GetPrimitiveArrayCritical(jarg2, 0);
{
size_t ii;
btScalar *b = (btScalar *) arg1->m_jointTorque;
for (ii = 0; ii < (size_t)6; ii++) b[ii] = *((btScalar *) arg2 + ii);
}
jenv->ReleasePrimitiveArrayCritical(jarg2, (float *)arg2, 0);
}
SWIGEXPORT jfloatArray JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultibodyLink_1jointTorque_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloatArray jresult = 0 ;
btMultibodyLink *arg1 = (btMultibodyLink *) 0 ;
btScalar *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultibodyLink **)&jarg1;
result = (btScalar *)(btScalar *) ((arg1)->m_jointTorque);
/*jresult = SWIG_JavaArrayOut##Float(jenv, (float *)result, 6);*/
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultibodyLink_1collider_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btMultibodyLink *arg1 = (btMultibodyLink *) 0 ;
btMultiBodyLinkCollider *arg2 = (btMultiBodyLinkCollider *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btMultibodyLink **)&jarg1;
arg2 = *(btMultiBodyLinkCollider **)&jarg2;
if (arg1) (arg1)->m_collider = arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultibodyLink_1collider_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btMultibodyLink *arg1 = (btMultibodyLink *) 0 ;
btMultiBodyLinkCollider *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultibodyLink **)&jarg1;
result = (btMultiBodyLinkCollider *) ((arg1)->m_collider);
*(btMultiBodyLinkCollider **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultibodyLink_1flags_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btMultibodyLink *arg1 = (btMultibodyLink *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultibodyLink **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_flags = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultibodyLink_1flags_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btMultibodyLink *arg1 = (btMultibodyLink *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultibodyLink **)&jarg1;
result = (int) ((arg1)->m_flags);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultibodyLink_1dofCount_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btMultibodyLink *arg1 = (btMultibodyLink *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultibodyLink **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_dofCount = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultibodyLink_1dofCount_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btMultibodyLink *arg1 = (btMultibodyLink *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultibodyLink **)&jarg1;
result = (int) ((arg1)->m_dofCount);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultibodyLink_1posVarCount_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btMultibodyLink *arg1 = (btMultibodyLink *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultibodyLink **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_posVarCount = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultibodyLink_1posVarCount_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btMultibodyLink *arg1 = (btMultibodyLink *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultibodyLink **)&jarg1;
result = (int) ((arg1)->m_posVarCount);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultibodyLink_1jointType_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btMultibodyLink *arg1 = (btMultibodyLink *) 0 ;
btMultibodyLink::eFeatherstoneJointType arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultibodyLink **)&jarg1;
arg2 = (btMultibodyLink::eFeatherstoneJointType)jarg2;
if (arg1) (arg1)->m_jointType = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultibodyLink_1jointType_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btMultibodyLink *arg1 = (btMultibodyLink *) 0 ;
btMultibodyLink::eFeatherstoneJointType result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultibodyLink **)&jarg1;
result = (btMultibodyLink::eFeatherstoneJointType) ((arg1)->m_jointType);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultibodyLink_1jointFeedback_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btMultibodyLink *arg1 = (btMultibodyLink *) 0 ;
btMultiBodyJointFeedback *arg2 = (btMultiBodyJointFeedback *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btMultibodyLink **)&jarg1;
arg2 = *(btMultiBodyJointFeedback **)&jarg2;
if (arg1) (arg1)->m_jointFeedback = arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultibodyLink_1jointFeedback_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btMultibodyLink *arg1 = (btMultibodyLink *) 0 ;
btMultiBodyJointFeedback *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultibodyLink **)&jarg1;
result = (btMultiBodyJointFeedback *) ((arg1)->m_jointFeedback);
*(btMultiBodyJointFeedback **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultibodyLink_1cachedWorldTransform_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btMultibodyLink *arg1 = (btMultibodyLink *) 0 ;
btTransform *arg2 = (btTransform *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btMultibodyLink **)&jarg1;
arg2 = *(btTransform **)&jarg2;
if (arg1) (arg1)->m_cachedWorldTransform = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultibodyLink_1cachedWorldTransform_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btMultibodyLink *arg1 = (btMultibodyLink *) 0 ;
btTransform *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultibodyLink **)&jarg1;
result = (btTransform *)& ((arg1)->m_cachedWorldTransform);
*(btTransform **)&jresult = result;
return jresult;
}
SWIGEXPORT jstring JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultibodyLink_1linkName_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jstring jresult = 0 ;
btMultibodyLink *arg1 = (btMultibodyLink *) 0 ;
char *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultibodyLink **)&jarg1;
result = (char *) ((arg1)->m_linkName);
if (result) jresult = jenv->NewStringUTF((const char *)result);
return jresult;
}
SWIGEXPORT jstring JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultibodyLink_1jointName_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jstring jresult = 0 ;
btMultibodyLink *arg1 = (btMultibodyLink *) 0 ;
char *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultibodyLink **)&jarg1;
result = (char *) ((arg1)->m_jointName);
if (result) jresult = jenv->NewStringUTF((const char *)result);
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultibodyLink_1userPtr_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btMultibodyLink *arg1 = (btMultibodyLink *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultibodyLink **)&jarg1;
arg2 = (void *)jarg2;
if (arg1) (arg1)->m_userPtr = (void const *)arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultibodyLink_1userPtr_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btMultibodyLink *arg1 = (btMultibodyLink *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultibodyLink **)&jarg1;
result = (void *) ((arg1)->m_userPtr);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultibodyLink_1jointDamping_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btMultibodyLink *arg1 = (btMultibodyLink *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultibodyLink **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_jointDamping = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultibodyLink_1jointDamping_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btMultibodyLink *arg1 = (btMultibodyLink *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultibodyLink **)&jarg1;
result = (btScalar) ((arg1)->m_jointDamping);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultibodyLink_1jointFriction_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btMultibodyLink *arg1 = (btMultibodyLink *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultibodyLink **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_jointFriction = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultibodyLink_1jointFriction_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btMultibodyLink *arg1 = (btMultibodyLink *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultibodyLink **)&jarg1;
result = (btScalar) ((arg1)->m_jointFriction);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultibodyLink_1jointLowerLimit_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btMultibodyLink *arg1 = (btMultibodyLink *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultibodyLink **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_jointLowerLimit = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultibodyLink_1jointLowerLimit_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btMultibodyLink *arg1 = (btMultibodyLink *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultibodyLink **)&jarg1;
result = (btScalar) ((arg1)->m_jointLowerLimit);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultibodyLink_1jointUpperLimit_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btMultibodyLink *arg1 = (btMultibodyLink *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultibodyLink **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_jointUpperLimit = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultibodyLink_1jointUpperLimit_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btMultibodyLink *arg1 = (btMultibodyLink *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultibodyLink **)&jarg1;
result = (btScalar) ((arg1)->m_jointUpperLimit);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultibodyLink_1jointMaxForce_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btMultibodyLink *arg1 = (btMultibodyLink *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultibodyLink **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_jointMaxForce = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultibodyLink_1jointMaxForce_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btMultibodyLink *arg1 = (btMultibodyLink *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultibodyLink **)&jarg1;
result = (btScalar) ((arg1)->m_jointMaxForce);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultibodyLink_1jointMaxVelocity_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btMultibodyLink *arg1 = (btMultibodyLink *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultibodyLink **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_jointMaxVelocity = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultibodyLink_1jointMaxVelocity_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btMultibodyLink *arg1 = (btMultibodyLink *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultibodyLink **)&jarg1;
result = (btScalar) ((arg1)->m_jointMaxVelocity);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btMultibodyLink(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btMultibodyLink *result = 0 ;
(void)jenv;
(void)jcls;
result = (btMultibodyLink *)new btMultibodyLink();
*(btMultibodyLink **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultibodyLink_1updateCacheMultiDof_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btMultibodyLink *arg1 = (btMultibodyLink *) 0 ;
btScalar *arg2 = (btScalar *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultibodyLink **)&jarg1;
{
arg2 = (btScalar*)jenv->GetDirectBufferAddress(jarg2);
if (arg2 == NULL) {
SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, "Unable to get address of direct buffer. Buffer must be allocated direct.");
}
}
(arg1)->updateCacheMultiDof(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultibodyLink_1updateCacheMultiDof_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
btMultibodyLink *arg1 = (btMultibodyLink *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultibodyLink **)&jarg1;
(arg1)->updateCacheMultiDof();
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btMultibodyLink(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btMultibodyLink *arg1 = (btMultibodyLink *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btMultibodyLink **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyLinkCollider_1multiBody_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btMultiBodyLinkCollider *arg1 = (btMultiBodyLinkCollider *) 0 ;
btMultiBody *arg2 = (btMultiBody *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btMultiBodyLinkCollider **)&jarg1;
arg2 = *(btMultiBody **)&jarg2;
if (arg1) (arg1)->m_multiBody = arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyLinkCollider_1multiBody_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btMultiBodyLinkCollider *arg1 = (btMultiBodyLinkCollider *) 0 ;
btMultiBody *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyLinkCollider **)&jarg1;
result = (btMultiBody *) ((arg1)->m_multiBody);
*(btMultiBody **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyLinkCollider_1link_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btMultiBodyLinkCollider *arg1 = (btMultiBodyLinkCollider *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyLinkCollider **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_link = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyLinkCollider_1link_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btMultiBodyLinkCollider *arg1 = (btMultiBodyLinkCollider *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyLinkCollider **)&jarg1;
result = (int) ((arg1)->m_link);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btMultiBodyLinkCollider(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jlong jresult = 0 ;
btMultiBody *arg1 = (btMultiBody *) 0 ;
int arg2 ;
btMultiBodyLinkCollider *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
arg2 = (int)jarg2;
result = (btMultiBodyLinkCollider *)new btMultiBodyLinkCollider(arg1,arg2);
*(btMultiBodyLinkCollider **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyLinkCollider_1upcast(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btCollisionObject *arg1 = (btCollisionObject *) 0 ;
btMultiBodyLinkCollider *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionObject **)&jarg1;
result = (btMultiBodyLinkCollider *)btMultiBodyLinkCollider::upcast(arg1);
*(btMultiBodyLinkCollider **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyLinkCollider_1upcastConstBtCollisionObject(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btCollisionObject *arg1 = (btCollisionObject *) 0 ;
btMultiBodyLinkCollider *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionObject **)&jarg1;
result = (btMultiBodyLinkCollider *)btMultiBodyLinkCollider::upcast((btCollisionObject const *)arg1);
*(btMultiBodyLinkCollider **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btMultiBodyLinkCollider(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btMultiBodyLinkCollider *arg1 = (btMultiBodyLinkCollider *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btMultiBodyLinkCollider **)&jarg1;
delete arg1;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyPoint2Point_1operatorNew_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btMultiBodyPoint2Point *arg1 = (btMultiBodyPoint2Point *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyPoint2Point **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new(arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyPoint2Point_1operatorDelete_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btMultiBodyPoint2Point *arg1 = (btMultiBodyPoint2Point *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyPoint2Point **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete(arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyPoint2Point_1operatorNew_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btMultiBodyPoint2Point *arg1 = (btMultiBodyPoint2Point *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyPoint2Point **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new(arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyPoint2Point_1operatorDelete_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btMultiBodyPoint2Point *arg1 = (btMultiBodyPoint2Point *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyPoint2Point **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete(arg2,arg3);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyPoint2Point_1operatorNewArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btMultiBodyPoint2Point *arg1 = (btMultiBodyPoint2Point *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyPoint2Point **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new[](arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyPoint2Point_1operatorDeleteArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btMultiBodyPoint2Point *arg1 = (btMultiBodyPoint2Point *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyPoint2Point **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete[](arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyPoint2Point_1operatorNewArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btMultiBodyPoint2Point *arg1 = (btMultiBodyPoint2Point *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyPoint2Point **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new[](arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyPoint2Point_1operatorDeleteArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btMultiBodyPoint2Point *arg1 = (btMultiBodyPoint2Point *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyPoint2Point **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete[](arg2,arg3);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btMultiBodyPoint2Point_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jlong jarg3, jobject jarg3_, jobject jarg4, jobject jarg5) {
jlong jresult = 0 ;
btMultiBody *arg1 = (btMultiBody *) 0 ;
int arg2 ;
btRigidBody *arg3 = (btRigidBody *) 0 ;
btVector3 *arg4 = 0 ;
btVector3 *arg5 = 0 ;
btMultiBodyPoint2Point *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg3_;
arg1 = *(btMultiBody **)&jarg1;
arg2 = (int)jarg2;
arg3 = *(btRigidBody **)&jarg3;
btVector3 local_arg4;
gdx_setbtVector3FromVector3(jenv, local_arg4, jarg4);
arg4 = &local_arg4;
gdxAutoCommitVector3 auto_commit_arg4(jenv, jarg4, &local_arg4);
btVector3 local_arg5;
gdx_setbtVector3FromVector3(jenv, local_arg5, jarg5);
arg5 = &local_arg5;
gdxAutoCommitVector3 auto_commit_arg5(jenv, jarg5, &local_arg5);
result = (btMultiBodyPoint2Point *)new btMultiBodyPoint2Point(arg1,arg2,arg3,(btVector3 const &)*arg4,(btVector3 const &)*arg5);
*(btMultiBodyPoint2Point **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btMultiBodyPoint2Point_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jlong jarg3, jobject jarg3_, jint jarg4, jobject jarg5, jobject jarg6) {
jlong jresult = 0 ;
btMultiBody *arg1 = (btMultiBody *) 0 ;
int arg2 ;
btMultiBody *arg3 = (btMultiBody *) 0 ;
int arg4 ;
btVector3 *arg5 = 0 ;
btVector3 *arg6 = 0 ;
btMultiBodyPoint2Point *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg3_;
arg1 = *(btMultiBody **)&jarg1;
arg2 = (int)jarg2;
arg3 = *(btMultiBody **)&jarg3;
arg4 = (int)jarg4;
btVector3 local_arg5;
gdx_setbtVector3FromVector3(jenv, local_arg5, jarg5);
arg5 = &local_arg5;
gdxAutoCommitVector3 auto_commit_arg5(jenv, jarg5, &local_arg5);
btVector3 local_arg6;
gdx_setbtVector3FromVector3(jenv, local_arg6, jarg6);
arg6 = &local_arg6;
gdxAutoCommitVector3 auto_commit_arg6(jenv, jarg6, &local_arg6);
result = (btMultiBodyPoint2Point *)new btMultiBodyPoint2Point(arg1,arg2,arg3,arg4,(btVector3 const &)*arg5,(btVector3 const &)*arg6);
*(btMultiBodyPoint2Point **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btMultiBodyPoint2Point(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btMultiBodyPoint2Point *arg1 = (btMultiBodyPoint2Point *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btMultiBodyPoint2Point **)&jarg1;
delete arg1;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyPoint2Point_1getPivotInB(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btMultiBodyPoint2Point *arg1 = (btMultiBodyPoint2Point *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyPoint2Point **)&jarg1;
result = (btVector3 *) &((btMultiBodyPoint2Point const *)arg1)->getPivotInB();
jresult = gdx_getReturnVector3(jenv);
gdx_setVector3FrombtVector3(jenv, jresult, result);
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btMultiBodySliderConstraint_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jlong jarg3, jobject jarg3_, jobject jarg4, jobject jarg5, jobject jarg6, jobject jarg7, jobject jarg8) {
jlong jresult = 0 ;
btMultiBody *arg1 = (btMultiBody *) 0 ;
int arg2 ;
btRigidBody *arg3 = (btRigidBody *) 0 ;
btVector3 *arg4 = 0 ;
btVector3 *arg5 = 0 ;
btMatrix3x3 *arg6 = 0 ;
btMatrix3x3 *arg7 = 0 ;
btVector3 *arg8 = 0 ;
btMultiBodySliderConstraint *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg3_;
arg1 = *(btMultiBody **)&jarg1;
arg2 = (int)jarg2;
arg3 = *(btRigidBody **)&jarg3;
btVector3 local_arg4;
gdx_setbtVector3FromVector3(jenv, local_arg4, jarg4);
arg4 = &local_arg4;
gdxAutoCommitVector3 auto_commit_arg4(jenv, jarg4, &local_arg4);
btVector3 local_arg5;
gdx_setbtVector3FromVector3(jenv, local_arg5, jarg5);
arg5 = &local_arg5;
gdxAutoCommitVector3 auto_commit_arg5(jenv, jarg5, &local_arg5);
btMatrix3x3 local_arg6;
gdx_setbtMatrix3x3FromMatrix3(jenv, local_arg6, jarg6);
arg6 = &local_arg6;
gdxAutoCommitMatrix3 auto_commit_arg6(jenv, jarg6, &local_arg6);
btMatrix3x3 local_arg7;
gdx_setbtMatrix3x3FromMatrix3(jenv, local_arg7, jarg7);
arg7 = &local_arg7;
gdxAutoCommitMatrix3 auto_commit_arg7(jenv, jarg7, &local_arg7);
btVector3 local_arg8;
gdx_setbtVector3FromVector3(jenv, local_arg8, jarg8);
arg8 = &local_arg8;
gdxAutoCommitVector3 auto_commit_arg8(jenv, jarg8, &local_arg8);
result = (btMultiBodySliderConstraint *)new btMultiBodySliderConstraint(arg1,arg2,arg3,(btVector3 const &)*arg4,(btVector3 const &)*arg5,(btMatrix3x3 const &)*arg6,(btMatrix3x3 const &)*arg7,(btVector3 const &)*arg8);
*(btMultiBodySliderConstraint **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btMultiBodySliderConstraint_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jlong jarg3, jobject jarg3_, jint jarg4, jobject jarg5, jobject jarg6, jobject jarg7, jobject jarg8, jobject jarg9) {
jlong jresult = 0 ;
btMultiBody *arg1 = (btMultiBody *) 0 ;
int arg2 ;
btMultiBody *arg3 = (btMultiBody *) 0 ;
int arg4 ;
btVector3 *arg5 = 0 ;
btVector3 *arg6 = 0 ;
btMatrix3x3 *arg7 = 0 ;
btMatrix3x3 *arg8 = 0 ;
btVector3 *arg9 = 0 ;
btMultiBodySliderConstraint *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg3_;
arg1 = *(btMultiBody **)&jarg1;
arg2 = (int)jarg2;
arg3 = *(btMultiBody **)&jarg3;
arg4 = (int)jarg4;
btVector3 local_arg5;
gdx_setbtVector3FromVector3(jenv, local_arg5, jarg5);
arg5 = &local_arg5;
gdxAutoCommitVector3 auto_commit_arg5(jenv, jarg5, &local_arg5);
btVector3 local_arg6;
gdx_setbtVector3FromVector3(jenv, local_arg6, jarg6);
arg6 = &local_arg6;
gdxAutoCommitVector3 auto_commit_arg6(jenv, jarg6, &local_arg6);
btMatrix3x3 local_arg7;
gdx_setbtMatrix3x3FromMatrix3(jenv, local_arg7, jarg7);
arg7 = &local_arg7;
gdxAutoCommitMatrix3 auto_commit_arg7(jenv, jarg7, &local_arg7);
btMatrix3x3 local_arg8;
gdx_setbtMatrix3x3FromMatrix3(jenv, local_arg8, jarg8);
arg8 = &local_arg8;
gdxAutoCommitMatrix3 auto_commit_arg8(jenv, jarg8, &local_arg8);
btVector3 local_arg9;
gdx_setbtVector3FromVector3(jenv, local_arg9, jarg9);
arg9 = &local_arg9;
gdxAutoCommitVector3 auto_commit_arg9(jenv, jarg9, &local_arg9);
result = (btMultiBodySliderConstraint *)new btMultiBodySliderConstraint(arg1,arg2,arg3,arg4,(btVector3 const &)*arg5,(btVector3 const &)*arg6,(btMatrix3x3 const &)*arg7,(btMatrix3x3 const &)*arg8,(btVector3 const &)*arg9);
*(btMultiBodySliderConstraint **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btMultiBodySliderConstraint(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btMultiBodySliderConstraint *arg1 = (btMultiBodySliderConstraint *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btMultiBodySliderConstraint **)&jarg1;
delete arg1;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodySliderConstraint_1getPivotInA(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btMultiBodySliderConstraint *arg1 = (btMultiBodySliderConstraint *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodySliderConstraint **)&jarg1;
result = (btVector3 *) &((btMultiBodySliderConstraint const *)arg1)->getPivotInA();
jresult = gdx_getReturnVector3(jenv);
gdx_setVector3FrombtVector3(jenv, jresult, result);
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodySliderConstraint_1setPivotInA(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btMultiBodySliderConstraint *arg1 = (btMultiBodySliderConstraint *) 0 ;
btVector3 *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodySliderConstraint **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
(arg1)->setPivotInA((btVector3 const &)*arg2);
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodySliderConstraint_1getPivotInB(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btMultiBodySliderConstraint *arg1 = (btMultiBodySliderConstraint *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodySliderConstraint **)&jarg1;
result = (btVector3 *) &((btMultiBodySliderConstraint const *)arg1)->getPivotInB();
jresult = gdx_getReturnVector3(jenv);
gdx_setVector3FrombtVector3(jenv, jresult, result);
return jresult;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodySliderConstraint_1getFrameInA(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btMultiBodySliderConstraint *arg1 = (btMultiBodySliderConstraint *) 0 ;
btMatrix3x3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodySliderConstraint **)&jarg1;
result = (btMatrix3x3 *) &((btMultiBodySliderConstraint const *)arg1)->getFrameInA();
jresult = gdx_getReturnMatrix3(jenv);
gdx_setMatrix3FrombtMatrix3x3(jenv, jresult, result);
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodySliderConstraint_1setFrameInA(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btMultiBodySliderConstraint *arg1 = (btMultiBodySliderConstraint *) 0 ;
btMatrix3x3 *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodySliderConstraint **)&jarg1;
btMatrix3x3 local_arg2;
gdx_setbtMatrix3x3FromMatrix3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitMatrix3 auto_commit_arg2(jenv, jarg2, &local_arg2);
(arg1)->setFrameInA((btMatrix3x3 const &)*arg2);
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodySliderConstraint_1getFrameInB(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btMultiBodySliderConstraint *arg1 = (btMultiBodySliderConstraint *) 0 ;
btMatrix3x3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodySliderConstraint **)&jarg1;
result = (btMatrix3x3 *) &((btMultiBodySliderConstraint const *)arg1)->getFrameInB();
jresult = gdx_getReturnMatrix3(jenv);
gdx_setMatrix3FrombtMatrix3x3(jenv, jresult, result);
return jresult;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodySliderConstraint_1getJointAxis(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btMultiBodySliderConstraint *arg1 = (btMultiBodySliderConstraint *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodySliderConstraint **)&jarg1;
result = (btVector3 *) &((btMultiBodySliderConstraint const *)arg1)->getJointAxis();
jresult = gdx_getReturnVector3(jenv);
gdx_setVector3FrombtVector3(jenv, jresult, result);
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodySliderConstraint_1setJointAxis(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btMultiBodySliderConstraint *arg1 = (btMultiBodySliderConstraint *) 0 ;
btVector3 *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodySliderConstraint **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
(arg1)->setJointAxis((btVector3 const &)*arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodySolverConstraint_1operatorNew_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btMultiBodySolverConstraint *arg1 = (btMultiBodySolverConstraint *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodySolverConstraint **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new(arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodySolverConstraint_1operatorDelete_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btMultiBodySolverConstraint *arg1 = (btMultiBodySolverConstraint *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodySolverConstraint **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete(arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodySolverConstraint_1operatorNew_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btMultiBodySolverConstraint *arg1 = (btMultiBodySolverConstraint *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodySolverConstraint **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new(arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodySolverConstraint_1operatorDelete_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btMultiBodySolverConstraint *arg1 = (btMultiBodySolverConstraint *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodySolverConstraint **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete(arg2,arg3);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodySolverConstraint_1operatorNewArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btMultiBodySolverConstraint *arg1 = (btMultiBodySolverConstraint *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodySolverConstraint **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new[](arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodySolverConstraint_1operatorDeleteArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btMultiBodySolverConstraint *arg1 = (btMultiBodySolverConstraint *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodySolverConstraint **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete[](arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodySolverConstraint_1operatorNewArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btMultiBodySolverConstraint *arg1 = (btMultiBodySolverConstraint *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodySolverConstraint **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new[](arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodySolverConstraint_1operatorDeleteArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btMultiBodySolverConstraint *arg1 = (btMultiBodySolverConstraint *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodySolverConstraint **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete[](arg2,arg3);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btMultiBodySolverConstraint(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btMultiBodySolverConstraint *result = 0 ;
(void)jenv;
(void)jcls;
result = (btMultiBodySolverConstraint *)new btMultiBodySolverConstraint();
*(btMultiBodySolverConstraint **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodySolverConstraint_1deltaVelAindex_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btMultiBodySolverConstraint *arg1 = (btMultiBodySolverConstraint *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodySolverConstraint **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_deltaVelAindex = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodySolverConstraint_1deltaVelAindex_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btMultiBodySolverConstraint *arg1 = (btMultiBodySolverConstraint *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodySolverConstraint **)&jarg1;
result = (int) ((arg1)->m_deltaVelAindex);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodySolverConstraint_1jacAindex_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btMultiBodySolverConstraint *arg1 = (btMultiBodySolverConstraint *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodySolverConstraint **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_jacAindex = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodySolverConstraint_1jacAindex_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btMultiBodySolverConstraint *arg1 = (btMultiBodySolverConstraint *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodySolverConstraint **)&jarg1;
result = (int) ((arg1)->m_jacAindex);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodySolverConstraint_1deltaVelBindex_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btMultiBodySolverConstraint *arg1 = (btMultiBodySolverConstraint *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodySolverConstraint **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_deltaVelBindex = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodySolverConstraint_1deltaVelBindex_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btMultiBodySolverConstraint *arg1 = (btMultiBodySolverConstraint *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodySolverConstraint **)&jarg1;
result = (int) ((arg1)->m_deltaVelBindex);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodySolverConstraint_1jacBindex_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btMultiBodySolverConstraint *arg1 = (btMultiBodySolverConstraint *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodySolverConstraint **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_jacBindex = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodySolverConstraint_1jacBindex_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btMultiBodySolverConstraint *arg1 = (btMultiBodySolverConstraint *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodySolverConstraint **)&jarg1;
result = (int) ((arg1)->m_jacBindex);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodySolverConstraint_1relpos1CrossNormal_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btMultiBodySolverConstraint *arg1 = (btMultiBodySolverConstraint *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btMultiBodySolverConstraint **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->m_relpos1CrossNormal = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodySolverConstraint_1relpos1CrossNormal_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btMultiBodySolverConstraint *arg1 = (btMultiBodySolverConstraint *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodySolverConstraint **)&jarg1;
result = (btVector3 *)& ((arg1)->m_relpos1CrossNormal);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodySolverConstraint_1contactNormal1_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btMultiBodySolverConstraint *arg1 = (btMultiBodySolverConstraint *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btMultiBodySolverConstraint **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->m_contactNormal1 = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodySolverConstraint_1contactNormal1_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btMultiBodySolverConstraint *arg1 = (btMultiBodySolverConstraint *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodySolverConstraint **)&jarg1;
result = (btVector3 *)& ((arg1)->m_contactNormal1);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodySolverConstraint_1relpos2CrossNormal_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btMultiBodySolverConstraint *arg1 = (btMultiBodySolverConstraint *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btMultiBodySolverConstraint **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->m_relpos2CrossNormal = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodySolverConstraint_1relpos2CrossNormal_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btMultiBodySolverConstraint *arg1 = (btMultiBodySolverConstraint *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodySolverConstraint **)&jarg1;
result = (btVector3 *)& ((arg1)->m_relpos2CrossNormal);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodySolverConstraint_1contactNormal2_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btMultiBodySolverConstraint *arg1 = (btMultiBodySolverConstraint *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btMultiBodySolverConstraint **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->m_contactNormal2 = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodySolverConstraint_1contactNormal2_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btMultiBodySolverConstraint *arg1 = (btMultiBodySolverConstraint *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodySolverConstraint **)&jarg1;
result = (btVector3 *)& ((arg1)->m_contactNormal2);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodySolverConstraint_1angularComponentA_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btMultiBodySolverConstraint *arg1 = (btMultiBodySolverConstraint *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btMultiBodySolverConstraint **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->m_angularComponentA = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodySolverConstraint_1angularComponentA_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btMultiBodySolverConstraint *arg1 = (btMultiBodySolverConstraint *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodySolverConstraint **)&jarg1;
result = (btVector3 *)& ((arg1)->m_angularComponentA);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodySolverConstraint_1angularComponentB_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btMultiBodySolverConstraint *arg1 = (btMultiBodySolverConstraint *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btMultiBodySolverConstraint **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->m_angularComponentB = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodySolverConstraint_1angularComponentB_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btMultiBodySolverConstraint *arg1 = (btMultiBodySolverConstraint *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodySolverConstraint **)&jarg1;
result = (btVector3 *)& ((arg1)->m_angularComponentB);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodySolverConstraint_1appliedPushImpulse_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btMultiBodySolverConstraint *arg1 = (btMultiBodySolverConstraint *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodySolverConstraint **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_appliedPushImpulse = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodySolverConstraint_1appliedPushImpulse_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btMultiBodySolverConstraint *arg1 = (btMultiBodySolverConstraint *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodySolverConstraint **)&jarg1;
result = (btScalar) ((arg1)->m_appliedPushImpulse);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodySolverConstraint_1appliedImpulse_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btMultiBodySolverConstraint *arg1 = (btMultiBodySolverConstraint *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodySolverConstraint **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_appliedImpulse = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodySolverConstraint_1appliedImpulse_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btMultiBodySolverConstraint *arg1 = (btMultiBodySolverConstraint *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodySolverConstraint **)&jarg1;
result = (btScalar) ((arg1)->m_appliedImpulse);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodySolverConstraint_1friction_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btMultiBodySolverConstraint *arg1 = (btMultiBodySolverConstraint *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodySolverConstraint **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_friction = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodySolverConstraint_1friction_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btMultiBodySolverConstraint *arg1 = (btMultiBodySolverConstraint *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodySolverConstraint **)&jarg1;
result = (btScalar) ((arg1)->m_friction);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodySolverConstraint_1jacDiagABInv_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btMultiBodySolverConstraint *arg1 = (btMultiBodySolverConstraint *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodySolverConstraint **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_jacDiagABInv = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodySolverConstraint_1jacDiagABInv_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btMultiBodySolverConstraint *arg1 = (btMultiBodySolverConstraint *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodySolverConstraint **)&jarg1;
result = (btScalar) ((arg1)->m_jacDiagABInv);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodySolverConstraint_1rhs_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btMultiBodySolverConstraint *arg1 = (btMultiBodySolverConstraint *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodySolverConstraint **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_rhs = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodySolverConstraint_1rhs_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btMultiBodySolverConstraint *arg1 = (btMultiBodySolverConstraint *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodySolverConstraint **)&jarg1;
result = (btScalar) ((arg1)->m_rhs);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodySolverConstraint_1cfm_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btMultiBodySolverConstraint *arg1 = (btMultiBodySolverConstraint *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodySolverConstraint **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_cfm = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodySolverConstraint_1cfm_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btMultiBodySolverConstraint *arg1 = (btMultiBodySolverConstraint *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodySolverConstraint **)&jarg1;
result = (btScalar) ((arg1)->m_cfm);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodySolverConstraint_1lowerLimit_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btMultiBodySolverConstraint *arg1 = (btMultiBodySolverConstraint *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodySolverConstraint **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_lowerLimit = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodySolverConstraint_1lowerLimit_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btMultiBodySolverConstraint *arg1 = (btMultiBodySolverConstraint *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodySolverConstraint **)&jarg1;
result = (btScalar) ((arg1)->m_lowerLimit);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodySolverConstraint_1upperLimit_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btMultiBodySolverConstraint *arg1 = (btMultiBodySolverConstraint *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodySolverConstraint **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_upperLimit = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodySolverConstraint_1upperLimit_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btMultiBodySolverConstraint *arg1 = (btMultiBodySolverConstraint *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodySolverConstraint **)&jarg1;
result = (btScalar) ((arg1)->m_upperLimit);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodySolverConstraint_1rhsPenetration_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btMultiBodySolverConstraint *arg1 = (btMultiBodySolverConstraint *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodySolverConstraint **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_rhsPenetration = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodySolverConstraint_1rhsPenetration_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btMultiBodySolverConstraint *arg1 = (btMultiBodySolverConstraint *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodySolverConstraint **)&jarg1;
result = (btScalar) ((arg1)->m_rhsPenetration);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodySolverConstraint_1originalContactPoint_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btMultiBodySolverConstraint *arg1 = (btMultiBodySolverConstraint *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodySolverConstraint **)&jarg1;
arg2 = (void *)jarg2;
if (arg1) (arg1)->m_originalContactPoint = arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodySolverConstraint_1originalContactPoint_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btMultiBodySolverConstraint *arg1 = (btMultiBodySolverConstraint *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodySolverConstraint **)&jarg1;
result = (void *) ((arg1)->m_originalContactPoint);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodySolverConstraint_1unusedPadding4_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btMultiBodySolverConstraint *arg1 = (btMultiBodySolverConstraint *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodySolverConstraint **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_unusedPadding4 = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodySolverConstraint_1unusedPadding4_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btMultiBodySolverConstraint *arg1 = (btMultiBodySolverConstraint *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodySolverConstraint **)&jarg1;
result = (btScalar) ((arg1)->m_unusedPadding4);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodySolverConstraint_1overrideNumSolverIterations_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btMultiBodySolverConstraint *arg1 = (btMultiBodySolverConstraint *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodySolverConstraint **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_overrideNumSolverIterations = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodySolverConstraint_1overrideNumSolverIterations_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btMultiBodySolverConstraint *arg1 = (btMultiBodySolverConstraint *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodySolverConstraint **)&jarg1;
result = (int) ((arg1)->m_overrideNumSolverIterations);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodySolverConstraint_1frictionIndex_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btMultiBodySolverConstraint *arg1 = (btMultiBodySolverConstraint *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodySolverConstraint **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_frictionIndex = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodySolverConstraint_1frictionIndex_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btMultiBodySolverConstraint *arg1 = (btMultiBodySolverConstraint *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodySolverConstraint **)&jarg1;
result = (int) ((arg1)->m_frictionIndex);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodySolverConstraint_1solverBodyIdA_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btMultiBodySolverConstraint *arg1 = (btMultiBodySolverConstraint *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodySolverConstraint **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_solverBodyIdA = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodySolverConstraint_1solverBodyIdA_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btMultiBodySolverConstraint *arg1 = (btMultiBodySolverConstraint *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodySolverConstraint **)&jarg1;
result = (int) ((arg1)->m_solverBodyIdA);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodySolverConstraint_1multiBodyA_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btMultiBodySolverConstraint *arg1 = (btMultiBodySolverConstraint *) 0 ;
btMultiBody *arg2 = (btMultiBody *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btMultiBodySolverConstraint **)&jarg1;
arg2 = *(btMultiBody **)&jarg2;
if (arg1) (arg1)->m_multiBodyA = arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodySolverConstraint_1multiBodyA_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btMultiBodySolverConstraint *arg1 = (btMultiBodySolverConstraint *) 0 ;
btMultiBody *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodySolverConstraint **)&jarg1;
result = (btMultiBody *) ((arg1)->m_multiBodyA);
*(btMultiBody **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodySolverConstraint_1linkA_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btMultiBodySolverConstraint *arg1 = (btMultiBodySolverConstraint *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodySolverConstraint **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_linkA = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodySolverConstraint_1linkA_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btMultiBodySolverConstraint *arg1 = (btMultiBodySolverConstraint *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodySolverConstraint **)&jarg1;
result = (int) ((arg1)->m_linkA);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodySolverConstraint_1solverBodyIdB_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btMultiBodySolverConstraint *arg1 = (btMultiBodySolverConstraint *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodySolverConstraint **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_solverBodyIdB = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodySolverConstraint_1solverBodyIdB_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btMultiBodySolverConstraint *arg1 = (btMultiBodySolverConstraint *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodySolverConstraint **)&jarg1;
result = (int) ((arg1)->m_solverBodyIdB);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodySolverConstraint_1multiBodyB_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btMultiBodySolverConstraint *arg1 = (btMultiBodySolverConstraint *) 0 ;
btMultiBody *arg2 = (btMultiBody *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btMultiBodySolverConstraint **)&jarg1;
arg2 = *(btMultiBody **)&jarg2;
if (arg1) (arg1)->m_multiBodyB = arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodySolverConstraint_1multiBodyB_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btMultiBodySolverConstraint *arg1 = (btMultiBodySolverConstraint *) 0 ;
btMultiBody *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodySolverConstraint **)&jarg1;
result = (btMultiBody *) ((arg1)->m_multiBodyB);
*(btMultiBody **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodySolverConstraint_1linkB_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btMultiBodySolverConstraint *arg1 = (btMultiBodySolverConstraint *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodySolverConstraint **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_linkB = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodySolverConstraint_1linkB_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btMultiBodySolverConstraint *arg1 = (btMultiBodySolverConstraint *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodySolverConstraint **)&jarg1;
result = (int) ((arg1)->m_linkB);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodySolverConstraint_1orgConstraint_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btMultiBodySolverConstraint *arg1 = (btMultiBodySolverConstraint *) 0 ;
btMultiBodyConstraint *arg2 = (btMultiBodyConstraint *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btMultiBodySolverConstraint **)&jarg1;
arg2 = *(btMultiBodyConstraint **)&jarg2;
if (arg1) (arg1)->m_orgConstraint = arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodySolverConstraint_1orgConstraint_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btMultiBodySolverConstraint *arg1 = (btMultiBodySolverConstraint *) 0 ;
btMultiBodyConstraint *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodySolverConstraint **)&jarg1;
result = (btMultiBodyConstraint *) ((arg1)->m_orgConstraint);
*(btMultiBodyConstraint **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodySolverConstraint_1orgDofIndex_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btMultiBodySolverConstraint *arg1 = (btMultiBodySolverConstraint *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodySolverConstraint **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_orgDofIndex = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodySolverConstraint_1orgDofIndex_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btMultiBodySolverConstraint *arg1 = (btMultiBodySolverConstraint *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodySolverConstraint **)&jarg1;
result = (int) ((arg1)->m_orgDofIndex);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btMultiBodySolverConstraint(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btMultiBodySolverConstraint *arg1 = (btMultiBodySolverConstraint *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btMultiBodySolverConstraint **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDantzigScratchMemory_1scratch_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btDantzigScratchMemory *arg1 = (btDantzigScratchMemory *) 0 ;
btAlignedObjectArray< btScalar > *arg2 = (btAlignedObjectArray< btScalar > *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btDantzigScratchMemory **)&jarg1;
arg2 = *(btAlignedObjectArray< btScalar > **)&jarg2;
if (arg1) (arg1)->m_scratch = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDantzigScratchMemory_1scratch_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btDantzigScratchMemory *arg1 = (btDantzigScratchMemory *) 0 ;
btAlignedObjectArray< btScalar > *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDantzigScratchMemory **)&jarg1;
result = (btAlignedObjectArray< btScalar > *)& ((arg1)->m_scratch);
*(btAlignedObjectArray< btScalar > **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDantzigScratchMemory_1L_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btDantzigScratchMemory *arg1 = (btDantzigScratchMemory *) 0 ;
btAlignedObjectArray< btScalar > *arg2 = (btAlignedObjectArray< btScalar > *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btDantzigScratchMemory **)&jarg1;
arg2 = *(btAlignedObjectArray< btScalar > **)&jarg2;
if (arg1) (arg1)->L = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDantzigScratchMemory_1L_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btDantzigScratchMemory *arg1 = (btDantzigScratchMemory *) 0 ;
btAlignedObjectArray< btScalar > *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDantzigScratchMemory **)&jarg1;
result = (btAlignedObjectArray< btScalar > *)& ((arg1)->L);
*(btAlignedObjectArray< btScalar > **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDantzigScratchMemory_1d_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btDantzigScratchMemory *arg1 = (btDantzigScratchMemory *) 0 ;
btAlignedObjectArray< btScalar > *arg2 = (btAlignedObjectArray< btScalar > *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btDantzigScratchMemory **)&jarg1;
arg2 = *(btAlignedObjectArray< btScalar > **)&jarg2;
if (arg1) (arg1)->d = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDantzigScratchMemory_1d_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btDantzigScratchMemory *arg1 = (btDantzigScratchMemory *) 0 ;
btAlignedObjectArray< btScalar > *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDantzigScratchMemory **)&jarg1;
result = (btAlignedObjectArray< btScalar > *)& ((arg1)->d);
*(btAlignedObjectArray< btScalar > **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDantzigScratchMemory_1delta_1w_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btDantzigScratchMemory *arg1 = (btDantzigScratchMemory *) 0 ;
btAlignedObjectArray< btScalar > *arg2 = (btAlignedObjectArray< btScalar > *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btDantzigScratchMemory **)&jarg1;
arg2 = *(btAlignedObjectArray< btScalar > **)&jarg2;
if (arg1) (arg1)->delta_w = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDantzigScratchMemory_1delta_1w_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btDantzigScratchMemory *arg1 = (btDantzigScratchMemory *) 0 ;
btAlignedObjectArray< btScalar > *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDantzigScratchMemory **)&jarg1;
result = (btAlignedObjectArray< btScalar > *)& ((arg1)->delta_w);
*(btAlignedObjectArray< btScalar > **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDantzigScratchMemory_1delta_1x_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btDantzigScratchMemory *arg1 = (btDantzigScratchMemory *) 0 ;
btAlignedObjectArray< btScalar > *arg2 = (btAlignedObjectArray< btScalar > *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btDantzigScratchMemory **)&jarg1;
arg2 = *(btAlignedObjectArray< btScalar > **)&jarg2;
if (arg1) (arg1)->delta_x = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDantzigScratchMemory_1delta_1x_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btDantzigScratchMemory *arg1 = (btDantzigScratchMemory *) 0 ;
btAlignedObjectArray< btScalar > *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDantzigScratchMemory **)&jarg1;
result = (btAlignedObjectArray< btScalar > *)& ((arg1)->delta_x);
*(btAlignedObjectArray< btScalar > **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDantzigScratchMemory_1Dell_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btDantzigScratchMemory *arg1 = (btDantzigScratchMemory *) 0 ;
btAlignedObjectArray< btScalar > *arg2 = (btAlignedObjectArray< btScalar > *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btDantzigScratchMemory **)&jarg1;
arg2 = *(btAlignedObjectArray< btScalar > **)&jarg2;
if (arg1) (arg1)->Dell = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDantzigScratchMemory_1Dell_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btDantzigScratchMemory *arg1 = (btDantzigScratchMemory *) 0 ;
btAlignedObjectArray< btScalar > *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDantzigScratchMemory **)&jarg1;
result = (btAlignedObjectArray< btScalar > *)& ((arg1)->Dell);
*(btAlignedObjectArray< btScalar > **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDantzigScratchMemory_1ell_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btDantzigScratchMemory *arg1 = (btDantzigScratchMemory *) 0 ;
btAlignedObjectArray< btScalar > *arg2 = (btAlignedObjectArray< btScalar > *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btDantzigScratchMemory **)&jarg1;
arg2 = *(btAlignedObjectArray< btScalar > **)&jarg2;
if (arg1) (arg1)->ell = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDantzigScratchMemory_1ell_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btDantzigScratchMemory *arg1 = (btDantzigScratchMemory *) 0 ;
btAlignedObjectArray< btScalar > *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDantzigScratchMemory **)&jarg1;
result = (btAlignedObjectArray< btScalar > *)& ((arg1)->ell);
*(btAlignedObjectArray< btScalar > **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDantzigScratchMemory_1Arows_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btDantzigScratchMemory *arg1 = (btDantzigScratchMemory *) 0 ;
btAlignedObjectArray< btScalar * > *arg2 = (btAlignedObjectArray< btScalar * > *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDantzigScratchMemory **)&jarg1;
arg2 = *(btAlignedObjectArray< btScalar * > **)&jarg2;
if (arg1) (arg1)->Arows = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDantzigScratchMemory_1Arows_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btDantzigScratchMemory *arg1 = (btDantzigScratchMemory *) 0 ;
btAlignedObjectArray< btScalar * > *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDantzigScratchMemory **)&jarg1;
result = (btAlignedObjectArray< btScalar * > *)& ((arg1)->Arows);
*(btAlignedObjectArray< btScalar * > **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDantzigScratchMemory_1p_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btDantzigScratchMemory *arg1 = (btDantzigScratchMemory *) 0 ;
btAlignedObjectArray< int > *arg2 = (btAlignedObjectArray< int > *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDantzigScratchMemory **)&jarg1;
arg2 = *(btAlignedObjectArray< int > **)&jarg2;
if (arg1) (arg1)->p = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDantzigScratchMemory_1p_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btDantzigScratchMemory *arg1 = (btDantzigScratchMemory *) 0 ;
btAlignedObjectArray< int > *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDantzigScratchMemory **)&jarg1;
result = (btAlignedObjectArray< int > *)& ((arg1)->p);
*(btAlignedObjectArray< int > **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDantzigScratchMemory_1C_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btDantzigScratchMemory *arg1 = (btDantzigScratchMemory *) 0 ;
btAlignedObjectArray< int > *arg2 = (btAlignedObjectArray< int > *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDantzigScratchMemory **)&jarg1;
arg2 = *(btAlignedObjectArray< int > **)&jarg2;
if (arg1) (arg1)->C = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDantzigScratchMemory_1C_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btDantzigScratchMemory *arg1 = (btDantzigScratchMemory *) 0 ;
btAlignedObjectArray< int > *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDantzigScratchMemory **)&jarg1;
result = (btAlignedObjectArray< int > *)& ((arg1)->C);
*(btAlignedObjectArray< int > **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDantzigScratchMemory_1state_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btDantzigScratchMemory *arg1 = (btDantzigScratchMemory *) 0 ;
btAlignedObjectArray< bool > *arg2 = (btAlignedObjectArray< bool > *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDantzigScratchMemory **)&jarg1;
arg2 = *(btAlignedObjectArray< bool > **)&jarg2;
if (arg1) (arg1)->state = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDantzigScratchMemory_1state_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btDantzigScratchMemory *arg1 = (btDantzigScratchMemory *) 0 ;
btAlignedObjectArray< bool > *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDantzigScratchMemory **)&jarg1;
result = (btAlignedObjectArray< bool > *)& ((arg1)->state);
*(btAlignedObjectArray< bool > **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btDantzigScratchMemory(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btDantzigScratchMemory *result = 0 ;
(void)jenv;
(void)jcls;
result = (btDantzigScratchMemory *)new btDantzigScratchMemory();
*(btDantzigScratchMemory **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btDantzigScratchMemory(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btDantzigScratchMemory *arg1 = (btDantzigScratchMemory *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btDantzigScratchMemory **)&jarg1;
delete arg1;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolveDantzigLCP(JNIEnv *jenv, jclass jcls, jint jarg1, jobject jarg2, jobject jarg3, jobject jarg4, jobject jarg5, jint jarg6, jobject jarg7, jobject jarg8, jobject jarg9, jlong jarg10, jobject jarg10_) {
jboolean jresult = 0 ;
int arg1 ;
btScalar *arg2 = (btScalar *) 0 ;
btScalar *arg3 = (btScalar *) 0 ;
btScalar *arg4 = (btScalar *) 0 ;
btScalar *arg5 = (btScalar *) 0 ;
int arg6 ;
btScalar *arg7 = (btScalar *) 0 ;
btScalar *arg8 = (btScalar *) 0 ;
int *arg9 = (int *) 0 ;
btDantzigScratchMemory *arg10 = 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg10_;
arg1 = (int)jarg1;
{
arg2 = (btScalar*)jenv->GetDirectBufferAddress(jarg2);
if (arg2 == NULL) {
SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, "Unable to get address of direct buffer. Buffer must be allocated direct.");
}
}
{
arg3 = (btScalar*)jenv->GetDirectBufferAddress(jarg3);
if (arg3 == NULL) {
SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, "Unable to get address of direct buffer. Buffer must be allocated direct.");
}
}
{
arg4 = (btScalar*)jenv->GetDirectBufferAddress(jarg4);
if (arg4 == NULL) {
SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, "Unable to get address of direct buffer. Buffer must be allocated direct.");
}
}
{
arg5 = (btScalar*)jenv->GetDirectBufferAddress(jarg5);
if (arg5 == NULL) {
SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, "Unable to get address of direct buffer. Buffer must be allocated direct.");
}
}
arg6 = (int)jarg6;
{
arg7 = (btScalar*)jenv->GetDirectBufferAddress(jarg7);
if (arg7 == NULL) {
SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, "Unable to get address of direct buffer. Buffer must be allocated direct.");
}
}
{
arg8 = (btScalar*)jenv->GetDirectBufferAddress(jarg8);
if (arg8 == NULL) {
SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, "Unable to get address of direct buffer. Buffer must be allocated direct.");
}
}
{
arg9 = (int*)jenv->GetDirectBufferAddress(jarg9);
if (arg9 == NULL) {
SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, "Unable to get address of direct buffer. Buffer must be allocated direct.");
}
}
arg10 = *(btDantzigScratchMemory **)&jarg10;
if (!arg10) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btDantzigScratchMemory & reference is null");
return 0;
}
result = (bool)btSolveDantzigLCP(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,*arg10);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btMLCPSolverInterface(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btMLCPSolverInterface *arg1 = (btMLCPSolverInterface *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btMLCPSolverInterface **)&jarg1;
delete arg1;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMLCPSolverInterface_1solveMLCP_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3, jlong jarg4, jlong jarg5, jlong jarg6, jlong jarg7, jint jarg8, jboolean jarg9) {
jboolean jresult = 0 ;
btMLCPSolverInterface *arg1 = (btMLCPSolverInterface *) 0 ;
btMatrixXf *arg2 = 0 ;
btVectorXf *arg3 = 0 ;
btVectorXf *arg4 = 0 ;
btVectorXf *arg5 = 0 ;
btVectorXf *arg6 = 0 ;
btAlignedObjectArray< int > *arg7 = 0 ;
int arg8 ;
bool arg9 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMLCPSolverInterface **)&jarg1;
arg2 = *(btMatrixXf **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btMatrixXf const & reference is null");
return 0;
}
arg3 = *(btVectorXf **)&jarg3;
if (!arg3) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btVectorXf const & reference is null");
return 0;
}
arg4 = *(btVectorXf **)&jarg4;
if (!arg4) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btVectorXf & reference is null");
return 0;
}
arg5 = *(btVectorXf **)&jarg5;
if (!arg5) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btVectorXf const & reference is null");
return 0;
}
arg6 = *(btVectorXf **)&jarg6;
if (!arg6) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btVectorXf const & reference is null");
return 0;
}
arg7 = *(btAlignedObjectArray< int > **)&jarg7;
if (!arg7) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btAlignedObjectArray< int > const & reference is null");
return 0;
}
arg8 = (int)jarg8;
arg9 = jarg9 ? true : false;
result = (bool)(arg1)->solveMLCP((btMatrixXf const &)*arg2,(btVectorXf const &)*arg3,*arg4,(btVectorXf const &)*arg5,(btVectorXf const &)*arg6,(btAlignedObjectArray< int > const &)*arg7,arg8,arg9);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMLCPSolverInterface_1solveMLCP_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3, jlong jarg4, jlong jarg5, jlong jarg6, jlong jarg7, jint jarg8) {
jboolean jresult = 0 ;
btMLCPSolverInterface *arg1 = (btMLCPSolverInterface *) 0 ;
btMatrixXf *arg2 = 0 ;
btVectorXf *arg3 = 0 ;
btVectorXf *arg4 = 0 ;
btVectorXf *arg5 = 0 ;
btVectorXf *arg6 = 0 ;
btAlignedObjectArray< int > *arg7 = 0 ;
int arg8 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMLCPSolverInterface **)&jarg1;
arg2 = *(btMatrixXf **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btMatrixXf const & reference is null");
return 0;
}
arg3 = *(btVectorXf **)&jarg3;
if (!arg3) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btVectorXf const & reference is null");
return 0;
}
arg4 = *(btVectorXf **)&jarg4;
if (!arg4) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btVectorXf & reference is null");
return 0;
}
arg5 = *(btVectorXf **)&jarg5;
if (!arg5) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btVectorXf const & reference is null");
return 0;
}
arg6 = *(btVectorXf **)&jarg6;
if (!arg6) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btVectorXf const & reference is null");
return 0;
}
arg7 = *(btAlignedObjectArray< int > **)&jarg7;
if (!arg7) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btAlignedObjectArray< int > const & reference is null");
return 0;
}
arg8 = (int)jarg8;
result = (bool)(arg1)->solveMLCP((btMatrixXf const &)*arg2,(btVectorXf const &)*arg3,*arg4,(btVectorXf const &)*arg5,(btVectorXf const &)*arg6,(btAlignedObjectArray< int > const &)*arg7,arg8);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btDantzigSolver(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btDantzigSolver *result = 0 ;
(void)jenv;
(void)jcls;
result = (btDantzigSolver *)new btDantzigSolver();
*(btDantzigSolver **)&jresult = result;
return jresult;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDantzigSolver_1solveMLCP_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3, jlong jarg4, jlong jarg5, jlong jarg6, jlong jarg7, jint jarg8, jboolean jarg9) {
jboolean jresult = 0 ;
btDantzigSolver *arg1 = (btDantzigSolver *) 0 ;
btMatrixXf *arg2 = 0 ;
btVectorXf *arg3 = 0 ;
btVectorXf *arg4 = 0 ;
btVectorXf *arg5 = 0 ;
btVectorXf *arg6 = 0 ;
btAlignedObjectArray< int > *arg7 = 0 ;
int arg8 ;
bool arg9 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDantzigSolver **)&jarg1;
arg2 = *(btMatrixXf **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btMatrixXf const & reference is null");
return 0;
}
arg3 = *(btVectorXf **)&jarg3;
if (!arg3) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btVectorXf const & reference is null");
return 0;
}
arg4 = *(btVectorXf **)&jarg4;
if (!arg4) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btVectorXf & reference is null");
return 0;
}
arg5 = *(btVectorXf **)&jarg5;
if (!arg5) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btVectorXf const & reference is null");
return 0;
}
arg6 = *(btVectorXf **)&jarg6;
if (!arg6) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btVectorXf const & reference is null");
return 0;
}
arg7 = *(btAlignedObjectArray< int > **)&jarg7;
if (!arg7) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btAlignedObjectArray< int > const & reference is null");
return 0;
}
arg8 = (int)jarg8;
arg9 = jarg9 ? true : false;
result = (bool)(arg1)->solveMLCP((btMatrixXf const &)*arg2,(btVectorXf const &)*arg3,*arg4,(btVectorXf const &)*arg5,(btVectorXf const &)*arg6,(btAlignedObjectArray< int > const &)*arg7,arg8,arg9);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDantzigSolver_1solveMLCP_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3, jlong jarg4, jlong jarg5, jlong jarg6, jlong jarg7, jint jarg8) {
jboolean jresult = 0 ;
btDantzigSolver *arg1 = (btDantzigSolver *) 0 ;
btMatrixXf *arg2 = 0 ;
btVectorXf *arg3 = 0 ;
btVectorXf *arg4 = 0 ;
btVectorXf *arg5 = 0 ;
btVectorXf *arg6 = 0 ;
btAlignedObjectArray< int > *arg7 = 0 ;
int arg8 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDantzigSolver **)&jarg1;
arg2 = *(btMatrixXf **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btMatrixXf const & reference is null");
return 0;
}
arg3 = *(btVectorXf **)&jarg3;
if (!arg3) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btVectorXf const & reference is null");
return 0;
}
arg4 = *(btVectorXf **)&jarg4;
if (!arg4) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btVectorXf & reference is null");
return 0;
}
arg5 = *(btVectorXf **)&jarg5;
if (!arg5) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btVectorXf const & reference is null");
return 0;
}
arg6 = *(btVectorXf **)&jarg6;
if (!arg6) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btVectorXf const & reference is null");
return 0;
}
arg7 = *(btAlignedObjectArray< int > **)&jarg7;
if (!arg7) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btAlignedObjectArray< int > const & reference is null");
return 0;
}
arg8 = (int)jarg8;
result = (bool)(arg1)->solveMLCP((btMatrixXf const &)*arg2,(btVectorXf const &)*arg3,*arg4,(btVectorXf const &)*arg5,(btVectorXf const &)*arg6,(btAlignedObjectArray< int > const &)*arg7,arg8);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btDantzigSolver(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btDantzigSolver *arg1 = (btDantzigSolver *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btDantzigSolver **)&jarg1;
delete arg1;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btLemkeAlgorithm_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jint jarg3) {
jlong jresult = 0 ;
btMatrixXf *arg1 = 0 ;
btVectorXf *arg2 = 0 ;
int *arg3 = 0 ;
int temp3 ;
btLemkeAlgorithm *result = 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btMatrixXf **)&jarg1;
if (!arg1) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btMatrixXf const & reference is null");
return 0;
}
arg2 = *(btVectorXf **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btVectorXf const & reference is null");
return 0;
}
temp3 = (int)jarg3;
arg3 = &temp3;
result = (btLemkeAlgorithm *)new btLemkeAlgorithm((btMatrixXf const &)*arg1,(btVectorXf const &)*arg2,(int const &)*arg3);
*(btLemkeAlgorithm **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btLemkeAlgorithm_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
jlong jresult = 0 ;
btMatrixXf *arg1 = 0 ;
btVectorXf *arg2 = 0 ;
btLemkeAlgorithm *result = 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btMatrixXf **)&jarg1;
if (!arg1) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btMatrixXf const & reference is null");
return 0;
}
arg2 = *(btVectorXf **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btVectorXf const & reference is null");
return 0;
}
result = (btLemkeAlgorithm *)new btLemkeAlgorithm((btMatrixXf const &)*arg1,(btVectorXf const &)*arg2);
*(btLemkeAlgorithm **)&jresult = result;
return jresult;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btLemkeAlgorithm_1getInfo(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btLemkeAlgorithm *arg1 = (btLemkeAlgorithm *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btLemkeAlgorithm **)&jarg1;
result = (int)(arg1)->getInfo();
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btLemkeAlgorithm_1getSteps(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btLemkeAlgorithm *arg1 = (btLemkeAlgorithm *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btLemkeAlgorithm **)&jarg1;
result = (int)(arg1)->getSteps();
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btLemkeAlgorithm_1setSystem(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btLemkeAlgorithm *arg1 = (btLemkeAlgorithm *) 0 ;
btMatrixXf *arg2 = 0 ;
btVectorXf *arg3 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btLemkeAlgorithm **)&jarg1;
arg2 = *(btMatrixXf **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btMatrixXf const & reference is null");
return ;
}
arg3 = *(btVectorXf **)&jarg3;
if (!arg3) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btVectorXf const & reference is null");
return ;
}
(arg1)->setSystem((btMatrixXf const &)*arg2,(btVectorXf const &)*arg3);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btLemkeAlgorithm_1solve_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btLemkeAlgorithm *arg1 = (btLemkeAlgorithm *) 0 ;
unsigned int arg2 ;
SwigValueWrapper< btVectorX< float > > result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btLemkeAlgorithm **)&jarg1;
arg2 = (unsigned int)jarg2;
result = (arg1)->solve(arg2);
*(btVectorXf **)&jresult = new btVectorXf((const btVectorXf &)result);
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btLemkeAlgorithm_1solve_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btLemkeAlgorithm *arg1 = (btLemkeAlgorithm *) 0 ;
SwigValueWrapper< btVectorX< float > > result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btLemkeAlgorithm **)&jarg1;
result = (arg1)->solve();
*(btVectorXf **)&jresult = new btVectorXf((const btVectorXf &)result);
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btLemkeAlgorithm(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btLemkeAlgorithm *arg1 = (btLemkeAlgorithm *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btLemkeAlgorithm **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btLemkeSolver_1maxValue_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btLemkeSolver *arg1 = (btLemkeSolver *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btLemkeSolver **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_maxValue = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btLemkeSolver_1maxValue_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btLemkeSolver *arg1 = (btLemkeSolver *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btLemkeSolver **)&jarg1;
result = (btScalar) ((arg1)->m_maxValue);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btLemkeSolver_1debugLevel_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btLemkeSolver *arg1 = (btLemkeSolver *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btLemkeSolver **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_debugLevel = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btLemkeSolver_1debugLevel_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btLemkeSolver *arg1 = (btLemkeSolver *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btLemkeSolver **)&jarg1;
result = (int) ((arg1)->m_debugLevel);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btLemkeSolver_1maxLoops_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btLemkeSolver *arg1 = (btLemkeSolver *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btLemkeSolver **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_maxLoops = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btLemkeSolver_1maxLoops_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btLemkeSolver *arg1 = (btLemkeSolver *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btLemkeSolver **)&jarg1;
result = (int) ((arg1)->m_maxLoops);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btLemkeSolver_1useLoHighBounds_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jboolean jarg2) {
btLemkeSolver *arg1 = (btLemkeSolver *) 0 ;
bool arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btLemkeSolver **)&jarg1;
arg2 = jarg2 ? true : false;
if (arg1) (arg1)->m_useLoHighBounds = arg2;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btLemkeSolver_1useLoHighBounds_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jboolean jresult = 0 ;
btLemkeSolver *arg1 = (btLemkeSolver *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btLemkeSolver **)&jarg1;
result = (bool) ((arg1)->m_useLoHighBounds);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btLemkeSolver(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btLemkeSolver *result = 0 ;
(void)jenv;
(void)jcls;
result = (btLemkeSolver *)new btLemkeSolver();
*(btLemkeSolver **)&jresult = result;
return jresult;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btLemkeSolver_1solveMLCP_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3, jlong jarg4, jlong jarg5, jlong jarg6, jlong jarg7, jint jarg8, jboolean jarg9) {
jboolean jresult = 0 ;
btLemkeSolver *arg1 = (btLemkeSolver *) 0 ;
btMatrixXf *arg2 = 0 ;
btVectorXf *arg3 = 0 ;
btVectorXf *arg4 = 0 ;
btVectorXf *arg5 = 0 ;
btVectorXf *arg6 = 0 ;
btAlignedObjectArray< int > *arg7 = 0 ;
int arg8 ;
bool arg9 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btLemkeSolver **)&jarg1;
arg2 = *(btMatrixXf **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btMatrixXf const & reference is null");
return 0;
}
arg3 = *(btVectorXf **)&jarg3;
if (!arg3) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btVectorXf const & reference is null");
return 0;
}
arg4 = *(btVectorXf **)&jarg4;
if (!arg4) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btVectorXf & reference is null");
return 0;
}
arg5 = *(btVectorXf **)&jarg5;
if (!arg5) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btVectorXf const & reference is null");
return 0;
}
arg6 = *(btVectorXf **)&jarg6;
if (!arg6) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btVectorXf const & reference is null");
return 0;
}
arg7 = *(btAlignedObjectArray< int > **)&jarg7;
if (!arg7) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btAlignedObjectArray< int > const & reference is null");
return 0;
}
arg8 = (int)jarg8;
arg9 = jarg9 ? true : false;
result = (bool)(arg1)->solveMLCP((btMatrixXf const &)*arg2,(btVectorXf const &)*arg3,*arg4,(btVectorXf const &)*arg5,(btVectorXf const &)*arg6,(btAlignedObjectArray< int > const &)*arg7,arg8,arg9);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btLemkeSolver_1solveMLCP_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3, jlong jarg4, jlong jarg5, jlong jarg6, jlong jarg7, jint jarg8) {
jboolean jresult = 0 ;
btLemkeSolver *arg1 = (btLemkeSolver *) 0 ;
btMatrixXf *arg2 = 0 ;
btVectorXf *arg3 = 0 ;
btVectorXf *arg4 = 0 ;
btVectorXf *arg5 = 0 ;
btVectorXf *arg6 = 0 ;
btAlignedObjectArray< int > *arg7 = 0 ;
int arg8 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btLemkeSolver **)&jarg1;
arg2 = *(btMatrixXf **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btMatrixXf const & reference is null");
return 0;
}
arg3 = *(btVectorXf **)&jarg3;
if (!arg3) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btVectorXf const & reference is null");
return 0;
}
arg4 = *(btVectorXf **)&jarg4;
if (!arg4) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btVectorXf & reference is null");
return 0;
}
arg5 = *(btVectorXf **)&jarg5;
if (!arg5) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btVectorXf const & reference is null");
return 0;
}
arg6 = *(btVectorXf **)&jarg6;
if (!arg6) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btVectorXf const & reference is null");
return 0;
}
arg7 = *(btAlignedObjectArray< int > **)&jarg7;
if (!arg7) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btAlignedObjectArray< int > const & reference is null");
return 0;
}
arg8 = (int)jarg8;
result = (bool)(arg1)->solveMLCP((btMatrixXf const &)*arg2,(btVectorXf const &)*arg3,*arg4,(btVectorXf const &)*arg5,(btVectorXf const &)*arg6,(btAlignedObjectArray< int > const &)*arg7,arg8);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btLemkeSolver(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btLemkeSolver *arg1 = (btLemkeSolver *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btLemkeSolver **)&jarg1;
delete arg1;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btMLCPSolver(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btMLCPSolverInterface *arg1 = (btMLCPSolverInterface *) 0 ;
btMLCPSolver *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMLCPSolverInterface **)&jarg1;
result = (btMLCPSolver *)new btMLCPSolver(arg1);
*(btMLCPSolver **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btMLCPSolver(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btMLCPSolver *arg1 = (btMLCPSolver *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btMLCPSolver **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMLCPSolver_1setMLCPSolver(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btMLCPSolver *arg1 = (btMLCPSolver *) 0 ;
btMLCPSolverInterface *arg2 = (btMLCPSolverInterface *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btMLCPSolver **)&jarg1;
arg2 = *(btMLCPSolverInterface **)&jarg2;
(arg1)->setMLCPSolver(arg2);
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMLCPSolver_1getNumFallbacks(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btMLCPSolver *arg1 = (btMLCPSolver *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMLCPSolver **)&jarg1;
result = (int)((btMLCPSolver const *)arg1)->getNumFallbacks();
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMLCPSolver_1setNumFallbacks(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btMLCPSolver *arg1 = (btMLCPSolver *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMLCPSolver **)&jarg1;
arg2 = (int)jarg2;
(arg1)->setNumFallbacks(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolveProjectedGaussSeidel_1leastSquaresResidualThreshold_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btSolveProjectedGaussSeidel *arg1 = (btSolveProjectedGaussSeidel *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSolveProjectedGaussSeidel **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_leastSquaresResidualThreshold = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolveProjectedGaussSeidel_1leastSquaresResidualThreshold_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btSolveProjectedGaussSeidel *arg1 = (btSolveProjectedGaussSeidel *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSolveProjectedGaussSeidel **)&jarg1;
result = (btScalar) ((arg1)->m_leastSquaresResidualThreshold);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolveProjectedGaussSeidel_1leastSquaresResidual_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btSolveProjectedGaussSeidel *arg1 = (btSolveProjectedGaussSeidel *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSolveProjectedGaussSeidel **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_leastSquaresResidual = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolveProjectedGaussSeidel_1leastSquaresResidual_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btSolveProjectedGaussSeidel *arg1 = (btSolveProjectedGaussSeidel *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSolveProjectedGaussSeidel **)&jarg1;
result = (btScalar) ((arg1)->m_leastSquaresResidual);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btSolveProjectedGaussSeidel(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btSolveProjectedGaussSeidel *result = 0 ;
(void)jenv;
(void)jcls;
result = (btSolveProjectedGaussSeidel *)new btSolveProjectedGaussSeidel();
*(btSolveProjectedGaussSeidel **)&jresult = result;
return jresult;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolveProjectedGaussSeidel_1solveMLCP_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3, jlong jarg4, jlong jarg5, jlong jarg6, jlong jarg7, jint jarg8, jboolean jarg9) {
jboolean jresult = 0 ;
btSolveProjectedGaussSeidel *arg1 = (btSolveProjectedGaussSeidel *) 0 ;
btMatrixXf *arg2 = 0 ;
btVectorXf *arg3 = 0 ;
btVectorXf *arg4 = 0 ;
btVectorXf *arg5 = 0 ;
btVectorXf *arg6 = 0 ;
btAlignedObjectArray< int > *arg7 = 0 ;
int arg8 ;
bool arg9 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSolveProjectedGaussSeidel **)&jarg1;
arg2 = *(btMatrixXf **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btMatrixXf const & reference is null");
return 0;
}
arg3 = *(btVectorXf **)&jarg3;
if (!arg3) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btVectorXf const & reference is null");
return 0;
}
arg4 = *(btVectorXf **)&jarg4;
if (!arg4) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btVectorXf & reference is null");
return 0;
}
arg5 = *(btVectorXf **)&jarg5;
if (!arg5) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btVectorXf const & reference is null");
return 0;
}
arg6 = *(btVectorXf **)&jarg6;
if (!arg6) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btVectorXf const & reference is null");
return 0;
}
arg7 = *(btAlignedObjectArray< int > **)&jarg7;
if (!arg7) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btAlignedObjectArray< int > const & reference is null");
return 0;
}
arg8 = (int)jarg8;
arg9 = jarg9 ? true : false;
result = (bool)(arg1)->solveMLCP((btMatrixXf const &)*arg2,(btVectorXf const &)*arg3,*arg4,(btVectorXf const &)*arg5,(btVectorXf const &)*arg6,(btAlignedObjectArray< int > const &)*arg7,arg8,arg9);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolveProjectedGaussSeidel_1solveMLCP_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3, jlong jarg4, jlong jarg5, jlong jarg6, jlong jarg7, jint jarg8) {
jboolean jresult = 0 ;
btSolveProjectedGaussSeidel *arg1 = (btSolveProjectedGaussSeidel *) 0 ;
btMatrixXf *arg2 = 0 ;
btVectorXf *arg3 = 0 ;
btVectorXf *arg4 = 0 ;
btVectorXf *arg5 = 0 ;
btVectorXf *arg6 = 0 ;
btAlignedObjectArray< int > *arg7 = 0 ;
int arg8 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSolveProjectedGaussSeidel **)&jarg1;
arg2 = *(btMatrixXf **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btMatrixXf const & reference is null");
return 0;
}
arg3 = *(btVectorXf **)&jarg3;
if (!arg3) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btVectorXf const & reference is null");
return 0;
}
arg4 = *(btVectorXf **)&jarg4;
if (!arg4) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btVectorXf & reference is null");
return 0;
}
arg5 = *(btVectorXf **)&jarg5;
if (!arg5) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btVectorXf const & reference is null");
return 0;
}
arg6 = *(btVectorXf **)&jarg6;
if (!arg6) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btVectorXf const & reference is null");
return 0;
}
arg7 = *(btAlignedObjectArray< int > **)&jarg7;
if (!arg7) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btAlignedObjectArray< int > const & reference is null");
return 0;
}
arg8 = (int)jarg8;
result = (bool)(arg1)->solveMLCP((btMatrixXf const &)*arg2,(btVectorXf const &)*arg3,*arg4,(btVectorXf const &)*arg5,(btVectorXf const &)*arg6,(btAlignedObjectArray< int > const &)*arg7,arg8);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btSolveProjectedGaussSeidel(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btSolveProjectedGaussSeidel *arg1 = (btSolveProjectedGaussSeidel *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btSolveProjectedGaussSeidel **)&jarg1;
delete arg1;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btCollisionObject **)&baseptr = *(btRigidBody **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btTypedObject **)&baseptr = *(btTypedConstraint **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDynamicsWorld_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btCollisionWorld **)&baseptr = *(btDynamicsWorld **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSimpleDynamicsWorld_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btDynamicsWorld **)&baseptr = *(btSimpleDynamicsWorld **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_CustomActionInterface_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btActionInterface **)&baseptr = *(CustomActionInterface **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDiscreteDynamicsWorld_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btDynamicsWorld **)&baseptr = *(btDiscreteDynamicsWorld **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btCharacterControllerInterface_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btActionInterface **)&baseptr = *(btCharacterControllerInterface **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btKinematicCharacterController_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btCharacterControllerInterface **)&baseptr = *(btKinematicCharacterController **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfo_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btContactSolverInfoData **)&baseptr = *(btContactSolverInfo **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSequentialImpulseConstraintSolver_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btConstraintSolver **)&baseptr = *(btSequentialImpulseConstraintSolver **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btTypedConstraint **)&baseptr = *(btSliderConstraint **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btPoint2PointConstraint_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btTypedConstraint **)&baseptr = *(btPoint2PointConstraint **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraint_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btTypedConstraint **)&baseptr = *(btGeneric6DofConstraint **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btUniversalConstraint_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btGeneric6DofConstraint **)&baseptr = *(btUniversalConstraint **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactConstraint_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btTypedConstraint **)&baseptr = *(btContactConstraint **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraint_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btTypedConstraint **)&baseptr = *(btConeTwistConstraint **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpringConstraint_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btGeneric6DofConstraint **)&baseptr = *(btGeneric6DofSpringConstraint **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2Constraint_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btTypedConstraint **)&baseptr = *(btGeneric6DofSpring2Constraint **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraint_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btTypedConstraint **)&baseptr = *(btHingeConstraint **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeAccumulatedAngleConstraint_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btHingeConstraint **)&baseptr = *(btHingeAccumulatedAngleConstraint **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHinge2Constraint_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btGeneric6DofSpring2Constraint **)&baseptr = *(btHinge2Constraint **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btFixedConstraint_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btGeneric6DofSpring2Constraint **)&baseptr = *(btFixedConstraint **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRaycastVehicle_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btActionInterface **)&baseptr = *(btRaycastVehicle **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDefaultVehicleRaycaster_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btVehicleRaycaster **)&baseptr = *(btDefaultVehicleRaycaster **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_FilterableVehicleRaycaster_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btDefaultVehicleRaycaster **)&baseptr = *(FilterableVehicleRaycaster **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGearConstraint_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btTypedConstraint **)&baseptr = *(btGearConstraint **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btNNCGConstraintSolver_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btSequentialImpulseConstraintSolver **)&baseptr = *(btNNCGConstraintSolver **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConstraintSolverPoolMt_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btConstraintSolver **)&baseptr = *(btConstraintSolverPoolMt **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDiscreteDynamicsWorldMt_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btDiscreteDynamicsWorld **)&baseptr = *(btDiscreteDynamicsWorldMt **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSimulationIslandManagerMt_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btSimulationIslandManager **)&baseptr = *(btSimulationIslandManagerMt **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyGearConstraint_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btMultiBodyConstraint **)&baseptr = *(btMultiBodyGearConstraint **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyConstraintSolver_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btSequentialImpulseConstraintSolver **)&baseptr = *(btMultiBodyConstraintSolver **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyDynamicsWorld_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btDiscreteDynamicsWorld **)&baseptr = *(btMultiBodyDynamicsWorld **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyFixedConstraint_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btMultiBodyConstraint **)&baseptr = *(btMultiBodyFixedConstraint **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyJointLimitConstraint_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btMultiBodyConstraint **)&baseptr = *(btMultiBodyJointLimitConstraint **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyJointMotor_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btMultiBodyConstraint **)&baseptr = *(btMultiBodyJointMotor **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyLinkCollider_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btCollisionObject **)&baseptr = *(btMultiBodyLinkCollider **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyPoint2Point_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btMultiBodyConstraint **)&baseptr = *(btMultiBodyPoint2Point **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodySliderConstraint_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btMultiBodyConstraint **)&baseptr = *(btMultiBodySliderConstraint **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDantzigSolver_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btMLCPSolverInterface **)&baseptr = *(btDantzigSolver **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btLemkeSolver_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btMLCPSolverInterface **)&baseptr = *(btLemkeSolver **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMLCPSolver_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btSequentialImpulseConstraintSolver **)&baseptr = *(btMLCPSolver **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolveProjectedGaussSeidel_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btMLCPSolverInterface **)&baseptr = *(btSolveProjectedGaussSeidel **)&jarg1;
return baseptr;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_swig_1module_1init(JNIEnv *jenv, jclass jcls) {
int i;
static struct {
const char *method;
const char *signature;
} methods[3] = {
{
"SwigDirector_InternalTickCallback_onInternalTick", "(Lcom/badlogic/gdx/physics/bullet/dynamics/InternalTickCallback;JF)V"
},
{
"SwigDirector_CustomActionInterface_updateAction", "(Lcom/badlogic/gdx/physics/bullet/dynamics/CustomActionInterface;F)V"
},
{
"SwigDirector_CustomActionInterface_debugDraw", "(Lcom/badlogic/gdx/physics/bullet/dynamics/CustomActionInterface;)V"
}
};
Swig::jclass_DynamicsJNI = (jclass) jenv->NewGlobalRef(jcls);
if (!Swig::jclass_DynamicsJNI) return;
for (i = 0; i < (int) (sizeof(methods)/sizeof(methods[0])); ++i) {
Swig::director_method_ids[i] = jenv->GetStaticMethodID(jcls, methods[i].method, methods[i].signature);
if (!Swig::director_method_ids[i]) return;
}
}
#ifdef __cplusplus
}
#endif
| /* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 3.0.11
*
* This file is not intended to be easily readable and contains a number of
* coding conventions designed to improve portability and efficiency. Do not make
* changes to this file unless you know what you are doing--modify the SWIG
* interface file instead.
* ----------------------------------------------------------------------------- */
#ifndef SWIGJAVA
#define SWIGJAVA
#endif
#define SWIG_DIRECTORS
#ifdef __cplusplus
/* SwigValueWrapper is described in swig.swg */
template<typename T> class SwigValueWrapper {
struct SwigMovePointer {
T *ptr;
SwigMovePointer(T *p) : ptr(p) { }
~SwigMovePointer() { delete ptr; }
SwigMovePointer& operator=(SwigMovePointer& rhs) { T* oldptr = ptr; ptr = 0; delete oldptr; ptr = rhs.ptr; rhs.ptr = 0; return *this; }
} pointer;
SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
SwigValueWrapper(const SwigValueWrapper<T>& rhs);
public:
SwigValueWrapper() : pointer(0) { }
SwigValueWrapper& operator=(const T& t) { SwigMovePointer tmp(new T(t)); pointer = tmp; return *this; }
operator T&() const { return *pointer.ptr; }
T *operator&() { return pointer.ptr; }
};
template <typename T> T SwigValueInit() {
return T();
}
#endif
/* -----------------------------------------------------------------------------
* This section contains generic SWIG labels for method/variable
* declarations/attributes, and other compiler dependent labels.
* ----------------------------------------------------------------------------- */
/* template workaround for compilers that cannot correctly implement the C++ standard */
#ifndef SWIGTEMPLATEDISAMBIGUATOR
# if defined(__SUNPRO_CC) && (__SUNPRO_CC <= 0x560)
# define SWIGTEMPLATEDISAMBIGUATOR template
# elif defined(__HP_aCC)
/* Needed even with `aCC -AA' when `aCC -V' reports HP ANSI C++ B3910B A.03.55 */
/* If we find a maximum version that requires this, the test would be __HP_aCC <= 35500 for A.03.55 */
# define SWIGTEMPLATEDISAMBIGUATOR template
# else
# define SWIGTEMPLATEDISAMBIGUATOR
# endif
#endif
/* inline attribute */
#ifndef SWIGINLINE
# if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
# define SWIGINLINE inline
# else
# define SWIGINLINE
# endif
#endif
/* attribute recognised by some compilers to avoid 'unused' warnings */
#ifndef SWIGUNUSED
# if defined(__GNUC__)
# if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
# define SWIGUNUSED __attribute__ ((__unused__))
# else
# define SWIGUNUSED
# endif
# elif defined(__ICC)
# define SWIGUNUSED __attribute__ ((__unused__))
# else
# define SWIGUNUSED
# endif
#endif
#ifndef SWIG_MSC_UNSUPPRESS_4505
# if defined(_MSC_VER)
# pragma warning(disable : 4505) /* unreferenced local function has been removed */
# endif
#endif
#ifndef SWIGUNUSEDPARM
# ifdef __cplusplus
# define SWIGUNUSEDPARM(p)
# else
# define SWIGUNUSEDPARM(p) p SWIGUNUSED
# endif
#endif
/* internal SWIG method */
#ifndef SWIGINTERN
# define SWIGINTERN static SWIGUNUSED
#endif
/* internal inline SWIG method */
#ifndef SWIGINTERNINLINE
# define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
#endif
/* exporting methods */
#if defined(__GNUC__)
# if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
# ifndef GCC_HASCLASSVISIBILITY
# define GCC_HASCLASSVISIBILITY
# endif
# endif
#endif
#ifndef SWIGEXPORT
# if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
# if defined(STATIC_LINKED)
# define SWIGEXPORT
# else
# define SWIGEXPORT __declspec(dllexport)
# endif
# else
# if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
# define SWIGEXPORT __attribute__ ((visibility("default")))
# else
# define SWIGEXPORT
# endif
# endif
#endif
/* calling conventions for Windows */
#ifndef SWIGSTDCALL
# if defined(_WIN32) || defined(__WIN32__)
# define SWIGSTDCALL __stdcall
# else
# define SWIGSTDCALL
# endif
#endif
/* Deal with Microsoft's attempt at deprecating C standard runtime functions */
#if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER) && !defined(_CRT_SECURE_NO_DEPRECATE)
# define _CRT_SECURE_NO_DEPRECATE
#endif
/* Deal with Microsoft's attempt at deprecating methods in the standard C++ library */
#if !defined(SWIG_NO_SCL_SECURE_NO_DEPRECATE) && defined(_MSC_VER) && !defined(_SCL_SECURE_NO_DEPRECATE)
# define _SCL_SECURE_NO_DEPRECATE
#endif
/* Deal with Apple's deprecated 'AssertMacros.h' from Carbon-framework */
#if defined(__APPLE__) && !defined(__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES)
# define __ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES 0
#endif
/* Intel's compiler complains if a variable which was never initialised is
* cast to void, which is a common idiom which we use to indicate that we
* are aware a variable isn't used. So we just silence that warning.
* See: https://github.com/swig/swig/issues/192 for more discussion.
*/
#ifdef __INTEL_COMPILER
# pragma warning disable 592
#endif
/* Fix for jlong on some versions of gcc on Windows */
#if defined(__GNUC__) && !defined(__INTEL_COMPILER)
typedef long long __int64;
#endif
/* Fix for jlong on 64-bit x86 Solaris */
#if defined(__x86_64)
# ifdef _LP64
# undef _LP64
# endif
#endif
#include <jni.h>
#include <stdlib.h>
#include <string.h>
/* Support for throwing Java exceptions */
typedef enum {
SWIG_JavaOutOfMemoryError = 1,
SWIG_JavaIOException,
SWIG_JavaRuntimeException,
SWIG_JavaIndexOutOfBoundsException,
SWIG_JavaArithmeticException,
SWIG_JavaIllegalArgumentException,
SWIG_JavaNullPointerException,
SWIG_JavaDirectorPureVirtual,
SWIG_JavaUnknownError
} SWIG_JavaExceptionCodes;
typedef struct {
SWIG_JavaExceptionCodes code;
const char *java_exception;
} SWIG_JavaExceptions_t;
static void SWIGUNUSED SWIG_JavaThrowException(JNIEnv *jenv, SWIG_JavaExceptionCodes code, const char *msg) {
jclass excep;
static const SWIG_JavaExceptions_t java_exceptions[] = {
{ SWIG_JavaOutOfMemoryError, "java/lang/OutOfMemoryError" },
{ SWIG_JavaIOException, "java/io/IOException" },
{ SWIG_JavaRuntimeException, "java/lang/RuntimeException" },
{ SWIG_JavaIndexOutOfBoundsException, "java/lang/IndexOutOfBoundsException" },
{ SWIG_JavaArithmeticException, "java/lang/ArithmeticException" },
{ SWIG_JavaIllegalArgumentException, "java/lang/IllegalArgumentException" },
{ SWIG_JavaNullPointerException, "java/lang/NullPointerException" },
{ SWIG_JavaDirectorPureVirtual, "java/lang/RuntimeException" },
{ SWIG_JavaUnknownError, "java/lang/UnknownError" },
{ (SWIG_JavaExceptionCodes)0, "java/lang/UnknownError" }
};
const SWIG_JavaExceptions_t *except_ptr = java_exceptions;
while (except_ptr->code != code && except_ptr->code)
except_ptr++;
jenv->ExceptionClear();
excep = jenv->FindClass(except_ptr->java_exception);
if (excep)
jenv->ThrowNew(excep, msg);
}
/* Contract support */
#define SWIG_contract_assert(nullreturn, expr, msg) if (!(expr)) {SWIG_JavaThrowException(jenv, SWIG_JavaIllegalArgumentException, msg); return nullreturn; } else
/* -----------------------------------------------------------------------------
* director_common.swg
*
* This file contains support for director classes which is common between
* languages.
* ----------------------------------------------------------------------------- */
/*
Use -DSWIG_DIRECTOR_STATIC if you prefer to avoid the use of the
'Swig' namespace. This could be useful for multi-modules projects.
*/
#ifdef SWIG_DIRECTOR_STATIC
/* Force anonymous (static) namespace */
#define Swig
#endif
/* -----------------------------------------------------------------------------
* director.swg
*
* This file contains support for director classes so that Java proxy
* methods can be called from C++.
* ----------------------------------------------------------------------------- */
#if defined(DEBUG_DIRECTOR_OWNED) || defined(DEBUG_DIRECTOR_EXCEPTION)
#include <iostream>
#endif
#include <exception>
namespace Swig {
/* Java object wrapper */
class JObjectWrapper {
public:
JObjectWrapper() : jthis_(NULL), weak_global_(true) {
}
~JObjectWrapper() {
jthis_ = NULL;
weak_global_ = true;
}
bool set(JNIEnv *jenv, jobject jobj, bool mem_own, bool weak_global) {
if (!jthis_) {
weak_global_ = !mem_own; // hold as weak global if explicitly requested or not owned
if (jobj)
jthis_ = weak_global_ ? jenv->NewWeakGlobalRef(jobj) : jenv->NewGlobalRef(jobj);
#if defined(DEBUG_DIRECTOR_OWNED)
std::cout << "JObjectWrapper::set(" << jobj << ", " << (weak_global ? "weak_global" : "global_ref") << ") -> " << jthis_ << std::endl;
#endif
return true;
} else {
#if defined(DEBUG_DIRECTOR_OWNED)
std::cout << "JObjectWrapper::set(" << jobj << ", " << (weak_global ? "weak_global" : "global_ref") << ") -> already set" << std::endl;
#endif
return false;
}
}
jobject get(JNIEnv *jenv) const {
#if defined(DEBUG_DIRECTOR_OWNED)
std::cout << "JObjectWrapper::get(";
if (jthis_)
std::cout << jthis_;
else
std::cout << "null";
std::cout << ") -> return new local ref" << std::endl;
#endif
return (jthis_ ? jenv->NewLocalRef(jthis_) : jthis_);
}
void release(JNIEnv *jenv) {
#if defined(DEBUG_DIRECTOR_OWNED)
std::cout << "JObjectWrapper::release(" << jthis_ << "): " << (weak_global_ ? "weak global ref" : "global ref") << std::endl;
#endif
if (jthis_) {
if (weak_global_) {
if (jenv->IsSameObject(jthis_, NULL) == JNI_FALSE)
jenv->DeleteWeakGlobalRef((jweak)jthis_);
} else
jenv->DeleteGlobalRef(jthis_);
}
jthis_ = NULL;
weak_global_ = true;
}
/* Only call peek if you know what you are doing wrt to weak/global references */
jobject peek() {
return jthis_;
}
/* Java proxy releases ownership of C++ object, C++ object is now
responsible for destruction (creates NewGlobalRef to pin Java proxy) */
void java_change_ownership(JNIEnv *jenv, jobject jself, bool take_or_release) {
if (take_or_release) { /* Java takes ownership of C++ object's lifetime. */
if (!weak_global_) {
jenv->DeleteGlobalRef(jthis_);
jthis_ = jenv->NewWeakGlobalRef(jself);
weak_global_ = true;
}
} else {
/* Java releases ownership of C++ object's lifetime */
if (weak_global_) {
jenv->DeleteWeakGlobalRef((jweak)jthis_);
jthis_ = jenv->NewGlobalRef(jself);
weak_global_ = false;
}
}
}
private:
/* pointer to Java object */
jobject jthis_;
/* Local or global reference flag */
bool weak_global_;
};
/* Local JNI reference deleter */
class LocalRefGuard {
JNIEnv *jenv_;
jobject jobj_;
// non-copyable
LocalRefGuard(const LocalRefGuard &);
LocalRefGuard &operator=(const LocalRefGuard &);
public:
LocalRefGuard(JNIEnv *jenv, jobject jobj): jenv_(jenv), jobj_(jobj) {}
~LocalRefGuard() {
if (jobj_)
jenv_->DeleteLocalRef(jobj_);
}
};
/* director base class */
class Director {
/* pointer to Java virtual machine */
JavaVM *swig_jvm_;
protected:
#if defined (_MSC_VER) && (_MSC_VER<1300)
class JNIEnvWrapper;
friend class JNIEnvWrapper;
#endif
/* Utility class for managing the JNI environment */
class JNIEnvWrapper {
const Director *director_;
JNIEnv *jenv_;
int env_status;
public:
JNIEnvWrapper(const Director *director) : director_(director), jenv_(0), env_status(0) {
#if defined(__ANDROID__)
JNIEnv **jenv = &jenv_;
#else
void **jenv = (void **)&jenv_;
#endif
env_status = director_->swig_jvm_->GetEnv((void **)&jenv_, JNI_VERSION_1_2);
#if defined(SWIG_JAVA_ATTACH_CURRENT_THREAD_AS_DAEMON)
// Attach a daemon thread to the JVM. Useful when the JVM should not wait for
// the thread to exit upon shutdown. Only for jdk-1.4 and later.
director_->swig_jvm_->AttachCurrentThreadAsDaemon(jenv, NULL);
#else
director_->swig_jvm_->AttachCurrentThread(jenv, NULL);
#endif
}
~JNIEnvWrapper() {
#if !defined(SWIG_JAVA_NO_DETACH_CURRENT_THREAD)
// Some JVMs, eg jdk-1.4.2 and lower on Solaris have a bug and crash with the DetachCurrentThread call.
// However, without this call, the JVM hangs on exit when the thread was not created by the JVM and creates a memory leak.
if (env_status == JNI_EDETACHED)
director_->swig_jvm_->DetachCurrentThread();
#endif
}
JNIEnv *getJNIEnv() const {
return jenv_;
}
};
/* Java object wrapper */
JObjectWrapper swig_self_;
/* Disconnect director from Java object */
void swig_disconnect_director_self(const char *disconn_method) {
JNIEnvWrapper jnienv(this) ;
JNIEnv *jenv = jnienv.getJNIEnv() ;
jobject jobj = swig_self_.get(jenv);
LocalRefGuard ref_deleter(jenv, jobj);
#if defined(DEBUG_DIRECTOR_OWNED)
std::cout << "Swig::Director::disconnect_director_self(" << jobj << ")" << std::endl;
#endif
if (jobj && jenv->IsSameObject(jobj, NULL) == JNI_FALSE) {
jmethodID disconn_meth = jenv->GetMethodID(jenv->GetObjectClass(jobj), disconn_method, "()V");
if (disconn_meth) {
#if defined(DEBUG_DIRECTOR_OWNED)
std::cout << "Swig::Director::disconnect_director_self upcall to " << disconn_method << std::endl;
#endif
jenv->CallVoidMethod(jobj, disconn_meth);
}
}
}
public:
Director(JNIEnv *jenv) : swig_jvm_((JavaVM *) NULL), swig_self_() {
/* Acquire the Java VM pointer */
jenv->GetJavaVM(&swig_jvm_);
}
virtual ~Director() {
JNIEnvWrapper jnienv(this) ;
JNIEnv *jenv = jnienv.getJNIEnv() ;
swig_self_.release(jenv);
}
bool swig_set_self(JNIEnv *jenv, jobject jself, bool mem_own, bool weak_global) {
return swig_self_.set(jenv, jself, mem_own, weak_global);
}
jobject swig_get_self(JNIEnv *jenv) const {
return swig_self_.get(jenv);
}
// Change C++ object's ownership, relative to Java
void swig_java_change_ownership(JNIEnv *jenv, jobject jself, bool take_or_release) {
swig_self_.java_change_ownership(jenv, jself, take_or_release);
}
};
// Zero initialized bool array
template<size_t N> class BoolArray {
bool array_[N];
public:
BoolArray() {
memset(array_, 0, sizeof(array_));
}
bool& operator[](size_t n) {
return array_[n];
}
bool operator[](size_t n) const {
return array_[n];
}
};
// Utility classes and functions for exception handling.
// Simple holder for a Java string during exception handling, providing access to a c-style string
class JavaString {
public:
JavaString(JNIEnv *jenv, jstring jstr) : jenv_(jenv), jstr_(jstr), cstr_(0) {
if (jenv_ && jstr_)
cstr_ = (const char *) jenv_->GetStringUTFChars(jstr_, NULL);
}
~JavaString() {
if (jenv_ && jstr_ && cstr_)
jenv_->ReleaseStringUTFChars(jstr_, cstr_);
}
const char *c_str(const char *null_string = "null JavaString") const {
return cstr_ ? cstr_ : null_string;
}
private:
// non-copyable
JavaString(const JavaString &);
JavaString &operator=(const JavaString &);
JNIEnv *jenv_;
jstring jstr_;
const char *cstr_;
};
// Helper class to extract the exception message from a Java throwable
class JavaExceptionMessage {
public:
JavaExceptionMessage(JNIEnv *jenv, jthrowable throwable) : message_(jenv, exceptionMessageFromThrowable(jenv, throwable)) {
}
const char *message() const {
return message_.c_str("Could not get exception message in JavaExceptionMessage");
}
private:
// non-copyable
JavaExceptionMessage(const JavaExceptionMessage &);
JavaExceptionMessage &operator=(const JavaExceptionMessage &);
// Get exception message by calling Java method Throwable.getMessage()
static jstring exceptionMessageFromThrowable(JNIEnv *jenv, jthrowable throwable) {
jstring jmsg = NULL;
if (jenv && throwable) {
jenv->ExceptionClear(); // Cannot invoke methods with any pending exceptions
jclass throwclz = jenv->GetObjectClass(throwable);
if (throwclz) {
// All Throwable classes have a getMessage() method, so call it to extract the exception message
jmethodID getMessageMethodID = jenv->GetMethodID(throwclz, "getMessage", "()Ljava/lang/String;");
if (getMessageMethodID)
jmsg = (jstring)jenv->CallObjectMethod(throwable, getMessageMethodID);
}
if (jmsg == NULL && jenv->ExceptionCheck())
jenv->ExceptionClear();
}
return jmsg;
}
JavaString message_;
};
// C++ Exception class for handling Java exceptions thrown during a director method Java upcall
class DirectorException : public std::exception {
public:
// Construct exception from a Java throwable
DirectorException(JNIEnv *jenv, jthrowable throwable) : classname_(0), msg_(0) {
// Call Java method Object.getClass().getName() to obtain the throwable's class name (delimited by '/')
if (throwable) {
jclass throwclz = jenv->GetObjectClass(throwable);
if (throwclz) {
jclass clzclz = jenv->GetObjectClass(throwclz);
if (clzclz) {
jmethodID getNameMethodID = jenv->GetMethodID(clzclz, "getName", "()Ljava/lang/String;");
if (getNameMethodID) {
jstring jstr_classname = (jstring)(jenv->CallObjectMethod(throwclz, getNameMethodID));
// Copy strings, since there is no guarantee that jenv will be active when handled
if (jstr_classname) {
JavaString jsclassname(jenv, jstr_classname);
const char *classname = jsclassname.c_str(0);
if (classname)
classname_ = copypath(classname);
}
}
}
}
}
JavaExceptionMessage exceptionmsg(jenv, throwable);
msg_ = copystr(exceptionmsg.message());
}
// More general constructor for handling as a java.lang.RuntimeException
DirectorException(const char *msg) : classname_(0), msg_(copystr(msg ? msg : "Unspecified DirectorException message")) {
}
~DirectorException() throw() {
delete[] classname_;
delete[] msg_;
}
const char *what() const throw() {
return msg_;
}
// Reconstruct and raise/throw the Java Exception that caused the DirectorException
// Note that any error in the JNI exception handling results in a Java RuntimeException
void raiseJavaException(JNIEnv *jenv) const {
if (jenv) {
jenv->ExceptionClear();
jmethodID ctorMethodID = 0;
jclass throwableclass = 0;
if (classname_) {
throwableclass = jenv->FindClass(classname_);
if (throwableclass)
ctorMethodID = jenv->GetMethodID(throwableclass, "<init>", "(Ljava/lang/String;)V");
}
if (ctorMethodID) {
jenv->ThrowNew(throwableclass, what());
} else {
SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, what());
}
}
}
private:
static char *copypath(const char *srcmsg) {
char *target = copystr(srcmsg);
for (char *c=target; *c; ++c) {
if ('.' == *c)
*c = '/';
}
return target;
}
static char *copystr(const char *srcmsg) {
char *target = 0;
if (srcmsg) {
size_t msglen = strlen(srcmsg) + 1;
target = new char[msglen];
strncpy(target, srcmsg, msglen);
}
return target;
}
const char *classname_;
const char *msg_;
};
// Helper method to determine if a Java throwable matches a particular Java class type
SWIGINTERN inline bool ExceptionMatches(JNIEnv *jenv, jthrowable throwable, const char *classname) {
bool matches = false;
if (throwable && jenv && classname) {
// Exceptions need to be cleared for correct behavior.
// The caller of ExceptionMatches should restore pending exceptions if desired -
// the caller already has the throwable.
jenv->ExceptionClear();
jclass clz = jenv->FindClass(classname);
if (clz) {
jclass classclz = jenv->GetObjectClass(clz);
jmethodID isInstanceMethodID = jenv->GetMethodID(classclz, "isInstance", "(Ljava/lang/Object;)Z");
if (isInstanceMethodID) {
matches = jenv->CallBooleanMethod(clz, isInstanceMethodID, throwable) != 0;
}
}
#if defined(DEBUG_DIRECTOR_EXCEPTION)
if (jenv->ExceptionCheck()) {
// Typically occurs when an invalid classname argument is passed resulting in a ClassNotFoundException
JavaExceptionMessage exc(jenv, jenv->ExceptionOccurred());
std::cout << "Error: ExceptionMatches: class '" << classname << "' : " << exc.message() << std::endl;
}
#endif
}
return matches;
}
}
namespace Swig {
namespace {
jclass jclass_DynamicsJNI = NULL;
jmethodID director_method_ids[3];
}
}
#if defined(SWIG_NOINCLUDE) || defined(SWIG_NOARRAYS)
static int SWIG_JavaArrayInBool (JNIEnv *jenv, jboolean **jarr, bool **carr, jbooleanArray input);
static void SWIG_JavaArrayArgoutBool (JNIEnv *jenv, jboolean *jarr, bool *carr, jbooleanArray input);
static jbooleanArray SWIG_JavaArrayOutBool (JNIEnv *jenv, bool *result, jsize sz);
static int SWIG_JavaArrayInSchar (JNIEnv *jenv, jbyte **jarr, signed char **carr, jbyteArray input);
static void SWIG_JavaArrayArgoutSchar (JNIEnv *jenv, jbyte *jarr, signed char *carr, jbyteArray input);
static jbyteArray SWIG_JavaArrayOutSchar (JNIEnv *jenv, signed char *result, jsize sz);
static int SWIG_JavaArrayInUchar (JNIEnv *jenv, jshort **jarr, unsigned char **carr, jshortArray input);
static void SWIG_JavaArrayArgoutUchar (JNIEnv *jenv, jshort *jarr, unsigned char *carr, jshortArray input);
static jshortArray SWIG_JavaArrayOutUchar (JNIEnv *jenv, unsigned char *result, jsize sz);
static int SWIG_JavaArrayInShort (JNIEnv *jenv, jshort **jarr, short **carr, jshortArray input);
static void SWIG_JavaArrayArgoutShort (JNIEnv *jenv, jshort *jarr, short *carr, jshortArray input);
static jshortArray SWIG_JavaArrayOutShort (JNIEnv *jenv, short *result, jsize sz);
static int SWIG_JavaArrayInUshort (JNIEnv *jenv, jint **jarr, unsigned short **carr, jintArray input);
static void SWIG_JavaArrayArgoutUshort (JNIEnv *jenv, jint *jarr, unsigned short *carr, jintArray input);
static jintArray SWIG_JavaArrayOutUshort (JNIEnv *jenv, unsigned short *result, jsize sz);
static int SWIG_JavaArrayInInt (JNIEnv *jenv, jint **jarr, int **carr, jintArray input);
static void SWIG_JavaArrayArgoutInt (JNIEnv *jenv, jint *jarr, int *carr, jintArray input);
static jintArray SWIG_JavaArrayOutInt (JNIEnv *jenv, int *result, jsize sz);
static int SWIG_JavaArrayInUint (JNIEnv *jenv, jlong **jarr, unsigned int **carr, jlongArray input);
static void SWIG_JavaArrayArgoutUint (JNIEnv *jenv, jlong *jarr, unsigned int *carr, jlongArray input);
static jlongArray SWIG_JavaArrayOutUint (JNIEnv *jenv, unsigned int *result, jsize sz);
static int SWIG_JavaArrayInLong (JNIEnv *jenv, jint **jarr, long **carr, jintArray input);
static void SWIG_JavaArrayArgoutLong (JNIEnv *jenv, jint *jarr, long *carr, jintArray input);
static jintArray SWIG_JavaArrayOutLong (JNIEnv *jenv, long *result, jsize sz);
static int SWIG_JavaArrayInUlong (JNIEnv *jenv, jlong **jarr, unsigned long **carr, jlongArray input);
static void SWIG_JavaArrayArgoutUlong (JNIEnv *jenv, jlong *jarr, unsigned long *carr, jlongArray input);
static jlongArray SWIG_JavaArrayOutUlong (JNIEnv *jenv, unsigned long *result, jsize sz);
static int SWIG_JavaArrayInLonglong (JNIEnv *jenv, jlong **jarr, jlong **carr, jlongArray input);
static void SWIG_JavaArrayArgoutLonglong (JNIEnv *jenv, jlong *jarr, jlong *carr, jlongArray input);
static jlongArray SWIG_JavaArrayOutLonglong (JNIEnv *jenv, jlong *result, jsize sz);
static int SWIG_JavaArrayInFloat (JNIEnv *jenv, jfloat **jarr, float **carr, jfloatArray input);
static void SWIG_JavaArrayArgoutFloat (JNIEnv *jenv, jfloat *jarr, float *carr, jfloatArray input);
static jfloatArray SWIG_JavaArrayOutFloat (JNIEnv *jenv, float *result, jsize sz);
static int SWIG_JavaArrayInDouble (JNIEnv *jenv, jdouble **jarr, double **carr, jdoubleArray input);
static void SWIG_JavaArrayArgoutDouble (JNIEnv *jenv, jdouble *jarr, double *carr, jdoubleArray input);
static jdoubleArray SWIG_JavaArrayOutDouble (JNIEnv *jenv, double *result, jsize sz);
#else
/* bool[] support */
static int SWIG_JavaArrayInBool (JNIEnv *jenv, jboolean **jarr, bool **carr, jbooleanArray input) {
int i;
jsize sz;
if (!input) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null array");
return 0;
}
sz = jenv->GetArrayLength(input);
*jarr = jenv->GetBooleanArrayElements(input, 0);
if (!*jarr)
return 0;
*carr = new bool[sz];
if (!*carr) {
SWIG_JavaThrowException(jenv, SWIG_JavaOutOfMemoryError, "array memory allocation failed");
return 0;
}
for (i=0; i<sz; i++)
(*carr)[i] = ((*jarr)[i] != 0);
return 1;
}
static void SWIG_JavaArrayArgoutBool (JNIEnv *jenv, jboolean *jarr, bool *carr, jbooleanArray input) {
int i;
jsize sz = jenv->GetArrayLength(input);
for (i=0; i<sz; i++)
jarr[i] = (jboolean)carr[i];
jenv->ReleaseBooleanArrayElements(input, jarr, 0);
}
static jbooleanArray SWIG_JavaArrayOutBool (JNIEnv *jenv, bool *result, jsize sz) {
jboolean *arr;
int i;
jbooleanArray jresult = jenv->NewBooleanArray(sz);
if (!jresult)
return NULL;
arr = jenv->GetBooleanArrayElements(jresult, 0);
if (!arr)
return NULL;
for (i=0; i<sz; i++)
arr[i] = (jboolean)result[i];
jenv->ReleaseBooleanArrayElements(jresult, arr, 0);
return jresult;
}
/* signed char[] support */
static int SWIG_JavaArrayInSchar (JNIEnv *jenv, jbyte **jarr, signed char **carr, jbyteArray input) {
int i;
jsize sz;
if (!input) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null array");
return 0;
}
sz = jenv->GetArrayLength(input);
*jarr = jenv->GetByteArrayElements(input, 0);
if (!*jarr)
return 0;
*carr = new signed char[sz];
if (!*carr) {
SWIG_JavaThrowException(jenv, SWIG_JavaOutOfMemoryError, "array memory allocation failed");
return 0;
}
for (i=0; i<sz; i++)
(*carr)[i] = (signed char)(*jarr)[i];
return 1;
}
static void SWIG_JavaArrayArgoutSchar (JNIEnv *jenv, jbyte *jarr, signed char *carr, jbyteArray input) {
int i;
jsize sz = jenv->GetArrayLength(input);
for (i=0; i<sz; i++)
jarr[i] = (jbyte)carr[i];
jenv->ReleaseByteArrayElements(input, jarr, 0);
}
static jbyteArray SWIG_JavaArrayOutSchar (JNIEnv *jenv, signed char *result, jsize sz) {
jbyte *arr;
int i;
jbyteArray jresult = jenv->NewByteArray(sz);
if (!jresult)
return NULL;
arr = jenv->GetByteArrayElements(jresult, 0);
if (!arr)
return NULL;
for (i=0; i<sz; i++)
arr[i] = (jbyte)result[i];
jenv->ReleaseByteArrayElements(jresult, arr, 0);
return jresult;
}
/* unsigned char[] support */
static int SWIG_JavaArrayInUchar (JNIEnv *jenv, jshort **jarr, unsigned char **carr, jshortArray input) {
int i;
jsize sz;
if (!input) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null array");
return 0;
}
sz = jenv->GetArrayLength(input);
*jarr = jenv->GetShortArrayElements(input, 0);
if (!*jarr)
return 0;
*carr = new unsigned char[sz];
if (!*carr) {
SWIG_JavaThrowException(jenv, SWIG_JavaOutOfMemoryError, "array memory allocation failed");
return 0;
}
for (i=0; i<sz; i++)
(*carr)[i] = (unsigned char)(*jarr)[i];
return 1;
}
static void SWIG_JavaArrayArgoutUchar (JNIEnv *jenv, jshort *jarr, unsigned char *carr, jshortArray input) {
int i;
jsize sz = jenv->GetArrayLength(input);
for (i=0; i<sz; i++)
jarr[i] = (jshort)carr[i];
jenv->ReleaseShortArrayElements(input, jarr, 0);
}
static jshortArray SWIG_JavaArrayOutUchar (JNIEnv *jenv, unsigned char *result, jsize sz) {
jshort *arr;
int i;
jshortArray jresult = jenv->NewShortArray(sz);
if (!jresult)
return NULL;
arr = jenv->GetShortArrayElements(jresult, 0);
if (!arr)
return NULL;
for (i=0; i<sz; i++)
arr[i] = (jshort)result[i];
jenv->ReleaseShortArrayElements(jresult, arr, 0);
return jresult;
}
/* short[] support */
static int SWIG_JavaArrayInShort (JNIEnv *jenv, jshort **jarr, short **carr, jshortArray input) {
int i;
jsize sz;
if (!input) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null array");
return 0;
}
sz = jenv->GetArrayLength(input);
*jarr = jenv->GetShortArrayElements(input, 0);
if (!*jarr)
return 0;
*carr = new short[sz];
if (!*carr) {
SWIG_JavaThrowException(jenv, SWIG_JavaOutOfMemoryError, "array memory allocation failed");
return 0;
}
for (i=0; i<sz; i++)
(*carr)[i] = (short)(*jarr)[i];
return 1;
}
static void SWIG_JavaArrayArgoutShort (JNIEnv *jenv, jshort *jarr, short *carr, jshortArray input) {
int i;
jsize sz = jenv->GetArrayLength(input);
for (i=0; i<sz; i++)
jarr[i] = (jshort)carr[i];
jenv->ReleaseShortArrayElements(input, jarr, 0);
}
static jshortArray SWIG_JavaArrayOutShort (JNIEnv *jenv, short *result, jsize sz) {
jshort *arr;
int i;
jshortArray jresult = jenv->NewShortArray(sz);
if (!jresult)
return NULL;
arr = jenv->GetShortArrayElements(jresult, 0);
if (!arr)
return NULL;
for (i=0; i<sz; i++)
arr[i] = (jshort)result[i];
jenv->ReleaseShortArrayElements(jresult, arr, 0);
return jresult;
}
/* unsigned short[] support */
static int SWIG_JavaArrayInUshort (JNIEnv *jenv, jint **jarr, unsigned short **carr, jintArray input) {
int i;
jsize sz;
if (!input) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null array");
return 0;
}
sz = jenv->GetArrayLength(input);
*jarr = jenv->GetIntArrayElements(input, 0);
if (!*jarr)
return 0;
*carr = new unsigned short[sz];
if (!*carr) {
SWIG_JavaThrowException(jenv, SWIG_JavaOutOfMemoryError, "array memory allocation failed");
return 0;
}
for (i=0; i<sz; i++)
(*carr)[i] = (unsigned short)(*jarr)[i];
return 1;
}
static void SWIG_JavaArrayArgoutUshort (JNIEnv *jenv, jint *jarr, unsigned short *carr, jintArray input) {
int i;
jsize sz = jenv->GetArrayLength(input);
for (i=0; i<sz; i++)
jarr[i] = (jint)carr[i];
jenv->ReleaseIntArrayElements(input, jarr, 0);
}
static jintArray SWIG_JavaArrayOutUshort (JNIEnv *jenv, unsigned short *result, jsize sz) {
jint *arr;
int i;
jintArray jresult = jenv->NewIntArray(sz);
if (!jresult)
return NULL;
arr = jenv->GetIntArrayElements(jresult, 0);
if (!arr)
return NULL;
for (i=0; i<sz; i++)
arr[i] = (jint)result[i];
jenv->ReleaseIntArrayElements(jresult, arr, 0);
return jresult;
}
/* int[] support */
static int SWIG_JavaArrayInInt (JNIEnv *jenv, jint **jarr, int **carr, jintArray input) {
int i;
jsize sz;
if (!input) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null array");
return 0;
}
sz = jenv->GetArrayLength(input);
*jarr = jenv->GetIntArrayElements(input, 0);
if (!*jarr)
return 0;
*carr = new int[sz];
if (!*carr) {
SWIG_JavaThrowException(jenv, SWIG_JavaOutOfMemoryError, "array memory allocation failed");
return 0;
}
for (i=0; i<sz; i++)
(*carr)[i] = (int)(*jarr)[i];
return 1;
}
static void SWIG_JavaArrayArgoutInt (JNIEnv *jenv, jint *jarr, int *carr, jintArray input) {
int i;
jsize sz = jenv->GetArrayLength(input);
for (i=0; i<sz; i++)
jarr[i] = (jint)carr[i];
jenv->ReleaseIntArrayElements(input, jarr, 0);
}
static jintArray SWIG_JavaArrayOutInt (JNIEnv *jenv, int *result, jsize sz) {
jint *arr;
int i;
jintArray jresult = jenv->NewIntArray(sz);
if (!jresult)
return NULL;
arr = jenv->GetIntArrayElements(jresult, 0);
if (!arr)
return NULL;
for (i=0; i<sz; i++)
arr[i] = (jint)result[i];
jenv->ReleaseIntArrayElements(jresult, arr, 0);
return jresult;
}
/* unsigned int[] support */
static int SWIG_JavaArrayInUint (JNIEnv *jenv, jlong **jarr, unsigned int **carr, jlongArray input) {
int i;
jsize sz;
if (!input) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null array");
return 0;
}
sz = jenv->GetArrayLength(input);
*jarr = jenv->GetLongArrayElements(input, 0);
if (!*jarr)
return 0;
*carr = new unsigned int[sz];
if (!*carr) {
SWIG_JavaThrowException(jenv, SWIG_JavaOutOfMemoryError, "array memory allocation failed");
return 0;
}
for (i=0; i<sz; i++)
(*carr)[i] = (unsigned int)(*jarr)[i];
return 1;
}
static void SWIG_JavaArrayArgoutUint (JNIEnv *jenv, jlong *jarr, unsigned int *carr, jlongArray input) {
int i;
jsize sz = jenv->GetArrayLength(input);
for (i=0; i<sz; i++)
jarr[i] = (jlong)carr[i];
jenv->ReleaseLongArrayElements(input, jarr, 0);
}
static jlongArray SWIG_JavaArrayOutUint (JNIEnv *jenv, unsigned int *result, jsize sz) {
jlong *arr;
int i;
jlongArray jresult = jenv->NewLongArray(sz);
if (!jresult)
return NULL;
arr = jenv->GetLongArrayElements(jresult, 0);
if (!arr)
return NULL;
for (i=0; i<sz; i++)
arr[i] = (jlong)result[i];
jenv->ReleaseLongArrayElements(jresult, arr, 0);
return jresult;
}
/* long[] support */
static int SWIG_JavaArrayInLong (JNIEnv *jenv, jint **jarr, long **carr, jintArray input) {
int i;
jsize sz;
if (!input) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null array");
return 0;
}
sz = jenv->GetArrayLength(input);
*jarr = jenv->GetIntArrayElements(input, 0);
if (!*jarr)
return 0;
*carr = new long[sz];
if (!*carr) {
SWIG_JavaThrowException(jenv, SWIG_JavaOutOfMemoryError, "array memory allocation failed");
return 0;
}
for (i=0; i<sz; i++)
(*carr)[i] = (long)(*jarr)[i];
return 1;
}
static void SWIG_JavaArrayArgoutLong (JNIEnv *jenv, jint *jarr, long *carr, jintArray input) {
int i;
jsize sz = jenv->GetArrayLength(input);
for (i=0; i<sz; i++)
jarr[i] = (jint)carr[i];
jenv->ReleaseIntArrayElements(input, jarr, 0);
}
static jintArray SWIG_JavaArrayOutLong (JNIEnv *jenv, long *result, jsize sz) {
jint *arr;
int i;
jintArray jresult = jenv->NewIntArray(sz);
if (!jresult)
return NULL;
arr = jenv->GetIntArrayElements(jresult, 0);
if (!arr)
return NULL;
for (i=0; i<sz; i++)
arr[i] = (jint)result[i];
jenv->ReleaseIntArrayElements(jresult, arr, 0);
return jresult;
}
/* unsigned long[] support */
static int SWIG_JavaArrayInUlong (JNIEnv *jenv, jlong **jarr, unsigned long **carr, jlongArray input) {
int i;
jsize sz;
if (!input) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null array");
return 0;
}
sz = jenv->GetArrayLength(input);
*jarr = jenv->GetLongArrayElements(input, 0);
if (!*jarr)
return 0;
*carr = new unsigned long[sz];
if (!*carr) {
SWIG_JavaThrowException(jenv, SWIG_JavaOutOfMemoryError, "array memory allocation failed");
return 0;
}
for (i=0; i<sz; i++)
(*carr)[i] = (unsigned long)(*jarr)[i];
return 1;
}
static void SWIG_JavaArrayArgoutUlong (JNIEnv *jenv, jlong *jarr, unsigned long *carr, jlongArray input) {
int i;
jsize sz = jenv->GetArrayLength(input);
for (i=0; i<sz; i++)
jarr[i] = (jlong)carr[i];
jenv->ReleaseLongArrayElements(input, jarr, 0);
}
static jlongArray SWIG_JavaArrayOutUlong (JNIEnv *jenv, unsigned long *result, jsize sz) {
jlong *arr;
int i;
jlongArray jresult = jenv->NewLongArray(sz);
if (!jresult)
return NULL;
arr = jenv->GetLongArrayElements(jresult, 0);
if (!arr)
return NULL;
for (i=0; i<sz; i++)
arr[i] = (jlong)result[i];
jenv->ReleaseLongArrayElements(jresult, arr, 0);
return jresult;
}
/* jlong[] support */
static int SWIG_JavaArrayInLonglong (JNIEnv *jenv, jlong **jarr, jlong **carr, jlongArray input) {
int i;
jsize sz;
if (!input) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null array");
return 0;
}
sz = jenv->GetArrayLength(input);
*jarr = jenv->GetLongArrayElements(input, 0);
if (!*jarr)
return 0;
*carr = new jlong[sz];
if (!*carr) {
SWIG_JavaThrowException(jenv, SWIG_JavaOutOfMemoryError, "array memory allocation failed");
return 0;
}
for (i=0; i<sz; i++)
(*carr)[i] = (jlong)(*jarr)[i];
return 1;
}
static void SWIG_JavaArrayArgoutLonglong (JNIEnv *jenv, jlong *jarr, jlong *carr, jlongArray input) {
int i;
jsize sz = jenv->GetArrayLength(input);
for (i=0; i<sz; i++)
jarr[i] = (jlong)carr[i];
jenv->ReleaseLongArrayElements(input, jarr, 0);
}
static jlongArray SWIG_JavaArrayOutLonglong (JNIEnv *jenv, jlong *result, jsize sz) {
jlong *arr;
int i;
jlongArray jresult = jenv->NewLongArray(sz);
if (!jresult)
return NULL;
arr = jenv->GetLongArrayElements(jresult, 0);
if (!arr)
return NULL;
for (i=0; i<sz; i++)
arr[i] = (jlong)result[i];
jenv->ReleaseLongArrayElements(jresult, arr, 0);
return jresult;
}
/* float[] support */
static int SWIG_JavaArrayInFloat (JNIEnv *jenv, jfloat **jarr, float **carr, jfloatArray input) {
int i;
jsize sz;
if (!input) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null array");
return 0;
}
sz = jenv->GetArrayLength(input);
*jarr = jenv->GetFloatArrayElements(input, 0);
if (!*jarr)
return 0;
*carr = new float[sz];
if (!*carr) {
SWIG_JavaThrowException(jenv, SWIG_JavaOutOfMemoryError, "array memory allocation failed");
return 0;
}
for (i=0; i<sz; i++)
(*carr)[i] = (float)(*jarr)[i];
return 1;
}
static void SWIG_JavaArrayArgoutFloat (JNIEnv *jenv, jfloat *jarr, float *carr, jfloatArray input) {
int i;
jsize sz = jenv->GetArrayLength(input);
for (i=0; i<sz; i++)
jarr[i] = (jfloat)carr[i];
jenv->ReleaseFloatArrayElements(input, jarr, 0);
}
static jfloatArray SWIG_JavaArrayOutFloat (JNIEnv *jenv, float *result, jsize sz) {
jfloat *arr;
int i;
jfloatArray jresult = jenv->NewFloatArray(sz);
if (!jresult)
return NULL;
arr = jenv->GetFloatArrayElements(jresult, 0);
if (!arr)
return NULL;
for (i=0; i<sz; i++)
arr[i] = (jfloat)result[i];
jenv->ReleaseFloatArrayElements(jresult, arr, 0);
return jresult;
}
/* double[] support */
static int SWIG_JavaArrayInDouble (JNIEnv *jenv, jdouble **jarr, double **carr, jdoubleArray input) {
int i;
jsize sz;
if (!input) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null array");
return 0;
}
sz = jenv->GetArrayLength(input);
*jarr = jenv->GetDoubleArrayElements(input, 0);
if (!*jarr)
return 0;
*carr = new double[sz];
if (!*carr) {
SWIG_JavaThrowException(jenv, SWIG_JavaOutOfMemoryError, "array memory allocation failed");
return 0;
}
for (i=0; i<sz; i++)
(*carr)[i] = (double)(*jarr)[i];
return 1;
}
static void SWIG_JavaArrayArgoutDouble (JNIEnv *jenv, jdouble *jarr, double *carr, jdoubleArray input) {
int i;
jsize sz = jenv->GetArrayLength(input);
for (i=0; i<sz; i++)
jarr[i] = (jdouble)carr[i];
jenv->ReleaseDoubleArrayElements(input, jarr, 0);
}
static jdoubleArray SWIG_JavaArrayOutDouble (JNIEnv *jenv, double *result, jsize sz) {
jdouble *arr;
int i;
jdoubleArray jresult = jenv->NewDoubleArray(sz);
if (!jresult)
return NULL;
arr = jenv->GetDoubleArrayElements(jresult, 0);
if (!arr)
return NULL;
for (i=0; i<sz; i++)
arr[i] = (jdouble)result[i];
jenv->ReleaseDoubleArrayElements(jresult, arr, 0);
return jresult;
}
#endif
#include <gdx/common/jniHelpers.h>
#include <stdint.h>
#include <gdx/linearmath/mathtypes.h>
#include <LinearMath/btVector3.h>
#include <LinearMath/btQuaternion.h>
#include <LinearMath/btMatrix3x3.h>
#include <LinearMath/btTransform.h>
#include <BulletDynamics/Dynamics/btRigidBody.h>
/* Gets a global ref to the temp class. Do not release this. */
SWIGINTERN inline jclass gdx_getTempClassVector3(JNIEnv * jenv) {
static jclass cls = NULL;
if (cls == NULL) {
cls = (jclass) jenv->NewGlobalRef(jenv->FindClass("com/badlogic/gdx/physics/bullet/linearmath/LinearMath"));
}
return cls;
}
SWIGINTERN inline jobject gdx_takePoolObjectVector3(JNIEnv * jenv, const char * poolName) {
jclass tempClass = gdx_getTempClassVector3(jenv);
static jfieldID poolField = NULL;
if (poolField == NULL) {
poolField = jenv->GetStaticFieldID(tempClass, poolName, "Lcom/badlogic/gdx/utils/Pool;");
}
jobject poolObject = jenv->GetStaticObjectField(tempClass, poolField);
jclass poolClass = jenv->GetObjectClass(poolObject);
static jmethodID obtainMethod = NULL;
if (obtainMethod == NULL) {
obtainMethod = (jmethodID) jenv->GetMethodID(poolClass, "obtain", "()Ljava/lang/Object;");
}
jobject ret = jenv->CallObjectMethod(poolObject, obtainMethod);
jenv->DeleteLocalRef(poolObject);
jenv->DeleteLocalRef(poolClass);
return ret;
}
SWIGINTERN inline void gdx_releasePoolObjectVector3(JNIEnv * jenv, const char * poolName, jobject obj) {
jclass tempClass = gdx_getTempClassVector3(jenv);
static jfieldID poolField = NULL;
if (poolField == NULL) {
poolField = jenv->GetStaticFieldID(tempClass, poolName, "Lcom/badlogic/gdx/utils/Pool;");
}
jobject poolObject = jenv->GetStaticObjectField(tempClass, poolField);
jclass poolClass = jenv->GetObjectClass(poolObject);
static jmethodID freeMethod = NULL;
if (freeMethod == NULL) {
freeMethod = (jmethodID) jenv->GetMethodID(poolClass, "free", "(Ljava/lang/Object;)V");
}
jenv->CallVoidMethod(poolObject, freeMethod, obj);
jenv->DeleteLocalRef(poolObject);
jenv->DeleteLocalRef(poolClass);
jenv->DeleteLocalRef(obj);
}
/*
* A simple RAII wrapper to release jobjects we obtain from pools in
* directorin typemaps. SWIG doesn't have hooks to release them after
* they're used.
*/
class gdxPoolAutoReleaseVector3 {
private:
JNIEnv * jenv;
const char * poolName;
jobject obj;
public:
gdxPoolAutoReleaseVector3(JNIEnv * jenv, const char * poolName, jobject obj) :
jenv(jenv), poolName(poolName), obj(obj) { };
virtual ~gdxPoolAutoReleaseVector3() {
gdx_releasePoolObjectVector3(this->jenv, this->poolName, this->obj);
};
};
// Workaround for some strange swig behaviour
/* Gets a global ref to the temp class's Return Vector3. Do not release this. */
SWIGINTERN inline jobject gdx_getReturnVector3(JNIEnv * jenv) {
static jobject ret = NULL;
if (ret == NULL) {
jclass tempClass = gdx_getTempClassVector3(jenv);
jfieldID field = jenv->GetStaticFieldID(tempClass, "staticVector3", "Lcom/badlogic/gdx/math/Vector3;");
ret = jenv->NewGlobalRef(jenv->GetStaticObjectField(tempClass, field));
}
return ret;
}
/* Sets the data in the Bullet type from the Gdx type. */
SWIGINTERN inline void gdx_setbtVector3FromVector3(JNIEnv * jenv, btVector3 & target, jobject source) {
Vector3_to_btVector3(jenv, target, source);
}
SWIGINTERN inline void gdx_setbtVector3FromVector3(JNIEnv * jenv, btVector3 * target, jobject source) {
gdx_setbtVector3FromVector3(jenv, *target, source);
}
/* Sets the data in the Gdx type from the Bullet type. */
SWIGINTERN inline void gdx_setVector3FrombtVector3(JNIEnv * jenv, jobject target, const btVector3 & source) {
btVector3_to_Vector3(jenv, target, source);
}
SWIGINTERN inline void gdx_setVector3FrombtVector3(JNIEnv * jenv, jobject target, const btVector3 * source) {
gdx_setVector3FrombtVector3(jenv, target, *source);
}
/*
* RAII wrapper to commit changes made to a local btVector3 back to Vector3
*/
class gdxAutoCommitVector3 {
private:
JNIEnv * jenv;
jobject jVector3;
btVector3 & cbtVector3;
public:
gdxAutoCommitVector3(JNIEnv * jenv, jobject jVector3, btVector3 & cbtVector3) :
jenv(jenv), jVector3(jVector3), cbtVector3(cbtVector3) { };
gdxAutoCommitVector3(JNIEnv * jenv, jobject jVector3, btVector3 * cbtVector3) :
jenv(jenv), jVector3(jVector3), cbtVector3(*cbtVector3) { };
virtual ~gdxAutoCommitVector3() {
gdx_setVector3FrombtVector3(this->jenv, this->jVector3, this->cbtVector3);
};
};
class gdxAutoCommitbtVector3AndReleaseVector3 {
private:
JNIEnv * jenv;
jobject jVector3;
btVector3 & cbtVector3;
const char * poolName;
public:
gdxAutoCommitbtVector3AndReleaseVector3(JNIEnv * jenv, jobject jVector3, btVector3 & cbtVector3, const char *poolName) :
jenv(jenv), jVector3(jVector3), cbtVector3(cbtVector3), poolName(poolName) { };
gdxAutoCommitbtVector3AndReleaseVector3(JNIEnv * jenv, jobject jVector3, btVector3 * cbtVector3, const char *poolName) :
jenv(jenv), jVector3(jVector3), cbtVector3(*cbtVector3), poolName(poolName) { };
virtual ~gdxAutoCommitbtVector3AndReleaseVector3() {
gdx_setbtVector3FromVector3(this->jenv, this->cbtVector3, this->jVector3);
gdx_releasePoolObjectVector3(this->jenv, this->poolName, this->jVector3);
};
};
SWIGINTERN btRigidBody::btRigidBodyConstructionInfo *new_btRigidBody_btRigidBodyConstructionInfo__SWIG_0(bool dummy,btScalar mass,btMotionState *motionState,btCollisionShape *collisionShape,btVector3 const &localInertia=btVector3(0,0,0)){
return new btRigidBody::btRigidBodyConstructionInfo(mass, motionState, collisionShape, localInertia);
}
/* Gets a global ref to the temp class. Do not release this. */
SWIGINTERN inline jclass gdx_getTempClassMatrix4(JNIEnv * jenv) {
static jclass cls = NULL;
if (cls == NULL) {
cls = (jclass) jenv->NewGlobalRef(jenv->FindClass("com/badlogic/gdx/physics/bullet/linearmath/LinearMath"));
}
return cls;
}
SWIGINTERN inline jobject gdx_takePoolObjectMatrix4(JNIEnv * jenv, const char * poolName) {
jclass tempClass = gdx_getTempClassMatrix4(jenv);
static jfieldID poolField = NULL;
if (poolField == NULL) {
poolField = jenv->GetStaticFieldID(tempClass, poolName, "Lcom/badlogic/gdx/utils/Pool;");
}
jobject poolObject = jenv->GetStaticObjectField(tempClass, poolField);
jclass poolClass = jenv->GetObjectClass(poolObject);
static jmethodID obtainMethod = NULL;
if (obtainMethod == NULL) {
obtainMethod = (jmethodID) jenv->GetMethodID(poolClass, "obtain", "()Ljava/lang/Object;");
}
jobject ret = jenv->CallObjectMethod(poolObject, obtainMethod);
jenv->DeleteLocalRef(poolObject);
jenv->DeleteLocalRef(poolClass);
return ret;
}
SWIGINTERN inline void gdx_releasePoolObjectMatrix4(JNIEnv * jenv, const char * poolName, jobject obj) {
jclass tempClass = gdx_getTempClassMatrix4(jenv);
static jfieldID poolField = NULL;
if (poolField == NULL) {
poolField = jenv->GetStaticFieldID(tempClass, poolName, "Lcom/badlogic/gdx/utils/Pool;");
}
jobject poolObject = jenv->GetStaticObjectField(tempClass, poolField);
jclass poolClass = jenv->GetObjectClass(poolObject);
static jmethodID freeMethod = NULL;
if (freeMethod == NULL) {
freeMethod = (jmethodID) jenv->GetMethodID(poolClass, "free", "(Ljava/lang/Object;)V");
}
jenv->CallVoidMethod(poolObject, freeMethod, obj);
jenv->DeleteLocalRef(poolObject);
jenv->DeleteLocalRef(poolClass);
jenv->DeleteLocalRef(obj);
}
/*
* A simple RAII wrapper to release jobjects we obtain from pools in
* directorin typemaps. SWIG doesn't have hooks to release them after
* they're used.
*/
class gdxPoolAutoReleaseMatrix4 {
private:
JNIEnv * jenv;
const char * poolName;
jobject obj;
public:
gdxPoolAutoReleaseMatrix4(JNIEnv * jenv, const char * poolName, jobject obj) :
jenv(jenv), poolName(poolName), obj(obj) { };
virtual ~gdxPoolAutoReleaseMatrix4() {
gdx_releasePoolObjectMatrix4(this->jenv, this->poolName, this->obj);
};
};
// Workaround for some strange swig behaviour
/* Gets a global ref to the temp class's Return Matrix4. Do not release this. */
SWIGINTERN inline jobject gdx_getReturnMatrix4(JNIEnv * jenv) {
static jobject ret = NULL;
if (ret == NULL) {
jclass tempClass = gdx_getTempClassMatrix4(jenv);
jfieldID field = jenv->GetStaticFieldID(tempClass, "staticMatrix4", "Lcom/badlogic/gdx/math/Matrix4;");
ret = jenv->NewGlobalRef(jenv->GetStaticObjectField(tempClass, field));
}
return ret;
}
/* Sets the data in the Bullet type from the Gdx type. */
SWIGINTERN inline void gdx_setbtTransformFromMatrix4(JNIEnv * jenv, btTransform & target, jobject source) {
Matrix4_to_btTransform(jenv, target, source);
}
SWIGINTERN inline void gdx_setbtTransformFromMatrix4(JNIEnv * jenv, btTransform * target, jobject source) {
gdx_setbtTransformFromMatrix4(jenv, *target, source);
}
/* Sets the data in the Gdx type from the Bullet type. */
SWIGINTERN inline void gdx_setMatrix4FrombtTransform(JNIEnv * jenv, jobject target, const btTransform & source) {
btTransform_to_Matrix4(jenv, target, source);
}
SWIGINTERN inline void gdx_setMatrix4FrombtTransform(JNIEnv * jenv, jobject target, const btTransform * source) {
gdx_setMatrix4FrombtTransform(jenv, target, *source);
}
/*
* RAII wrapper to commit changes made to a local btTransform back to Matrix4
*/
class gdxAutoCommitMatrix4 {
private:
JNIEnv * jenv;
jobject jMatrix4;
btTransform & cbtTransform;
public:
gdxAutoCommitMatrix4(JNIEnv * jenv, jobject jMatrix4, btTransform & cbtTransform) :
jenv(jenv), jMatrix4(jMatrix4), cbtTransform(cbtTransform) { };
gdxAutoCommitMatrix4(JNIEnv * jenv, jobject jMatrix4, btTransform * cbtTransform) :
jenv(jenv), jMatrix4(jMatrix4), cbtTransform(*cbtTransform) { };
virtual ~gdxAutoCommitMatrix4() {
gdx_setMatrix4FrombtTransform(this->jenv, this->jMatrix4, this->cbtTransform);
};
};
class gdxAutoCommitbtTransformAndReleaseMatrix4 {
private:
JNIEnv * jenv;
jobject jMatrix4;
btTransform & cbtTransform;
const char * poolName;
public:
gdxAutoCommitbtTransformAndReleaseMatrix4(JNIEnv * jenv, jobject jMatrix4, btTransform & cbtTransform, const char *poolName) :
jenv(jenv), jMatrix4(jMatrix4), cbtTransform(cbtTransform), poolName(poolName) { };
gdxAutoCommitbtTransformAndReleaseMatrix4(JNIEnv * jenv, jobject jMatrix4, btTransform * cbtTransform, const char *poolName) :
jenv(jenv), jMatrix4(jMatrix4), cbtTransform(*cbtTransform), poolName(poolName) { };
virtual ~gdxAutoCommitbtTransformAndReleaseMatrix4() {
gdx_setbtTransformFromMatrix4(this->jenv, this->cbtTransform, this->jMatrix4);
gdx_releasePoolObjectMatrix4(this->jenv, this->poolName, this->jMatrix4);
};
};
/* Gets a global ref to the temp class. Do not release this. */
SWIGINTERN inline jclass gdx_getTempClassMatrix3(JNIEnv * jenv) {
static jclass cls = NULL;
if (cls == NULL) {
cls = (jclass) jenv->NewGlobalRef(jenv->FindClass("com/badlogic/gdx/physics/bullet/linearmath/LinearMath"));
}
return cls;
}
SWIGINTERN inline jobject gdx_takePoolObjectMatrix3(JNIEnv * jenv, const char * poolName) {
jclass tempClass = gdx_getTempClassMatrix3(jenv);
static jfieldID poolField = NULL;
if (poolField == NULL) {
poolField = jenv->GetStaticFieldID(tempClass, poolName, "Lcom/badlogic/gdx/utils/Pool;");
}
jobject poolObject = jenv->GetStaticObjectField(tempClass, poolField);
jclass poolClass = jenv->GetObjectClass(poolObject);
static jmethodID obtainMethod = NULL;
if (obtainMethod == NULL) {
obtainMethod = (jmethodID) jenv->GetMethodID(poolClass, "obtain", "()Ljava/lang/Object;");
}
jobject ret = jenv->CallObjectMethod(poolObject, obtainMethod);
jenv->DeleteLocalRef(poolObject);
jenv->DeleteLocalRef(poolClass);
return ret;
}
SWIGINTERN inline void gdx_releasePoolObjectMatrix3(JNIEnv * jenv, const char * poolName, jobject obj) {
jclass tempClass = gdx_getTempClassMatrix3(jenv);
static jfieldID poolField = NULL;
if (poolField == NULL) {
poolField = jenv->GetStaticFieldID(tempClass, poolName, "Lcom/badlogic/gdx/utils/Pool;");
}
jobject poolObject = jenv->GetStaticObjectField(tempClass, poolField);
jclass poolClass = jenv->GetObjectClass(poolObject);
static jmethodID freeMethod = NULL;
if (freeMethod == NULL) {
freeMethod = (jmethodID) jenv->GetMethodID(poolClass, "free", "(Ljava/lang/Object;)V");
}
jenv->CallVoidMethod(poolObject, freeMethod, obj);
jenv->DeleteLocalRef(poolObject);
jenv->DeleteLocalRef(poolClass);
jenv->DeleteLocalRef(obj);
}
/*
* A simple RAII wrapper to release jobjects we obtain from pools in
* directorin typemaps. SWIG doesn't have hooks to release them after
* they're used.
*/
class gdxPoolAutoReleaseMatrix3 {
private:
JNIEnv * jenv;
const char * poolName;
jobject obj;
public:
gdxPoolAutoReleaseMatrix3(JNIEnv * jenv, const char * poolName, jobject obj) :
jenv(jenv), poolName(poolName), obj(obj) { };
virtual ~gdxPoolAutoReleaseMatrix3() {
gdx_releasePoolObjectMatrix3(this->jenv, this->poolName, this->obj);
};
};
// Workaround for some strange swig behaviour
/* Gets a global ref to the temp class's Return Matrix3. Do not release this. */
SWIGINTERN inline jobject gdx_getReturnMatrix3(JNIEnv * jenv) {
static jobject ret = NULL;
if (ret == NULL) {
jclass tempClass = gdx_getTempClassMatrix3(jenv);
jfieldID field = jenv->GetStaticFieldID(tempClass, "staticMatrix3", "Lcom/badlogic/gdx/math/Matrix3;");
ret = jenv->NewGlobalRef(jenv->GetStaticObjectField(tempClass, field));
}
return ret;
}
/* Sets the data in the Bullet type from the Gdx type. */
SWIGINTERN inline void gdx_setbtMatrix3x3FromMatrix3(JNIEnv * jenv, btMatrix3x3 & target, jobject source) {
Matrix3_to_btMatrix3(jenv, target, source);
}
SWIGINTERN inline void gdx_setbtMatrix3x3FromMatrix3(JNIEnv * jenv, btMatrix3x3 * target, jobject source) {
gdx_setbtMatrix3x3FromMatrix3(jenv, *target, source);
}
/* Sets the data in the Gdx type from the Bullet type. */
SWIGINTERN inline void gdx_setMatrix3FrombtMatrix3x3(JNIEnv * jenv, jobject target, const btMatrix3x3 & source) {
btMatrix3_to_Matrix3(jenv, target, source);
}
SWIGINTERN inline void gdx_setMatrix3FrombtMatrix3x3(JNIEnv * jenv, jobject target, const btMatrix3x3 * source) {
gdx_setMatrix3FrombtMatrix3x3(jenv, target, *source);
}
/*
* RAII wrapper to commit changes made to a local btMatrix3x3 back to Matrix3
*/
class gdxAutoCommitMatrix3 {
private:
JNIEnv * jenv;
jobject jMatrix3;
btMatrix3x3 & cbtMatrix3x3;
public:
gdxAutoCommitMatrix3(JNIEnv * jenv, jobject jMatrix3, btMatrix3x3 & cbtMatrix3x3) :
jenv(jenv), jMatrix3(jMatrix3), cbtMatrix3x3(cbtMatrix3x3) { };
gdxAutoCommitMatrix3(JNIEnv * jenv, jobject jMatrix3, btMatrix3x3 * cbtMatrix3x3) :
jenv(jenv), jMatrix3(jMatrix3), cbtMatrix3x3(*cbtMatrix3x3) { };
virtual ~gdxAutoCommitMatrix3() {
gdx_setMatrix3FrombtMatrix3x3(this->jenv, this->jMatrix3, this->cbtMatrix3x3);
};
};
class gdxAutoCommitbtMatrix3x3AndReleaseMatrix3 {
private:
JNIEnv * jenv;
jobject jMatrix3;
btMatrix3x3 & cbtMatrix3x3;
const char * poolName;
public:
gdxAutoCommitbtMatrix3x3AndReleaseMatrix3(JNIEnv * jenv, jobject jMatrix3, btMatrix3x3 & cbtMatrix3x3, const char *poolName) :
jenv(jenv), jMatrix3(jMatrix3), cbtMatrix3x3(cbtMatrix3x3), poolName(poolName) { };
gdxAutoCommitbtMatrix3x3AndReleaseMatrix3(JNIEnv * jenv, jobject jMatrix3, btMatrix3x3 * cbtMatrix3x3, const char *poolName) :
jenv(jenv), jMatrix3(jMatrix3), cbtMatrix3x3(*cbtMatrix3x3), poolName(poolName) { };
virtual ~gdxAutoCommitbtMatrix3x3AndReleaseMatrix3() {
gdx_setbtMatrix3x3FromMatrix3(this->jenv, this->cbtMatrix3x3, this->jMatrix3);
gdx_releasePoolObjectMatrix3(this->jenv, this->poolName, this->jMatrix3);
};
};
/* Gets a global ref to the temp class. Do not release this. */
SWIGINTERN inline jclass gdx_getTempClassQuaternion(JNIEnv * jenv) {
static jclass cls = NULL;
if (cls == NULL) {
cls = (jclass) jenv->NewGlobalRef(jenv->FindClass("com/badlogic/gdx/physics/bullet/linearmath/LinearMath"));
}
return cls;
}
SWIGINTERN inline jobject gdx_takePoolObjectQuaternion(JNIEnv * jenv, const char * poolName) {
jclass tempClass = gdx_getTempClassQuaternion(jenv);
static jfieldID poolField = NULL;
if (poolField == NULL) {
poolField = jenv->GetStaticFieldID(tempClass, poolName, "Lcom/badlogic/gdx/utils/Pool;");
}
jobject poolObject = jenv->GetStaticObjectField(tempClass, poolField);
jclass poolClass = jenv->GetObjectClass(poolObject);
static jmethodID obtainMethod = NULL;
if (obtainMethod == NULL) {
obtainMethod = (jmethodID) jenv->GetMethodID(poolClass, "obtain", "()Ljava/lang/Object;");
}
jobject ret = jenv->CallObjectMethod(poolObject, obtainMethod);
jenv->DeleteLocalRef(poolObject);
jenv->DeleteLocalRef(poolClass);
return ret;
}
SWIGINTERN inline void gdx_releasePoolObjectQuaternion(JNIEnv * jenv, const char * poolName, jobject obj) {
jclass tempClass = gdx_getTempClassQuaternion(jenv);
static jfieldID poolField = NULL;
if (poolField == NULL) {
poolField = jenv->GetStaticFieldID(tempClass, poolName, "Lcom/badlogic/gdx/utils/Pool;");
}
jobject poolObject = jenv->GetStaticObjectField(tempClass, poolField);
jclass poolClass = jenv->GetObjectClass(poolObject);
static jmethodID freeMethod = NULL;
if (freeMethod == NULL) {
freeMethod = (jmethodID) jenv->GetMethodID(poolClass, "free", "(Ljava/lang/Object;)V");
}
jenv->CallVoidMethod(poolObject, freeMethod, obj);
jenv->DeleteLocalRef(poolObject);
jenv->DeleteLocalRef(poolClass);
jenv->DeleteLocalRef(obj);
}
/*
* A simple RAII wrapper to release jobjects we obtain from pools in
* directorin typemaps. SWIG doesn't have hooks to release them after
* they're used.
*/
class gdxPoolAutoReleaseQuaternion {
private:
JNIEnv * jenv;
const char * poolName;
jobject obj;
public:
gdxPoolAutoReleaseQuaternion(JNIEnv * jenv, const char * poolName, jobject obj) :
jenv(jenv), poolName(poolName), obj(obj) { };
virtual ~gdxPoolAutoReleaseQuaternion() {
gdx_releasePoolObjectQuaternion(this->jenv, this->poolName, this->obj);
};
};
// Workaround for some strange swig behaviour
/* Gets a global ref to the temp class's Return Quaternion. Do not release this. */
SWIGINTERN inline jobject gdx_getReturnQuaternion(JNIEnv * jenv) {
static jobject ret = NULL;
if (ret == NULL) {
jclass tempClass = gdx_getTempClassQuaternion(jenv);
jfieldID field = jenv->GetStaticFieldID(tempClass, "staticQuaternion", "Lcom/badlogic/gdx/math/Quaternion;");
ret = jenv->NewGlobalRef(jenv->GetStaticObjectField(tempClass, field));
}
return ret;
}
/* Sets the data in the Bullet type from the Gdx type. */
SWIGINTERN inline void gdx_setbtQuaternionFromQuaternion(JNIEnv * jenv, btQuaternion & target, jobject source) {
Quaternion_to_btQuaternion(jenv, target, source);
}
SWIGINTERN inline void gdx_setbtQuaternionFromQuaternion(JNIEnv * jenv, btQuaternion * target, jobject source) {
gdx_setbtQuaternionFromQuaternion(jenv, *target, source);
}
/* Sets the data in the Gdx type from the Bullet type. */
SWIGINTERN inline void gdx_setQuaternionFrombtQuaternion(JNIEnv * jenv, jobject target, const btQuaternion & source) {
btQuaternion_to_Quaternion(jenv, target, source);
}
SWIGINTERN inline void gdx_setQuaternionFrombtQuaternion(JNIEnv * jenv, jobject target, const btQuaternion * source) {
gdx_setQuaternionFrombtQuaternion(jenv, target, *source);
}
/*
* RAII wrapper to commit changes made to a local btQuaternion back to Quaternion
*/
class gdxAutoCommitQuaternion {
private:
JNIEnv * jenv;
jobject jQuaternion;
btQuaternion & cbtQuaternion;
public:
gdxAutoCommitQuaternion(JNIEnv * jenv, jobject jQuaternion, btQuaternion & cbtQuaternion) :
jenv(jenv), jQuaternion(jQuaternion), cbtQuaternion(cbtQuaternion) { };
gdxAutoCommitQuaternion(JNIEnv * jenv, jobject jQuaternion, btQuaternion * cbtQuaternion) :
jenv(jenv), jQuaternion(jQuaternion), cbtQuaternion(*cbtQuaternion) { };
virtual ~gdxAutoCommitQuaternion() {
gdx_setQuaternionFrombtQuaternion(this->jenv, this->jQuaternion, this->cbtQuaternion);
};
};
class gdxAutoCommitbtQuaternionAndReleaseQuaternion {
private:
JNIEnv * jenv;
jobject jQuaternion;
btQuaternion & cbtQuaternion;
const char * poolName;
public:
gdxAutoCommitbtQuaternionAndReleaseQuaternion(JNIEnv * jenv, jobject jQuaternion, btQuaternion & cbtQuaternion, const char *poolName) :
jenv(jenv), jQuaternion(jQuaternion), cbtQuaternion(cbtQuaternion), poolName(poolName) { };
gdxAutoCommitbtQuaternionAndReleaseQuaternion(JNIEnv * jenv, jobject jQuaternion, btQuaternion * cbtQuaternion, const char *poolName) :
jenv(jenv), jQuaternion(jQuaternion), cbtQuaternion(*cbtQuaternion), poolName(poolName) { };
virtual ~gdxAutoCommitbtQuaternionAndReleaseQuaternion() {
gdx_setbtQuaternionFromQuaternion(this->jenv, this->cbtQuaternion, this->jQuaternion);
gdx_releasePoolObjectQuaternion(this->jenv, this->poolName, this->jQuaternion);
};
};
SWIGINTERN btRigidBody *new_btRigidBody__SWIG_0(bool dummy,btRigidBody::btRigidBodyConstructionInfo const &constructionInfo){
return new btRigidBody(constructionInfo);
}
SWIGINTERN btRigidBody *new_btRigidBody__SWIG_1(bool dummy,btScalar mass,btMotionState *motionState,btCollisionShape *collisionShape,btVector3 const &localInertia=btVector3(0,0,0)){
return new btRigidBody(mass, motionState, collisionShape, localInertia);
}
#include <BulletDynamics/ConstraintSolver/btTypedConstraint.h>
#include <BulletDynamics/Dynamics/btDynamicsWorld.h>
#include <gdx/dynamics/InternalTickCallback.h>
#include <BulletDynamics/Dynamics/btSimpleDynamicsWorld.h>
#include <BulletDynamics/Dynamics/btActionInterface.h>
#include <gdx/dynamics/CustomActionInterface.h>
#include <BulletDynamics/Dynamics/btDiscreteDynamicsWorld.h>
#include <BulletDynamics/Character/btCharacterControllerInterface.h>
#include <BulletDynamics/Character/btKinematicCharacterController.h>
#include <BulletDynamics/ConstraintSolver/btContactSolverInfo.h>
#include <BulletDynamics/ConstraintSolver/btConstraintSolver.h>
#include <BulletDynamics/ConstraintSolver/btSequentialImpulseConstraintSolver.h>
#include <BulletDynamics/ConstraintSolver/btSolverBody.h>
#include <BulletDynamics/ConstraintSolver/btSliderConstraint.h>
#include <BulletDynamics/ConstraintSolver/btPoint2PointConstraint.h>
#include <BulletDynamics/ConstraintSolver/btJacobianEntry.h>
#include <BulletDynamics/ConstraintSolver/btSolve2LinearConstraint.h>
#include <BulletDynamics/ConstraintSolver/btGeneric6DofConstraint.h>
#include <BulletDynamics/ConstraintSolver/btUniversalConstraint.h>
#include <BulletDynamics/ConstraintSolver/btContactConstraint.h>
#include <BulletDynamics/ConstraintSolver/btConeTwistConstraint.h>
#include <BulletDynamics/ConstraintSolver/btGeneric6DofSpringConstraint.h>
#include <BulletDynamics/ConstraintSolver/btGeneric6DofSpring2Constraint.h>
#include <BulletDynamics/ConstraintSolver/btHingeConstraint.h>
#include <BulletDynamics/ConstraintSolver/btSolverConstraint.h>
#include <BulletDynamics/ConstraintSolver/btHinge2Constraint.h>
#include <BulletDynamics/ConstraintSolver/btFixedConstraint.h>
#include <BulletDynamics/Vehicle/btVehicleRaycaster.h>
#include <BulletDynamics/Vehicle/btWheelInfo.h>
#include <BulletDynamics/Vehicle/btRaycastVehicle.h>
#include <gdx/dynamics/FilterableVehicleRaycaster.h>
#include <BulletDynamics/ConstraintSolver/btGearConstraint.h>
#include <BulletDynamics/ConstraintSolver/btNNCGConstraintSolver.h>
#include <BulletDynamics/Dynamics/btDiscreteDynamicsWorldMt.h>
#include <BulletDynamics/Dynamics/btSimulationIslandManagerMt.h>
#include <BulletDynamics/Featherstone/btMultiBody.h>
#include <BulletDynamics/Featherstone/btMultiBodyConstraint.h>
#include <BulletDynamics/Featherstone/btMultiBodyGearConstraint.h>
#include <BulletDynamics/Featherstone/btMultiBodyConstraintSolver.h>
#include <BulletDynamics/Featherstone/btMultiBodyDynamicsWorld.h>
#include <BulletDynamics/Featherstone/btMultiBodyFixedConstraint.h>
#include <BulletDynamics/Featherstone/btMultiBodyJointFeedback.h>
#include <BulletDynamics/Featherstone/btMultiBodyJointLimitConstraint.h>
#include <BulletDynamics/Featherstone/btMultiBodyJointMotor.h>
#include <BulletDynamics/Featherstone/btMultiBodyLink.h>
#include <BulletDynamics/Featherstone/btMultiBodyLinkCollider.h>
#include <BulletDynamics/Featherstone/btMultiBodyPoint2Point.h>
#include <BulletDynamics/Featherstone/btMultiBodySliderConstraint.h>
#include <BulletDynamics/Featherstone/btMultiBodySolverConstraint.h>
#include <BulletDynamics/MLCPSolvers/btDantzigLCP.h>
#include <BulletDynamics/MLCPSolvers/btMLCPSolverInterface.h>
#include <BulletDynamics/MLCPSolvers/btDantzigSolver.h>
#include <BulletDynamics/MLCPSolvers/btLemkeAlgorithm.h>
#include <BulletDynamics/MLCPSolvers/btLemkeSolver.h>
#include <BulletDynamics/MLCPSolvers/btMLCPSolver.h>
#include <BulletDynamics/MLCPSolvers/btPATHSolver.h>
#include <BulletDynamics/MLCPSolvers/btSolveProjectedGaussSeidel.h>
#include <BulletDynamics/Vehicle/btRaycastVehicle.h>
#include <BulletDynamics/Vehicle/btVehicleRaycaster.h>
#include <BulletDynamics/Vehicle/btWheelInfo.h>
/* ---------------------------------------------------
* C++ director class methods
* --------------------------------------------------- */
#include "dynamics_wrap.h"
SwigDirector_InternalTickCallback::SwigDirector_InternalTickCallback(JNIEnv *jenv, btDynamicsWorld *dynamicsWorld, bool isPreTick) : InternalTickCallback(dynamicsWorld, isPreTick), Swig::Director(jenv) {
}
void SwigDirector_InternalTickCallback::onInternalTick(btDynamicsWorld *dynamicsWorld, btScalar timeStep) {
JNIEnvWrapper swigjnienv(this) ;
JNIEnv * jenv = swigjnienv.getJNIEnv() ;
jobject swigjobj = (jobject) NULL ;
jlong jdynamicsWorld = 0 ;
jfloat jtimeStep ;
if (!swig_override[0]) {
InternalTickCallback::onInternalTick(dynamicsWorld,timeStep);
return;
}
swigjobj = swig_get_self(jenv);
if (swigjobj && jenv->IsSameObject(swigjobj, NULL) == JNI_FALSE) {
*((btDynamicsWorld **)&jdynamicsWorld) = (btDynamicsWorld *) dynamicsWorld;
jtimeStep = (jfloat) timeStep;
jenv->CallStaticVoidMethod(Swig::jclass_DynamicsJNI, Swig::director_method_ids[0], swigjobj, jdynamicsWorld, jtimeStep);
jthrowable swigerror = jenv->ExceptionOccurred();
if (swigerror) {
jenv->ExceptionClear();
throw Swig::DirectorException(jenv, swigerror);
}
} else {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null upcall object in InternalTickCallback::onInternalTick ");
}
if (swigjobj) jenv->DeleteLocalRef(swigjobj);
}
void SwigDirector_InternalTickCallback::swig_connect_director(JNIEnv *jenv, jobject jself, jclass jcls, bool swig_mem_own, bool weak_global) {
static struct {
const char *mname;
const char *mdesc;
jmethodID base_methid;
} methods[] = {
{
"onInternalTick", "(Lcom/badlogic/gdx/physics/bullet/dynamics/btDynamicsWorld;F)V", NULL
}
};
static jclass baseclass = 0 ;
if (swig_set_self(jenv, jself, swig_mem_own, weak_global)) {
if (!baseclass) {
baseclass = jenv->FindClass("com/badlogic/gdx/physics/bullet/dynamics/InternalTickCallback");
if (!baseclass) return;
baseclass = (jclass) jenv->NewGlobalRef(baseclass);
}
bool derived = (jenv->IsSameObject(baseclass, jcls) ? false : true);
for (int i = 0; i < 1; ++i) {
if (!methods[i].base_methid) {
methods[i].base_methid = jenv->GetMethodID(baseclass, methods[i].mname, methods[i].mdesc);
if (!methods[i].base_methid) return;
}
swig_override[i] = false;
if (derived) {
jmethodID methid = jenv->GetMethodID(jcls, methods[i].mname, methods[i].mdesc);
swig_override[i] = (methid != methods[i].base_methid);
jenv->ExceptionClear();
}
}
}
}
SwigDirector_CustomActionInterface::SwigDirector_CustomActionInterface(JNIEnv *jenv) : CustomActionInterface(), Swig::Director(jenv) {
}
SwigDirector_CustomActionInterface::~SwigDirector_CustomActionInterface() {
swig_disconnect_director_self("swigDirectorDisconnect");
}
void SwigDirector_CustomActionInterface::updateAction(btCollisionWorld *collisionWorld, btScalar timeStep) {
CustomActionInterface::updateAction(collisionWorld,timeStep);
}
void SwigDirector_CustomActionInterface::debugDraw(btIDebugDraw *debugDrawer) {
CustomActionInterface::debugDraw(debugDrawer);
}
void SwigDirector_CustomActionInterface::updateAction(btScalar timeStep) {
JNIEnvWrapper swigjnienv(this) ;
JNIEnv * jenv = swigjnienv.getJNIEnv() ;
jobject swigjobj = (jobject) NULL ;
jfloat jtimeStep ;
if (!swig_override[0]) {
SWIG_JavaThrowException(JNIEnvWrapper(this).getJNIEnv(), SWIG_JavaDirectorPureVirtual, "Attempted to invoke pure virtual method CustomActionInterface::updateAction.");
return;
}
swigjobj = swig_get_self(jenv);
if (swigjobj && jenv->IsSameObject(swigjobj, NULL) == JNI_FALSE) {
jtimeStep = (jfloat) timeStep;
jenv->CallStaticVoidMethod(Swig::jclass_DynamicsJNI, Swig::director_method_ids[1], swigjobj, jtimeStep);
jthrowable swigerror = jenv->ExceptionOccurred();
if (swigerror) {
jenv->ExceptionClear();
throw Swig::DirectorException(jenv, swigerror);
}
} else {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null upcall object in CustomActionInterface::updateAction ");
}
if (swigjobj) jenv->DeleteLocalRef(swigjobj);
}
void SwigDirector_CustomActionInterface::debugDraw() {
JNIEnvWrapper swigjnienv(this) ;
JNIEnv * jenv = swigjnienv.getJNIEnv() ;
jobject swigjobj = (jobject) NULL ;
if (!swig_override[1]) {
SWIG_JavaThrowException(JNIEnvWrapper(this).getJNIEnv(), SWIG_JavaDirectorPureVirtual, "Attempted to invoke pure virtual method CustomActionInterface::debugDraw.");
return;
}
swigjobj = swig_get_self(jenv);
if (swigjobj && jenv->IsSameObject(swigjobj, NULL) == JNI_FALSE) {
jenv->CallStaticVoidMethod(Swig::jclass_DynamicsJNI, Swig::director_method_ids[2], swigjobj);
jthrowable swigerror = jenv->ExceptionOccurred();
if (swigerror) {
jenv->ExceptionClear();
throw Swig::DirectorException(jenv, swigerror);
}
} else {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null upcall object in CustomActionInterface::debugDraw ");
}
if (swigjobj) jenv->DeleteLocalRef(swigjobj);
}
void SwigDirector_CustomActionInterface::swig_connect_director(JNIEnv *jenv, jobject jself, jclass jcls, bool swig_mem_own, bool weak_global) {
static struct {
const char *mname;
const char *mdesc;
jmethodID base_methid;
} methods[] = {
{
"updateAction", "(F)V", NULL
},
{
"debugDraw", "()V", NULL
}
};
static jclass baseclass = 0 ;
if (swig_set_self(jenv, jself, swig_mem_own, weak_global)) {
if (!baseclass) {
baseclass = jenv->FindClass("com/badlogic/gdx/physics/bullet/dynamics/CustomActionInterface");
if (!baseclass) return;
baseclass = (jclass) jenv->NewGlobalRef(baseclass);
}
bool derived = (jenv->IsSameObject(baseclass, jcls) ? false : true);
for (int i = 0; i < 2; ++i) {
if (!methods[i].base_methid) {
methods[i].base_methid = jenv->GetMethodID(baseclass, methods[i].mname, methods[i].mdesc);
if (!methods[i].base_methid) return;
}
swig_override[i] = false;
if (derived) {
jmethodID methid = jenv->GetMethodID(jcls, methods[i].mname, methods[i].mdesc);
swig_override[i] = (methid != methods[i].base_methid);
jenv->ExceptionClear();
}
}
}
}
#ifdef __cplusplus
extern "C" {
#endif
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_gDeactivationTime_1set(JNIEnv *jenv, jclass jcls, jfloat jarg1) {
btScalar arg1 ;
(void)jenv;
(void)jcls;
arg1 = (btScalar)jarg1;
gDeactivationTime = arg1;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_gDeactivationTime_1get(JNIEnv *jenv, jclass jcls) {
jfloat jresult = 0 ;
btScalar result;
(void)jenv;
(void)jcls;
result = (btScalar)gDeactivationTime;
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_gDisableDeactivation_1set(JNIEnv *jenv, jclass jcls, jboolean jarg1) {
bool arg1 ;
(void)jenv;
(void)jcls;
arg1 = jarg1 ? true : false;
gDisableDeactivation = arg1;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_gDisableDeactivation_1get(JNIEnv *jenv, jclass jcls) {
jboolean jresult = 0 ;
bool result;
(void)jenv;
(void)jcls;
result = (bool)gDisableDeactivation;
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1btRigidBodyConstructionInfo_1mass_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btRigidBody::btRigidBodyConstructionInfo *arg1 = (btRigidBody::btRigidBodyConstructionInfo *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody::btRigidBodyConstructionInfo **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_mass = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1btRigidBodyConstructionInfo_1mass_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btRigidBody::btRigidBodyConstructionInfo *arg1 = (btRigidBody::btRigidBodyConstructionInfo *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody::btRigidBodyConstructionInfo **)&jarg1;
result = (btScalar) ((arg1)->m_mass);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1btRigidBodyConstructionInfo_1i_1motionState_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btRigidBody::btRigidBodyConstructionInfo *arg1 = (btRigidBody::btRigidBodyConstructionInfo *) 0 ;
btMotionState *arg2 = (btMotionState *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btRigidBody::btRigidBodyConstructionInfo **)&jarg1;
arg2 = *(btMotionState **)&jarg2;
if (arg1) (arg1)->m_motionState = arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1btRigidBodyConstructionInfo_1i_1motionState_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btRigidBody::btRigidBodyConstructionInfo *arg1 = (btRigidBody::btRigidBodyConstructionInfo *) 0 ;
btMotionState *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody::btRigidBodyConstructionInfo **)&jarg1;
result = (btMotionState *) ((arg1)->m_motionState);
*(btMotionState **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1btRigidBodyConstructionInfo_1startWorldTransform_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btRigidBody::btRigidBodyConstructionInfo *arg1 = (btRigidBody::btRigidBodyConstructionInfo *) 0 ;
btTransform *arg2 = (btTransform *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btRigidBody::btRigidBodyConstructionInfo **)&jarg1;
arg2 = *(btTransform **)&jarg2;
if (arg1) (arg1)->m_startWorldTransform = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1btRigidBodyConstructionInfo_1startWorldTransform_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btRigidBody::btRigidBodyConstructionInfo *arg1 = (btRigidBody::btRigidBodyConstructionInfo *) 0 ;
btTransform *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody::btRigidBodyConstructionInfo **)&jarg1;
result = (btTransform *)& ((arg1)->m_startWorldTransform);
*(btTransform **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1btRigidBodyConstructionInfo_1i_1collisionShape_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btRigidBody::btRigidBodyConstructionInfo *arg1 = (btRigidBody::btRigidBodyConstructionInfo *) 0 ;
btCollisionShape *arg2 = (btCollisionShape *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btRigidBody::btRigidBodyConstructionInfo **)&jarg1;
arg2 = *(btCollisionShape **)&jarg2;
if (arg1) (arg1)->m_collisionShape = arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1btRigidBodyConstructionInfo_1i_1collisionShape_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btRigidBody::btRigidBodyConstructionInfo *arg1 = (btRigidBody::btRigidBodyConstructionInfo *) 0 ;
btCollisionShape *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody::btRigidBodyConstructionInfo **)&jarg1;
result = (btCollisionShape *) ((arg1)->m_collisionShape);
*(btCollisionShape **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1btRigidBodyConstructionInfo_1localInertia_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btRigidBody::btRigidBodyConstructionInfo *arg1 = (btRigidBody::btRigidBodyConstructionInfo *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btRigidBody::btRigidBodyConstructionInfo **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->m_localInertia = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1btRigidBodyConstructionInfo_1localInertia_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btRigidBody::btRigidBodyConstructionInfo *arg1 = (btRigidBody::btRigidBodyConstructionInfo *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody::btRigidBodyConstructionInfo **)&jarg1;
result = (btVector3 *)& ((arg1)->m_localInertia);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1btRigidBodyConstructionInfo_1linearDamping_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btRigidBody::btRigidBodyConstructionInfo *arg1 = (btRigidBody::btRigidBodyConstructionInfo *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody::btRigidBodyConstructionInfo **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_linearDamping = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1btRigidBodyConstructionInfo_1linearDamping_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btRigidBody::btRigidBodyConstructionInfo *arg1 = (btRigidBody::btRigidBodyConstructionInfo *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody::btRigidBodyConstructionInfo **)&jarg1;
result = (btScalar) ((arg1)->m_linearDamping);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1btRigidBodyConstructionInfo_1angularDamping_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btRigidBody::btRigidBodyConstructionInfo *arg1 = (btRigidBody::btRigidBodyConstructionInfo *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody::btRigidBodyConstructionInfo **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_angularDamping = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1btRigidBodyConstructionInfo_1angularDamping_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btRigidBody::btRigidBodyConstructionInfo *arg1 = (btRigidBody::btRigidBodyConstructionInfo *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody::btRigidBodyConstructionInfo **)&jarg1;
result = (btScalar) ((arg1)->m_angularDamping);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1btRigidBodyConstructionInfo_1friction_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btRigidBody::btRigidBodyConstructionInfo *arg1 = (btRigidBody::btRigidBodyConstructionInfo *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody::btRigidBodyConstructionInfo **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_friction = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1btRigidBodyConstructionInfo_1friction_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btRigidBody::btRigidBodyConstructionInfo *arg1 = (btRigidBody::btRigidBodyConstructionInfo *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody::btRigidBodyConstructionInfo **)&jarg1;
result = (btScalar) ((arg1)->m_friction);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1btRigidBodyConstructionInfo_1rollingFriction_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btRigidBody::btRigidBodyConstructionInfo *arg1 = (btRigidBody::btRigidBodyConstructionInfo *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody::btRigidBodyConstructionInfo **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_rollingFriction = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1btRigidBodyConstructionInfo_1rollingFriction_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btRigidBody::btRigidBodyConstructionInfo *arg1 = (btRigidBody::btRigidBodyConstructionInfo *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody::btRigidBodyConstructionInfo **)&jarg1;
result = (btScalar) ((arg1)->m_rollingFriction);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1btRigidBodyConstructionInfo_1spinningFriction_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btRigidBody::btRigidBodyConstructionInfo *arg1 = (btRigidBody::btRigidBodyConstructionInfo *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody::btRigidBodyConstructionInfo **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_spinningFriction = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1btRigidBodyConstructionInfo_1spinningFriction_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btRigidBody::btRigidBodyConstructionInfo *arg1 = (btRigidBody::btRigidBodyConstructionInfo *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody::btRigidBodyConstructionInfo **)&jarg1;
result = (btScalar) ((arg1)->m_spinningFriction);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1btRigidBodyConstructionInfo_1restitution_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btRigidBody::btRigidBodyConstructionInfo *arg1 = (btRigidBody::btRigidBodyConstructionInfo *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody::btRigidBodyConstructionInfo **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_restitution = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1btRigidBodyConstructionInfo_1restitution_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btRigidBody::btRigidBodyConstructionInfo *arg1 = (btRigidBody::btRigidBodyConstructionInfo *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody::btRigidBodyConstructionInfo **)&jarg1;
result = (btScalar) ((arg1)->m_restitution);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1btRigidBodyConstructionInfo_1linearSleepingThreshold_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btRigidBody::btRigidBodyConstructionInfo *arg1 = (btRigidBody::btRigidBodyConstructionInfo *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody::btRigidBodyConstructionInfo **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_linearSleepingThreshold = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1btRigidBodyConstructionInfo_1linearSleepingThreshold_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btRigidBody::btRigidBodyConstructionInfo *arg1 = (btRigidBody::btRigidBodyConstructionInfo *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody::btRigidBodyConstructionInfo **)&jarg1;
result = (btScalar) ((arg1)->m_linearSleepingThreshold);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1btRigidBodyConstructionInfo_1angularSleepingThreshold_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btRigidBody::btRigidBodyConstructionInfo *arg1 = (btRigidBody::btRigidBodyConstructionInfo *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody::btRigidBodyConstructionInfo **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_angularSleepingThreshold = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1btRigidBodyConstructionInfo_1angularSleepingThreshold_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btRigidBody::btRigidBodyConstructionInfo *arg1 = (btRigidBody::btRigidBodyConstructionInfo *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody::btRigidBodyConstructionInfo **)&jarg1;
result = (btScalar) ((arg1)->m_angularSleepingThreshold);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1btRigidBodyConstructionInfo_1additionalDamping_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jboolean jarg2) {
btRigidBody::btRigidBodyConstructionInfo *arg1 = (btRigidBody::btRigidBodyConstructionInfo *) 0 ;
bool arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody::btRigidBodyConstructionInfo **)&jarg1;
arg2 = jarg2 ? true : false;
if (arg1) (arg1)->m_additionalDamping = arg2;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1btRigidBodyConstructionInfo_1additionalDamping_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jboolean jresult = 0 ;
btRigidBody::btRigidBodyConstructionInfo *arg1 = (btRigidBody::btRigidBodyConstructionInfo *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody::btRigidBodyConstructionInfo **)&jarg1;
result = (bool) ((arg1)->m_additionalDamping);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1btRigidBodyConstructionInfo_1additionalDampingFactor_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btRigidBody::btRigidBodyConstructionInfo *arg1 = (btRigidBody::btRigidBodyConstructionInfo *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody::btRigidBodyConstructionInfo **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_additionalDampingFactor = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1btRigidBodyConstructionInfo_1additionalDampingFactor_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btRigidBody::btRigidBodyConstructionInfo *arg1 = (btRigidBody::btRigidBodyConstructionInfo *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody::btRigidBodyConstructionInfo **)&jarg1;
result = (btScalar) ((arg1)->m_additionalDampingFactor);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1btRigidBodyConstructionInfo_1additionalLinearDampingThresholdSqr_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btRigidBody::btRigidBodyConstructionInfo *arg1 = (btRigidBody::btRigidBodyConstructionInfo *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody::btRigidBodyConstructionInfo **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_additionalLinearDampingThresholdSqr = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1btRigidBodyConstructionInfo_1additionalLinearDampingThresholdSqr_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btRigidBody::btRigidBodyConstructionInfo *arg1 = (btRigidBody::btRigidBodyConstructionInfo *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody::btRigidBodyConstructionInfo **)&jarg1;
result = (btScalar) ((arg1)->m_additionalLinearDampingThresholdSqr);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1btRigidBodyConstructionInfo_1additionalAngularDampingThresholdSqr_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btRigidBody::btRigidBodyConstructionInfo *arg1 = (btRigidBody::btRigidBodyConstructionInfo *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody::btRigidBodyConstructionInfo **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_additionalAngularDampingThresholdSqr = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1btRigidBodyConstructionInfo_1additionalAngularDampingThresholdSqr_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btRigidBody::btRigidBodyConstructionInfo *arg1 = (btRigidBody::btRigidBodyConstructionInfo *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody::btRigidBodyConstructionInfo **)&jarg1;
result = (btScalar) ((arg1)->m_additionalAngularDampingThresholdSqr);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1btRigidBodyConstructionInfo_1additionalAngularDampingFactor_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btRigidBody::btRigidBodyConstructionInfo *arg1 = (btRigidBody::btRigidBodyConstructionInfo *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody::btRigidBodyConstructionInfo **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_additionalAngularDampingFactor = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1btRigidBodyConstructionInfo_1additionalAngularDampingFactor_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btRigidBody::btRigidBodyConstructionInfo *arg1 = (btRigidBody::btRigidBodyConstructionInfo *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody::btRigidBodyConstructionInfo **)&jarg1;
result = (btScalar) ((arg1)->m_additionalAngularDampingFactor);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btRigidBody_1btRigidBodyConstructionInfo_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jboolean jarg1, jfloat jarg2, jlong jarg3, jobject jarg3_, jlong jarg4, jobject jarg4_, jobject jarg5) {
jlong jresult = 0 ;
bool arg1 ;
btScalar arg2 ;
btMotionState *arg3 = (btMotionState *) 0 ;
btCollisionShape *arg4 = (btCollisionShape *) 0 ;
btVector3 *arg5 = 0 ;
btRigidBody::btRigidBodyConstructionInfo *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg3_;
(void)jarg4_;
arg1 = jarg1 ? true : false;
arg2 = (btScalar)jarg2;
arg3 = *(btMotionState **)&jarg3;
arg4 = *(btCollisionShape **)&jarg4;
btVector3 local_arg5;
gdx_setbtVector3FromVector3(jenv, local_arg5, jarg5);
arg5 = &local_arg5;
gdxAutoCommitVector3 auto_commit_arg5(jenv, jarg5, &local_arg5);
result = (btRigidBody::btRigidBodyConstructionInfo *)new_btRigidBody_btRigidBodyConstructionInfo__SWIG_0(arg1,arg2,arg3,arg4,(btVector3 const &)*arg5);
*(btRigidBody::btRigidBodyConstructionInfo **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btRigidBody_1btRigidBodyConstructionInfo_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jboolean jarg1, jfloat jarg2, jlong jarg3, jobject jarg3_, jlong jarg4, jobject jarg4_) {
jlong jresult = 0 ;
bool arg1 ;
btScalar arg2 ;
btMotionState *arg3 = (btMotionState *) 0 ;
btCollisionShape *arg4 = (btCollisionShape *) 0 ;
btRigidBody::btRigidBodyConstructionInfo *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg3_;
(void)jarg4_;
arg1 = jarg1 ? true : false;
arg2 = (btScalar)jarg2;
arg3 = *(btMotionState **)&jarg3;
arg4 = *(btCollisionShape **)&jarg4;
result = (btRigidBody::btRigidBodyConstructionInfo *)new_btRigidBody_btRigidBodyConstructionInfo__SWIG_0(arg1,arg2,arg3,arg4);
*(btRigidBody::btRigidBodyConstructionInfo **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btRigidBody_1btRigidBodyConstructionInfo(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btRigidBody::btRigidBodyConstructionInfo *arg1 = (btRigidBody::btRigidBodyConstructionInfo *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btRigidBody::btRigidBodyConstructionInfo **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btRigidBody(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btRigidBody *arg1 = (btRigidBody *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btRigidBody **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1proceedToTransform(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btRigidBody *arg1 = (btRigidBody *) 0 ;
btTransform *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody **)&jarg1;
btTransform local_arg2;
gdx_setbtTransformFromMatrix4(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitMatrix4 auto_commit_arg2(jenv, jarg2, &local_arg2);
(arg1)->proceedToTransform((btTransform const &)*arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1predictIntegratedTransform(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2, jobject jarg3) {
btRigidBody *arg1 = (btRigidBody *) 0 ;
btScalar arg2 ;
btTransform *arg3 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody **)&jarg1;
arg2 = (btScalar)jarg2;
btTransform local_arg3;
gdx_setbtTransformFromMatrix4(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitMatrix4 auto_commit_arg3(jenv, jarg3, &local_arg3);
(arg1)->predictIntegratedTransform(arg2,*arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1saveKinematicState(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btRigidBody *arg1 = (btRigidBody *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody **)&jarg1;
arg2 = (btScalar)jarg2;
(arg1)->saveKinematicState(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1applyGravity(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
btRigidBody *arg1 = (btRigidBody *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody **)&jarg1;
(arg1)->applyGravity();
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1setGravity(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btRigidBody *arg1 = (btRigidBody *) 0 ;
btVector3 *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
(arg1)->setGravity((btVector3 const &)*arg2);
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1getGravity(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btRigidBody *arg1 = (btRigidBody *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody **)&jarg1;
result = (btVector3 *) &((btRigidBody const *)arg1)->getGravity();
jresult = gdx_getReturnVector3(jenv);
gdx_setVector3FrombtVector3(jenv, jresult, result);
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1setDamping(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2, jfloat jarg3) {
btRigidBody *arg1 = (btRigidBody *) 0 ;
btScalar arg2 ;
btScalar arg3 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody **)&jarg1;
arg2 = (btScalar)jarg2;
arg3 = (btScalar)jarg3;
(arg1)->setDamping(arg2,arg3);
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1getLinearDamping(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btRigidBody *arg1 = (btRigidBody *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody **)&jarg1;
result = (btScalar)((btRigidBody const *)arg1)->getLinearDamping();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1getAngularDamping(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btRigidBody *arg1 = (btRigidBody *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody **)&jarg1;
result = (btScalar)((btRigidBody const *)arg1)->getAngularDamping();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1getLinearSleepingThreshold(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btRigidBody *arg1 = (btRigidBody *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody **)&jarg1;
result = (btScalar)((btRigidBody const *)arg1)->getLinearSleepingThreshold();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1getAngularSleepingThreshold(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btRigidBody *arg1 = (btRigidBody *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody **)&jarg1;
result = (btScalar)((btRigidBody const *)arg1)->getAngularSleepingThreshold();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1applyDamping(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btRigidBody *arg1 = (btRigidBody *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody **)&jarg1;
arg2 = (btScalar)jarg2;
(arg1)->applyDamping(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1setMassProps(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2, jobject jarg3) {
btRigidBody *arg1 = (btRigidBody *) 0 ;
btScalar arg2 ;
btVector3 *arg3 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody **)&jarg1;
arg2 = (btScalar)jarg2;
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
(arg1)->setMassProps(arg2,(btVector3 const &)*arg3);
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1getLinearFactor(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btRigidBody *arg1 = (btRigidBody *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody **)&jarg1;
result = (btVector3 *) &((btRigidBody const *)arg1)->getLinearFactor();
jresult = gdx_getReturnVector3(jenv);
gdx_setVector3FrombtVector3(jenv, jresult, result);
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1setLinearFactor(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btRigidBody *arg1 = (btRigidBody *) 0 ;
btVector3 *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
(arg1)->setLinearFactor((btVector3 const &)*arg2);
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1getInvMass(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btRigidBody *arg1 = (btRigidBody *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody **)&jarg1;
result = (btScalar)((btRigidBody const *)arg1)->getInvMass();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1getInvInertiaTensorWorld(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btRigidBody *arg1 = (btRigidBody *) 0 ;
btMatrix3x3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody **)&jarg1;
result = (btMatrix3x3 *) &((btRigidBody const *)arg1)->getInvInertiaTensorWorld();
jresult = gdx_getReturnMatrix3(jenv);
gdx_setMatrix3FrombtMatrix3x3(jenv, jresult, result);
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1integrateVelocities(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btRigidBody *arg1 = (btRigidBody *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody **)&jarg1;
arg2 = (btScalar)jarg2;
(arg1)->integrateVelocities(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1setCenterOfMassTransform(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btRigidBody *arg1 = (btRigidBody *) 0 ;
btTransform *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody **)&jarg1;
btTransform local_arg2;
gdx_setbtTransformFromMatrix4(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitMatrix4 auto_commit_arg2(jenv, jarg2, &local_arg2);
(arg1)->setCenterOfMassTransform((btTransform const &)*arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1applyCentralForce(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btRigidBody *arg1 = (btRigidBody *) 0 ;
btVector3 *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
(arg1)->applyCentralForce((btVector3 const &)*arg2);
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1getTotalForce(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btRigidBody *arg1 = (btRigidBody *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody **)&jarg1;
result = (btVector3 *) &((btRigidBody const *)arg1)->getTotalForce();
jresult = gdx_getReturnVector3(jenv);
gdx_setVector3FrombtVector3(jenv, jresult, result);
return jresult;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1getTotalTorque(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btRigidBody *arg1 = (btRigidBody *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody **)&jarg1;
result = (btVector3 *) &((btRigidBody const *)arg1)->getTotalTorque();
jresult = gdx_getReturnVector3(jenv);
gdx_setVector3FrombtVector3(jenv, jresult, result);
return jresult;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1getInvInertiaDiagLocal(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btRigidBody *arg1 = (btRigidBody *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody **)&jarg1;
result = (btVector3 *) &((btRigidBody const *)arg1)->getInvInertiaDiagLocal();
jresult = gdx_getReturnVector3(jenv);
gdx_setVector3FrombtVector3(jenv, jresult, result);
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1setInvInertiaDiagLocal(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btRigidBody *arg1 = (btRigidBody *) 0 ;
btVector3 *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
(arg1)->setInvInertiaDiagLocal((btVector3 const &)*arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1setSleepingThresholds(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2, jfloat jarg3) {
btRigidBody *arg1 = (btRigidBody *) 0 ;
btScalar arg2 ;
btScalar arg3 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody **)&jarg1;
arg2 = (btScalar)jarg2;
arg3 = (btScalar)jarg3;
(arg1)->setSleepingThresholds(arg2,arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1applyTorque(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btRigidBody *arg1 = (btRigidBody *) 0 ;
btVector3 *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
(arg1)->applyTorque((btVector3 const &)*arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1applyForce(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jobject jarg3) {
btRigidBody *arg1 = (btRigidBody *) 0 ;
btVector3 *arg2 = 0 ;
btVector3 *arg3 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
(arg1)->applyForce((btVector3 const &)*arg2,(btVector3 const &)*arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1applyCentralImpulse(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btRigidBody *arg1 = (btRigidBody *) 0 ;
btVector3 *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
(arg1)->applyCentralImpulse((btVector3 const &)*arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1applyTorqueImpulse(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btRigidBody *arg1 = (btRigidBody *) 0 ;
btVector3 *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
(arg1)->applyTorqueImpulse((btVector3 const &)*arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1applyImpulse(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jobject jarg3) {
btRigidBody *arg1 = (btRigidBody *) 0 ;
btVector3 *arg2 = 0 ;
btVector3 *arg3 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
(arg1)->applyImpulse((btVector3 const &)*arg2,(btVector3 const &)*arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1clearForces(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
btRigidBody *arg1 = (btRigidBody *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody **)&jarg1;
(arg1)->clearForces();
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1updateInertiaTensor(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
btRigidBody *arg1 = (btRigidBody *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody **)&jarg1;
(arg1)->updateInertiaTensor();
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1getCenterOfMassPosition(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btRigidBody *arg1 = (btRigidBody *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody **)&jarg1;
result = (btVector3 *) &((btRigidBody const *)arg1)->getCenterOfMassPosition();
jresult = gdx_getReturnVector3(jenv);
gdx_setVector3FrombtVector3(jenv, jresult, result);
return jresult;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1getOrientation(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btRigidBody *arg1 = (btRigidBody *) 0 ;
btQuaternion result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody **)&jarg1;
result = ((btRigidBody const *)arg1)->getOrientation();
jresult = gdx_getReturnQuaternion(jenv);
gdx_setQuaternionFrombtQuaternion(jenv, jresult, result);
return jresult;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1getCenterOfMassTransform(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btRigidBody *arg1 = (btRigidBody *) 0 ;
btTransform *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody **)&jarg1;
result = (btTransform *) &((btRigidBody const *)arg1)->getCenterOfMassTransform();
jresult = gdx_getReturnMatrix4(jenv);
gdx_setMatrix4FrombtTransform(jenv, jresult, result);
return jresult;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1getLinearVelocity(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btRigidBody *arg1 = (btRigidBody *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody **)&jarg1;
result = (btVector3 *) &((btRigidBody const *)arg1)->getLinearVelocity();
jresult = gdx_getReturnVector3(jenv);
gdx_setVector3FrombtVector3(jenv, jresult, result);
return jresult;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1getAngularVelocity(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btRigidBody *arg1 = (btRigidBody *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody **)&jarg1;
result = (btVector3 *) &((btRigidBody const *)arg1)->getAngularVelocity();
jresult = gdx_getReturnVector3(jenv);
gdx_setVector3FrombtVector3(jenv, jresult, result);
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1setLinearVelocity(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btRigidBody *arg1 = (btRigidBody *) 0 ;
btVector3 *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
(arg1)->setLinearVelocity((btVector3 const &)*arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1setAngularVelocity(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btRigidBody *arg1 = (btRigidBody *) 0 ;
btVector3 *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
(arg1)->setAngularVelocity((btVector3 const &)*arg2);
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1getVelocityInLocalPoint(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
jobject jresult = 0 ;
btRigidBody *arg1 = (btRigidBody *) 0 ;
btVector3 *arg2 = 0 ;
btVector3 result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
result = ((btRigidBody const *)arg1)->getVelocityInLocalPoint((btVector3 const &)*arg2);
jresult = gdx_getReturnVector3(jenv);
gdx_setVector3FrombtVector3(jenv, jresult, result);
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1translate(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btRigidBody *arg1 = (btRigidBody *) 0 ;
btVector3 *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
(arg1)->translate((btVector3 const &)*arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1getAabb(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jobject jarg3) {
btRigidBody *arg1 = (btRigidBody *) 0 ;
btVector3 *arg2 = 0 ;
btVector3 *arg3 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
((btRigidBody const *)arg1)->getAabb(*arg2,*arg3);
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1computeImpulseDenominator(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jobject jarg3) {
jfloat jresult = 0 ;
btRigidBody *arg1 = (btRigidBody *) 0 ;
btVector3 *arg2 = 0 ;
btVector3 *arg3 = 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
result = (btScalar)((btRigidBody const *)arg1)->computeImpulseDenominator((btVector3 const &)*arg2,(btVector3 const &)*arg3);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1computeAngularImpulseDenominator(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
jfloat jresult = 0 ;
btRigidBody *arg1 = (btRigidBody *) 0 ;
btVector3 *arg2 = 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
result = (btScalar)((btRigidBody const *)arg1)->computeAngularImpulseDenominator((btVector3 const &)*arg2);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1updateDeactivation(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btRigidBody *arg1 = (btRigidBody *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody **)&jarg1;
arg2 = (btScalar)jarg2;
(arg1)->updateDeactivation(arg2);
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1wantsSleeping(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jboolean jresult = 0 ;
btRigidBody *arg1 = (btRigidBody *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody **)&jarg1;
result = (bool)(arg1)->wantsSleeping();
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1getBroadphaseProxyConst(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btRigidBody *arg1 = (btRigidBody *) 0 ;
btBroadphaseProxy *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody **)&jarg1;
result = (btBroadphaseProxy *)((btRigidBody const *)arg1)->getBroadphaseProxy();
*(btBroadphaseProxy **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1getBroadphaseProxy(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btRigidBody *arg1 = (btRigidBody *) 0 ;
btBroadphaseProxy *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody **)&jarg1;
result = (btBroadphaseProxy *)(arg1)->getBroadphaseProxy();
*(btBroadphaseProxy **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1setNewBroadphaseProxy(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btRigidBody *arg1 = (btRigidBody *) 0 ;
btBroadphaseProxy *arg2 = (btBroadphaseProxy *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btRigidBody **)&jarg1;
arg2 = *(btBroadphaseProxy **)&jarg2;
(arg1)->setNewBroadphaseProxy(arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1internalGetMotionState(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btRigidBody *arg1 = (btRigidBody *) 0 ;
btMotionState *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody **)&jarg1;
result = (btMotionState *)(arg1)->getMotionState();
*(btMotionState **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1getMotionStateConst(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btRigidBody *arg1 = (btRigidBody *) 0 ;
btMotionState *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody **)&jarg1;
result = (btMotionState *)((btRigidBody const *)arg1)->getMotionState();
*(btMotionState **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1internalSetMotionState(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btRigidBody *arg1 = (btRigidBody *) 0 ;
btMotionState *arg2 = (btMotionState *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btRigidBody **)&jarg1;
arg2 = *(btMotionState **)&jarg2;
(arg1)->setMotionState(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1contactSolverType_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btRigidBody *arg1 = (btRigidBody *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_contactSolverType = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1contactSolverType_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btRigidBody *arg1 = (btRigidBody *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody **)&jarg1;
result = (int) ((arg1)->m_contactSolverType);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1frictionSolverType_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btRigidBody *arg1 = (btRigidBody *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_frictionSolverType = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1frictionSolverType_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btRigidBody *arg1 = (btRigidBody *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody **)&jarg1;
result = (int) ((arg1)->m_frictionSolverType);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1setAngularFactor_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btRigidBody *arg1 = (btRigidBody *) 0 ;
btVector3 *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
(arg1)->setAngularFactor((btVector3 const &)*arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1setAngularFactor_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btRigidBody *arg1 = (btRigidBody *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody **)&jarg1;
arg2 = (btScalar)jarg2;
(arg1)->setAngularFactor(arg2);
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1getAngularFactor(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btRigidBody *arg1 = (btRigidBody *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody **)&jarg1;
result = (btVector3 *) &((btRigidBody const *)arg1)->getAngularFactor();
jresult = gdx_getReturnVector3(jenv);
gdx_setVector3FrombtVector3(jenv, jresult, result);
return jresult;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1isInWorld(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jboolean jresult = 0 ;
btRigidBody *arg1 = (btRigidBody *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody **)&jarg1;
result = (bool)((btRigidBody const *)arg1)->isInWorld();
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1addConstraintRef(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btRigidBody *arg1 = (btRigidBody *) 0 ;
btTypedConstraint *arg2 = (btTypedConstraint *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btRigidBody **)&jarg1;
arg2 = *(btTypedConstraint **)&jarg2;
(arg1)->addConstraintRef(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1removeConstraintRef(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btRigidBody *arg1 = (btRigidBody *) 0 ;
btTypedConstraint *arg2 = (btTypedConstraint *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btRigidBody **)&jarg1;
arg2 = *(btTypedConstraint **)&jarg2;
(arg1)->removeConstraintRef(arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1getConstraintRef(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jlong jresult = 0 ;
btRigidBody *arg1 = (btRigidBody *) 0 ;
int arg2 ;
btTypedConstraint *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody **)&jarg1;
arg2 = (int)jarg2;
result = (btTypedConstraint *)(arg1)->getConstraintRef(arg2);
*(btTypedConstraint **)&jresult = result;
return jresult;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1getNumConstraintRefs(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btRigidBody *arg1 = (btRigidBody *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody **)&jarg1;
result = (int)((btRigidBody const *)arg1)->getNumConstraintRefs();
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1setFlags(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btRigidBody *arg1 = (btRigidBody *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody **)&jarg1;
arg2 = (int)jarg2;
(arg1)->setFlags(arg2);
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1getFlags(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btRigidBody *arg1 = (btRigidBody *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody **)&jarg1;
result = (int)((btRigidBody const *)arg1)->getFlags();
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1computeGyroscopicImpulseImplicit_1World(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
jobject jresult = 0 ;
btRigidBody *arg1 = (btRigidBody *) 0 ;
btScalar arg2 ;
btVector3 result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody **)&jarg1;
arg2 = (btScalar)jarg2;
result = ((btRigidBody const *)arg1)->computeGyroscopicImpulseImplicit_World(arg2);
jresult = gdx_getReturnVector3(jenv);
gdx_setVector3FrombtVector3(jenv, jresult, result);
return jresult;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1computeGyroscopicImpulseImplicit_1Body(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
jobject jresult = 0 ;
btRigidBody *arg1 = (btRigidBody *) 0 ;
btScalar arg2 ;
btVector3 result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody **)&jarg1;
arg2 = (btScalar)jarg2;
result = ((btRigidBody const *)arg1)->computeGyroscopicImpulseImplicit_Body(arg2);
jresult = gdx_getReturnVector3(jenv);
gdx_setVector3FrombtVector3(jenv, jresult, result);
return jresult;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1computeGyroscopicForceExplicit(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
jobject jresult = 0 ;
btRigidBody *arg1 = (btRigidBody *) 0 ;
btScalar arg2 ;
btVector3 result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody **)&jarg1;
arg2 = (btScalar)jarg2;
result = ((btRigidBody const *)arg1)->computeGyroscopicForceExplicit(arg2);
jresult = gdx_getReturnVector3(jenv);
gdx_setVector3FrombtVector3(jenv, jresult, result);
return jresult;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1getLocalInertia(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btRigidBody *arg1 = (btRigidBody *) 0 ;
btVector3 result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody **)&jarg1;
result = ((btRigidBody const *)arg1)->getLocalInertia();
jresult = gdx_getReturnVector3(jenv);
gdx_setVector3FrombtVector3(jenv, jresult, result);
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btRigidBody_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jboolean jarg1, jlong jarg2, jobject jarg2_) {
jlong jresult = 0 ;
bool arg1 ;
btRigidBody::btRigidBodyConstructionInfo *arg2 = 0 ;
btRigidBody *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg2_;
arg1 = jarg1 ? true : false;
arg2 = *(btRigidBody::btRigidBodyConstructionInfo **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btRigidBody::btRigidBodyConstructionInfo const & reference is null");
return 0;
}
result = (btRigidBody *)new_btRigidBody__SWIG_0(arg1,(btRigidBody::btRigidBodyConstructionInfo const &)*arg2);
*(btRigidBody **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btRigidBody_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jboolean jarg1, jfloat jarg2, jlong jarg3, jobject jarg3_, jlong jarg4, jobject jarg4_, jobject jarg5) {
jlong jresult = 0 ;
bool arg1 ;
btScalar arg2 ;
btMotionState *arg3 = (btMotionState *) 0 ;
btCollisionShape *arg4 = (btCollisionShape *) 0 ;
btVector3 *arg5 = 0 ;
btRigidBody *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg3_;
(void)jarg4_;
arg1 = jarg1 ? true : false;
arg2 = (btScalar)jarg2;
arg3 = *(btMotionState **)&jarg3;
arg4 = *(btCollisionShape **)&jarg4;
btVector3 local_arg5;
gdx_setbtVector3FromVector3(jenv, local_arg5, jarg5);
arg5 = &local_arg5;
gdxAutoCommitVector3 auto_commit_arg5(jenv, jarg5, &local_arg5);
result = (btRigidBody *)new_btRigidBody__SWIG_1(arg1,arg2,arg3,arg4,(btVector3 const &)*arg5);
*(btRigidBody **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btRigidBody_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jboolean jarg1, jfloat jarg2, jlong jarg3, jobject jarg3_, jlong jarg4, jobject jarg4_) {
jlong jresult = 0 ;
bool arg1 ;
btScalar arg2 ;
btMotionState *arg3 = (btMotionState *) 0 ;
btCollisionShape *arg4 = (btCollisionShape *) 0 ;
btRigidBody *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg3_;
(void)jarg4_;
arg1 = jarg1 ? true : false;
arg2 = (btScalar)jarg2;
arg3 = *(btMotionState **)&jarg3;
arg4 = *(btCollisionShape **)&jarg4;
result = (btRigidBody *)new_btRigidBody__SWIG_1(arg1,arg2,arg3,arg4);
*(btRigidBody **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyFloatData_1collisionObjectData_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btRigidBodyFloatData *arg1 = (btRigidBodyFloatData *) 0 ;
btCollisionObjectFloatData *arg2 = (btCollisionObjectFloatData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btRigidBodyFloatData **)&jarg1;
arg2 = *(btCollisionObjectFloatData **)&jarg2;
if (arg1) (arg1)->m_collisionObjectData = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyFloatData_1collisionObjectData_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btRigidBodyFloatData *arg1 = (btRigidBodyFloatData *) 0 ;
btCollisionObjectFloatData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBodyFloatData **)&jarg1;
result = (btCollisionObjectFloatData *)& ((arg1)->m_collisionObjectData);
*(btCollisionObjectFloatData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyFloatData_1invInertiaTensorWorld_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btRigidBodyFloatData *arg1 = (btRigidBodyFloatData *) 0 ;
btMatrix3x3FloatData *arg2 = (btMatrix3x3FloatData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btRigidBodyFloatData **)&jarg1;
arg2 = *(btMatrix3x3FloatData **)&jarg2;
if (arg1) (arg1)->m_invInertiaTensorWorld = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyFloatData_1invInertiaTensorWorld_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btRigidBodyFloatData *arg1 = (btRigidBodyFloatData *) 0 ;
btMatrix3x3FloatData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBodyFloatData **)&jarg1;
result = (btMatrix3x3FloatData *)& ((arg1)->m_invInertiaTensorWorld);
*(btMatrix3x3FloatData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyFloatData_1linearVelocity_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btRigidBodyFloatData *arg1 = (btRigidBodyFloatData *) 0 ;
btVector3FloatData *arg2 = (btVector3FloatData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btRigidBodyFloatData **)&jarg1;
arg2 = *(btVector3FloatData **)&jarg2;
if (arg1) (arg1)->m_linearVelocity = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyFloatData_1linearVelocity_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btRigidBodyFloatData *arg1 = (btRigidBodyFloatData *) 0 ;
btVector3FloatData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBodyFloatData **)&jarg1;
result = (btVector3FloatData *)& ((arg1)->m_linearVelocity);
*(btVector3FloatData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyFloatData_1angularVelocity_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btRigidBodyFloatData *arg1 = (btRigidBodyFloatData *) 0 ;
btVector3FloatData *arg2 = (btVector3FloatData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btRigidBodyFloatData **)&jarg1;
arg2 = *(btVector3FloatData **)&jarg2;
if (arg1) (arg1)->m_angularVelocity = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyFloatData_1angularVelocity_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btRigidBodyFloatData *arg1 = (btRigidBodyFloatData *) 0 ;
btVector3FloatData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBodyFloatData **)&jarg1;
result = (btVector3FloatData *)& ((arg1)->m_angularVelocity);
*(btVector3FloatData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyFloatData_1angularFactor_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btRigidBodyFloatData *arg1 = (btRigidBodyFloatData *) 0 ;
btVector3FloatData *arg2 = (btVector3FloatData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btRigidBodyFloatData **)&jarg1;
arg2 = *(btVector3FloatData **)&jarg2;
if (arg1) (arg1)->m_angularFactor = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyFloatData_1angularFactor_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btRigidBodyFloatData *arg1 = (btRigidBodyFloatData *) 0 ;
btVector3FloatData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBodyFloatData **)&jarg1;
result = (btVector3FloatData *)& ((arg1)->m_angularFactor);
*(btVector3FloatData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyFloatData_1linearFactor_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btRigidBodyFloatData *arg1 = (btRigidBodyFloatData *) 0 ;
btVector3FloatData *arg2 = (btVector3FloatData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btRigidBodyFloatData **)&jarg1;
arg2 = *(btVector3FloatData **)&jarg2;
if (arg1) (arg1)->m_linearFactor = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyFloatData_1linearFactor_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btRigidBodyFloatData *arg1 = (btRigidBodyFloatData *) 0 ;
btVector3FloatData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBodyFloatData **)&jarg1;
result = (btVector3FloatData *)& ((arg1)->m_linearFactor);
*(btVector3FloatData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyFloatData_1gravity_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btRigidBodyFloatData *arg1 = (btRigidBodyFloatData *) 0 ;
btVector3FloatData *arg2 = (btVector3FloatData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btRigidBodyFloatData **)&jarg1;
arg2 = *(btVector3FloatData **)&jarg2;
if (arg1) (arg1)->m_gravity = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyFloatData_1gravity_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btRigidBodyFloatData *arg1 = (btRigidBodyFloatData *) 0 ;
btVector3FloatData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBodyFloatData **)&jarg1;
result = (btVector3FloatData *)& ((arg1)->m_gravity);
*(btVector3FloatData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyFloatData_1gravity_1acceleration_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btRigidBodyFloatData *arg1 = (btRigidBodyFloatData *) 0 ;
btVector3FloatData *arg2 = (btVector3FloatData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btRigidBodyFloatData **)&jarg1;
arg2 = *(btVector3FloatData **)&jarg2;
if (arg1) (arg1)->m_gravity_acceleration = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyFloatData_1gravity_1acceleration_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btRigidBodyFloatData *arg1 = (btRigidBodyFloatData *) 0 ;
btVector3FloatData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBodyFloatData **)&jarg1;
result = (btVector3FloatData *)& ((arg1)->m_gravity_acceleration);
*(btVector3FloatData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyFloatData_1invInertiaLocal_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btRigidBodyFloatData *arg1 = (btRigidBodyFloatData *) 0 ;
btVector3FloatData *arg2 = (btVector3FloatData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btRigidBodyFloatData **)&jarg1;
arg2 = *(btVector3FloatData **)&jarg2;
if (arg1) (arg1)->m_invInertiaLocal = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyFloatData_1invInertiaLocal_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btRigidBodyFloatData *arg1 = (btRigidBodyFloatData *) 0 ;
btVector3FloatData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBodyFloatData **)&jarg1;
result = (btVector3FloatData *)& ((arg1)->m_invInertiaLocal);
*(btVector3FloatData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyFloatData_1totalForce_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btRigidBodyFloatData *arg1 = (btRigidBodyFloatData *) 0 ;
btVector3FloatData *arg2 = (btVector3FloatData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btRigidBodyFloatData **)&jarg1;
arg2 = *(btVector3FloatData **)&jarg2;
if (arg1) (arg1)->m_totalForce = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyFloatData_1totalForce_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btRigidBodyFloatData *arg1 = (btRigidBodyFloatData *) 0 ;
btVector3FloatData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBodyFloatData **)&jarg1;
result = (btVector3FloatData *)& ((arg1)->m_totalForce);
*(btVector3FloatData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyFloatData_1totalTorque_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btRigidBodyFloatData *arg1 = (btRigidBodyFloatData *) 0 ;
btVector3FloatData *arg2 = (btVector3FloatData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btRigidBodyFloatData **)&jarg1;
arg2 = *(btVector3FloatData **)&jarg2;
if (arg1) (arg1)->m_totalTorque = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyFloatData_1totalTorque_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btRigidBodyFloatData *arg1 = (btRigidBodyFloatData *) 0 ;
btVector3FloatData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBodyFloatData **)&jarg1;
result = (btVector3FloatData *)& ((arg1)->m_totalTorque);
*(btVector3FloatData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyFloatData_1inverseMass_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btRigidBodyFloatData *arg1 = (btRigidBodyFloatData *) 0 ;
float arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBodyFloatData **)&jarg1;
arg2 = (float)jarg2;
if (arg1) (arg1)->m_inverseMass = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyFloatData_1inverseMass_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btRigidBodyFloatData *arg1 = (btRigidBodyFloatData *) 0 ;
float result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBodyFloatData **)&jarg1;
result = (float) ((arg1)->m_inverseMass);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyFloatData_1linearDamping_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btRigidBodyFloatData *arg1 = (btRigidBodyFloatData *) 0 ;
float arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBodyFloatData **)&jarg1;
arg2 = (float)jarg2;
if (arg1) (arg1)->m_linearDamping = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyFloatData_1linearDamping_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btRigidBodyFloatData *arg1 = (btRigidBodyFloatData *) 0 ;
float result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBodyFloatData **)&jarg1;
result = (float) ((arg1)->m_linearDamping);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyFloatData_1angularDamping_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btRigidBodyFloatData *arg1 = (btRigidBodyFloatData *) 0 ;
float arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBodyFloatData **)&jarg1;
arg2 = (float)jarg2;
if (arg1) (arg1)->m_angularDamping = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyFloatData_1angularDamping_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btRigidBodyFloatData *arg1 = (btRigidBodyFloatData *) 0 ;
float result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBodyFloatData **)&jarg1;
result = (float) ((arg1)->m_angularDamping);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyFloatData_1additionalDampingFactor_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btRigidBodyFloatData *arg1 = (btRigidBodyFloatData *) 0 ;
float arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBodyFloatData **)&jarg1;
arg2 = (float)jarg2;
if (arg1) (arg1)->m_additionalDampingFactor = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyFloatData_1additionalDampingFactor_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btRigidBodyFloatData *arg1 = (btRigidBodyFloatData *) 0 ;
float result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBodyFloatData **)&jarg1;
result = (float) ((arg1)->m_additionalDampingFactor);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyFloatData_1additionalLinearDampingThresholdSqr_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btRigidBodyFloatData *arg1 = (btRigidBodyFloatData *) 0 ;
float arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBodyFloatData **)&jarg1;
arg2 = (float)jarg2;
if (arg1) (arg1)->m_additionalLinearDampingThresholdSqr = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyFloatData_1additionalLinearDampingThresholdSqr_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btRigidBodyFloatData *arg1 = (btRigidBodyFloatData *) 0 ;
float result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBodyFloatData **)&jarg1;
result = (float) ((arg1)->m_additionalLinearDampingThresholdSqr);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyFloatData_1additionalAngularDampingThresholdSqr_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btRigidBodyFloatData *arg1 = (btRigidBodyFloatData *) 0 ;
float arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBodyFloatData **)&jarg1;
arg2 = (float)jarg2;
if (arg1) (arg1)->m_additionalAngularDampingThresholdSqr = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyFloatData_1additionalAngularDampingThresholdSqr_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btRigidBodyFloatData *arg1 = (btRigidBodyFloatData *) 0 ;
float result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBodyFloatData **)&jarg1;
result = (float) ((arg1)->m_additionalAngularDampingThresholdSqr);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyFloatData_1additionalAngularDampingFactor_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btRigidBodyFloatData *arg1 = (btRigidBodyFloatData *) 0 ;
float arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBodyFloatData **)&jarg1;
arg2 = (float)jarg2;
if (arg1) (arg1)->m_additionalAngularDampingFactor = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyFloatData_1additionalAngularDampingFactor_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btRigidBodyFloatData *arg1 = (btRigidBodyFloatData *) 0 ;
float result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBodyFloatData **)&jarg1;
result = (float) ((arg1)->m_additionalAngularDampingFactor);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyFloatData_1linearSleepingThreshold_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btRigidBodyFloatData *arg1 = (btRigidBodyFloatData *) 0 ;
float arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBodyFloatData **)&jarg1;
arg2 = (float)jarg2;
if (arg1) (arg1)->m_linearSleepingThreshold = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyFloatData_1linearSleepingThreshold_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btRigidBodyFloatData *arg1 = (btRigidBodyFloatData *) 0 ;
float result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBodyFloatData **)&jarg1;
result = (float) ((arg1)->m_linearSleepingThreshold);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyFloatData_1angularSleepingThreshold_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btRigidBodyFloatData *arg1 = (btRigidBodyFloatData *) 0 ;
float arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBodyFloatData **)&jarg1;
arg2 = (float)jarg2;
if (arg1) (arg1)->m_angularSleepingThreshold = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyFloatData_1angularSleepingThreshold_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btRigidBodyFloatData *arg1 = (btRigidBodyFloatData *) 0 ;
float result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBodyFloatData **)&jarg1;
result = (float) ((arg1)->m_angularSleepingThreshold);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyFloatData_1additionalDamping_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btRigidBodyFloatData *arg1 = (btRigidBodyFloatData *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBodyFloatData **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_additionalDamping = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyFloatData_1additionalDamping_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btRigidBodyFloatData *arg1 = (btRigidBodyFloatData *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBodyFloatData **)&jarg1;
result = (int) ((arg1)->m_additionalDamping);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btRigidBodyFloatData(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btRigidBodyFloatData *result = 0 ;
(void)jenv;
(void)jcls;
result = (btRigidBodyFloatData *)new btRigidBodyFloatData();
*(btRigidBodyFloatData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btRigidBodyFloatData(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btRigidBodyFloatData *arg1 = (btRigidBodyFloatData *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btRigidBodyFloatData **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyDoubleData_1collisionObjectData_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btRigidBodyDoubleData *arg1 = (btRigidBodyDoubleData *) 0 ;
btCollisionObjectDoubleData *arg2 = (btCollisionObjectDoubleData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btRigidBodyDoubleData **)&jarg1;
arg2 = *(btCollisionObjectDoubleData **)&jarg2;
if (arg1) (arg1)->m_collisionObjectData = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyDoubleData_1collisionObjectData_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btRigidBodyDoubleData *arg1 = (btRigidBodyDoubleData *) 0 ;
btCollisionObjectDoubleData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBodyDoubleData **)&jarg1;
result = (btCollisionObjectDoubleData *)& ((arg1)->m_collisionObjectData);
*(btCollisionObjectDoubleData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyDoubleData_1invInertiaTensorWorld_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btRigidBodyDoubleData *arg1 = (btRigidBodyDoubleData *) 0 ;
btMatrix3x3DoubleData *arg2 = (btMatrix3x3DoubleData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btRigidBodyDoubleData **)&jarg1;
arg2 = *(btMatrix3x3DoubleData **)&jarg2;
if (arg1) (arg1)->m_invInertiaTensorWorld = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyDoubleData_1invInertiaTensorWorld_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btRigidBodyDoubleData *arg1 = (btRigidBodyDoubleData *) 0 ;
btMatrix3x3DoubleData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBodyDoubleData **)&jarg1;
result = (btMatrix3x3DoubleData *)& ((arg1)->m_invInertiaTensorWorld);
*(btMatrix3x3DoubleData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyDoubleData_1linearVelocity_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btRigidBodyDoubleData *arg1 = (btRigidBodyDoubleData *) 0 ;
btVector3DoubleData *arg2 = (btVector3DoubleData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btRigidBodyDoubleData **)&jarg1;
arg2 = *(btVector3DoubleData **)&jarg2;
if (arg1) (arg1)->m_linearVelocity = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyDoubleData_1linearVelocity_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btRigidBodyDoubleData *arg1 = (btRigidBodyDoubleData *) 0 ;
btVector3DoubleData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBodyDoubleData **)&jarg1;
result = (btVector3DoubleData *)& ((arg1)->m_linearVelocity);
*(btVector3DoubleData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyDoubleData_1angularVelocity_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btRigidBodyDoubleData *arg1 = (btRigidBodyDoubleData *) 0 ;
btVector3DoubleData *arg2 = (btVector3DoubleData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btRigidBodyDoubleData **)&jarg1;
arg2 = *(btVector3DoubleData **)&jarg2;
if (arg1) (arg1)->m_angularVelocity = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyDoubleData_1angularVelocity_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btRigidBodyDoubleData *arg1 = (btRigidBodyDoubleData *) 0 ;
btVector3DoubleData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBodyDoubleData **)&jarg1;
result = (btVector3DoubleData *)& ((arg1)->m_angularVelocity);
*(btVector3DoubleData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyDoubleData_1angularFactor_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btRigidBodyDoubleData *arg1 = (btRigidBodyDoubleData *) 0 ;
btVector3DoubleData *arg2 = (btVector3DoubleData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btRigidBodyDoubleData **)&jarg1;
arg2 = *(btVector3DoubleData **)&jarg2;
if (arg1) (arg1)->m_angularFactor = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyDoubleData_1angularFactor_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btRigidBodyDoubleData *arg1 = (btRigidBodyDoubleData *) 0 ;
btVector3DoubleData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBodyDoubleData **)&jarg1;
result = (btVector3DoubleData *)& ((arg1)->m_angularFactor);
*(btVector3DoubleData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyDoubleData_1linearFactor_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btRigidBodyDoubleData *arg1 = (btRigidBodyDoubleData *) 0 ;
btVector3DoubleData *arg2 = (btVector3DoubleData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btRigidBodyDoubleData **)&jarg1;
arg2 = *(btVector3DoubleData **)&jarg2;
if (arg1) (arg1)->m_linearFactor = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyDoubleData_1linearFactor_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btRigidBodyDoubleData *arg1 = (btRigidBodyDoubleData *) 0 ;
btVector3DoubleData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBodyDoubleData **)&jarg1;
result = (btVector3DoubleData *)& ((arg1)->m_linearFactor);
*(btVector3DoubleData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyDoubleData_1gravity_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btRigidBodyDoubleData *arg1 = (btRigidBodyDoubleData *) 0 ;
btVector3DoubleData *arg2 = (btVector3DoubleData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btRigidBodyDoubleData **)&jarg1;
arg2 = *(btVector3DoubleData **)&jarg2;
if (arg1) (arg1)->m_gravity = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyDoubleData_1gravity_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btRigidBodyDoubleData *arg1 = (btRigidBodyDoubleData *) 0 ;
btVector3DoubleData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBodyDoubleData **)&jarg1;
result = (btVector3DoubleData *)& ((arg1)->m_gravity);
*(btVector3DoubleData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyDoubleData_1gravity_1acceleration_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btRigidBodyDoubleData *arg1 = (btRigidBodyDoubleData *) 0 ;
btVector3DoubleData *arg2 = (btVector3DoubleData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btRigidBodyDoubleData **)&jarg1;
arg2 = *(btVector3DoubleData **)&jarg2;
if (arg1) (arg1)->m_gravity_acceleration = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyDoubleData_1gravity_1acceleration_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btRigidBodyDoubleData *arg1 = (btRigidBodyDoubleData *) 0 ;
btVector3DoubleData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBodyDoubleData **)&jarg1;
result = (btVector3DoubleData *)& ((arg1)->m_gravity_acceleration);
*(btVector3DoubleData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyDoubleData_1invInertiaLocal_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btRigidBodyDoubleData *arg1 = (btRigidBodyDoubleData *) 0 ;
btVector3DoubleData *arg2 = (btVector3DoubleData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btRigidBodyDoubleData **)&jarg1;
arg2 = *(btVector3DoubleData **)&jarg2;
if (arg1) (arg1)->m_invInertiaLocal = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyDoubleData_1invInertiaLocal_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btRigidBodyDoubleData *arg1 = (btRigidBodyDoubleData *) 0 ;
btVector3DoubleData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBodyDoubleData **)&jarg1;
result = (btVector3DoubleData *)& ((arg1)->m_invInertiaLocal);
*(btVector3DoubleData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyDoubleData_1totalForce_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btRigidBodyDoubleData *arg1 = (btRigidBodyDoubleData *) 0 ;
btVector3DoubleData *arg2 = (btVector3DoubleData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btRigidBodyDoubleData **)&jarg1;
arg2 = *(btVector3DoubleData **)&jarg2;
if (arg1) (arg1)->m_totalForce = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyDoubleData_1totalForce_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btRigidBodyDoubleData *arg1 = (btRigidBodyDoubleData *) 0 ;
btVector3DoubleData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBodyDoubleData **)&jarg1;
result = (btVector3DoubleData *)& ((arg1)->m_totalForce);
*(btVector3DoubleData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyDoubleData_1totalTorque_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btRigidBodyDoubleData *arg1 = (btRigidBodyDoubleData *) 0 ;
btVector3DoubleData *arg2 = (btVector3DoubleData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btRigidBodyDoubleData **)&jarg1;
arg2 = *(btVector3DoubleData **)&jarg2;
if (arg1) (arg1)->m_totalTorque = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyDoubleData_1totalTorque_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btRigidBodyDoubleData *arg1 = (btRigidBodyDoubleData *) 0 ;
btVector3DoubleData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBodyDoubleData **)&jarg1;
result = (btVector3DoubleData *)& ((arg1)->m_totalTorque);
*(btVector3DoubleData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyDoubleData_1inverseMass_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2) {
btRigidBodyDoubleData *arg1 = (btRigidBodyDoubleData *) 0 ;
double arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBodyDoubleData **)&jarg1;
arg2 = (double)jarg2;
if (arg1) (arg1)->m_inverseMass = arg2;
}
SWIGEXPORT jdouble JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyDoubleData_1inverseMass_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jdouble jresult = 0 ;
btRigidBodyDoubleData *arg1 = (btRigidBodyDoubleData *) 0 ;
double result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBodyDoubleData **)&jarg1;
result = (double) ((arg1)->m_inverseMass);
jresult = (jdouble)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyDoubleData_1linearDamping_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2) {
btRigidBodyDoubleData *arg1 = (btRigidBodyDoubleData *) 0 ;
double arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBodyDoubleData **)&jarg1;
arg2 = (double)jarg2;
if (arg1) (arg1)->m_linearDamping = arg2;
}
SWIGEXPORT jdouble JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyDoubleData_1linearDamping_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jdouble jresult = 0 ;
btRigidBodyDoubleData *arg1 = (btRigidBodyDoubleData *) 0 ;
double result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBodyDoubleData **)&jarg1;
result = (double) ((arg1)->m_linearDamping);
jresult = (jdouble)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyDoubleData_1angularDamping_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2) {
btRigidBodyDoubleData *arg1 = (btRigidBodyDoubleData *) 0 ;
double arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBodyDoubleData **)&jarg1;
arg2 = (double)jarg2;
if (arg1) (arg1)->m_angularDamping = arg2;
}
SWIGEXPORT jdouble JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyDoubleData_1angularDamping_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jdouble jresult = 0 ;
btRigidBodyDoubleData *arg1 = (btRigidBodyDoubleData *) 0 ;
double result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBodyDoubleData **)&jarg1;
result = (double) ((arg1)->m_angularDamping);
jresult = (jdouble)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyDoubleData_1additionalDampingFactor_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2) {
btRigidBodyDoubleData *arg1 = (btRigidBodyDoubleData *) 0 ;
double arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBodyDoubleData **)&jarg1;
arg2 = (double)jarg2;
if (arg1) (arg1)->m_additionalDampingFactor = arg2;
}
SWIGEXPORT jdouble JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyDoubleData_1additionalDampingFactor_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jdouble jresult = 0 ;
btRigidBodyDoubleData *arg1 = (btRigidBodyDoubleData *) 0 ;
double result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBodyDoubleData **)&jarg1;
result = (double) ((arg1)->m_additionalDampingFactor);
jresult = (jdouble)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyDoubleData_1additionalLinearDampingThresholdSqr_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2) {
btRigidBodyDoubleData *arg1 = (btRigidBodyDoubleData *) 0 ;
double arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBodyDoubleData **)&jarg1;
arg2 = (double)jarg2;
if (arg1) (arg1)->m_additionalLinearDampingThresholdSqr = arg2;
}
SWIGEXPORT jdouble JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyDoubleData_1additionalLinearDampingThresholdSqr_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jdouble jresult = 0 ;
btRigidBodyDoubleData *arg1 = (btRigidBodyDoubleData *) 0 ;
double result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBodyDoubleData **)&jarg1;
result = (double) ((arg1)->m_additionalLinearDampingThresholdSqr);
jresult = (jdouble)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyDoubleData_1additionalAngularDampingThresholdSqr_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2) {
btRigidBodyDoubleData *arg1 = (btRigidBodyDoubleData *) 0 ;
double arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBodyDoubleData **)&jarg1;
arg2 = (double)jarg2;
if (arg1) (arg1)->m_additionalAngularDampingThresholdSqr = arg2;
}
SWIGEXPORT jdouble JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyDoubleData_1additionalAngularDampingThresholdSqr_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jdouble jresult = 0 ;
btRigidBodyDoubleData *arg1 = (btRigidBodyDoubleData *) 0 ;
double result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBodyDoubleData **)&jarg1;
result = (double) ((arg1)->m_additionalAngularDampingThresholdSqr);
jresult = (jdouble)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyDoubleData_1additionalAngularDampingFactor_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2) {
btRigidBodyDoubleData *arg1 = (btRigidBodyDoubleData *) 0 ;
double arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBodyDoubleData **)&jarg1;
arg2 = (double)jarg2;
if (arg1) (arg1)->m_additionalAngularDampingFactor = arg2;
}
SWIGEXPORT jdouble JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyDoubleData_1additionalAngularDampingFactor_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jdouble jresult = 0 ;
btRigidBodyDoubleData *arg1 = (btRigidBodyDoubleData *) 0 ;
double result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBodyDoubleData **)&jarg1;
result = (double) ((arg1)->m_additionalAngularDampingFactor);
jresult = (jdouble)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyDoubleData_1linearSleepingThreshold_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2) {
btRigidBodyDoubleData *arg1 = (btRigidBodyDoubleData *) 0 ;
double arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBodyDoubleData **)&jarg1;
arg2 = (double)jarg2;
if (arg1) (arg1)->m_linearSleepingThreshold = arg2;
}
SWIGEXPORT jdouble JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyDoubleData_1linearSleepingThreshold_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jdouble jresult = 0 ;
btRigidBodyDoubleData *arg1 = (btRigidBodyDoubleData *) 0 ;
double result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBodyDoubleData **)&jarg1;
result = (double) ((arg1)->m_linearSleepingThreshold);
jresult = (jdouble)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyDoubleData_1angularSleepingThreshold_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2) {
btRigidBodyDoubleData *arg1 = (btRigidBodyDoubleData *) 0 ;
double arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBodyDoubleData **)&jarg1;
arg2 = (double)jarg2;
if (arg1) (arg1)->m_angularSleepingThreshold = arg2;
}
SWIGEXPORT jdouble JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyDoubleData_1angularSleepingThreshold_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jdouble jresult = 0 ;
btRigidBodyDoubleData *arg1 = (btRigidBodyDoubleData *) 0 ;
double result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBodyDoubleData **)&jarg1;
result = (double) ((arg1)->m_angularSleepingThreshold);
jresult = (jdouble)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyDoubleData_1additionalDamping_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btRigidBodyDoubleData *arg1 = (btRigidBodyDoubleData *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBodyDoubleData **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_additionalDamping = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyDoubleData_1additionalDamping_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btRigidBodyDoubleData *arg1 = (btRigidBodyDoubleData *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBodyDoubleData **)&jarg1;
result = (int) ((arg1)->m_additionalDamping);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyDoubleData_1padding_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
btRigidBodyDoubleData *arg1 = (btRigidBodyDoubleData *) 0 ;
char *arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBodyDoubleData **)&jarg1;
arg2 = 0;
if (jarg2) {
arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
if (!arg2) return ;
}
{
if(arg2) {
strncpy((char*)arg1->m_padding, (const char *)arg2, 4-1);
arg1->m_padding[4-1] = 0;
} else {
arg1->m_padding[0] = 0;
}
}
if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
}
SWIGEXPORT jstring JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyDoubleData_1padding_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jstring jresult = 0 ;
btRigidBodyDoubleData *arg1 = (btRigidBodyDoubleData *) 0 ;
char *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBodyDoubleData **)&jarg1;
result = (char *)(char *) ((arg1)->m_padding);
if (result) jresult = jenv->NewStringUTF((const char *)result);
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btRigidBodyDoubleData(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btRigidBodyDoubleData *result = 0 ;
(void)jenv;
(void)jcls;
result = (btRigidBodyDoubleData *)new btRigidBodyDoubleData();
*(btRigidBodyDoubleData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btRigidBodyDoubleData(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btRigidBodyDoubleData *arg1 = (btRigidBodyDoubleData *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btRigidBodyDoubleData **)&jarg1;
delete arg1;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btJointFeedback_1operatorNew_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btJointFeedback *arg1 = (btJointFeedback *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btJointFeedback **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new(arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btJointFeedback_1operatorDelete_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btJointFeedback *arg1 = (btJointFeedback *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btJointFeedback **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete(arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btJointFeedback_1operatorNew_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btJointFeedback *arg1 = (btJointFeedback *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btJointFeedback **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new(arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btJointFeedback_1operatorDelete_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btJointFeedback *arg1 = (btJointFeedback *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btJointFeedback **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete(arg2,arg3);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btJointFeedback_1operatorNewArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btJointFeedback *arg1 = (btJointFeedback *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btJointFeedback **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new[](arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btJointFeedback_1operatorDeleteArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btJointFeedback *arg1 = (btJointFeedback *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btJointFeedback **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete[](arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btJointFeedback_1operatorNewArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btJointFeedback *arg1 = (btJointFeedback *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btJointFeedback **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new[](arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btJointFeedback_1operatorDeleteArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btJointFeedback *arg1 = (btJointFeedback *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btJointFeedback **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete[](arg2,arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btJointFeedback_1appliedForceBodyA_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btJointFeedback *arg1 = (btJointFeedback *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btJointFeedback **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->m_appliedForceBodyA = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btJointFeedback_1appliedForceBodyA_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btJointFeedback *arg1 = (btJointFeedback *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btJointFeedback **)&jarg1;
result = (btVector3 *)& ((arg1)->m_appliedForceBodyA);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btJointFeedback_1appliedTorqueBodyA_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btJointFeedback *arg1 = (btJointFeedback *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btJointFeedback **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->m_appliedTorqueBodyA = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btJointFeedback_1appliedTorqueBodyA_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btJointFeedback *arg1 = (btJointFeedback *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btJointFeedback **)&jarg1;
result = (btVector3 *)& ((arg1)->m_appliedTorqueBodyA);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btJointFeedback_1appliedForceBodyB_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btJointFeedback *arg1 = (btJointFeedback *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btJointFeedback **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->m_appliedForceBodyB = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btJointFeedback_1appliedForceBodyB_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btJointFeedback *arg1 = (btJointFeedback *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btJointFeedback **)&jarg1;
result = (btVector3 *)& ((arg1)->m_appliedForceBodyB);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btJointFeedback_1appliedTorqueBodyB_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btJointFeedback *arg1 = (btJointFeedback *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btJointFeedback **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->m_appliedTorqueBodyB = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btJointFeedback_1appliedTorqueBodyB_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btJointFeedback *arg1 = (btJointFeedback *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btJointFeedback **)&jarg1;
result = (btVector3 *)& ((arg1)->m_appliedTorqueBodyB);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btJointFeedback(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btJointFeedback *result = 0 ;
(void)jenv;
(void)jcls;
result = (btJointFeedback *)new btJointFeedback();
*(btJointFeedback **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btJointFeedback(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btJointFeedback *arg1 = (btJointFeedback *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btJointFeedback **)&jarg1;
delete arg1;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1operatorNew_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btTypedConstraint *arg1 = (btTypedConstraint *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraint **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new(arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1operatorDelete_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btTypedConstraint *arg1 = (btTypedConstraint *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraint **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete(arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1operatorNew_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btTypedConstraint *arg1 = (btTypedConstraint *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraint **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new(arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1operatorDelete_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btTypedConstraint *arg1 = (btTypedConstraint *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraint **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete(arg2,arg3);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1operatorNewArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btTypedConstraint *arg1 = (btTypedConstraint *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraint **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new[](arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1operatorDeleteArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btTypedConstraint *arg1 = (btTypedConstraint *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraint **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete[](arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1operatorNewArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btTypedConstraint *arg1 = (btTypedConstraint *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraint **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new[](arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1operatorDeleteArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btTypedConstraint *arg1 = (btTypedConstraint *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraint **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete[](arg2,arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btTypedConstraint(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btTypedConstraint *arg1 = (btTypedConstraint *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btTypedConstraint **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1btConstraintInfo1_1numConstraintRows_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btTypedConstraint::btConstraintInfo1 *arg1 = (btTypedConstraint::btConstraintInfo1 *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraint::btConstraintInfo1 **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_numConstraintRows = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1btConstraintInfo1_1numConstraintRows_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btTypedConstraint::btConstraintInfo1 *arg1 = (btTypedConstraint::btConstraintInfo1 *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraint::btConstraintInfo1 **)&jarg1;
result = (int) ((arg1)->m_numConstraintRows);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1btConstraintInfo1_1nub_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btTypedConstraint::btConstraintInfo1 *arg1 = (btTypedConstraint::btConstraintInfo1 *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraint::btConstraintInfo1 **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->nub = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1btConstraintInfo1_1nub_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btTypedConstraint::btConstraintInfo1 *arg1 = (btTypedConstraint::btConstraintInfo1 *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraint::btConstraintInfo1 **)&jarg1;
result = (int) ((arg1)->nub);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btTypedConstraint_1btConstraintInfo1(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btTypedConstraint::btConstraintInfo1 *result = 0 ;
(void)jenv;
(void)jcls;
result = (btTypedConstraint::btConstraintInfo1 *)new btTypedConstraint::btConstraintInfo1();
*(btTypedConstraint::btConstraintInfo1 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btTypedConstraint_1btConstraintInfo1(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btTypedConstraint::btConstraintInfo1 *arg1 = (btTypedConstraint::btConstraintInfo1 *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btTypedConstraint::btConstraintInfo1 **)&jarg1;
delete arg1;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1getFixedBody(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btRigidBody *result = 0 ;
(void)jenv;
(void)jcls;
result = (btRigidBody *) &btTypedConstraint::getFixedBody();
*(btRigidBody **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1btConstraintInfo2_1fps_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btTypedConstraint::btConstraintInfo2 *arg1 = (btTypedConstraint::btConstraintInfo2 *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraint::btConstraintInfo2 **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->fps = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1btConstraintInfo2_1fps_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btTypedConstraint::btConstraintInfo2 *arg1 = (btTypedConstraint::btConstraintInfo2 *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraint::btConstraintInfo2 **)&jarg1;
result = (btScalar) ((arg1)->fps);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1btConstraintInfo2_1erp_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btTypedConstraint::btConstraintInfo2 *arg1 = (btTypedConstraint::btConstraintInfo2 *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraint::btConstraintInfo2 **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->erp = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1btConstraintInfo2_1erp_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btTypedConstraint::btConstraintInfo2 *arg1 = (btTypedConstraint::btConstraintInfo2 *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraint::btConstraintInfo2 **)&jarg1;
result = (btScalar) ((arg1)->erp);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1btConstraintInfo2_1J1linearAxis_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btTypedConstraint::btConstraintInfo2 *arg1 = (btTypedConstraint::btConstraintInfo2 *) 0 ;
btScalar *arg2 = (btScalar *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraint::btConstraintInfo2 **)&jarg1;
arg2 = *(btScalar **)&jarg2;
if (arg1) (arg1)->m_J1linearAxis = arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1btConstraintInfo2_1J1linearAxis_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btTypedConstraint::btConstraintInfo2 *arg1 = (btTypedConstraint::btConstraintInfo2 *) 0 ;
btScalar *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraint::btConstraintInfo2 **)&jarg1;
result = (btScalar *) ((arg1)->m_J1linearAxis);
*(btScalar **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1btConstraintInfo2_1J1angularAxis_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btTypedConstraint::btConstraintInfo2 *arg1 = (btTypedConstraint::btConstraintInfo2 *) 0 ;
btScalar *arg2 = (btScalar *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraint::btConstraintInfo2 **)&jarg1;
arg2 = *(btScalar **)&jarg2;
if (arg1) (arg1)->m_J1angularAxis = arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1btConstraintInfo2_1J1angularAxis_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btTypedConstraint::btConstraintInfo2 *arg1 = (btTypedConstraint::btConstraintInfo2 *) 0 ;
btScalar *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraint::btConstraintInfo2 **)&jarg1;
result = (btScalar *) ((arg1)->m_J1angularAxis);
*(btScalar **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1btConstraintInfo2_1J2linearAxis_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btTypedConstraint::btConstraintInfo2 *arg1 = (btTypedConstraint::btConstraintInfo2 *) 0 ;
btScalar *arg2 = (btScalar *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraint::btConstraintInfo2 **)&jarg1;
arg2 = *(btScalar **)&jarg2;
if (arg1) (arg1)->m_J2linearAxis = arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1btConstraintInfo2_1J2linearAxis_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btTypedConstraint::btConstraintInfo2 *arg1 = (btTypedConstraint::btConstraintInfo2 *) 0 ;
btScalar *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraint::btConstraintInfo2 **)&jarg1;
result = (btScalar *) ((arg1)->m_J2linearAxis);
*(btScalar **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1btConstraintInfo2_1J2angularAxis_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btTypedConstraint::btConstraintInfo2 *arg1 = (btTypedConstraint::btConstraintInfo2 *) 0 ;
btScalar *arg2 = (btScalar *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraint::btConstraintInfo2 **)&jarg1;
arg2 = *(btScalar **)&jarg2;
if (arg1) (arg1)->m_J2angularAxis = arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1btConstraintInfo2_1J2angularAxis_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btTypedConstraint::btConstraintInfo2 *arg1 = (btTypedConstraint::btConstraintInfo2 *) 0 ;
btScalar *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraint::btConstraintInfo2 **)&jarg1;
result = (btScalar *) ((arg1)->m_J2angularAxis);
*(btScalar **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1btConstraintInfo2_1rowskip_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btTypedConstraint::btConstraintInfo2 *arg1 = (btTypedConstraint::btConstraintInfo2 *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraint::btConstraintInfo2 **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->rowskip = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1btConstraintInfo2_1rowskip_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btTypedConstraint::btConstraintInfo2 *arg1 = (btTypedConstraint::btConstraintInfo2 *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraint::btConstraintInfo2 **)&jarg1;
result = (int) ((arg1)->rowskip);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1btConstraintInfo2_1constraintError_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btTypedConstraint::btConstraintInfo2 *arg1 = (btTypedConstraint::btConstraintInfo2 *) 0 ;
btScalar *arg2 = (btScalar *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraint::btConstraintInfo2 **)&jarg1;
arg2 = *(btScalar **)&jarg2;
if (arg1) (arg1)->m_constraintError = arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1btConstraintInfo2_1constraintError_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btTypedConstraint::btConstraintInfo2 *arg1 = (btTypedConstraint::btConstraintInfo2 *) 0 ;
btScalar *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraint::btConstraintInfo2 **)&jarg1;
result = (btScalar *) ((arg1)->m_constraintError);
*(btScalar **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1btConstraintInfo2_1cfm_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btTypedConstraint::btConstraintInfo2 *arg1 = (btTypedConstraint::btConstraintInfo2 *) 0 ;
btScalar *arg2 = (btScalar *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraint::btConstraintInfo2 **)&jarg1;
arg2 = *(btScalar **)&jarg2;
if (arg1) (arg1)->cfm = arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1btConstraintInfo2_1cfm_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btTypedConstraint::btConstraintInfo2 *arg1 = (btTypedConstraint::btConstraintInfo2 *) 0 ;
btScalar *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraint::btConstraintInfo2 **)&jarg1;
result = (btScalar *) ((arg1)->cfm);
*(btScalar **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1btConstraintInfo2_1lowerLimit_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btTypedConstraint::btConstraintInfo2 *arg1 = (btTypedConstraint::btConstraintInfo2 *) 0 ;
btScalar *arg2 = (btScalar *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraint::btConstraintInfo2 **)&jarg1;
arg2 = *(btScalar **)&jarg2;
if (arg1) (arg1)->m_lowerLimit = arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1btConstraintInfo2_1lowerLimit_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btTypedConstraint::btConstraintInfo2 *arg1 = (btTypedConstraint::btConstraintInfo2 *) 0 ;
btScalar *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraint::btConstraintInfo2 **)&jarg1;
result = (btScalar *) ((arg1)->m_lowerLimit);
*(btScalar **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1btConstraintInfo2_1upperLimit_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btTypedConstraint::btConstraintInfo2 *arg1 = (btTypedConstraint::btConstraintInfo2 *) 0 ;
btScalar *arg2 = (btScalar *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraint::btConstraintInfo2 **)&jarg1;
arg2 = *(btScalar **)&jarg2;
if (arg1) (arg1)->m_upperLimit = arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1btConstraintInfo2_1upperLimit_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btTypedConstraint::btConstraintInfo2 *arg1 = (btTypedConstraint::btConstraintInfo2 *) 0 ;
btScalar *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraint::btConstraintInfo2 **)&jarg1;
result = (btScalar *) ((arg1)->m_upperLimit);
*(btScalar **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1btConstraintInfo2_1numIterations_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btTypedConstraint::btConstraintInfo2 *arg1 = (btTypedConstraint::btConstraintInfo2 *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraint::btConstraintInfo2 **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_numIterations = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1btConstraintInfo2_1numIterations_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btTypedConstraint::btConstraintInfo2 *arg1 = (btTypedConstraint::btConstraintInfo2 *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraint::btConstraintInfo2 **)&jarg1;
result = (int) ((arg1)->m_numIterations);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1btConstraintInfo2_1damping_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btTypedConstraint::btConstraintInfo2 *arg1 = (btTypedConstraint::btConstraintInfo2 *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraint::btConstraintInfo2 **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_damping = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1btConstraintInfo2_1damping_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btTypedConstraint::btConstraintInfo2 *arg1 = (btTypedConstraint::btConstraintInfo2 *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraint::btConstraintInfo2 **)&jarg1;
result = (btScalar) ((arg1)->m_damping);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btTypedConstraint_1btConstraintInfo2(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btTypedConstraint::btConstraintInfo2 *result = 0 ;
(void)jenv;
(void)jcls;
result = (btTypedConstraint::btConstraintInfo2 *)new btTypedConstraint::btConstraintInfo2();
*(btTypedConstraint::btConstraintInfo2 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btTypedConstraint_1btConstraintInfo2(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btTypedConstraint::btConstraintInfo2 *arg1 = (btTypedConstraint::btConstraintInfo2 *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btTypedConstraint::btConstraintInfo2 **)&jarg1;
delete arg1;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1getOverrideNumSolverIterations(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btTypedConstraint *arg1 = (btTypedConstraint *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraint **)&jarg1;
result = (int)((btTypedConstraint const *)arg1)->getOverrideNumSolverIterations();
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1setOverrideNumSolverIterations(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btTypedConstraint *arg1 = (btTypedConstraint *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraint **)&jarg1;
arg2 = (int)jarg2;
(arg1)->setOverrideNumSolverIterations(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1buildJacobian(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
btTypedConstraint *arg1 = (btTypedConstraint *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraint **)&jarg1;
(arg1)->buildJacobian();
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1setupSolverConstraint(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jint jarg3, jint jarg4, jfloat jarg5) {
btTypedConstraint *arg1 = (btTypedConstraint *) 0 ;
btConstraintArray *arg2 = 0 ;
int arg3 ;
int arg4 ;
btScalar arg5 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraint **)&jarg1;
arg2 = *(btConstraintArray **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btConstraintArray & reference is null");
return ;
}
arg3 = (int)jarg3;
arg4 = (int)jarg4;
arg5 = (btScalar)jarg5;
(arg1)->setupSolverConstraint(*arg2,arg3,arg4,arg5);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1getInfo1(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btTypedConstraint *arg1 = (btTypedConstraint *) 0 ;
btTypedConstraint::btConstraintInfo1 *arg2 = (btTypedConstraint::btConstraintInfo1 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btTypedConstraint **)&jarg1;
arg2 = *(btTypedConstraint::btConstraintInfo1 **)&jarg2;
(arg1)->getInfo1(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1getInfo2(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btTypedConstraint *arg1 = (btTypedConstraint *) 0 ;
btTypedConstraint::btConstraintInfo2 *arg2 = (btTypedConstraint::btConstraintInfo2 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btTypedConstraint **)&jarg1;
arg2 = *(btTypedConstraint::btConstraintInfo2 **)&jarg2;
(arg1)->getInfo2(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1internalSetAppliedImpulse(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btTypedConstraint *arg1 = (btTypedConstraint *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraint **)&jarg1;
arg2 = (btScalar)jarg2;
(arg1)->internalSetAppliedImpulse(arg2);
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1internalGetAppliedImpulse(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btTypedConstraint *arg1 = (btTypedConstraint *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraint **)&jarg1;
result = (btScalar)(arg1)->internalGetAppliedImpulse();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1getBreakingImpulseThreshold(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btTypedConstraint *arg1 = (btTypedConstraint *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraint **)&jarg1;
result = (btScalar)((btTypedConstraint const *)arg1)->getBreakingImpulseThreshold();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1setBreakingImpulseThreshold(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btTypedConstraint *arg1 = (btTypedConstraint *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraint **)&jarg1;
arg2 = (btScalar)jarg2;
(arg1)->setBreakingImpulseThreshold(arg2);
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1isEnabled(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jboolean jresult = 0 ;
btTypedConstraint *arg1 = (btTypedConstraint *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraint **)&jarg1;
result = (bool)((btTypedConstraint const *)arg1)->isEnabled();
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1setEnabled(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jboolean jarg2) {
btTypedConstraint *arg1 = (btTypedConstraint *) 0 ;
bool arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraint **)&jarg1;
arg2 = jarg2 ? true : false;
(arg1)->setEnabled(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1solveConstraintObsolete(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_, jfloat jarg4) {
btTypedConstraint *arg1 = (btTypedConstraint *) 0 ;
btSolverBody *arg2 = 0 ;
btSolverBody *arg3 = 0 ;
btScalar arg4 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
(void)jarg3_;
arg1 = *(btTypedConstraint **)&jarg1;
arg2 = *(btSolverBody **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btSolverBody & reference is null");
return ;
}
arg3 = *(btSolverBody **)&jarg3;
if (!arg3) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btSolverBody & reference is null");
return ;
}
arg4 = (btScalar)jarg4;
(arg1)->solveConstraintObsolete(*arg2,*arg3,arg4);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1getRigidBodyAConst(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btTypedConstraint *arg1 = (btTypedConstraint *) 0 ;
btRigidBody *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraint **)&jarg1;
result = (btRigidBody *) &((btTypedConstraint const *)arg1)->getRigidBodyA();
*(btRigidBody **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1getRigidBodyBConst(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btTypedConstraint *arg1 = (btTypedConstraint *) 0 ;
btRigidBody *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraint **)&jarg1;
result = (btRigidBody *) &((btTypedConstraint const *)arg1)->getRigidBodyB();
*(btRigidBody **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1getRigidBodyA(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btTypedConstraint *arg1 = (btTypedConstraint *) 0 ;
btRigidBody *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraint **)&jarg1;
result = (btRigidBody *) &(arg1)->getRigidBodyA();
*(btRigidBody **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1getRigidBodyB(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btTypedConstraint *arg1 = (btTypedConstraint *) 0 ;
btRigidBody *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraint **)&jarg1;
result = (btRigidBody *) &(arg1)->getRigidBodyB();
*(btRigidBody **)&jresult = result;
return jresult;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1getUserConstraintType(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btTypedConstraint *arg1 = (btTypedConstraint *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraint **)&jarg1;
result = (int)((btTypedConstraint const *)arg1)->getUserConstraintType();
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1setUserConstraintType(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btTypedConstraint *arg1 = (btTypedConstraint *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraint **)&jarg1;
arg2 = (int)jarg2;
(arg1)->setUserConstraintType(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1setUserConstraintId(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btTypedConstraint *arg1 = (btTypedConstraint *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraint **)&jarg1;
arg2 = (int)jarg2;
(arg1)->setUserConstraintId(arg2);
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1getUserConstraintId(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btTypedConstraint *arg1 = (btTypedConstraint *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraint **)&jarg1;
result = (int)((btTypedConstraint const *)arg1)->getUserConstraintId();
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1setUserConstraintPtr(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btTypedConstraint *arg1 = (btTypedConstraint *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraint **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->setUserConstraintPtr(arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1getUserConstraintPtr(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btTypedConstraint *arg1 = (btTypedConstraint *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraint **)&jarg1;
result = (void *)(arg1)->getUserConstraintPtr();
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1setJointFeedback(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btTypedConstraint *arg1 = (btTypedConstraint *) 0 ;
btJointFeedback *arg2 = (btJointFeedback *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btTypedConstraint **)&jarg1;
arg2 = *(btJointFeedback **)&jarg2;
(arg1)->setJointFeedback(arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1getJointFeedbackConst(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btTypedConstraint *arg1 = (btTypedConstraint *) 0 ;
btJointFeedback *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraint **)&jarg1;
result = (btJointFeedback *)((btTypedConstraint const *)arg1)->getJointFeedback();
*(btJointFeedback **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1getJointFeedback(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btTypedConstraint *arg1 = (btTypedConstraint *) 0 ;
btJointFeedback *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraint **)&jarg1;
result = (btJointFeedback *)(arg1)->getJointFeedback();
*(btJointFeedback **)&jresult = result;
return jresult;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1getUid(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btTypedConstraint *arg1 = (btTypedConstraint *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraint **)&jarg1;
result = (int)((btTypedConstraint const *)arg1)->getUid();
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1needsFeedback(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jboolean jresult = 0 ;
btTypedConstraint *arg1 = (btTypedConstraint *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraint **)&jarg1;
result = (bool)((btTypedConstraint const *)arg1)->needsFeedback();
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1enableFeedback(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jboolean jarg2) {
btTypedConstraint *arg1 = (btTypedConstraint *) 0 ;
bool arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraint **)&jarg1;
arg2 = jarg2 ? true : false;
(arg1)->enableFeedback(arg2);
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1getAppliedImpulse(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btTypedConstraint *arg1 = (btTypedConstraint *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraint **)&jarg1;
result = (btScalar)((btTypedConstraint const *)arg1)->getAppliedImpulse();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1getConstraintType(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btTypedConstraint *arg1 = (btTypedConstraint *) 0 ;
btTypedConstraintType result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraint **)&jarg1;
result = (btTypedConstraintType)((btTypedConstraint const *)arg1)->getConstraintType();
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1setDbgDrawSize(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btTypedConstraint *arg1 = (btTypedConstraint *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraint **)&jarg1;
arg2 = (btScalar)jarg2;
(arg1)->setDbgDrawSize(arg2);
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1getDbgDrawSize(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btTypedConstraint *arg1 = (btTypedConstraint *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraint **)&jarg1;
result = (btScalar)(arg1)->getDbgDrawSize();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1setParam_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jfloat jarg3, jint jarg4) {
btTypedConstraint *arg1 = (btTypedConstraint *) 0 ;
int arg2 ;
btScalar arg3 ;
int arg4 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraint **)&jarg1;
arg2 = (int)jarg2;
arg3 = (btScalar)jarg3;
arg4 = (int)jarg4;
(arg1)->setParam(arg2,arg3,arg4);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1setParam_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jfloat jarg3) {
btTypedConstraint *arg1 = (btTypedConstraint *) 0 ;
int arg2 ;
btScalar arg3 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraint **)&jarg1;
arg2 = (int)jarg2;
arg3 = (btScalar)jarg3;
(arg1)->setParam(arg2,arg3);
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1getParam_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jint jarg3) {
jfloat jresult = 0 ;
btTypedConstraint *arg1 = (btTypedConstraint *) 0 ;
int arg2 ;
int arg3 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraint **)&jarg1;
arg2 = (int)jarg2;
arg3 = (int)jarg3;
result = (btScalar)((btTypedConstraint const *)arg1)->getParam(arg2,arg3);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1getParam_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jfloat jresult = 0 ;
btTypedConstraint *arg1 = (btTypedConstraint *) 0 ;
int arg2 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraint **)&jarg1;
arg2 = (int)jarg2;
result = (btScalar)((btTypedConstraint const *)arg1)->getParam(arg2);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1calculateSerializeBufferSize(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btTypedConstraint *arg1 = (btTypedConstraint *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraint **)&jarg1;
result = (int)((btTypedConstraint const *)arg1)->calculateSerializeBufferSize();
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jstring JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1serialize(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3, jobject jarg3_) {
jstring jresult = 0 ;
btTypedConstraint *arg1 = (btTypedConstraint *) 0 ;
void *arg2 = (void *) 0 ;
btSerializer *arg3 = (btSerializer *) 0 ;
char *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg3_;
arg1 = *(btTypedConstraint **)&jarg1;
arg2 = (void *)jarg2;
arg3 = *(btSerializer **)&jarg3;
result = (char *)((btTypedConstraint const *)arg1)->serialize(arg2,arg3);
if (result) jresult = jenv->NewStringUTF((const char *)result);
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btAdjustAngleToLimits(JNIEnv *jenv, jclass jcls, jfloat jarg1, jfloat jarg2, jfloat jarg3) {
jfloat jresult = 0 ;
btScalar arg1 ;
btScalar arg2 ;
btScalar arg3 ;
btScalar result;
(void)jenv;
(void)jcls;
arg1 = (btScalar)jarg1;
arg2 = (btScalar)jarg2;
arg3 = (btScalar)jarg3;
result = (btScalar)btAdjustAngleToLimits(arg1,arg2,arg3);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintFloatData_1rbA_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btTypedConstraintFloatData *arg1 = (btTypedConstraintFloatData *) 0 ;
btRigidBodyFloatData *arg2 = (btRigidBodyFloatData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btTypedConstraintFloatData **)&jarg1;
arg2 = *(btRigidBodyFloatData **)&jarg2;
if (arg1) (arg1)->m_rbA = arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintFloatData_1rbA_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btTypedConstraintFloatData *arg1 = (btTypedConstraintFloatData *) 0 ;
btRigidBodyFloatData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraintFloatData **)&jarg1;
result = (btRigidBodyFloatData *) ((arg1)->m_rbA);
*(btRigidBodyFloatData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintFloatData_1rbB_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btTypedConstraintFloatData *arg1 = (btTypedConstraintFloatData *) 0 ;
btRigidBodyFloatData *arg2 = (btRigidBodyFloatData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btTypedConstraintFloatData **)&jarg1;
arg2 = *(btRigidBodyFloatData **)&jarg2;
if (arg1) (arg1)->m_rbB = arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintFloatData_1rbB_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btTypedConstraintFloatData *arg1 = (btTypedConstraintFloatData *) 0 ;
btRigidBodyFloatData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraintFloatData **)&jarg1;
result = (btRigidBodyFloatData *) ((arg1)->m_rbB);
*(btRigidBodyFloatData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintFloatData_1name_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
btTypedConstraintFloatData *arg1 = (btTypedConstraintFloatData *) 0 ;
char *arg2 = (char *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraintFloatData **)&jarg1;
arg2 = 0;
if (jarg2) {
arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
if (!arg2) return ;
}
{
delete [] arg1->m_name;
if (arg2) {
arg1->m_name = (char *) (new char[strlen((const char *)arg2)+1]);
strcpy((char *)arg1->m_name, (const char *)arg2);
} else {
arg1->m_name = 0;
}
}
if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
}
SWIGEXPORT jstring JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintFloatData_1name_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jstring jresult = 0 ;
btTypedConstraintFloatData *arg1 = (btTypedConstraintFloatData *) 0 ;
char *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraintFloatData **)&jarg1;
result = (char *) ((arg1)->m_name);
if (result) jresult = jenv->NewStringUTF((const char *)result);
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintFloatData_1objectType_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btTypedConstraintFloatData *arg1 = (btTypedConstraintFloatData *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraintFloatData **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_objectType = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintFloatData_1objectType_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btTypedConstraintFloatData *arg1 = (btTypedConstraintFloatData *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraintFloatData **)&jarg1;
result = (int) ((arg1)->m_objectType);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintFloatData_1userConstraintType_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btTypedConstraintFloatData *arg1 = (btTypedConstraintFloatData *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraintFloatData **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_userConstraintType = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintFloatData_1userConstraintType_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btTypedConstraintFloatData *arg1 = (btTypedConstraintFloatData *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraintFloatData **)&jarg1;
result = (int) ((arg1)->m_userConstraintType);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintFloatData_1userConstraintId_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btTypedConstraintFloatData *arg1 = (btTypedConstraintFloatData *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraintFloatData **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_userConstraintId = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintFloatData_1userConstraintId_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btTypedConstraintFloatData *arg1 = (btTypedConstraintFloatData *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraintFloatData **)&jarg1;
result = (int) ((arg1)->m_userConstraintId);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintFloatData_1needsFeedback_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btTypedConstraintFloatData *arg1 = (btTypedConstraintFloatData *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraintFloatData **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_needsFeedback = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintFloatData_1needsFeedback_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btTypedConstraintFloatData *arg1 = (btTypedConstraintFloatData *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraintFloatData **)&jarg1;
result = (int) ((arg1)->m_needsFeedback);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintFloatData_1appliedImpulse_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btTypedConstraintFloatData *arg1 = (btTypedConstraintFloatData *) 0 ;
float arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraintFloatData **)&jarg1;
arg2 = (float)jarg2;
if (arg1) (arg1)->m_appliedImpulse = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintFloatData_1appliedImpulse_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btTypedConstraintFloatData *arg1 = (btTypedConstraintFloatData *) 0 ;
float result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraintFloatData **)&jarg1;
result = (float) ((arg1)->m_appliedImpulse);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintFloatData_1dbgDrawSize_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btTypedConstraintFloatData *arg1 = (btTypedConstraintFloatData *) 0 ;
float arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraintFloatData **)&jarg1;
arg2 = (float)jarg2;
if (arg1) (arg1)->m_dbgDrawSize = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintFloatData_1dbgDrawSize_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btTypedConstraintFloatData *arg1 = (btTypedConstraintFloatData *) 0 ;
float result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraintFloatData **)&jarg1;
result = (float) ((arg1)->m_dbgDrawSize);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintFloatData_1disableCollisionsBetweenLinkedBodies_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btTypedConstraintFloatData *arg1 = (btTypedConstraintFloatData *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraintFloatData **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_disableCollisionsBetweenLinkedBodies = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintFloatData_1disableCollisionsBetweenLinkedBodies_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btTypedConstraintFloatData *arg1 = (btTypedConstraintFloatData *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraintFloatData **)&jarg1;
result = (int) ((arg1)->m_disableCollisionsBetweenLinkedBodies);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintFloatData_1overrideNumSolverIterations_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btTypedConstraintFloatData *arg1 = (btTypedConstraintFloatData *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraintFloatData **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_overrideNumSolverIterations = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintFloatData_1overrideNumSolverIterations_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btTypedConstraintFloatData *arg1 = (btTypedConstraintFloatData *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraintFloatData **)&jarg1;
result = (int) ((arg1)->m_overrideNumSolverIterations);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintFloatData_1breakingImpulseThreshold_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btTypedConstraintFloatData *arg1 = (btTypedConstraintFloatData *) 0 ;
float arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraintFloatData **)&jarg1;
arg2 = (float)jarg2;
if (arg1) (arg1)->m_breakingImpulseThreshold = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintFloatData_1breakingImpulseThreshold_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btTypedConstraintFloatData *arg1 = (btTypedConstraintFloatData *) 0 ;
float result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraintFloatData **)&jarg1;
result = (float) ((arg1)->m_breakingImpulseThreshold);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintFloatData_1isEnabled_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btTypedConstraintFloatData *arg1 = (btTypedConstraintFloatData *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraintFloatData **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_isEnabled = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintFloatData_1isEnabled_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btTypedConstraintFloatData *arg1 = (btTypedConstraintFloatData *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraintFloatData **)&jarg1;
result = (int) ((arg1)->m_isEnabled);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btTypedConstraintFloatData(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btTypedConstraintFloatData *result = 0 ;
(void)jenv;
(void)jcls;
result = (btTypedConstraintFloatData *)new btTypedConstraintFloatData();
*(btTypedConstraintFloatData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btTypedConstraintFloatData(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btTypedConstraintFloatData *arg1 = (btTypedConstraintFloatData *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btTypedConstraintFloatData **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintData_1rbA_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btTypedConstraintData *arg1 = (btTypedConstraintData *) 0 ;
btRigidBodyFloatData *arg2 = (btRigidBodyFloatData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btTypedConstraintData **)&jarg1;
arg2 = *(btRigidBodyFloatData **)&jarg2;
if (arg1) (arg1)->m_rbA = arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintData_1rbA_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btTypedConstraintData *arg1 = (btTypedConstraintData *) 0 ;
btRigidBodyFloatData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraintData **)&jarg1;
result = (btRigidBodyFloatData *) ((arg1)->m_rbA);
*(btRigidBodyFloatData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintData_1rbB_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btTypedConstraintData *arg1 = (btTypedConstraintData *) 0 ;
btRigidBodyFloatData *arg2 = (btRigidBodyFloatData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btTypedConstraintData **)&jarg1;
arg2 = *(btRigidBodyFloatData **)&jarg2;
if (arg1) (arg1)->m_rbB = arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintData_1rbB_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btTypedConstraintData *arg1 = (btTypedConstraintData *) 0 ;
btRigidBodyFloatData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraintData **)&jarg1;
result = (btRigidBodyFloatData *) ((arg1)->m_rbB);
*(btRigidBodyFloatData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintData_1name_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
btTypedConstraintData *arg1 = (btTypedConstraintData *) 0 ;
char *arg2 = (char *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraintData **)&jarg1;
arg2 = 0;
if (jarg2) {
arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
if (!arg2) return ;
}
{
delete [] arg1->m_name;
if (arg2) {
arg1->m_name = (char *) (new char[strlen((const char *)arg2)+1]);
strcpy((char *)arg1->m_name, (const char *)arg2);
} else {
arg1->m_name = 0;
}
}
if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
}
SWIGEXPORT jstring JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintData_1name_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jstring jresult = 0 ;
btTypedConstraintData *arg1 = (btTypedConstraintData *) 0 ;
char *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraintData **)&jarg1;
result = (char *) ((arg1)->m_name);
if (result) jresult = jenv->NewStringUTF((const char *)result);
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintData_1objectType_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btTypedConstraintData *arg1 = (btTypedConstraintData *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraintData **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_objectType = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintData_1objectType_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btTypedConstraintData *arg1 = (btTypedConstraintData *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraintData **)&jarg1;
result = (int) ((arg1)->m_objectType);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintData_1userConstraintType_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btTypedConstraintData *arg1 = (btTypedConstraintData *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraintData **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_userConstraintType = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintData_1userConstraintType_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btTypedConstraintData *arg1 = (btTypedConstraintData *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraintData **)&jarg1;
result = (int) ((arg1)->m_userConstraintType);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintData_1userConstraintId_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btTypedConstraintData *arg1 = (btTypedConstraintData *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraintData **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_userConstraintId = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintData_1userConstraintId_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btTypedConstraintData *arg1 = (btTypedConstraintData *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraintData **)&jarg1;
result = (int) ((arg1)->m_userConstraintId);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintData_1needsFeedback_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btTypedConstraintData *arg1 = (btTypedConstraintData *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraintData **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_needsFeedback = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintData_1needsFeedback_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btTypedConstraintData *arg1 = (btTypedConstraintData *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraintData **)&jarg1;
result = (int) ((arg1)->m_needsFeedback);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintData_1appliedImpulse_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btTypedConstraintData *arg1 = (btTypedConstraintData *) 0 ;
float arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraintData **)&jarg1;
arg2 = (float)jarg2;
if (arg1) (arg1)->m_appliedImpulse = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintData_1appliedImpulse_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btTypedConstraintData *arg1 = (btTypedConstraintData *) 0 ;
float result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraintData **)&jarg1;
result = (float) ((arg1)->m_appliedImpulse);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintData_1dbgDrawSize_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btTypedConstraintData *arg1 = (btTypedConstraintData *) 0 ;
float arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraintData **)&jarg1;
arg2 = (float)jarg2;
if (arg1) (arg1)->m_dbgDrawSize = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintData_1dbgDrawSize_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btTypedConstraintData *arg1 = (btTypedConstraintData *) 0 ;
float result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraintData **)&jarg1;
result = (float) ((arg1)->m_dbgDrawSize);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintData_1disableCollisionsBetweenLinkedBodies_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btTypedConstraintData *arg1 = (btTypedConstraintData *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraintData **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_disableCollisionsBetweenLinkedBodies = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintData_1disableCollisionsBetweenLinkedBodies_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btTypedConstraintData *arg1 = (btTypedConstraintData *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraintData **)&jarg1;
result = (int) ((arg1)->m_disableCollisionsBetweenLinkedBodies);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintData_1overrideNumSolverIterations_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btTypedConstraintData *arg1 = (btTypedConstraintData *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraintData **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_overrideNumSolverIterations = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintData_1overrideNumSolverIterations_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btTypedConstraintData *arg1 = (btTypedConstraintData *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraintData **)&jarg1;
result = (int) ((arg1)->m_overrideNumSolverIterations);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintData_1breakingImpulseThreshold_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btTypedConstraintData *arg1 = (btTypedConstraintData *) 0 ;
float arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraintData **)&jarg1;
arg2 = (float)jarg2;
if (arg1) (arg1)->m_breakingImpulseThreshold = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintData_1breakingImpulseThreshold_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btTypedConstraintData *arg1 = (btTypedConstraintData *) 0 ;
float result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraintData **)&jarg1;
result = (float) ((arg1)->m_breakingImpulseThreshold);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintData_1isEnabled_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btTypedConstraintData *arg1 = (btTypedConstraintData *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraintData **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_isEnabled = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintData_1isEnabled_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btTypedConstraintData *arg1 = (btTypedConstraintData *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraintData **)&jarg1;
result = (int) ((arg1)->m_isEnabled);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btTypedConstraintData(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btTypedConstraintData *result = 0 ;
(void)jenv;
(void)jcls;
result = (btTypedConstraintData *)new btTypedConstraintData();
*(btTypedConstraintData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btTypedConstraintData(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btTypedConstraintData *arg1 = (btTypedConstraintData *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btTypedConstraintData **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintDoubleData_1rbA_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btTypedConstraintDoubleData *arg1 = (btTypedConstraintDoubleData *) 0 ;
btRigidBodyDoubleData *arg2 = (btRigidBodyDoubleData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btTypedConstraintDoubleData **)&jarg1;
arg2 = *(btRigidBodyDoubleData **)&jarg2;
if (arg1) (arg1)->m_rbA = arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintDoubleData_1rbA_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btTypedConstraintDoubleData *arg1 = (btTypedConstraintDoubleData *) 0 ;
btRigidBodyDoubleData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraintDoubleData **)&jarg1;
result = (btRigidBodyDoubleData *) ((arg1)->m_rbA);
*(btRigidBodyDoubleData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintDoubleData_1rbB_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btTypedConstraintDoubleData *arg1 = (btTypedConstraintDoubleData *) 0 ;
btRigidBodyDoubleData *arg2 = (btRigidBodyDoubleData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btTypedConstraintDoubleData **)&jarg1;
arg2 = *(btRigidBodyDoubleData **)&jarg2;
if (arg1) (arg1)->m_rbB = arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintDoubleData_1rbB_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btTypedConstraintDoubleData *arg1 = (btTypedConstraintDoubleData *) 0 ;
btRigidBodyDoubleData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraintDoubleData **)&jarg1;
result = (btRigidBodyDoubleData *) ((arg1)->m_rbB);
*(btRigidBodyDoubleData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintDoubleData_1name_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
btTypedConstraintDoubleData *arg1 = (btTypedConstraintDoubleData *) 0 ;
char *arg2 = (char *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraintDoubleData **)&jarg1;
arg2 = 0;
if (jarg2) {
arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
if (!arg2) return ;
}
{
delete [] arg1->m_name;
if (arg2) {
arg1->m_name = (char *) (new char[strlen((const char *)arg2)+1]);
strcpy((char *)arg1->m_name, (const char *)arg2);
} else {
arg1->m_name = 0;
}
}
if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
}
SWIGEXPORT jstring JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintDoubleData_1name_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jstring jresult = 0 ;
btTypedConstraintDoubleData *arg1 = (btTypedConstraintDoubleData *) 0 ;
char *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraintDoubleData **)&jarg1;
result = (char *) ((arg1)->m_name);
if (result) jresult = jenv->NewStringUTF((const char *)result);
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintDoubleData_1objectType_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btTypedConstraintDoubleData *arg1 = (btTypedConstraintDoubleData *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraintDoubleData **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_objectType = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintDoubleData_1objectType_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btTypedConstraintDoubleData *arg1 = (btTypedConstraintDoubleData *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraintDoubleData **)&jarg1;
result = (int) ((arg1)->m_objectType);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintDoubleData_1userConstraintType_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btTypedConstraintDoubleData *arg1 = (btTypedConstraintDoubleData *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraintDoubleData **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_userConstraintType = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintDoubleData_1userConstraintType_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btTypedConstraintDoubleData *arg1 = (btTypedConstraintDoubleData *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraintDoubleData **)&jarg1;
result = (int) ((arg1)->m_userConstraintType);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintDoubleData_1userConstraintId_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btTypedConstraintDoubleData *arg1 = (btTypedConstraintDoubleData *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraintDoubleData **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_userConstraintId = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintDoubleData_1userConstraintId_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btTypedConstraintDoubleData *arg1 = (btTypedConstraintDoubleData *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraintDoubleData **)&jarg1;
result = (int) ((arg1)->m_userConstraintId);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintDoubleData_1needsFeedback_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btTypedConstraintDoubleData *arg1 = (btTypedConstraintDoubleData *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraintDoubleData **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_needsFeedback = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintDoubleData_1needsFeedback_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btTypedConstraintDoubleData *arg1 = (btTypedConstraintDoubleData *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraintDoubleData **)&jarg1;
result = (int) ((arg1)->m_needsFeedback);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintDoubleData_1appliedImpulse_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2) {
btTypedConstraintDoubleData *arg1 = (btTypedConstraintDoubleData *) 0 ;
double arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraintDoubleData **)&jarg1;
arg2 = (double)jarg2;
if (arg1) (arg1)->m_appliedImpulse = arg2;
}
SWIGEXPORT jdouble JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintDoubleData_1appliedImpulse_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jdouble jresult = 0 ;
btTypedConstraintDoubleData *arg1 = (btTypedConstraintDoubleData *) 0 ;
double result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraintDoubleData **)&jarg1;
result = (double) ((arg1)->m_appliedImpulse);
jresult = (jdouble)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintDoubleData_1dbgDrawSize_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2) {
btTypedConstraintDoubleData *arg1 = (btTypedConstraintDoubleData *) 0 ;
double arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraintDoubleData **)&jarg1;
arg2 = (double)jarg2;
if (arg1) (arg1)->m_dbgDrawSize = arg2;
}
SWIGEXPORT jdouble JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintDoubleData_1dbgDrawSize_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jdouble jresult = 0 ;
btTypedConstraintDoubleData *arg1 = (btTypedConstraintDoubleData *) 0 ;
double result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraintDoubleData **)&jarg1;
result = (double) ((arg1)->m_dbgDrawSize);
jresult = (jdouble)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintDoubleData_1disableCollisionsBetweenLinkedBodies_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btTypedConstraintDoubleData *arg1 = (btTypedConstraintDoubleData *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraintDoubleData **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_disableCollisionsBetweenLinkedBodies = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintDoubleData_1disableCollisionsBetweenLinkedBodies_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btTypedConstraintDoubleData *arg1 = (btTypedConstraintDoubleData *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraintDoubleData **)&jarg1;
result = (int) ((arg1)->m_disableCollisionsBetweenLinkedBodies);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintDoubleData_1overrideNumSolverIterations_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btTypedConstraintDoubleData *arg1 = (btTypedConstraintDoubleData *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraintDoubleData **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_overrideNumSolverIterations = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintDoubleData_1overrideNumSolverIterations_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btTypedConstraintDoubleData *arg1 = (btTypedConstraintDoubleData *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraintDoubleData **)&jarg1;
result = (int) ((arg1)->m_overrideNumSolverIterations);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintDoubleData_1breakingImpulseThreshold_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2) {
btTypedConstraintDoubleData *arg1 = (btTypedConstraintDoubleData *) 0 ;
double arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraintDoubleData **)&jarg1;
arg2 = (double)jarg2;
if (arg1) (arg1)->m_breakingImpulseThreshold = arg2;
}
SWIGEXPORT jdouble JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintDoubleData_1breakingImpulseThreshold_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jdouble jresult = 0 ;
btTypedConstraintDoubleData *arg1 = (btTypedConstraintDoubleData *) 0 ;
double result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraintDoubleData **)&jarg1;
result = (double) ((arg1)->m_breakingImpulseThreshold);
jresult = (jdouble)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintDoubleData_1isEnabled_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btTypedConstraintDoubleData *arg1 = (btTypedConstraintDoubleData *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraintDoubleData **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_isEnabled = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintDoubleData_1isEnabled_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btTypedConstraintDoubleData *arg1 = (btTypedConstraintDoubleData *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraintDoubleData **)&jarg1;
result = (int) ((arg1)->m_isEnabled);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintDoubleData_1padding_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
btTypedConstraintDoubleData *arg1 = (btTypedConstraintDoubleData *) 0 ;
char *arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraintDoubleData **)&jarg1;
arg2 = 0;
if (jarg2) {
arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
if (!arg2) return ;
}
{
if(arg2) {
strncpy((char*)arg1->padding, (const char *)arg2, 4-1);
arg1->padding[4-1] = 0;
} else {
arg1->padding[0] = 0;
}
}
if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
}
SWIGEXPORT jstring JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintDoubleData_1padding_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jstring jresult = 0 ;
btTypedConstraintDoubleData *arg1 = (btTypedConstraintDoubleData *) 0 ;
char *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTypedConstraintDoubleData **)&jarg1;
result = (char *)(char *) ((arg1)->padding);
if (result) jresult = jenv->NewStringUTF((const char *)result);
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btTypedConstraintDoubleData(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btTypedConstraintDoubleData *result = 0 ;
(void)jenv;
(void)jcls;
result = (btTypedConstraintDoubleData *)new btTypedConstraintDoubleData();
*(btTypedConstraintDoubleData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btTypedConstraintDoubleData(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btTypedConstraintDoubleData *arg1 = (btTypedConstraintDoubleData *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btTypedConstraintDoubleData **)&jarg1;
delete arg1;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btAngularLimit(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btAngularLimit *result = 0 ;
(void)jenv;
(void)jcls;
result = (btAngularLimit *)new btAngularLimit();
*(btAngularLimit **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btAngularLimit_1set_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2, jfloat jarg3, jfloat jarg4, jfloat jarg5, jfloat jarg6) {
btAngularLimit *arg1 = (btAngularLimit *) 0 ;
btScalar arg2 ;
btScalar arg3 ;
btScalar arg4 ;
btScalar arg5 ;
btScalar arg6 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAngularLimit **)&jarg1;
arg2 = (btScalar)jarg2;
arg3 = (btScalar)jarg3;
arg4 = (btScalar)jarg4;
arg5 = (btScalar)jarg5;
arg6 = (btScalar)jarg6;
(arg1)->set(arg2,arg3,arg4,arg5,arg6);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btAngularLimit_1set_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2, jfloat jarg3, jfloat jarg4, jfloat jarg5) {
btAngularLimit *arg1 = (btAngularLimit *) 0 ;
btScalar arg2 ;
btScalar arg3 ;
btScalar arg4 ;
btScalar arg5 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAngularLimit **)&jarg1;
arg2 = (btScalar)jarg2;
arg3 = (btScalar)jarg3;
arg4 = (btScalar)jarg4;
arg5 = (btScalar)jarg5;
(arg1)->set(arg2,arg3,arg4,arg5);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btAngularLimit_1set_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2, jfloat jarg3, jfloat jarg4) {
btAngularLimit *arg1 = (btAngularLimit *) 0 ;
btScalar arg2 ;
btScalar arg3 ;
btScalar arg4 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAngularLimit **)&jarg1;
arg2 = (btScalar)jarg2;
arg3 = (btScalar)jarg3;
arg4 = (btScalar)jarg4;
(arg1)->set(arg2,arg3,arg4);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btAngularLimit_1set_1_1SWIG_13(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2, jfloat jarg3) {
btAngularLimit *arg1 = (btAngularLimit *) 0 ;
btScalar arg2 ;
btScalar arg3 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAngularLimit **)&jarg1;
arg2 = (btScalar)jarg2;
arg3 = (btScalar)jarg3;
(arg1)->set(arg2,arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btAngularLimit_1test(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btAngularLimit *arg1 = (btAngularLimit *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAngularLimit **)&jarg1;
arg2 = (btScalar)jarg2;
(arg1)->test(arg2);
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btAngularLimit_1getSoftness(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btAngularLimit *arg1 = (btAngularLimit *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAngularLimit **)&jarg1;
result = (btScalar)((btAngularLimit const *)arg1)->getSoftness();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btAngularLimit_1getBiasFactor(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btAngularLimit *arg1 = (btAngularLimit *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAngularLimit **)&jarg1;
result = (btScalar)((btAngularLimit const *)arg1)->getBiasFactor();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btAngularLimit_1getRelaxationFactor(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btAngularLimit *arg1 = (btAngularLimit *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAngularLimit **)&jarg1;
result = (btScalar)((btAngularLimit const *)arg1)->getRelaxationFactor();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btAngularLimit_1getCorrection(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btAngularLimit *arg1 = (btAngularLimit *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAngularLimit **)&jarg1;
result = (btScalar)((btAngularLimit const *)arg1)->getCorrection();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btAngularLimit_1getSign(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btAngularLimit *arg1 = (btAngularLimit *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAngularLimit **)&jarg1;
result = (btScalar)((btAngularLimit const *)arg1)->getSign();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btAngularLimit_1getHalfRange(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btAngularLimit *arg1 = (btAngularLimit *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAngularLimit **)&jarg1;
result = (btScalar)((btAngularLimit const *)arg1)->getHalfRange();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btAngularLimit_1isLimit(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jboolean jresult = 0 ;
btAngularLimit *arg1 = (btAngularLimit *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAngularLimit **)&jarg1;
result = (bool)((btAngularLimit const *)arg1)->isLimit();
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btAngularLimit_1fit(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btAngularLimit *arg1 = (btAngularLimit *) 0 ;
btScalar *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAngularLimit **)&jarg1;
arg2 = *(btScalar **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btScalar & reference is null");
return ;
}
((btAngularLimit const *)arg1)->fit(*arg2);
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btAngularLimit_1getError(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btAngularLimit *arg1 = (btAngularLimit *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAngularLimit **)&jarg1;
result = (btScalar)((btAngularLimit const *)arg1)->getError();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btAngularLimit_1getLow(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btAngularLimit *arg1 = (btAngularLimit *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAngularLimit **)&jarg1;
result = (btScalar)((btAngularLimit const *)arg1)->getLow();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btAngularLimit_1getHigh(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btAngularLimit *arg1 = (btAngularLimit *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAngularLimit **)&jarg1;
result = (btScalar)((btAngularLimit const *)arg1)->getHigh();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btAngularLimit(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btAngularLimit *arg1 = (btAngularLimit *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btAngularLimit **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btDynamicsWorld(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btDynamicsWorld *arg1 = (btDynamicsWorld *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btDynamicsWorld **)&jarg1;
delete arg1;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDynamicsWorld_1stepSimulation_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2, jint jarg3, jfloat jarg4) {
jint jresult = 0 ;
btDynamicsWorld *arg1 = (btDynamicsWorld *) 0 ;
btScalar arg2 ;
int arg3 ;
btScalar arg4 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDynamicsWorld **)&jarg1;
arg2 = (btScalar)jarg2;
arg3 = (int)jarg3;
arg4 = (btScalar)jarg4;
result = (int)(arg1)->stepSimulation(arg2,arg3,arg4);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDynamicsWorld_1stepSimulation_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2, jint jarg3) {
jint jresult = 0 ;
btDynamicsWorld *arg1 = (btDynamicsWorld *) 0 ;
btScalar arg2 ;
int arg3 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDynamicsWorld **)&jarg1;
arg2 = (btScalar)jarg2;
arg3 = (int)jarg3;
result = (int)(arg1)->stepSimulation(arg2,arg3);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDynamicsWorld_1stepSimulation_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
jint jresult = 0 ;
btDynamicsWorld *arg1 = (btDynamicsWorld *) 0 ;
btScalar arg2 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDynamicsWorld **)&jarg1;
arg2 = (btScalar)jarg2;
result = (int)(arg1)->stepSimulation(arg2);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDynamicsWorld_1addConstraint_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jboolean jarg3) {
btDynamicsWorld *arg1 = (btDynamicsWorld *) 0 ;
btTypedConstraint *arg2 = (btTypedConstraint *) 0 ;
bool arg3 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btDynamicsWorld **)&jarg1;
arg2 = *(btTypedConstraint **)&jarg2;
arg3 = jarg3 ? true : false;
(arg1)->addConstraint(arg2,arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDynamicsWorld_1addConstraint_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btDynamicsWorld *arg1 = (btDynamicsWorld *) 0 ;
btTypedConstraint *arg2 = (btTypedConstraint *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btDynamicsWorld **)&jarg1;
arg2 = *(btTypedConstraint **)&jarg2;
(arg1)->addConstraint(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDynamicsWorld_1removeConstraint(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btDynamicsWorld *arg1 = (btDynamicsWorld *) 0 ;
btTypedConstraint *arg2 = (btTypedConstraint *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btDynamicsWorld **)&jarg1;
arg2 = *(btTypedConstraint **)&jarg2;
(arg1)->removeConstraint(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDynamicsWorld_1addAction(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btDynamicsWorld *arg1 = (btDynamicsWorld *) 0 ;
btActionInterface *arg2 = (btActionInterface *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btDynamicsWorld **)&jarg1;
arg2 = *(btActionInterface **)&jarg2;
(arg1)->addAction(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDynamicsWorld_1removeAction(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btDynamicsWorld *arg1 = (btDynamicsWorld *) 0 ;
btActionInterface *arg2 = (btActionInterface *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btDynamicsWorld **)&jarg1;
arg2 = *(btActionInterface **)&jarg2;
(arg1)->removeAction(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDynamicsWorld_1setGravity(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btDynamicsWorld *arg1 = (btDynamicsWorld *) 0 ;
btVector3 *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDynamicsWorld **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
(arg1)->setGravity((btVector3 const &)*arg2);
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDynamicsWorld_1getGravity(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btDynamicsWorld *arg1 = (btDynamicsWorld *) 0 ;
btVector3 result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDynamicsWorld **)&jarg1;
result = ((btDynamicsWorld const *)arg1)->getGravity();
jresult = gdx_getReturnVector3(jenv);
gdx_setVector3FrombtVector3(jenv, jresult, result);
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDynamicsWorld_1synchronizeMotionStates(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
btDynamicsWorld *arg1 = (btDynamicsWorld *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDynamicsWorld **)&jarg1;
(arg1)->synchronizeMotionStates();
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDynamicsWorld_1addRigidBody_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btDynamicsWorld *arg1 = (btDynamicsWorld *) 0 ;
btRigidBody *arg2 = (btRigidBody *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btDynamicsWorld **)&jarg1;
arg2 = *(btRigidBody **)&jarg2;
(arg1)->addRigidBody(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDynamicsWorld_1addRigidBody_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jint jarg3, jint jarg4) {
btDynamicsWorld *arg1 = (btDynamicsWorld *) 0 ;
btRigidBody *arg2 = (btRigidBody *) 0 ;
int arg3 ;
int arg4 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btDynamicsWorld **)&jarg1;
arg2 = *(btRigidBody **)&jarg2;
arg3 = (int)jarg3;
arg4 = (int)jarg4;
(arg1)->addRigidBody(arg2,arg3,arg4);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDynamicsWorld_1removeRigidBody(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btDynamicsWorld *arg1 = (btDynamicsWorld *) 0 ;
btRigidBody *arg2 = (btRigidBody *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btDynamicsWorld **)&jarg1;
arg2 = *(btRigidBody **)&jarg2;
(arg1)->removeRigidBody(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDynamicsWorld_1setConstraintSolver(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btDynamicsWorld *arg1 = (btDynamicsWorld *) 0 ;
btConstraintSolver *arg2 = (btConstraintSolver *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btDynamicsWorld **)&jarg1;
arg2 = *(btConstraintSolver **)&jarg2;
(arg1)->setConstraintSolver(arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDynamicsWorld_1getConstraintSolver(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btDynamicsWorld *arg1 = (btDynamicsWorld *) 0 ;
btConstraintSolver *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDynamicsWorld **)&jarg1;
result = (btConstraintSolver *)(arg1)->getConstraintSolver();
*(btConstraintSolver **)&jresult = result;
return jresult;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDynamicsWorld_1getNumConstraints(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btDynamicsWorld *arg1 = (btDynamicsWorld *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDynamicsWorld **)&jarg1;
result = (int)((btDynamicsWorld const *)arg1)->getNumConstraints();
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDynamicsWorld_1getConstraint(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jlong jresult = 0 ;
btDynamicsWorld *arg1 = (btDynamicsWorld *) 0 ;
int arg2 ;
btTypedConstraint *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDynamicsWorld **)&jarg1;
arg2 = (int)jarg2;
result = (btTypedConstraint *)(arg1)->getConstraint(arg2);
*(btTypedConstraint **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDynamicsWorld_1getConstraintConst(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jlong jresult = 0 ;
btDynamicsWorld *arg1 = (btDynamicsWorld *) 0 ;
int arg2 ;
btTypedConstraint *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDynamicsWorld **)&jarg1;
arg2 = (int)jarg2;
result = (btTypedConstraint *)((btDynamicsWorld const *)arg1)->getConstraint(arg2);
*(btTypedConstraint **)&jresult = result;
return jresult;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDynamicsWorld_1getWorldType(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btDynamicsWorld *arg1 = (btDynamicsWorld *) 0 ;
btDynamicsWorldType result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDynamicsWorld **)&jarg1;
result = (btDynamicsWorldType)((btDynamicsWorld const *)arg1)->getWorldType();
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDynamicsWorld_1clearForces(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
btDynamicsWorld *arg1 = (btDynamicsWorld *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDynamicsWorld **)&jarg1;
(arg1)->clearForces();
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDynamicsWorld_1setInternalTickCallback_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3, jboolean jarg4) {
btDynamicsWorld *arg1 = (btDynamicsWorld *) 0 ;
btInternalTickCallback arg2 = (btInternalTickCallback) 0 ;
void *arg3 = (void *) 0 ;
bool arg4 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDynamicsWorld **)&jarg1;
arg2 = *(btInternalTickCallback *)&jarg2;
arg3 = (void *)jarg3;
arg4 = jarg4 ? true : false;
(arg1)->setInternalTickCallback(arg2,arg3,arg4);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDynamicsWorld_1setInternalTickCallback_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btDynamicsWorld *arg1 = (btDynamicsWorld *) 0 ;
btInternalTickCallback arg2 = (btInternalTickCallback) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDynamicsWorld **)&jarg1;
arg2 = *(btInternalTickCallback *)&jarg2;
arg3 = (void *)jarg3;
(arg1)->setInternalTickCallback(arg2,arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDynamicsWorld_1setInternalTickCallback_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btDynamicsWorld *arg1 = (btDynamicsWorld *) 0 ;
btInternalTickCallback arg2 = (btInternalTickCallback) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDynamicsWorld **)&jarg1;
arg2 = *(btInternalTickCallback *)&jarg2;
(arg1)->setInternalTickCallback(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDynamicsWorld_1setWorldUserInfo(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btDynamicsWorld *arg1 = (btDynamicsWorld *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDynamicsWorld **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->setWorldUserInfo(arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDynamicsWorld_1getWorldUserInfo(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btDynamicsWorld *arg1 = (btDynamicsWorld *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDynamicsWorld **)&jarg1;
result = (void *)((btDynamicsWorld const *)arg1)->getWorldUserInfo();
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDynamicsWorld_1getSolverInfo(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btDynamicsWorld *arg1 = (btDynamicsWorld *) 0 ;
btContactSolverInfo *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDynamicsWorld **)&jarg1;
result = (btContactSolverInfo *) &(arg1)->getSolverInfo();
*(btContactSolverInfo **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDynamicsWorld_1getSolverInfoConst(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btDynamicsWorld *arg1 = (btDynamicsWorld *) 0 ;
btContactSolverInfo *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDynamicsWorld **)&jarg1;
result = (btContactSolverInfo *) &((btDynamicsWorld const *)arg1)->getSolverInfo();
*(btContactSolverInfo **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDynamicsWorld_1addVehicle(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btDynamicsWorld *arg1 = (btDynamicsWorld *) 0 ;
btActionInterface *arg2 = (btActionInterface *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btDynamicsWorld **)&jarg1;
arg2 = *(btActionInterface **)&jarg2;
(arg1)->addVehicle(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDynamicsWorld_1removeVehicle(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btDynamicsWorld *arg1 = (btDynamicsWorld *) 0 ;
btActionInterface *arg2 = (btActionInterface *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btDynamicsWorld **)&jarg1;
arg2 = *(btActionInterface **)&jarg2;
(arg1)->removeVehicle(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDynamicsWorld_1addCharacter(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btDynamicsWorld *arg1 = (btDynamicsWorld *) 0 ;
btActionInterface *arg2 = (btActionInterface *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btDynamicsWorld **)&jarg1;
arg2 = *(btActionInterface **)&jarg2;
(arg1)->addCharacter(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDynamicsWorld_1removeCharacter(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btDynamicsWorld *arg1 = (btDynamicsWorld *) 0 ;
btActionInterface *arg2 = (btActionInterface *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btDynamicsWorld **)&jarg1;
arg2 = *(btActionInterface **)&jarg2;
(arg1)->removeCharacter(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDynamicsWorldDoubleData_1solverInfo_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btDynamicsWorldDoubleData *arg1 = (btDynamicsWorldDoubleData *) 0 ;
btContactSolverInfoDoubleData *arg2 = (btContactSolverInfoDoubleData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btDynamicsWorldDoubleData **)&jarg1;
arg2 = *(btContactSolverInfoDoubleData **)&jarg2;
if (arg1) (arg1)->m_solverInfo = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDynamicsWorldDoubleData_1solverInfo_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btDynamicsWorldDoubleData *arg1 = (btDynamicsWorldDoubleData *) 0 ;
btContactSolverInfoDoubleData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDynamicsWorldDoubleData **)&jarg1;
result = (btContactSolverInfoDoubleData *)& ((arg1)->m_solverInfo);
*(btContactSolverInfoDoubleData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDynamicsWorldDoubleData_1gravity_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btDynamicsWorldDoubleData *arg1 = (btDynamicsWorldDoubleData *) 0 ;
btVector3DoubleData *arg2 = (btVector3DoubleData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btDynamicsWorldDoubleData **)&jarg1;
arg2 = *(btVector3DoubleData **)&jarg2;
if (arg1) (arg1)->m_gravity = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDynamicsWorldDoubleData_1gravity_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btDynamicsWorldDoubleData *arg1 = (btDynamicsWorldDoubleData *) 0 ;
btVector3DoubleData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDynamicsWorldDoubleData **)&jarg1;
result = (btVector3DoubleData *)& ((arg1)->m_gravity);
*(btVector3DoubleData **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btDynamicsWorldDoubleData(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btDynamicsWorldDoubleData *result = 0 ;
(void)jenv;
(void)jcls;
result = (btDynamicsWorldDoubleData *)new btDynamicsWorldDoubleData();
*(btDynamicsWorldDoubleData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btDynamicsWorldDoubleData(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btDynamicsWorldDoubleData *arg1 = (btDynamicsWorldDoubleData *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btDynamicsWorldDoubleData **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDynamicsWorldFloatData_1solverInfo_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btDynamicsWorldFloatData *arg1 = (btDynamicsWorldFloatData *) 0 ;
btContactSolverInfoFloatData *arg2 = (btContactSolverInfoFloatData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btDynamicsWorldFloatData **)&jarg1;
arg2 = *(btContactSolverInfoFloatData **)&jarg2;
if (arg1) (arg1)->m_solverInfo = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDynamicsWorldFloatData_1solverInfo_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btDynamicsWorldFloatData *arg1 = (btDynamicsWorldFloatData *) 0 ;
btContactSolverInfoFloatData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDynamicsWorldFloatData **)&jarg1;
result = (btContactSolverInfoFloatData *)& ((arg1)->m_solverInfo);
*(btContactSolverInfoFloatData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDynamicsWorldFloatData_1gravity_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btDynamicsWorldFloatData *arg1 = (btDynamicsWorldFloatData *) 0 ;
btVector3FloatData *arg2 = (btVector3FloatData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btDynamicsWorldFloatData **)&jarg1;
arg2 = *(btVector3FloatData **)&jarg2;
if (arg1) (arg1)->m_gravity = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDynamicsWorldFloatData_1gravity_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btDynamicsWorldFloatData *arg1 = (btDynamicsWorldFloatData *) 0 ;
btVector3FloatData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDynamicsWorldFloatData **)&jarg1;
result = (btVector3FloatData *)& ((arg1)->m_gravity);
*(btVector3FloatData **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btDynamicsWorldFloatData(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btDynamicsWorldFloatData *result = 0 ;
(void)jenv;
(void)jcls;
result = (btDynamicsWorldFloatData *)new btDynamicsWorldFloatData();
*(btDynamicsWorldFloatData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btDynamicsWorldFloatData(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btDynamicsWorldFloatData *arg1 = (btDynamicsWorldFloatData *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btDynamicsWorldFloatData **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_InternalTickCallback_1CB(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btDynamicsWorld *arg1 = (btDynamicsWorld *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDynamicsWorld **)&jarg1;
arg2 = (btScalar)jarg2;
InternalTickCallback_CB(arg1,arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1InternalTickCallback_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jboolean jarg2) {
jlong jresult = 0 ;
btDynamicsWorld *arg1 = (btDynamicsWorld *) 0 ;
bool arg2 ;
InternalTickCallback *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDynamicsWorld **)&jarg1;
arg2 = jarg2 ? true : false;
result = (InternalTickCallback *)new SwigDirector_InternalTickCallback(jenv,arg1,arg2);
*(InternalTickCallback **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1InternalTickCallback_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btDynamicsWorld *arg1 = (btDynamicsWorld *) 0 ;
InternalTickCallback *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDynamicsWorld **)&jarg1;
result = (InternalTickCallback *)new SwigDirector_InternalTickCallback(jenv,arg1);
*(InternalTickCallback **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1InternalTickCallback_1_1SWIG_12(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
InternalTickCallback *result = 0 ;
(void)jenv;
(void)jcls;
result = (InternalTickCallback *)new SwigDirector_InternalTickCallback(jenv);
*(InternalTickCallback **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_InternalTickCallback_1onInternalTick(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jfloat jarg3) {
InternalTickCallback *arg1 = (InternalTickCallback *) 0 ;
btDynamicsWorld *arg2 = (btDynamicsWorld *) 0 ;
btScalar arg3 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(InternalTickCallback **)&jarg1;
arg2 = *(btDynamicsWorld **)&jarg2;
arg3 = (btScalar)jarg3;
(arg1)->onInternalTick(arg2,arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_InternalTickCallback_1onInternalTickSwigExplicitInternalTickCallback(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jfloat jarg3) {
InternalTickCallback *arg1 = (InternalTickCallback *) 0 ;
btDynamicsWorld *arg2 = (btDynamicsWorld *) 0 ;
btScalar arg3 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(InternalTickCallback **)&jarg1;
arg2 = *(btDynamicsWorld **)&jarg2;
arg3 = (btScalar)jarg3;
(arg1)->InternalTickCallback::onInternalTick(arg2,arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_InternalTickCallback_1detach_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
InternalTickCallback *arg1 = (InternalTickCallback *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(InternalTickCallback **)&jarg1;
(arg1)->detach();
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_InternalTickCallback_1attach_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jboolean jarg3) {
InternalTickCallback *arg1 = (InternalTickCallback *) 0 ;
btDynamicsWorld *arg2 = (btDynamicsWorld *) 0 ;
bool arg3 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(InternalTickCallback **)&jarg1;
arg2 = *(btDynamicsWorld **)&jarg2;
arg3 = jarg3 ? true : false;
(arg1)->attach(arg2,arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_InternalTickCallback_1attach_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
InternalTickCallback *arg1 = (InternalTickCallback *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(InternalTickCallback **)&jarg1;
(arg1)->attach();
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_InternalTickCallback_1detach_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jboolean jarg2) {
btDynamicsWorld *arg1 = (btDynamicsWorld *) 0 ;
bool arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDynamicsWorld **)&jarg1;
arg2 = jarg2 ? true : false;
InternalTickCallback::detach(arg1,arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1InternalTickCallback(JNIEnv *jenv, jclass jcls, jlong jarg1) {
InternalTickCallback *arg1 = (InternalTickCallback *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(InternalTickCallback **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_InternalTickCallback_1director_1connect(JNIEnv *jenv, jclass jcls, jobject jself, jlong objarg, jboolean jswig_mem_own, jboolean jweak_global) {
InternalTickCallback *obj = *((InternalTickCallback **)&objarg);
(void)jcls;
SwigDirector_InternalTickCallback *director = (SwigDirector_InternalTickCallback *)(obj);
if (director) {
director->swig_connect_director(jenv, jself, jenv->GetObjectClass(jself), (jswig_mem_own == JNI_TRUE), (jweak_global == JNI_TRUE));
}
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_InternalTickCallback_1change_1ownership(JNIEnv *jenv, jclass jcls, jobject jself, jlong objarg, jboolean jtake_or_release) {
InternalTickCallback *obj = *((InternalTickCallback **)&objarg);
SwigDirector_InternalTickCallback *director = (SwigDirector_InternalTickCallback *)(obj);
(void)jcls;
if (director) {
director->swig_java_change_ownership(jenv, jself, jtake_or_release ? true : false);
}
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btSimpleDynamicsWorld(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_, jlong jarg4, jobject jarg4_) {
jlong jresult = 0 ;
btDispatcher *arg1 = (btDispatcher *) 0 ;
btBroadphaseInterface *arg2 = (btBroadphaseInterface *) 0 ;
btConstraintSolver *arg3 = (btConstraintSolver *) 0 ;
btCollisionConfiguration *arg4 = (btCollisionConfiguration *) 0 ;
btSimpleDynamicsWorld *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
(void)jarg3_;
(void)jarg4_;
arg1 = *(btDispatcher **)&jarg1;
arg2 = *(btBroadphaseInterface **)&jarg2;
arg3 = *(btConstraintSolver **)&jarg3;
arg4 = *(btCollisionConfiguration **)&jarg4;
result = (btSimpleDynamicsWorld *)new btSimpleDynamicsWorld(arg1,arg2,arg3,arg4);
*(btSimpleDynamicsWorld **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btSimpleDynamicsWorld(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btSimpleDynamicsWorld *arg1 = (btSimpleDynamicsWorld *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btSimpleDynamicsWorld **)&jarg1;
delete arg1;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSimpleDynamicsWorld_1stepSimulation_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2, jint jarg3, jfloat jarg4) {
jint jresult = 0 ;
btSimpleDynamicsWorld *arg1 = (btSimpleDynamicsWorld *) 0 ;
btScalar arg2 ;
int arg3 ;
btScalar arg4 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSimpleDynamicsWorld **)&jarg1;
arg2 = (btScalar)jarg2;
arg3 = (int)jarg3;
arg4 = (btScalar)jarg4;
result = (int)(arg1)->stepSimulation(arg2,arg3,arg4);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSimpleDynamicsWorld_1stepSimulation_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2, jint jarg3) {
jint jresult = 0 ;
btSimpleDynamicsWorld *arg1 = (btSimpleDynamicsWorld *) 0 ;
btScalar arg2 ;
int arg3 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSimpleDynamicsWorld **)&jarg1;
arg2 = (btScalar)jarg2;
arg3 = (int)jarg3;
result = (int)(arg1)->stepSimulation(arg2,arg3);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSimpleDynamicsWorld_1stepSimulation_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
jint jresult = 0 ;
btSimpleDynamicsWorld *arg1 = (btSimpleDynamicsWorld *) 0 ;
btScalar arg2 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSimpleDynamicsWorld **)&jarg1;
arg2 = (btScalar)jarg2;
result = (int)(arg1)->stepSimulation(arg2);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSimpleDynamicsWorld_1addRigidBody_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btSimpleDynamicsWorld *arg1 = (btSimpleDynamicsWorld *) 0 ;
btRigidBody *arg2 = (btRigidBody *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btSimpleDynamicsWorld **)&jarg1;
arg2 = *(btRigidBody **)&jarg2;
(arg1)->addRigidBody(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSimpleDynamicsWorld_1addRigidBody_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jint jarg3, jint jarg4) {
btSimpleDynamicsWorld *arg1 = (btSimpleDynamicsWorld *) 0 ;
btRigidBody *arg2 = (btRigidBody *) 0 ;
int arg3 ;
int arg4 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btSimpleDynamicsWorld **)&jarg1;
arg2 = *(btRigidBody **)&jarg2;
arg3 = (int)jarg3;
arg4 = (int)jarg4;
(arg1)->addRigidBody(arg2,arg3,arg4);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btActionInterface(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btActionInterface *arg1 = (btActionInterface *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btActionInterface **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btActionInterface_1updateAction(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jfloat jarg3) {
btActionInterface *arg1 = (btActionInterface *) 0 ;
btCollisionWorld *arg2 = (btCollisionWorld *) 0 ;
btScalar arg3 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btActionInterface **)&jarg1;
arg2 = *(btCollisionWorld **)&jarg2;
arg3 = (btScalar)jarg3;
(arg1)->updateAction(arg2,arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btActionInterface_1debugDraw(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btActionInterface *arg1 = (btActionInterface *) 0 ;
btIDebugDraw *arg2 = (btIDebugDraw *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btActionInterface **)&jarg1;
arg2 = *(btIDebugDraw **)&jarg2;
(arg1)->debugDraw(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_CustomActionInterface_1updateAction(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
CustomActionInterface *arg1 = (CustomActionInterface *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(CustomActionInterface **)&jarg1;
arg2 = (btScalar)jarg2;
(arg1)->updateAction(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_CustomActionInterface_1debugDraw(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
CustomActionInterface *arg1 = (CustomActionInterface *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(CustomActionInterface **)&jarg1;
(arg1)->debugDraw();
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1CustomActionInterface(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
CustomActionInterface *result = 0 ;
(void)jenv;
(void)jcls;
result = (CustomActionInterface *)new SwigDirector_CustomActionInterface(jenv);
*(CustomActionInterface **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1CustomActionInterface(JNIEnv *jenv, jclass jcls, jlong jarg1) {
CustomActionInterface *arg1 = (CustomActionInterface *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(CustomActionInterface **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_CustomActionInterface_1director_1connect(JNIEnv *jenv, jclass jcls, jobject jself, jlong objarg, jboolean jswig_mem_own, jboolean jweak_global) {
CustomActionInterface *obj = *((CustomActionInterface **)&objarg);
(void)jcls;
SwigDirector_CustomActionInterface *director = (SwigDirector_CustomActionInterface *)(obj);
if (director) {
director->swig_connect_director(jenv, jself, jenv->GetObjectClass(jself), (jswig_mem_own == JNI_TRUE), (jweak_global == JNI_TRUE));
}
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_CustomActionInterface_1change_1ownership(JNIEnv *jenv, jclass jcls, jobject jself, jlong objarg, jboolean jtake_or_release) {
CustomActionInterface *obj = *((CustomActionInterface **)&objarg);
SwigDirector_CustomActionInterface *director = (SwigDirector_CustomActionInterface *)(obj);
(void)jcls;
if (director) {
director->swig_java_change_ownership(jenv, jself, jtake_or_release ? true : false);
}
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDiscreteDynamicsWorld_1operatorNew_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btDiscreteDynamicsWorld *arg1 = (btDiscreteDynamicsWorld *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDiscreteDynamicsWorld **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new(arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDiscreteDynamicsWorld_1operatorDelete_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btDiscreteDynamicsWorld *arg1 = (btDiscreteDynamicsWorld *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDiscreteDynamicsWorld **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete(arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDiscreteDynamicsWorld_1operatorNew_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btDiscreteDynamicsWorld *arg1 = (btDiscreteDynamicsWorld *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDiscreteDynamicsWorld **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new(arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDiscreteDynamicsWorld_1operatorDelete_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btDiscreteDynamicsWorld *arg1 = (btDiscreteDynamicsWorld *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDiscreteDynamicsWorld **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete(arg2,arg3);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDiscreteDynamicsWorld_1operatorNewArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btDiscreteDynamicsWorld *arg1 = (btDiscreteDynamicsWorld *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDiscreteDynamicsWorld **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new[](arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDiscreteDynamicsWorld_1operatorDeleteArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btDiscreteDynamicsWorld *arg1 = (btDiscreteDynamicsWorld *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDiscreteDynamicsWorld **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete[](arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDiscreteDynamicsWorld_1operatorNewArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btDiscreteDynamicsWorld *arg1 = (btDiscreteDynamicsWorld *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDiscreteDynamicsWorld **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new[](arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDiscreteDynamicsWorld_1operatorDeleteArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btDiscreteDynamicsWorld *arg1 = (btDiscreteDynamicsWorld *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDiscreteDynamicsWorld **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete[](arg2,arg3);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btDiscreteDynamicsWorld(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_, jlong jarg4, jobject jarg4_) {
jlong jresult = 0 ;
btDispatcher *arg1 = (btDispatcher *) 0 ;
btBroadphaseInterface *arg2 = (btBroadphaseInterface *) 0 ;
btConstraintSolver *arg3 = (btConstraintSolver *) 0 ;
btCollisionConfiguration *arg4 = (btCollisionConfiguration *) 0 ;
btDiscreteDynamicsWorld *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
(void)jarg3_;
(void)jarg4_;
arg1 = *(btDispatcher **)&jarg1;
arg2 = *(btBroadphaseInterface **)&jarg2;
arg3 = *(btConstraintSolver **)&jarg3;
arg4 = *(btCollisionConfiguration **)&jarg4;
result = (btDiscreteDynamicsWorld *)new btDiscreteDynamicsWorld(arg1,arg2,arg3,arg4);
*(btDiscreteDynamicsWorld **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btDiscreteDynamicsWorld(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btDiscreteDynamicsWorld *arg1 = (btDiscreteDynamicsWorld *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btDiscreteDynamicsWorld **)&jarg1;
delete arg1;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDiscreteDynamicsWorld_1stepSimulation_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2, jint jarg3, jfloat jarg4) {
jint jresult = 0 ;
btDiscreteDynamicsWorld *arg1 = (btDiscreteDynamicsWorld *) 0 ;
btScalar arg2 ;
int arg3 ;
btScalar arg4 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDiscreteDynamicsWorld **)&jarg1;
arg2 = (btScalar)jarg2;
arg3 = (int)jarg3;
arg4 = (btScalar)jarg4;
result = (int)(arg1)->stepSimulation(arg2,arg3,arg4);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDiscreteDynamicsWorld_1stepSimulation_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2, jint jarg3) {
jint jresult = 0 ;
btDiscreteDynamicsWorld *arg1 = (btDiscreteDynamicsWorld *) 0 ;
btScalar arg2 ;
int arg3 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDiscreteDynamicsWorld **)&jarg1;
arg2 = (btScalar)jarg2;
arg3 = (int)jarg3;
result = (int)(arg1)->stepSimulation(arg2,arg3);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDiscreteDynamicsWorld_1stepSimulation_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
jint jresult = 0 ;
btDiscreteDynamicsWorld *arg1 = (btDiscreteDynamicsWorld *) 0 ;
btScalar arg2 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDiscreteDynamicsWorld **)&jarg1;
arg2 = (btScalar)jarg2;
result = (int)(arg1)->stepSimulation(arg2);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDiscreteDynamicsWorld_1synchronizeSingleMotionState(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btDiscreteDynamicsWorld *arg1 = (btDiscreteDynamicsWorld *) 0 ;
btRigidBody *arg2 = (btRigidBody *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btDiscreteDynamicsWorld **)&jarg1;
arg2 = *(btRigidBody **)&jarg2;
(arg1)->synchronizeSingleMotionState(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDiscreteDynamicsWorld_1addConstraint_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jboolean jarg3) {
btDiscreteDynamicsWorld *arg1 = (btDiscreteDynamicsWorld *) 0 ;
btTypedConstraint *arg2 = (btTypedConstraint *) 0 ;
bool arg3 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btDiscreteDynamicsWorld **)&jarg1;
arg2 = *(btTypedConstraint **)&jarg2;
arg3 = jarg3 ? true : false;
(arg1)->addConstraint(arg2,arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDiscreteDynamicsWorld_1addConstraint_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btDiscreteDynamicsWorld *arg1 = (btDiscreteDynamicsWorld *) 0 ;
btTypedConstraint *arg2 = (btTypedConstraint *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btDiscreteDynamicsWorld **)&jarg1;
arg2 = *(btTypedConstraint **)&jarg2;
(arg1)->addConstraint(arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDiscreteDynamicsWorld_1getSimulationIslandManager(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btDiscreteDynamicsWorld *arg1 = (btDiscreteDynamicsWorld *) 0 ;
btSimulationIslandManager *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDiscreteDynamicsWorld **)&jarg1;
result = (btSimulationIslandManager *)(arg1)->getSimulationIslandManager();
*(btSimulationIslandManager **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDiscreteDynamicsWorld_1getSimulationIslandManagerConst(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btDiscreteDynamicsWorld *arg1 = (btDiscreteDynamicsWorld *) 0 ;
btSimulationIslandManager *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDiscreteDynamicsWorld **)&jarg1;
result = (btSimulationIslandManager *)((btDiscreteDynamicsWorld const *)arg1)->getSimulationIslandManager();
*(btSimulationIslandManager **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDiscreteDynamicsWorld_1getCollisionWorld(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btDiscreteDynamicsWorld *arg1 = (btDiscreteDynamicsWorld *) 0 ;
btCollisionWorld *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDiscreteDynamicsWorld **)&jarg1;
result = (btCollisionWorld *)(arg1)->getCollisionWorld();
*(btCollisionWorld **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDiscreteDynamicsWorld_1addCollisionObject_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jint jarg3, jint jarg4) {
btDiscreteDynamicsWorld *arg1 = (btDiscreteDynamicsWorld *) 0 ;
btCollisionObject *arg2 = (btCollisionObject *) 0 ;
int arg3 ;
int arg4 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btDiscreteDynamicsWorld **)&jarg1;
arg2 = *(btCollisionObject **)&jarg2;
arg3 = (int)jarg3;
arg4 = (int)jarg4;
(arg1)->addCollisionObject(arg2,arg3,arg4);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDiscreteDynamicsWorld_1addCollisionObject_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jint jarg3) {
btDiscreteDynamicsWorld *arg1 = (btDiscreteDynamicsWorld *) 0 ;
btCollisionObject *arg2 = (btCollisionObject *) 0 ;
int arg3 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btDiscreteDynamicsWorld **)&jarg1;
arg2 = *(btCollisionObject **)&jarg2;
arg3 = (int)jarg3;
(arg1)->addCollisionObject(arg2,arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDiscreteDynamicsWorld_1addCollisionObject_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btDiscreteDynamicsWorld *arg1 = (btDiscreteDynamicsWorld *) 0 ;
btCollisionObject *arg2 = (btCollisionObject *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btDiscreteDynamicsWorld **)&jarg1;
arg2 = *(btCollisionObject **)&jarg2;
(arg1)->addCollisionObject(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDiscreteDynamicsWorld_1addRigidBody_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btDiscreteDynamicsWorld *arg1 = (btDiscreteDynamicsWorld *) 0 ;
btRigidBody *arg2 = (btRigidBody *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btDiscreteDynamicsWorld **)&jarg1;
arg2 = *(btRigidBody **)&jarg2;
(arg1)->addRigidBody(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDiscreteDynamicsWorld_1addRigidBody_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jint jarg3, jint jarg4) {
btDiscreteDynamicsWorld *arg1 = (btDiscreteDynamicsWorld *) 0 ;
btRigidBody *arg2 = (btRigidBody *) 0 ;
int arg3 ;
int arg4 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btDiscreteDynamicsWorld **)&jarg1;
arg2 = *(btRigidBody **)&jarg2;
arg3 = (int)jarg3;
arg4 = (int)jarg4;
(arg1)->addRigidBody(arg2,arg3,arg4);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDiscreteDynamicsWorld_1debugDrawConstraint(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btDiscreteDynamicsWorld *arg1 = (btDiscreteDynamicsWorld *) 0 ;
btTypedConstraint *arg2 = (btTypedConstraint *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btDiscreteDynamicsWorld **)&jarg1;
arg2 = *(btTypedConstraint **)&jarg2;
(arg1)->debugDrawConstraint(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDiscreteDynamicsWorld_1applyGravity(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
btDiscreteDynamicsWorld *arg1 = (btDiscreteDynamicsWorld *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDiscreteDynamicsWorld **)&jarg1;
(arg1)->applyGravity();
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDiscreteDynamicsWorld_1setNumTasks(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btDiscreteDynamicsWorld *arg1 = (btDiscreteDynamicsWorld *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDiscreteDynamicsWorld **)&jarg1;
arg2 = (int)jarg2;
(arg1)->setNumTasks(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDiscreteDynamicsWorld_1updateVehicles(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btDiscreteDynamicsWorld *arg1 = (btDiscreteDynamicsWorld *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDiscreteDynamicsWorld **)&jarg1;
arg2 = (btScalar)jarg2;
(arg1)->updateVehicles(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDiscreteDynamicsWorld_1setSynchronizeAllMotionStates(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jboolean jarg2) {
btDiscreteDynamicsWorld *arg1 = (btDiscreteDynamicsWorld *) 0 ;
bool arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDiscreteDynamicsWorld **)&jarg1;
arg2 = jarg2 ? true : false;
(arg1)->setSynchronizeAllMotionStates(arg2);
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDiscreteDynamicsWorld_1getSynchronizeAllMotionStates(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jboolean jresult = 0 ;
btDiscreteDynamicsWorld *arg1 = (btDiscreteDynamicsWorld *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDiscreteDynamicsWorld **)&jarg1;
result = (bool)((btDiscreteDynamicsWorld const *)arg1)->getSynchronizeAllMotionStates();
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDiscreteDynamicsWorld_1setApplySpeculativeContactRestitution(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jboolean jarg2) {
btDiscreteDynamicsWorld *arg1 = (btDiscreteDynamicsWorld *) 0 ;
bool arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDiscreteDynamicsWorld **)&jarg1;
arg2 = jarg2 ? true : false;
(arg1)->setApplySpeculativeContactRestitution(arg2);
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDiscreteDynamicsWorld_1getApplySpeculativeContactRestitution(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jboolean jresult = 0 ;
btDiscreteDynamicsWorld *arg1 = (btDiscreteDynamicsWorld *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDiscreteDynamicsWorld **)&jarg1;
result = (bool)((btDiscreteDynamicsWorld const *)arg1)->getApplySpeculativeContactRestitution();
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDiscreteDynamicsWorld_1setLatencyMotionStateInterpolation(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jboolean jarg2) {
btDiscreteDynamicsWorld *arg1 = (btDiscreteDynamicsWorld *) 0 ;
bool arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDiscreteDynamicsWorld **)&jarg1;
arg2 = jarg2 ? true : false;
(arg1)->setLatencyMotionStateInterpolation(arg2);
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDiscreteDynamicsWorld_1getLatencyMotionStateInterpolation(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jboolean jresult = 0 ;
btDiscreteDynamicsWorld *arg1 = (btDiscreteDynamicsWorld *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDiscreteDynamicsWorld **)&jarg1;
result = (bool)((btDiscreteDynamicsWorld const *)arg1)->getLatencyMotionStateInterpolation();
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btCharacterControllerInterface(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btCharacterControllerInterface *arg1 = (btCharacterControllerInterface *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btCharacterControllerInterface **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btCharacterControllerInterface_1setWalkDirection(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btCharacterControllerInterface *arg1 = (btCharacterControllerInterface *) 0 ;
btVector3 *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCharacterControllerInterface **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
(arg1)->setWalkDirection((btVector3 const &)*arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btCharacterControllerInterface_1setVelocityForTimeInterval(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jfloat jarg3) {
btCharacterControllerInterface *arg1 = (btCharacterControllerInterface *) 0 ;
btVector3 *arg2 = 0 ;
btScalar arg3 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCharacterControllerInterface **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
arg3 = (btScalar)jarg3;
(arg1)->setVelocityForTimeInterval((btVector3 const &)*arg2,arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btCharacterControllerInterface_1reset(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btCharacterControllerInterface *arg1 = (btCharacterControllerInterface *) 0 ;
btCollisionWorld *arg2 = (btCollisionWorld *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btCharacterControllerInterface **)&jarg1;
arg2 = *(btCollisionWorld **)&jarg2;
(arg1)->reset(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btCharacterControllerInterface_1warp(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btCharacterControllerInterface *arg1 = (btCharacterControllerInterface *) 0 ;
btVector3 *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCharacterControllerInterface **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
(arg1)->warp((btVector3 const &)*arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btCharacterControllerInterface_1preStep(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btCharacterControllerInterface *arg1 = (btCharacterControllerInterface *) 0 ;
btCollisionWorld *arg2 = (btCollisionWorld *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btCharacterControllerInterface **)&jarg1;
arg2 = *(btCollisionWorld **)&jarg2;
(arg1)->preStep(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btCharacterControllerInterface_1playerStep(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jfloat jarg3) {
btCharacterControllerInterface *arg1 = (btCharacterControllerInterface *) 0 ;
btCollisionWorld *arg2 = (btCollisionWorld *) 0 ;
btScalar arg3 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btCharacterControllerInterface **)&jarg1;
arg2 = *(btCollisionWorld **)&jarg2;
arg3 = (btScalar)jarg3;
(arg1)->playerStep(arg2,arg3);
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btCharacterControllerInterface_1canJump(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jboolean jresult = 0 ;
btCharacterControllerInterface *arg1 = (btCharacterControllerInterface *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCharacterControllerInterface **)&jarg1;
result = (bool)((btCharacterControllerInterface const *)arg1)->canJump();
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btCharacterControllerInterface_1jump_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btCharacterControllerInterface *arg1 = (btCharacterControllerInterface *) 0 ;
btVector3 *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCharacterControllerInterface **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
(arg1)->jump((btVector3 const &)*arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btCharacterControllerInterface_1jump_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
btCharacterControllerInterface *arg1 = (btCharacterControllerInterface *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCharacterControllerInterface **)&jarg1;
(arg1)->jump();
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btCharacterControllerInterface_1onGround(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jboolean jresult = 0 ;
btCharacterControllerInterface *arg1 = (btCharacterControllerInterface *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCharacterControllerInterface **)&jarg1;
result = (bool)((btCharacterControllerInterface const *)arg1)->onGround();
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btCharacterControllerInterface_1setUpInterpolate(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jboolean jarg2) {
btCharacterControllerInterface *arg1 = (btCharacterControllerInterface *) 0 ;
bool arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCharacterControllerInterface **)&jarg1;
arg2 = jarg2 ? true : false;
(arg1)->setUpInterpolate(arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btKinematicCharacterController_1operatorNew_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btKinematicCharacterController *arg1 = (btKinematicCharacterController *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btKinematicCharacterController **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new(arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btKinematicCharacterController_1operatorDelete_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btKinematicCharacterController *arg1 = (btKinematicCharacterController *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btKinematicCharacterController **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete(arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btKinematicCharacterController_1operatorNew_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btKinematicCharacterController *arg1 = (btKinematicCharacterController *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btKinematicCharacterController **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new(arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btKinematicCharacterController_1operatorDelete_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btKinematicCharacterController *arg1 = (btKinematicCharacterController *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btKinematicCharacterController **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete(arg2,arg3);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btKinematicCharacterController_1operatorNewArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btKinematicCharacterController *arg1 = (btKinematicCharacterController *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btKinematicCharacterController **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new[](arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btKinematicCharacterController_1operatorDeleteArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btKinematicCharacterController *arg1 = (btKinematicCharacterController *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btKinematicCharacterController **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete[](arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btKinematicCharacterController_1operatorNewArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btKinematicCharacterController *arg1 = (btKinematicCharacterController *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btKinematicCharacterController **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new[](arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btKinematicCharacterController_1operatorDeleteArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btKinematicCharacterController *arg1 = (btKinematicCharacterController *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btKinematicCharacterController **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete[](arg2,arg3);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btKinematicCharacterController_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jfloat jarg3, jobject jarg4) {
jlong jresult = 0 ;
btPairCachingGhostObject *arg1 = (btPairCachingGhostObject *) 0 ;
btConvexShape *arg2 = (btConvexShape *) 0 ;
btScalar arg3 ;
btVector3 *arg4 = 0 ;
btKinematicCharacterController *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btPairCachingGhostObject **)&jarg1;
arg2 = *(btConvexShape **)&jarg2;
arg3 = (btScalar)jarg3;
btVector3 local_arg4;
gdx_setbtVector3FromVector3(jenv, local_arg4, jarg4);
arg4 = &local_arg4;
gdxAutoCommitVector3 auto_commit_arg4(jenv, jarg4, &local_arg4);
result = (btKinematicCharacterController *)new btKinematicCharacterController(arg1,arg2,arg3,(btVector3 const &)*arg4);
*(btKinematicCharacterController **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btKinematicCharacterController_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jfloat jarg3) {
jlong jresult = 0 ;
btPairCachingGhostObject *arg1 = (btPairCachingGhostObject *) 0 ;
btConvexShape *arg2 = (btConvexShape *) 0 ;
btScalar arg3 ;
btKinematicCharacterController *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btPairCachingGhostObject **)&jarg1;
arg2 = *(btConvexShape **)&jarg2;
arg3 = (btScalar)jarg3;
result = (btKinematicCharacterController *)new btKinematicCharacterController(arg1,arg2,arg3);
*(btKinematicCharacterController **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btKinematicCharacterController(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btKinematicCharacterController *arg1 = (btKinematicCharacterController *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btKinematicCharacterController **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btKinematicCharacterController_1setUp(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btKinematicCharacterController *arg1 = (btKinematicCharacterController *) 0 ;
btVector3 *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btKinematicCharacterController **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
(arg1)->setUp((btVector3 const &)*arg2);
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btKinematicCharacterController_1getUp(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btKinematicCharacterController *arg1 = (btKinematicCharacterController *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btKinematicCharacterController **)&jarg1;
result = (btVector3 *) &(arg1)->getUp();
jresult = gdx_getReturnVector3(jenv);
gdx_setVector3FrombtVector3(jenv, jresult, result);
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btKinematicCharacterController_1setAngularVelocity(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btKinematicCharacterController *arg1 = (btKinematicCharacterController *) 0 ;
btVector3 *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btKinematicCharacterController **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
(arg1)->setAngularVelocity((btVector3 const &)*arg2);
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btKinematicCharacterController_1getAngularVelocity(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btKinematicCharacterController *arg1 = (btKinematicCharacterController *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btKinematicCharacterController **)&jarg1;
result = (btVector3 *) &((btKinematicCharacterController const *)arg1)->getAngularVelocity();
jresult = gdx_getReturnVector3(jenv);
gdx_setVector3FrombtVector3(jenv, jresult, result);
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btKinematicCharacterController_1setLinearVelocity(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btKinematicCharacterController *arg1 = (btKinematicCharacterController *) 0 ;
btVector3 *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btKinematicCharacterController **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
(arg1)->setLinearVelocity((btVector3 const &)*arg2);
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btKinematicCharacterController_1getLinearVelocity(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btKinematicCharacterController *arg1 = (btKinematicCharacterController *) 0 ;
btVector3 result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btKinematicCharacterController **)&jarg1;
result = ((btKinematicCharacterController const *)arg1)->getLinearVelocity();
jresult = gdx_getReturnVector3(jenv);
gdx_setVector3FrombtVector3(jenv, jresult, result);
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btKinematicCharacterController_1setLinearDamping(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btKinematicCharacterController *arg1 = (btKinematicCharacterController *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btKinematicCharacterController **)&jarg1;
arg2 = (btScalar)jarg2;
(arg1)->setLinearDamping(arg2);
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btKinematicCharacterController_1getLinearDamping(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btKinematicCharacterController *arg1 = (btKinematicCharacterController *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btKinematicCharacterController **)&jarg1;
result = (btScalar)((btKinematicCharacterController const *)arg1)->getLinearDamping();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btKinematicCharacterController_1setAngularDamping(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btKinematicCharacterController *arg1 = (btKinematicCharacterController *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btKinematicCharacterController **)&jarg1;
arg2 = (btScalar)jarg2;
(arg1)->setAngularDamping(arg2);
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btKinematicCharacterController_1getAngularDamping(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btKinematicCharacterController *arg1 = (btKinematicCharacterController *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btKinematicCharacterController **)&jarg1;
result = (btScalar)((btKinematicCharacterController const *)arg1)->getAngularDamping();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btKinematicCharacterController_1setStepHeight(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btKinematicCharacterController *arg1 = (btKinematicCharacterController *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btKinematicCharacterController **)&jarg1;
arg2 = (btScalar)jarg2;
(arg1)->setStepHeight(arg2);
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btKinematicCharacterController_1getStepHeight(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btKinematicCharacterController *arg1 = (btKinematicCharacterController *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btKinematicCharacterController **)&jarg1;
result = (btScalar)((btKinematicCharacterController const *)arg1)->getStepHeight();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btKinematicCharacterController_1setFallSpeed(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btKinematicCharacterController *arg1 = (btKinematicCharacterController *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btKinematicCharacterController **)&jarg1;
arg2 = (btScalar)jarg2;
(arg1)->setFallSpeed(arg2);
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btKinematicCharacterController_1getFallSpeed(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btKinematicCharacterController *arg1 = (btKinematicCharacterController *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btKinematicCharacterController **)&jarg1;
result = (btScalar)((btKinematicCharacterController const *)arg1)->getFallSpeed();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btKinematicCharacterController_1setJumpSpeed(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btKinematicCharacterController *arg1 = (btKinematicCharacterController *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btKinematicCharacterController **)&jarg1;
arg2 = (btScalar)jarg2;
(arg1)->setJumpSpeed(arg2);
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btKinematicCharacterController_1getJumpSpeed(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btKinematicCharacterController *arg1 = (btKinematicCharacterController *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btKinematicCharacterController **)&jarg1;
result = (btScalar)((btKinematicCharacterController const *)arg1)->getJumpSpeed();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btKinematicCharacterController_1setMaxJumpHeight(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btKinematicCharacterController *arg1 = (btKinematicCharacterController *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btKinematicCharacterController **)&jarg1;
arg2 = (btScalar)jarg2;
(arg1)->setMaxJumpHeight(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btKinematicCharacterController_1jump_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btKinematicCharacterController *arg1 = (btKinematicCharacterController *) 0 ;
btVector3 *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btKinematicCharacterController **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
(arg1)->jump((btVector3 const &)*arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btKinematicCharacterController_1jump_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
btKinematicCharacterController *arg1 = (btKinematicCharacterController *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btKinematicCharacterController **)&jarg1;
(arg1)->jump();
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btKinematicCharacterController_1applyImpulse(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btKinematicCharacterController *arg1 = (btKinematicCharacterController *) 0 ;
btVector3 *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btKinematicCharacterController **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
(arg1)->applyImpulse((btVector3 const &)*arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btKinematicCharacterController_1setGravity(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btKinematicCharacterController *arg1 = (btKinematicCharacterController *) 0 ;
btVector3 *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btKinematicCharacterController **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
(arg1)->setGravity((btVector3 const &)*arg2);
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btKinematicCharacterController_1getGravity(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btKinematicCharacterController *arg1 = (btKinematicCharacterController *) 0 ;
btVector3 result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btKinematicCharacterController **)&jarg1;
result = ((btKinematicCharacterController const *)arg1)->getGravity();
jresult = gdx_getReturnVector3(jenv);
gdx_setVector3FrombtVector3(jenv, jresult, result);
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btKinematicCharacterController_1setMaxSlope(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btKinematicCharacterController *arg1 = (btKinematicCharacterController *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btKinematicCharacterController **)&jarg1;
arg2 = (btScalar)jarg2;
(arg1)->setMaxSlope(arg2);
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btKinematicCharacterController_1getMaxSlope(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btKinematicCharacterController *arg1 = (btKinematicCharacterController *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btKinematicCharacterController **)&jarg1;
result = (btScalar)((btKinematicCharacterController const *)arg1)->getMaxSlope();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btKinematicCharacterController_1setMaxPenetrationDepth(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btKinematicCharacterController *arg1 = (btKinematicCharacterController *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btKinematicCharacterController **)&jarg1;
arg2 = (btScalar)jarg2;
(arg1)->setMaxPenetrationDepth(arg2);
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btKinematicCharacterController_1getMaxPenetrationDepth(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btKinematicCharacterController *arg1 = (btKinematicCharacterController *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btKinematicCharacterController **)&jarg1;
result = (btScalar)((btKinematicCharacterController const *)arg1)->getMaxPenetrationDepth();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btKinematicCharacterController_1getGhostObject(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btKinematicCharacterController *arg1 = (btKinematicCharacterController *) 0 ;
btPairCachingGhostObject *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btKinematicCharacterController **)&jarg1;
result = (btPairCachingGhostObject *)(arg1)->getGhostObject();
*(btPairCachingGhostObject **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btKinematicCharacterController_1setUseGhostSweepTest(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jboolean jarg2) {
btKinematicCharacterController *arg1 = (btKinematicCharacterController *) 0 ;
bool arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btKinematicCharacterController **)&jarg1;
arg2 = jarg2 ? true : false;
(arg1)->setUseGhostSweepTest(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoData_1tau_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btContactSolverInfoData *arg1 = (btContactSolverInfoData *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoData **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_tau = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoData_1tau_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btContactSolverInfoData *arg1 = (btContactSolverInfoData *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoData **)&jarg1;
result = (btScalar) ((arg1)->m_tau);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoData_1damping_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btContactSolverInfoData *arg1 = (btContactSolverInfoData *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoData **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_damping = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoData_1damping_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btContactSolverInfoData *arg1 = (btContactSolverInfoData *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoData **)&jarg1;
result = (btScalar) ((arg1)->m_damping);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoData_1friction_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btContactSolverInfoData *arg1 = (btContactSolverInfoData *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoData **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_friction = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoData_1friction_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btContactSolverInfoData *arg1 = (btContactSolverInfoData *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoData **)&jarg1;
result = (btScalar) ((arg1)->m_friction);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoData_1timeStep_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btContactSolverInfoData *arg1 = (btContactSolverInfoData *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoData **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_timeStep = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoData_1timeStep_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btContactSolverInfoData *arg1 = (btContactSolverInfoData *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoData **)&jarg1;
result = (btScalar) ((arg1)->m_timeStep);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoData_1restitution_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btContactSolverInfoData *arg1 = (btContactSolverInfoData *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoData **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_restitution = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoData_1restitution_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btContactSolverInfoData *arg1 = (btContactSolverInfoData *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoData **)&jarg1;
result = (btScalar) ((arg1)->m_restitution);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoData_1numIterations_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btContactSolverInfoData *arg1 = (btContactSolverInfoData *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoData **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_numIterations = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoData_1numIterations_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btContactSolverInfoData *arg1 = (btContactSolverInfoData *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoData **)&jarg1;
result = (int) ((arg1)->m_numIterations);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoData_1maxErrorReduction_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btContactSolverInfoData *arg1 = (btContactSolverInfoData *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoData **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_maxErrorReduction = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoData_1maxErrorReduction_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btContactSolverInfoData *arg1 = (btContactSolverInfoData *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoData **)&jarg1;
result = (btScalar) ((arg1)->m_maxErrorReduction);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoData_1sor_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btContactSolverInfoData *arg1 = (btContactSolverInfoData *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoData **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_sor = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoData_1sor_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btContactSolverInfoData *arg1 = (btContactSolverInfoData *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoData **)&jarg1;
result = (btScalar) ((arg1)->m_sor);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoData_1erp_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btContactSolverInfoData *arg1 = (btContactSolverInfoData *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoData **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_erp = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoData_1erp_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btContactSolverInfoData *arg1 = (btContactSolverInfoData *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoData **)&jarg1;
result = (btScalar) ((arg1)->m_erp);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoData_1erp2_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btContactSolverInfoData *arg1 = (btContactSolverInfoData *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoData **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_erp2 = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoData_1erp2_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btContactSolverInfoData *arg1 = (btContactSolverInfoData *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoData **)&jarg1;
result = (btScalar) ((arg1)->m_erp2);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoData_1globalCfm_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btContactSolverInfoData *arg1 = (btContactSolverInfoData *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoData **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_globalCfm = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoData_1globalCfm_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btContactSolverInfoData *arg1 = (btContactSolverInfoData *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoData **)&jarg1;
result = (btScalar) ((arg1)->m_globalCfm);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoData_1frictionERP_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btContactSolverInfoData *arg1 = (btContactSolverInfoData *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoData **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_frictionERP = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoData_1frictionERP_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btContactSolverInfoData *arg1 = (btContactSolverInfoData *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoData **)&jarg1;
result = (btScalar) ((arg1)->m_frictionERP);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoData_1frictionCFM_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btContactSolverInfoData *arg1 = (btContactSolverInfoData *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoData **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_frictionCFM = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoData_1frictionCFM_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btContactSolverInfoData *arg1 = (btContactSolverInfoData *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoData **)&jarg1;
result = (btScalar) ((arg1)->m_frictionCFM);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoData_1splitImpulse_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btContactSolverInfoData *arg1 = (btContactSolverInfoData *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoData **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_splitImpulse = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoData_1splitImpulse_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btContactSolverInfoData *arg1 = (btContactSolverInfoData *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoData **)&jarg1;
result = (int) ((arg1)->m_splitImpulse);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoData_1splitImpulsePenetrationThreshold_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btContactSolverInfoData *arg1 = (btContactSolverInfoData *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoData **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_splitImpulsePenetrationThreshold = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoData_1splitImpulsePenetrationThreshold_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btContactSolverInfoData *arg1 = (btContactSolverInfoData *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoData **)&jarg1;
result = (btScalar) ((arg1)->m_splitImpulsePenetrationThreshold);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoData_1splitImpulseTurnErp_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btContactSolverInfoData *arg1 = (btContactSolverInfoData *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoData **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_splitImpulseTurnErp = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoData_1splitImpulseTurnErp_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btContactSolverInfoData *arg1 = (btContactSolverInfoData *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoData **)&jarg1;
result = (btScalar) ((arg1)->m_splitImpulseTurnErp);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoData_1linearSlop_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btContactSolverInfoData *arg1 = (btContactSolverInfoData *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoData **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_linearSlop = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoData_1linearSlop_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btContactSolverInfoData *arg1 = (btContactSolverInfoData *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoData **)&jarg1;
result = (btScalar) ((arg1)->m_linearSlop);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoData_1warmstartingFactor_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btContactSolverInfoData *arg1 = (btContactSolverInfoData *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoData **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_warmstartingFactor = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoData_1warmstartingFactor_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btContactSolverInfoData *arg1 = (btContactSolverInfoData *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoData **)&jarg1;
result = (btScalar) ((arg1)->m_warmstartingFactor);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoData_1solverMode_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btContactSolverInfoData *arg1 = (btContactSolverInfoData *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoData **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_solverMode = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoData_1solverMode_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btContactSolverInfoData *arg1 = (btContactSolverInfoData *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoData **)&jarg1;
result = (int) ((arg1)->m_solverMode);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoData_1restingContactRestitutionThreshold_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btContactSolverInfoData *arg1 = (btContactSolverInfoData *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoData **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_restingContactRestitutionThreshold = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoData_1restingContactRestitutionThreshold_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btContactSolverInfoData *arg1 = (btContactSolverInfoData *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoData **)&jarg1;
result = (int) ((arg1)->m_restingContactRestitutionThreshold);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoData_1minimumSolverBatchSize_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btContactSolverInfoData *arg1 = (btContactSolverInfoData *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoData **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_minimumSolverBatchSize = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoData_1minimumSolverBatchSize_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btContactSolverInfoData *arg1 = (btContactSolverInfoData *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoData **)&jarg1;
result = (int) ((arg1)->m_minimumSolverBatchSize);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoData_1maxGyroscopicForce_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btContactSolverInfoData *arg1 = (btContactSolverInfoData *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoData **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_maxGyroscopicForce = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoData_1maxGyroscopicForce_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btContactSolverInfoData *arg1 = (btContactSolverInfoData *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoData **)&jarg1;
result = (btScalar) ((arg1)->m_maxGyroscopicForce);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoData_1singleAxisRollingFrictionThreshold_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btContactSolverInfoData *arg1 = (btContactSolverInfoData *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoData **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_singleAxisRollingFrictionThreshold = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoData_1singleAxisRollingFrictionThreshold_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btContactSolverInfoData *arg1 = (btContactSolverInfoData *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoData **)&jarg1;
result = (btScalar) ((arg1)->m_singleAxisRollingFrictionThreshold);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoData_1leastSquaresResidualThreshold_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btContactSolverInfoData *arg1 = (btContactSolverInfoData *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoData **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_leastSquaresResidualThreshold = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoData_1leastSquaresResidualThreshold_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btContactSolverInfoData *arg1 = (btContactSolverInfoData *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoData **)&jarg1;
result = (btScalar) ((arg1)->m_leastSquaresResidualThreshold);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoData_1restitutionVelocityThreshold_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btContactSolverInfoData *arg1 = (btContactSolverInfoData *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoData **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_restitutionVelocityThreshold = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoData_1restitutionVelocityThreshold_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btContactSolverInfoData *arg1 = (btContactSolverInfoData *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoData **)&jarg1;
result = (btScalar) ((arg1)->m_restitutionVelocityThreshold);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btContactSolverInfoData(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btContactSolverInfoData *result = 0 ;
(void)jenv;
(void)jcls;
result = (btContactSolverInfoData *)new btContactSolverInfoData();
*(btContactSolverInfoData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btContactSolverInfoData(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btContactSolverInfoData *arg1 = (btContactSolverInfoData *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btContactSolverInfoData **)&jarg1;
delete arg1;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btContactSolverInfo(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btContactSolverInfo *result = 0 ;
(void)jenv;
(void)jcls;
result = (btContactSolverInfo *)new btContactSolverInfo();
*(btContactSolverInfo **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btContactSolverInfo(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btContactSolverInfo *arg1 = (btContactSolverInfo *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btContactSolverInfo **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoDoubleData_1tau_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2) {
btContactSolverInfoDoubleData *arg1 = (btContactSolverInfoDoubleData *) 0 ;
double arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoDoubleData **)&jarg1;
arg2 = (double)jarg2;
if (arg1) (arg1)->m_tau = arg2;
}
SWIGEXPORT jdouble JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoDoubleData_1tau_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jdouble jresult = 0 ;
btContactSolverInfoDoubleData *arg1 = (btContactSolverInfoDoubleData *) 0 ;
double result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoDoubleData **)&jarg1;
result = (double) ((arg1)->m_tau);
jresult = (jdouble)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoDoubleData_1damping_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2) {
btContactSolverInfoDoubleData *arg1 = (btContactSolverInfoDoubleData *) 0 ;
double arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoDoubleData **)&jarg1;
arg2 = (double)jarg2;
if (arg1) (arg1)->m_damping = arg2;
}
SWIGEXPORT jdouble JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoDoubleData_1damping_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jdouble jresult = 0 ;
btContactSolverInfoDoubleData *arg1 = (btContactSolverInfoDoubleData *) 0 ;
double result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoDoubleData **)&jarg1;
result = (double) ((arg1)->m_damping);
jresult = (jdouble)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoDoubleData_1friction_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2) {
btContactSolverInfoDoubleData *arg1 = (btContactSolverInfoDoubleData *) 0 ;
double arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoDoubleData **)&jarg1;
arg2 = (double)jarg2;
if (arg1) (arg1)->m_friction = arg2;
}
SWIGEXPORT jdouble JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoDoubleData_1friction_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jdouble jresult = 0 ;
btContactSolverInfoDoubleData *arg1 = (btContactSolverInfoDoubleData *) 0 ;
double result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoDoubleData **)&jarg1;
result = (double) ((arg1)->m_friction);
jresult = (jdouble)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoDoubleData_1timeStep_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2) {
btContactSolverInfoDoubleData *arg1 = (btContactSolverInfoDoubleData *) 0 ;
double arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoDoubleData **)&jarg1;
arg2 = (double)jarg2;
if (arg1) (arg1)->m_timeStep = arg2;
}
SWIGEXPORT jdouble JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoDoubleData_1timeStep_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jdouble jresult = 0 ;
btContactSolverInfoDoubleData *arg1 = (btContactSolverInfoDoubleData *) 0 ;
double result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoDoubleData **)&jarg1;
result = (double) ((arg1)->m_timeStep);
jresult = (jdouble)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoDoubleData_1restitution_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2) {
btContactSolverInfoDoubleData *arg1 = (btContactSolverInfoDoubleData *) 0 ;
double arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoDoubleData **)&jarg1;
arg2 = (double)jarg2;
if (arg1) (arg1)->m_restitution = arg2;
}
SWIGEXPORT jdouble JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoDoubleData_1restitution_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jdouble jresult = 0 ;
btContactSolverInfoDoubleData *arg1 = (btContactSolverInfoDoubleData *) 0 ;
double result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoDoubleData **)&jarg1;
result = (double) ((arg1)->m_restitution);
jresult = (jdouble)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoDoubleData_1maxErrorReduction_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2) {
btContactSolverInfoDoubleData *arg1 = (btContactSolverInfoDoubleData *) 0 ;
double arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoDoubleData **)&jarg1;
arg2 = (double)jarg2;
if (arg1) (arg1)->m_maxErrorReduction = arg2;
}
SWIGEXPORT jdouble JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoDoubleData_1maxErrorReduction_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jdouble jresult = 0 ;
btContactSolverInfoDoubleData *arg1 = (btContactSolverInfoDoubleData *) 0 ;
double result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoDoubleData **)&jarg1;
result = (double) ((arg1)->m_maxErrorReduction);
jresult = (jdouble)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoDoubleData_1sor_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2) {
btContactSolverInfoDoubleData *arg1 = (btContactSolverInfoDoubleData *) 0 ;
double arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoDoubleData **)&jarg1;
arg2 = (double)jarg2;
if (arg1) (arg1)->m_sor = arg2;
}
SWIGEXPORT jdouble JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoDoubleData_1sor_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jdouble jresult = 0 ;
btContactSolverInfoDoubleData *arg1 = (btContactSolverInfoDoubleData *) 0 ;
double result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoDoubleData **)&jarg1;
result = (double) ((arg1)->m_sor);
jresult = (jdouble)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoDoubleData_1erp_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2) {
btContactSolverInfoDoubleData *arg1 = (btContactSolverInfoDoubleData *) 0 ;
double arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoDoubleData **)&jarg1;
arg2 = (double)jarg2;
if (arg1) (arg1)->m_erp = arg2;
}
SWIGEXPORT jdouble JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoDoubleData_1erp_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jdouble jresult = 0 ;
btContactSolverInfoDoubleData *arg1 = (btContactSolverInfoDoubleData *) 0 ;
double result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoDoubleData **)&jarg1;
result = (double) ((arg1)->m_erp);
jresult = (jdouble)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoDoubleData_1erp2_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2) {
btContactSolverInfoDoubleData *arg1 = (btContactSolverInfoDoubleData *) 0 ;
double arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoDoubleData **)&jarg1;
arg2 = (double)jarg2;
if (arg1) (arg1)->m_erp2 = arg2;
}
SWIGEXPORT jdouble JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoDoubleData_1erp2_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jdouble jresult = 0 ;
btContactSolverInfoDoubleData *arg1 = (btContactSolverInfoDoubleData *) 0 ;
double result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoDoubleData **)&jarg1;
result = (double) ((arg1)->m_erp2);
jresult = (jdouble)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoDoubleData_1globalCfm_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2) {
btContactSolverInfoDoubleData *arg1 = (btContactSolverInfoDoubleData *) 0 ;
double arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoDoubleData **)&jarg1;
arg2 = (double)jarg2;
if (arg1) (arg1)->m_globalCfm = arg2;
}
SWIGEXPORT jdouble JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoDoubleData_1globalCfm_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jdouble jresult = 0 ;
btContactSolverInfoDoubleData *arg1 = (btContactSolverInfoDoubleData *) 0 ;
double result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoDoubleData **)&jarg1;
result = (double) ((arg1)->m_globalCfm);
jresult = (jdouble)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoDoubleData_1splitImpulsePenetrationThreshold_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2) {
btContactSolverInfoDoubleData *arg1 = (btContactSolverInfoDoubleData *) 0 ;
double arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoDoubleData **)&jarg1;
arg2 = (double)jarg2;
if (arg1) (arg1)->m_splitImpulsePenetrationThreshold = arg2;
}
SWIGEXPORT jdouble JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoDoubleData_1splitImpulsePenetrationThreshold_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jdouble jresult = 0 ;
btContactSolverInfoDoubleData *arg1 = (btContactSolverInfoDoubleData *) 0 ;
double result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoDoubleData **)&jarg1;
result = (double) ((arg1)->m_splitImpulsePenetrationThreshold);
jresult = (jdouble)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoDoubleData_1splitImpulseTurnErp_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2) {
btContactSolverInfoDoubleData *arg1 = (btContactSolverInfoDoubleData *) 0 ;
double arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoDoubleData **)&jarg1;
arg2 = (double)jarg2;
if (arg1) (arg1)->m_splitImpulseTurnErp = arg2;
}
SWIGEXPORT jdouble JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoDoubleData_1splitImpulseTurnErp_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jdouble jresult = 0 ;
btContactSolverInfoDoubleData *arg1 = (btContactSolverInfoDoubleData *) 0 ;
double result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoDoubleData **)&jarg1;
result = (double) ((arg1)->m_splitImpulseTurnErp);
jresult = (jdouble)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoDoubleData_1linearSlop_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2) {
btContactSolverInfoDoubleData *arg1 = (btContactSolverInfoDoubleData *) 0 ;
double arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoDoubleData **)&jarg1;
arg2 = (double)jarg2;
if (arg1) (arg1)->m_linearSlop = arg2;
}
SWIGEXPORT jdouble JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoDoubleData_1linearSlop_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jdouble jresult = 0 ;
btContactSolverInfoDoubleData *arg1 = (btContactSolverInfoDoubleData *) 0 ;
double result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoDoubleData **)&jarg1;
result = (double) ((arg1)->m_linearSlop);
jresult = (jdouble)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoDoubleData_1warmstartingFactor_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2) {
btContactSolverInfoDoubleData *arg1 = (btContactSolverInfoDoubleData *) 0 ;
double arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoDoubleData **)&jarg1;
arg2 = (double)jarg2;
if (arg1) (arg1)->m_warmstartingFactor = arg2;
}
SWIGEXPORT jdouble JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoDoubleData_1warmstartingFactor_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jdouble jresult = 0 ;
btContactSolverInfoDoubleData *arg1 = (btContactSolverInfoDoubleData *) 0 ;
double result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoDoubleData **)&jarg1;
result = (double) ((arg1)->m_warmstartingFactor);
jresult = (jdouble)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoDoubleData_1maxGyroscopicForce_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2) {
btContactSolverInfoDoubleData *arg1 = (btContactSolverInfoDoubleData *) 0 ;
double arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoDoubleData **)&jarg1;
arg2 = (double)jarg2;
if (arg1) (arg1)->m_maxGyroscopicForce = arg2;
}
SWIGEXPORT jdouble JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoDoubleData_1maxGyroscopicForce_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jdouble jresult = 0 ;
btContactSolverInfoDoubleData *arg1 = (btContactSolverInfoDoubleData *) 0 ;
double result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoDoubleData **)&jarg1;
result = (double) ((arg1)->m_maxGyroscopicForce);
jresult = (jdouble)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoDoubleData_1singleAxisRollingFrictionThreshold_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2) {
btContactSolverInfoDoubleData *arg1 = (btContactSolverInfoDoubleData *) 0 ;
double arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoDoubleData **)&jarg1;
arg2 = (double)jarg2;
if (arg1) (arg1)->m_singleAxisRollingFrictionThreshold = arg2;
}
SWIGEXPORT jdouble JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoDoubleData_1singleAxisRollingFrictionThreshold_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jdouble jresult = 0 ;
btContactSolverInfoDoubleData *arg1 = (btContactSolverInfoDoubleData *) 0 ;
double result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoDoubleData **)&jarg1;
result = (double) ((arg1)->m_singleAxisRollingFrictionThreshold);
jresult = (jdouble)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoDoubleData_1numIterations_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btContactSolverInfoDoubleData *arg1 = (btContactSolverInfoDoubleData *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoDoubleData **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_numIterations = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoDoubleData_1numIterations_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btContactSolverInfoDoubleData *arg1 = (btContactSolverInfoDoubleData *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoDoubleData **)&jarg1;
result = (int) ((arg1)->m_numIterations);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoDoubleData_1solverMode_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btContactSolverInfoDoubleData *arg1 = (btContactSolverInfoDoubleData *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoDoubleData **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_solverMode = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoDoubleData_1solverMode_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btContactSolverInfoDoubleData *arg1 = (btContactSolverInfoDoubleData *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoDoubleData **)&jarg1;
result = (int) ((arg1)->m_solverMode);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoDoubleData_1restingContactRestitutionThreshold_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btContactSolverInfoDoubleData *arg1 = (btContactSolverInfoDoubleData *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoDoubleData **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_restingContactRestitutionThreshold = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoDoubleData_1restingContactRestitutionThreshold_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btContactSolverInfoDoubleData *arg1 = (btContactSolverInfoDoubleData *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoDoubleData **)&jarg1;
result = (int) ((arg1)->m_restingContactRestitutionThreshold);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoDoubleData_1minimumSolverBatchSize_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btContactSolverInfoDoubleData *arg1 = (btContactSolverInfoDoubleData *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoDoubleData **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_minimumSolverBatchSize = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoDoubleData_1minimumSolverBatchSize_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btContactSolverInfoDoubleData *arg1 = (btContactSolverInfoDoubleData *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoDoubleData **)&jarg1;
result = (int) ((arg1)->m_minimumSolverBatchSize);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoDoubleData_1splitImpulse_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btContactSolverInfoDoubleData *arg1 = (btContactSolverInfoDoubleData *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoDoubleData **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_splitImpulse = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoDoubleData_1splitImpulse_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btContactSolverInfoDoubleData *arg1 = (btContactSolverInfoDoubleData *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoDoubleData **)&jarg1;
result = (int) ((arg1)->m_splitImpulse);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoDoubleData_1padding_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
btContactSolverInfoDoubleData *arg1 = (btContactSolverInfoDoubleData *) 0 ;
char *arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoDoubleData **)&jarg1;
arg2 = 0;
if (jarg2) {
arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
if (!arg2) return ;
}
{
if(arg2) {
strncpy((char*)arg1->m_padding, (const char *)arg2, 4-1);
arg1->m_padding[4-1] = 0;
} else {
arg1->m_padding[0] = 0;
}
}
if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
}
SWIGEXPORT jstring JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoDoubleData_1padding_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jstring jresult = 0 ;
btContactSolverInfoDoubleData *arg1 = (btContactSolverInfoDoubleData *) 0 ;
char *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoDoubleData **)&jarg1;
result = (char *)(char *) ((arg1)->m_padding);
if (result) jresult = jenv->NewStringUTF((const char *)result);
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btContactSolverInfoDoubleData(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btContactSolverInfoDoubleData *result = 0 ;
(void)jenv;
(void)jcls;
result = (btContactSolverInfoDoubleData *)new btContactSolverInfoDoubleData();
*(btContactSolverInfoDoubleData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btContactSolverInfoDoubleData(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btContactSolverInfoDoubleData *arg1 = (btContactSolverInfoDoubleData *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btContactSolverInfoDoubleData **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoFloatData_1tau_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btContactSolverInfoFloatData *arg1 = (btContactSolverInfoFloatData *) 0 ;
float arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoFloatData **)&jarg1;
arg2 = (float)jarg2;
if (arg1) (arg1)->m_tau = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoFloatData_1tau_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btContactSolverInfoFloatData *arg1 = (btContactSolverInfoFloatData *) 0 ;
float result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoFloatData **)&jarg1;
result = (float) ((arg1)->m_tau);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoFloatData_1damping_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btContactSolverInfoFloatData *arg1 = (btContactSolverInfoFloatData *) 0 ;
float arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoFloatData **)&jarg1;
arg2 = (float)jarg2;
if (arg1) (arg1)->m_damping = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoFloatData_1damping_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btContactSolverInfoFloatData *arg1 = (btContactSolverInfoFloatData *) 0 ;
float result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoFloatData **)&jarg1;
result = (float) ((arg1)->m_damping);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoFloatData_1friction_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btContactSolverInfoFloatData *arg1 = (btContactSolverInfoFloatData *) 0 ;
float arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoFloatData **)&jarg1;
arg2 = (float)jarg2;
if (arg1) (arg1)->m_friction = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoFloatData_1friction_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btContactSolverInfoFloatData *arg1 = (btContactSolverInfoFloatData *) 0 ;
float result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoFloatData **)&jarg1;
result = (float) ((arg1)->m_friction);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoFloatData_1timeStep_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btContactSolverInfoFloatData *arg1 = (btContactSolverInfoFloatData *) 0 ;
float arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoFloatData **)&jarg1;
arg2 = (float)jarg2;
if (arg1) (arg1)->m_timeStep = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoFloatData_1timeStep_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btContactSolverInfoFloatData *arg1 = (btContactSolverInfoFloatData *) 0 ;
float result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoFloatData **)&jarg1;
result = (float) ((arg1)->m_timeStep);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoFloatData_1restitution_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btContactSolverInfoFloatData *arg1 = (btContactSolverInfoFloatData *) 0 ;
float arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoFloatData **)&jarg1;
arg2 = (float)jarg2;
if (arg1) (arg1)->m_restitution = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoFloatData_1restitution_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btContactSolverInfoFloatData *arg1 = (btContactSolverInfoFloatData *) 0 ;
float result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoFloatData **)&jarg1;
result = (float) ((arg1)->m_restitution);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoFloatData_1maxErrorReduction_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btContactSolverInfoFloatData *arg1 = (btContactSolverInfoFloatData *) 0 ;
float arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoFloatData **)&jarg1;
arg2 = (float)jarg2;
if (arg1) (arg1)->m_maxErrorReduction = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoFloatData_1maxErrorReduction_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btContactSolverInfoFloatData *arg1 = (btContactSolverInfoFloatData *) 0 ;
float result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoFloatData **)&jarg1;
result = (float) ((arg1)->m_maxErrorReduction);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoFloatData_1sor_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btContactSolverInfoFloatData *arg1 = (btContactSolverInfoFloatData *) 0 ;
float arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoFloatData **)&jarg1;
arg2 = (float)jarg2;
if (arg1) (arg1)->m_sor = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoFloatData_1sor_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btContactSolverInfoFloatData *arg1 = (btContactSolverInfoFloatData *) 0 ;
float result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoFloatData **)&jarg1;
result = (float) ((arg1)->m_sor);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoFloatData_1erp_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btContactSolverInfoFloatData *arg1 = (btContactSolverInfoFloatData *) 0 ;
float arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoFloatData **)&jarg1;
arg2 = (float)jarg2;
if (arg1) (arg1)->m_erp = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoFloatData_1erp_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btContactSolverInfoFloatData *arg1 = (btContactSolverInfoFloatData *) 0 ;
float result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoFloatData **)&jarg1;
result = (float) ((arg1)->m_erp);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoFloatData_1erp2_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btContactSolverInfoFloatData *arg1 = (btContactSolverInfoFloatData *) 0 ;
float arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoFloatData **)&jarg1;
arg2 = (float)jarg2;
if (arg1) (arg1)->m_erp2 = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoFloatData_1erp2_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btContactSolverInfoFloatData *arg1 = (btContactSolverInfoFloatData *) 0 ;
float result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoFloatData **)&jarg1;
result = (float) ((arg1)->m_erp2);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoFloatData_1globalCfm_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btContactSolverInfoFloatData *arg1 = (btContactSolverInfoFloatData *) 0 ;
float arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoFloatData **)&jarg1;
arg2 = (float)jarg2;
if (arg1) (arg1)->m_globalCfm = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoFloatData_1globalCfm_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btContactSolverInfoFloatData *arg1 = (btContactSolverInfoFloatData *) 0 ;
float result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoFloatData **)&jarg1;
result = (float) ((arg1)->m_globalCfm);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoFloatData_1splitImpulsePenetrationThreshold_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btContactSolverInfoFloatData *arg1 = (btContactSolverInfoFloatData *) 0 ;
float arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoFloatData **)&jarg1;
arg2 = (float)jarg2;
if (arg1) (arg1)->m_splitImpulsePenetrationThreshold = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoFloatData_1splitImpulsePenetrationThreshold_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btContactSolverInfoFloatData *arg1 = (btContactSolverInfoFloatData *) 0 ;
float result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoFloatData **)&jarg1;
result = (float) ((arg1)->m_splitImpulsePenetrationThreshold);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoFloatData_1splitImpulseTurnErp_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btContactSolverInfoFloatData *arg1 = (btContactSolverInfoFloatData *) 0 ;
float arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoFloatData **)&jarg1;
arg2 = (float)jarg2;
if (arg1) (arg1)->m_splitImpulseTurnErp = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoFloatData_1splitImpulseTurnErp_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btContactSolverInfoFloatData *arg1 = (btContactSolverInfoFloatData *) 0 ;
float result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoFloatData **)&jarg1;
result = (float) ((arg1)->m_splitImpulseTurnErp);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoFloatData_1linearSlop_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btContactSolverInfoFloatData *arg1 = (btContactSolverInfoFloatData *) 0 ;
float arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoFloatData **)&jarg1;
arg2 = (float)jarg2;
if (arg1) (arg1)->m_linearSlop = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoFloatData_1linearSlop_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btContactSolverInfoFloatData *arg1 = (btContactSolverInfoFloatData *) 0 ;
float result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoFloatData **)&jarg1;
result = (float) ((arg1)->m_linearSlop);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoFloatData_1warmstartingFactor_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btContactSolverInfoFloatData *arg1 = (btContactSolverInfoFloatData *) 0 ;
float arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoFloatData **)&jarg1;
arg2 = (float)jarg2;
if (arg1) (arg1)->m_warmstartingFactor = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoFloatData_1warmstartingFactor_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btContactSolverInfoFloatData *arg1 = (btContactSolverInfoFloatData *) 0 ;
float result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoFloatData **)&jarg1;
result = (float) ((arg1)->m_warmstartingFactor);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoFloatData_1maxGyroscopicForce_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btContactSolverInfoFloatData *arg1 = (btContactSolverInfoFloatData *) 0 ;
float arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoFloatData **)&jarg1;
arg2 = (float)jarg2;
if (arg1) (arg1)->m_maxGyroscopicForce = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoFloatData_1maxGyroscopicForce_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btContactSolverInfoFloatData *arg1 = (btContactSolverInfoFloatData *) 0 ;
float result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoFloatData **)&jarg1;
result = (float) ((arg1)->m_maxGyroscopicForce);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoFloatData_1singleAxisRollingFrictionThreshold_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btContactSolverInfoFloatData *arg1 = (btContactSolverInfoFloatData *) 0 ;
float arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoFloatData **)&jarg1;
arg2 = (float)jarg2;
if (arg1) (arg1)->m_singleAxisRollingFrictionThreshold = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoFloatData_1singleAxisRollingFrictionThreshold_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btContactSolverInfoFloatData *arg1 = (btContactSolverInfoFloatData *) 0 ;
float result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoFloatData **)&jarg1;
result = (float) ((arg1)->m_singleAxisRollingFrictionThreshold);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoFloatData_1numIterations_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btContactSolverInfoFloatData *arg1 = (btContactSolverInfoFloatData *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoFloatData **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_numIterations = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoFloatData_1numIterations_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btContactSolverInfoFloatData *arg1 = (btContactSolverInfoFloatData *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoFloatData **)&jarg1;
result = (int) ((arg1)->m_numIterations);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoFloatData_1solverMode_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btContactSolverInfoFloatData *arg1 = (btContactSolverInfoFloatData *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoFloatData **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_solverMode = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoFloatData_1solverMode_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btContactSolverInfoFloatData *arg1 = (btContactSolverInfoFloatData *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoFloatData **)&jarg1;
result = (int) ((arg1)->m_solverMode);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoFloatData_1restingContactRestitutionThreshold_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btContactSolverInfoFloatData *arg1 = (btContactSolverInfoFloatData *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoFloatData **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_restingContactRestitutionThreshold = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoFloatData_1restingContactRestitutionThreshold_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btContactSolverInfoFloatData *arg1 = (btContactSolverInfoFloatData *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoFloatData **)&jarg1;
result = (int) ((arg1)->m_restingContactRestitutionThreshold);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoFloatData_1minimumSolverBatchSize_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btContactSolverInfoFloatData *arg1 = (btContactSolverInfoFloatData *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoFloatData **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_minimumSolverBatchSize = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoFloatData_1minimumSolverBatchSize_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btContactSolverInfoFloatData *arg1 = (btContactSolverInfoFloatData *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoFloatData **)&jarg1;
result = (int) ((arg1)->m_minimumSolverBatchSize);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoFloatData_1splitImpulse_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btContactSolverInfoFloatData *arg1 = (btContactSolverInfoFloatData *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoFloatData **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_splitImpulse = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoFloatData_1splitImpulse_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btContactSolverInfoFloatData *arg1 = (btContactSolverInfoFloatData *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoFloatData **)&jarg1;
result = (int) ((arg1)->m_splitImpulse);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoFloatData_1padding_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
btContactSolverInfoFloatData *arg1 = (btContactSolverInfoFloatData *) 0 ;
char *arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoFloatData **)&jarg1;
arg2 = 0;
if (jarg2) {
arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
if (!arg2) return ;
}
{
if(arg2) {
strncpy((char*)arg1->m_padding, (const char *)arg2, 4-1);
arg1->m_padding[4-1] = 0;
} else {
arg1->m_padding[0] = 0;
}
}
if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
}
SWIGEXPORT jstring JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoFloatData_1padding_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jstring jresult = 0 ;
btContactSolverInfoFloatData *arg1 = (btContactSolverInfoFloatData *) 0 ;
char *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactSolverInfoFloatData **)&jarg1;
result = (char *)(char *) ((arg1)->m_padding);
if (result) jresult = jenv->NewStringUTF((const char *)result);
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btContactSolverInfoFloatData(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btContactSolverInfoFloatData *result = 0 ;
(void)jenv;
(void)jcls;
result = (btContactSolverInfoFloatData *)new btContactSolverInfoFloatData();
*(btContactSolverInfoFloatData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btContactSolverInfoFloatData(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btContactSolverInfoFloatData *arg1 = (btContactSolverInfoFloatData *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btContactSolverInfoFloatData **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btConstraintSolver(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btConstraintSolver *arg1 = (btConstraintSolver *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btConstraintSolver **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConstraintSolver_1prepareSolve(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jint jarg3) {
btConstraintSolver *arg1 = (btConstraintSolver *) 0 ;
int arg2 ;
int arg3 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConstraintSolver **)&jarg1;
arg2 = (int)jarg2;
arg3 = (int)jarg3;
(arg1)->prepareSolve(arg2,arg3);
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConstraintSolver_1solveGroup(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jint jarg3, jlong jarg4, jint jarg5, jlong jarg6, jint jarg7, jlong jarg8, jobject jarg8_, jlong jarg9, jobject jarg9_, jlong jarg10, jobject jarg10_) {
jfloat jresult = 0 ;
btConstraintSolver *arg1 = (btConstraintSolver *) 0 ;
btCollisionObject **arg2 = (btCollisionObject **) 0 ;
int arg3 ;
btPersistentManifold **arg4 = (btPersistentManifold **) 0 ;
int arg5 ;
btTypedConstraint **arg6 = (btTypedConstraint **) 0 ;
int arg7 ;
btContactSolverInfo *arg8 = 0 ;
btIDebugDraw *arg9 = (btIDebugDraw *) 0 ;
btDispatcher *arg10 = (btDispatcher *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg8_;
(void)jarg9_;
(void)jarg10_;
arg1 = *(btConstraintSolver **)&jarg1;
arg2 = *(btCollisionObject ***)&jarg2;
arg3 = (int)jarg3;
arg4 = *(btPersistentManifold ***)&jarg4;
arg5 = (int)jarg5;
arg6 = *(btTypedConstraint ***)&jarg6;
arg7 = (int)jarg7;
arg8 = *(btContactSolverInfo **)&jarg8;
if (!arg8) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btContactSolverInfo const & reference is null");
return 0;
}
arg9 = *(btIDebugDraw **)&jarg9;
arg10 = *(btDispatcher **)&jarg10;
result = (btScalar)(arg1)->solveGroup(arg2,arg3,arg4,arg5,arg6,arg7,(btContactSolverInfo const &)*arg8,arg9,arg10);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConstraintSolver_1allSolved(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_) {
btConstraintSolver *arg1 = (btConstraintSolver *) 0 ;
btContactSolverInfo *arg2 = 0 ;
btIDebugDraw *arg3 = (btIDebugDraw *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
(void)jarg3_;
arg1 = *(btConstraintSolver **)&jarg1;
arg2 = *(btContactSolverInfo **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btContactSolverInfo const & reference is null");
return ;
}
arg3 = *(btIDebugDraw **)&jarg3;
(arg1)->allSolved((btContactSolverInfo const &)*arg2,arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConstraintSolver_1reset(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
btConstraintSolver *arg1 = (btConstraintSolver *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConstraintSolver **)&jarg1;
(arg1)->reset();
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConstraintSolver_1getSolverType(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btConstraintSolver *arg1 = (btConstraintSolver *) 0 ;
btConstraintSolverType result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConstraintSolver **)&jarg1;
result = (btConstraintSolverType)((btConstraintSolver const *)arg1)->getSolverType();
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSequentialImpulseConstraintSolver_1operatorNew_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btSequentialImpulseConstraintSolver *arg1 = (btSequentialImpulseConstraintSolver *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSequentialImpulseConstraintSolver **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new(arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSequentialImpulseConstraintSolver_1operatorDelete_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btSequentialImpulseConstraintSolver *arg1 = (btSequentialImpulseConstraintSolver *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSequentialImpulseConstraintSolver **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete(arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSequentialImpulseConstraintSolver_1operatorNew_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btSequentialImpulseConstraintSolver *arg1 = (btSequentialImpulseConstraintSolver *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSequentialImpulseConstraintSolver **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new(arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSequentialImpulseConstraintSolver_1operatorDelete_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btSequentialImpulseConstraintSolver *arg1 = (btSequentialImpulseConstraintSolver *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSequentialImpulseConstraintSolver **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete(arg2,arg3);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSequentialImpulseConstraintSolver_1operatorNewArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btSequentialImpulseConstraintSolver *arg1 = (btSequentialImpulseConstraintSolver *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSequentialImpulseConstraintSolver **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new[](arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSequentialImpulseConstraintSolver_1operatorDeleteArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btSequentialImpulseConstraintSolver *arg1 = (btSequentialImpulseConstraintSolver *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSequentialImpulseConstraintSolver **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete[](arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSequentialImpulseConstraintSolver_1operatorNewArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btSequentialImpulseConstraintSolver *arg1 = (btSequentialImpulseConstraintSolver *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSequentialImpulseConstraintSolver **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new[](arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSequentialImpulseConstraintSolver_1operatorDeleteArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btSequentialImpulseConstraintSolver *arg1 = (btSequentialImpulseConstraintSolver *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSequentialImpulseConstraintSolver **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete[](arg2,arg3);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btSequentialImpulseConstraintSolver(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btSequentialImpulseConstraintSolver *result = 0 ;
(void)jenv;
(void)jcls;
result = (btSequentialImpulseConstraintSolver *)new btSequentialImpulseConstraintSolver();
*(btSequentialImpulseConstraintSolver **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btSequentialImpulseConstraintSolver(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btSequentialImpulseConstraintSolver *arg1 = (btSequentialImpulseConstraintSolver *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btSequentialImpulseConstraintSolver **)&jarg1;
delete arg1;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSequentialImpulseConstraintSolver_1btRand2(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btSequentialImpulseConstraintSolver *arg1 = (btSequentialImpulseConstraintSolver *) 0 ;
unsigned long result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSequentialImpulseConstraintSolver **)&jarg1;
result = (unsigned long)(arg1)->btRand2();
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSequentialImpulseConstraintSolver_1btRandInt2(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jint jresult = 0 ;
btSequentialImpulseConstraintSolver *arg1 = (btSequentialImpulseConstraintSolver *) 0 ;
int arg2 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSequentialImpulseConstraintSolver **)&jarg1;
arg2 = (int)jarg2;
result = (int)(arg1)->btRandInt2(arg2);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSequentialImpulseConstraintSolver_1setRandSeed(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btSequentialImpulseConstraintSolver *arg1 = (btSequentialImpulseConstraintSolver *) 0 ;
unsigned long arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSequentialImpulseConstraintSolver **)&jarg1;
arg2 = (unsigned long)jarg2;
(arg1)->setRandSeed(arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSequentialImpulseConstraintSolver_1getRandSeed(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btSequentialImpulseConstraintSolver *arg1 = (btSequentialImpulseConstraintSolver *) 0 ;
unsigned long result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSequentialImpulseConstraintSolver **)&jarg1;
result = (unsigned long)((btSequentialImpulseConstraintSolver const *)arg1)->getRandSeed();
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSequentialImpulseConstraintSolver_1getActiveConstraintRowSolverGeneric(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btSequentialImpulseConstraintSolver *arg1 = (btSequentialImpulseConstraintSolver *) 0 ;
btSingleConstraintRowSolver result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSequentialImpulseConstraintSolver **)&jarg1;
result = (btSingleConstraintRowSolver)(arg1)->getActiveConstraintRowSolverGeneric();
*(btSingleConstraintRowSolver *)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSequentialImpulseConstraintSolver_1setConstraintRowSolverGeneric(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btSequentialImpulseConstraintSolver *arg1 = (btSequentialImpulseConstraintSolver *) 0 ;
btSingleConstraintRowSolver arg2 = (btSingleConstraintRowSolver) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSequentialImpulseConstraintSolver **)&jarg1;
arg2 = *(btSingleConstraintRowSolver *)&jarg2;
(arg1)->setConstraintRowSolverGeneric(arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSequentialImpulseConstraintSolver_1getActiveConstraintRowSolverLowerLimit(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btSequentialImpulseConstraintSolver *arg1 = (btSequentialImpulseConstraintSolver *) 0 ;
btSingleConstraintRowSolver result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSequentialImpulseConstraintSolver **)&jarg1;
result = (btSingleConstraintRowSolver)(arg1)->getActiveConstraintRowSolverLowerLimit();
*(btSingleConstraintRowSolver *)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSequentialImpulseConstraintSolver_1setConstraintRowSolverLowerLimit(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btSequentialImpulseConstraintSolver *arg1 = (btSequentialImpulseConstraintSolver *) 0 ;
btSingleConstraintRowSolver arg2 = (btSingleConstraintRowSolver) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSequentialImpulseConstraintSolver **)&jarg1;
arg2 = *(btSingleConstraintRowSolver *)&jarg2;
(arg1)->setConstraintRowSolverLowerLimit(arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSequentialImpulseConstraintSolver_1getScalarConstraintRowSolverGeneric(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btSequentialImpulseConstraintSolver *arg1 = (btSequentialImpulseConstraintSolver *) 0 ;
btSingleConstraintRowSolver result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSequentialImpulseConstraintSolver **)&jarg1;
result = (btSingleConstraintRowSolver)(arg1)->getScalarConstraintRowSolverGeneric();
*(btSingleConstraintRowSolver *)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSequentialImpulseConstraintSolver_1getScalarConstraintRowSolverLowerLimit(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btSequentialImpulseConstraintSolver *arg1 = (btSequentialImpulseConstraintSolver *) 0 ;
btSingleConstraintRowSolver result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSequentialImpulseConstraintSolver **)&jarg1;
result = (btSingleConstraintRowSolver)(arg1)->getScalarConstraintRowSolverLowerLimit();
*(btSingleConstraintRowSolver *)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverBody_1operatorNew_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btSolverBody *arg1 = (btSolverBody *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSolverBody **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new(arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverBody_1operatorDelete_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btSolverBody *arg1 = (btSolverBody *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSolverBody **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete(arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverBody_1operatorNew_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btSolverBody *arg1 = (btSolverBody *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSolverBody **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new(arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverBody_1operatorDelete_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btSolverBody *arg1 = (btSolverBody *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSolverBody **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete(arg2,arg3);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverBody_1operatorNewArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btSolverBody *arg1 = (btSolverBody *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSolverBody **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new[](arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverBody_1operatorDeleteArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btSolverBody *arg1 = (btSolverBody *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSolverBody **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete[](arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverBody_1operatorNewArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btSolverBody *arg1 = (btSolverBody *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSolverBody **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new[](arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverBody_1operatorDeleteArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btSolverBody *arg1 = (btSolverBody *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSolverBody **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete[](arg2,arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverBody_1worldTransform_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btSolverBody *arg1 = (btSolverBody *) 0 ;
btTransform *arg2 = (btTransform *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btSolverBody **)&jarg1;
arg2 = *(btTransform **)&jarg2;
if (arg1) (arg1)->m_worldTransform = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverBody_1worldTransform_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btSolverBody *arg1 = (btSolverBody *) 0 ;
btTransform *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSolverBody **)&jarg1;
result = (btTransform *)& ((arg1)->m_worldTransform);
*(btTransform **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverBody_1deltaLinearVelocity_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btSolverBody *arg1 = (btSolverBody *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btSolverBody **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->m_deltaLinearVelocity = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverBody_1deltaLinearVelocity_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btSolverBody *arg1 = (btSolverBody *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSolverBody **)&jarg1;
result = (btVector3 *)& ((arg1)->m_deltaLinearVelocity);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverBody_1deltaAngularVelocity_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btSolverBody *arg1 = (btSolverBody *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btSolverBody **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->m_deltaAngularVelocity = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverBody_1deltaAngularVelocity_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btSolverBody *arg1 = (btSolverBody *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSolverBody **)&jarg1;
result = (btVector3 *)& ((arg1)->m_deltaAngularVelocity);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverBody_1angularFactor_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btSolverBody *arg1 = (btSolverBody *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btSolverBody **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->m_angularFactor = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverBody_1angularFactor_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btSolverBody *arg1 = (btSolverBody *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSolverBody **)&jarg1;
result = (btVector3 *)& ((arg1)->m_angularFactor);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverBody_1linearFactor_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btSolverBody *arg1 = (btSolverBody *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btSolverBody **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->m_linearFactor = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverBody_1linearFactor_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btSolverBody *arg1 = (btSolverBody *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSolverBody **)&jarg1;
result = (btVector3 *)& ((arg1)->m_linearFactor);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverBody_1invMass_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btSolverBody *arg1 = (btSolverBody *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btSolverBody **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->m_invMass = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverBody_1invMass_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btSolverBody *arg1 = (btSolverBody *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSolverBody **)&jarg1;
result = (btVector3 *)& ((arg1)->m_invMass);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverBody_1pushVelocity_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btSolverBody *arg1 = (btSolverBody *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btSolverBody **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->m_pushVelocity = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverBody_1pushVelocity_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btSolverBody *arg1 = (btSolverBody *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSolverBody **)&jarg1;
result = (btVector3 *)& ((arg1)->m_pushVelocity);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverBody_1turnVelocity_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btSolverBody *arg1 = (btSolverBody *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btSolverBody **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->m_turnVelocity = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverBody_1turnVelocity_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btSolverBody *arg1 = (btSolverBody *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSolverBody **)&jarg1;
result = (btVector3 *)& ((arg1)->m_turnVelocity);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverBody_1linearVelocity_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btSolverBody *arg1 = (btSolverBody *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btSolverBody **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->m_linearVelocity = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverBody_1linearVelocity_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btSolverBody *arg1 = (btSolverBody *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSolverBody **)&jarg1;
result = (btVector3 *)& ((arg1)->m_linearVelocity);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverBody_1angularVelocity_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btSolverBody *arg1 = (btSolverBody *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btSolverBody **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->m_angularVelocity = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverBody_1angularVelocity_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btSolverBody *arg1 = (btSolverBody *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSolverBody **)&jarg1;
result = (btVector3 *)& ((arg1)->m_angularVelocity);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverBody_1externalForceImpulse_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btSolverBody *arg1 = (btSolverBody *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btSolverBody **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->m_externalForceImpulse = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverBody_1externalForceImpulse_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btSolverBody *arg1 = (btSolverBody *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSolverBody **)&jarg1;
result = (btVector3 *)& ((arg1)->m_externalForceImpulse);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverBody_1externalTorqueImpulse_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btSolverBody *arg1 = (btSolverBody *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btSolverBody **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->m_externalTorqueImpulse = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverBody_1externalTorqueImpulse_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btSolverBody *arg1 = (btSolverBody *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSolverBody **)&jarg1;
result = (btVector3 *)& ((arg1)->m_externalTorqueImpulse);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverBody_1originalBody_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btSolverBody *arg1 = (btSolverBody *) 0 ;
btRigidBody *arg2 = (btRigidBody *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btSolverBody **)&jarg1;
arg2 = *(btRigidBody **)&jarg2;
if (arg1) (arg1)->m_originalBody = arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverBody_1originalBody_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btSolverBody *arg1 = (btSolverBody *) 0 ;
btRigidBody *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSolverBody **)&jarg1;
result = (btRigidBody *) ((arg1)->m_originalBody);
*(btRigidBody **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverBody_1getVelocityInLocalPointNoDelta(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jobject jarg3) {
btSolverBody *arg1 = (btSolverBody *) 0 ;
btVector3 *arg2 = 0 ;
btVector3 *arg3 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSolverBody **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
((btSolverBody const *)arg1)->getVelocityInLocalPointNoDelta((btVector3 const &)*arg2,*arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverBody_1getVelocityInLocalPointObsolete(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jobject jarg3) {
btSolverBody *arg1 = (btSolverBody *) 0 ;
btVector3 *arg2 = 0 ;
btVector3 *arg3 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSolverBody **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
((btSolverBody const *)arg1)->getVelocityInLocalPointObsolete((btVector3 const &)*arg2,*arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverBody_1getAngularVelocity(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btSolverBody *arg1 = (btSolverBody *) 0 ;
btVector3 *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSolverBody **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
((btSolverBody const *)arg1)->getAngularVelocity(*arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverBody_1applyImpulse(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jobject jarg3, jfloat jarg4) {
btSolverBody *arg1 = (btSolverBody *) 0 ;
btVector3 *arg2 = 0 ;
btVector3 *arg3 = 0 ;
btScalar arg4 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSolverBody **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
arg4 = (btScalar)jarg4;
(arg1)->applyImpulse((btVector3 const &)*arg2,(btVector3 const &)*arg3,arg4);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverBody_1internalApplyPushImpulse(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jobject jarg3, jfloat jarg4) {
btSolverBody *arg1 = (btSolverBody *) 0 ;
btVector3 *arg2 = 0 ;
btVector3 *arg3 = 0 ;
btScalar arg4 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSolverBody **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
arg4 = (btScalar)jarg4;
(arg1)->internalApplyPushImpulse((btVector3 const &)*arg2,(btVector3 const &)*arg3,arg4);
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverBody_1internalGetDeltaLinearVelocity(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btSolverBody *arg1 = (btSolverBody *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSolverBody **)&jarg1;
result = (btVector3 *) &(arg1)->internalGetDeltaLinearVelocity();
jresult = gdx_getReturnVector3(jenv);
gdx_setVector3FrombtVector3(jenv, jresult, result);
return jresult;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverBody_1internalGetDeltaAngularVelocity(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btSolverBody *arg1 = (btSolverBody *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSolverBody **)&jarg1;
result = (btVector3 *) &(arg1)->internalGetDeltaAngularVelocity();
jresult = gdx_getReturnVector3(jenv);
gdx_setVector3FrombtVector3(jenv, jresult, result);
return jresult;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverBody_1internalGetAngularFactor(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btSolverBody *arg1 = (btSolverBody *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSolverBody **)&jarg1;
result = (btVector3 *) &((btSolverBody const *)arg1)->internalGetAngularFactor();
jresult = gdx_getReturnVector3(jenv);
gdx_setVector3FrombtVector3(jenv, jresult, result);
return jresult;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverBody_1internalGetInvMass(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btSolverBody *arg1 = (btSolverBody *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSolverBody **)&jarg1;
result = (btVector3 *) &((btSolverBody const *)arg1)->internalGetInvMass();
jresult = gdx_getReturnVector3(jenv);
gdx_setVector3FrombtVector3(jenv, jresult, result);
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverBody_1internalSetInvMass(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btSolverBody *arg1 = (btSolverBody *) 0 ;
btVector3 *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSolverBody **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
(arg1)->internalSetInvMass((btVector3 const &)*arg2);
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverBody_1internalGetPushVelocity(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btSolverBody *arg1 = (btSolverBody *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSolverBody **)&jarg1;
result = (btVector3 *) &(arg1)->internalGetPushVelocity();
jresult = gdx_getReturnVector3(jenv);
gdx_setVector3FrombtVector3(jenv, jresult, result);
return jresult;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverBody_1internalGetTurnVelocity(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btSolverBody *arg1 = (btSolverBody *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSolverBody **)&jarg1;
result = (btVector3 *) &(arg1)->internalGetTurnVelocity();
jresult = gdx_getReturnVector3(jenv);
gdx_setVector3FrombtVector3(jenv, jresult, result);
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverBody_1internalGetVelocityInLocalPointObsolete(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jobject jarg3) {
btSolverBody *arg1 = (btSolverBody *) 0 ;
btVector3 *arg2 = 0 ;
btVector3 *arg3 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSolverBody **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
((btSolverBody const *)arg1)->internalGetVelocityInLocalPointObsolete((btVector3 const &)*arg2,*arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverBody_1internalGetAngularVelocity(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btSolverBody *arg1 = (btSolverBody *) 0 ;
btVector3 *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSolverBody **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
((btSolverBody const *)arg1)->internalGetAngularVelocity(*arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverBody_1internalApplyImpulse(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jobject jarg3, jfloat jarg4) {
btSolverBody *arg1 = (btSolverBody *) 0 ;
btVector3 *arg2 = 0 ;
btVector3 *arg3 = 0 ;
btScalar arg4 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSolverBody **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
arg4 = (btScalar)jarg4;
(arg1)->internalApplyImpulse((btVector3 const &)*arg2,(btVector3 const &)*arg3,arg4);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverBody_1writebackVelocity(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
btSolverBody *arg1 = (btSolverBody *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSolverBody **)&jarg1;
(arg1)->writebackVelocity();
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverBody_1writebackVelocityAndTransform(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2, jfloat jarg3) {
btSolverBody *arg1 = (btSolverBody *) 0 ;
btScalar arg2 ;
btScalar arg3 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSolverBody **)&jarg1;
arg2 = (btScalar)jarg2;
arg3 = (btScalar)jarg3;
(arg1)->writebackVelocityAndTransform(arg2,arg3);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btSolverBody(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btSolverBody *result = 0 ;
(void)jenv;
(void)jcls;
result = (btSolverBody *)new btSolverBody();
*(btSolverBody **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btSolverBody(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btSolverBody *arg1 = (btSolverBody *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btSolverBody **)&jarg1;
delete arg1;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1operatorNew_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btSliderConstraint *arg1 = (btSliderConstraint *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraint **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new(arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1operatorDelete_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btSliderConstraint *arg1 = (btSliderConstraint *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraint **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete(arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1operatorNew_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btSliderConstraint *arg1 = (btSliderConstraint *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraint **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new(arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1operatorDelete_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btSliderConstraint *arg1 = (btSliderConstraint *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraint **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete(arg2,arg3);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1operatorNewArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btSliderConstraint *arg1 = (btSliderConstraint *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraint **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new[](arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1operatorDeleteArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btSliderConstraint *arg1 = (btSliderConstraint *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraint **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete[](arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1operatorNewArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btSliderConstraint *arg1 = (btSliderConstraint *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraint **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new[](arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1operatorDeleteArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btSliderConstraint *arg1 = (btSliderConstraint *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraint **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete[](arg2,arg3);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btSliderConstraint_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jobject jarg3, jobject jarg4, jboolean jarg5) {
jlong jresult = 0 ;
btRigidBody *arg1 = 0 ;
btRigidBody *arg2 = 0 ;
btTransform *arg3 = 0 ;
btTransform *arg4 = 0 ;
bool arg5 ;
btSliderConstraint *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btRigidBody **)&jarg1;
if (!arg1) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btRigidBody & reference is null");
return 0;
}
arg2 = *(btRigidBody **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btRigidBody & reference is null");
return 0;
}
btTransform local_arg3;
gdx_setbtTransformFromMatrix4(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitMatrix4 auto_commit_arg3(jenv, jarg3, &local_arg3);
btTransform local_arg4;
gdx_setbtTransformFromMatrix4(jenv, local_arg4, jarg4);
arg4 = &local_arg4;
gdxAutoCommitMatrix4 auto_commit_arg4(jenv, jarg4, &local_arg4);
arg5 = jarg5 ? true : false;
result = (btSliderConstraint *)new btSliderConstraint(*arg1,*arg2,(btTransform const &)*arg3,(btTransform const &)*arg4,arg5);
*(btSliderConstraint **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btSliderConstraint_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jboolean jarg3) {
jlong jresult = 0 ;
btRigidBody *arg1 = 0 ;
btTransform *arg2 = 0 ;
bool arg3 ;
btSliderConstraint *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody **)&jarg1;
if (!arg1) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btRigidBody & reference is null");
return 0;
}
btTransform local_arg2;
gdx_setbtTransformFromMatrix4(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitMatrix4 auto_commit_arg2(jenv, jarg2, &local_arg2);
arg3 = jarg3 ? true : false;
result = (btSliderConstraint *)new btSliderConstraint(*arg1,(btTransform const &)*arg2,arg3);
*(btSliderConstraint **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1getInfo1NonVirtual(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btSliderConstraint *arg1 = (btSliderConstraint *) 0 ;
btTypedConstraint::btConstraintInfo1 *arg2 = (btTypedConstraint::btConstraintInfo1 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btSliderConstraint **)&jarg1;
arg2 = *(btTypedConstraint::btConstraintInfo1 **)&jarg2;
(arg1)->getInfo1NonVirtual(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1getInfo2NonVirtual(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jobject jarg3, jobject jarg4, jobject jarg5, jobject jarg6, jfloat jarg7, jfloat jarg8) {
btSliderConstraint *arg1 = (btSliderConstraint *) 0 ;
btTypedConstraint::btConstraintInfo2 *arg2 = (btTypedConstraint::btConstraintInfo2 *) 0 ;
btTransform *arg3 = 0 ;
btTransform *arg4 = 0 ;
btVector3 *arg5 = 0 ;
btVector3 *arg6 = 0 ;
btScalar arg7 ;
btScalar arg8 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btSliderConstraint **)&jarg1;
arg2 = *(btTypedConstraint::btConstraintInfo2 **)&jarg2;
btTransform local_arg3;
gdx_setbtTransformFromMatrix4(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitMatrix4 auto_commit_arg3(jenv, jarg3, &local_arg3);
btTransform local_arg4;
gdx_setbtTransformFromMatrix4(jenv, local_arg4, jarg4);
arg4 = &local_arg4;
gdxAutoCommitMatrix4 auto_commit_arg4(jenv, jarg4, &local_arg4);
btVector3 local_arg5;
gdx_setbtVector3FromVector3(jenv, local_arg5, jarg5);
arg5 = &local_arg5;
gdxAutoCommitVector3 auto_commit_arg5(jenv, jarg5, &local_arg5);
btVector3 local_arg6;
gdx_setbtVector3FromVector3(jenv, local_arg6, jarg6);
arg6 = &local_arg6;
gdxAutoCommitVector3 auto_commit_arg6(jenv, jarg6, &local_arg6);
arg7 = (btScalar)jarg7;
arg8 = (btScalar)jarg8;
(arg1)->getInfo2NonVirtual(arg2,(btTransform const &)*arg3,(btTransform const &)*arg4,(btVector3 const &)*arg5,(btVector3 const &)*arg6,arg7,arg8);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1getRigidBodyAConst(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btSliderConstraint *arg1 = (btSliderConstraint *) 0 ;
btRigidBody *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraint **)&jarg1;
result = (btRigidBody *) &((btSliderConstraint const *)arg1)->getRigidBodyA();
*(btRigidBody **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1getRigidBodyBConst(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btSliderConstraint *arg1 = (btSliderConstraint *) 0 ;
btRigidBody *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraint **)&jarg1;
result = (btRigidBody *) &((btSliderConstraint const *)arg1)->getRigidBodyB();
*(btRigidBody **)&jresult = result;
return jresult;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1getCalculatedTransformA(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btSliderConstraint *arg1 = (btSliderConstraint *) 0 ;
btTransform *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraint **)&jarg1;
result = (btTransform *) &((btSliderConstraint const *)arg1)->getCalculatedTransformA();
jresult = gdx_getReturnMatrix4(jenv);
gdx_setMatrix4FrombtTransform(jenv, jresult, result);
return jresult;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1getCalculatedTransformB(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btSliderConstraint *arg1 = (btSliderConstraint *) 0 ;
btTransform *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraint **)&jarg1;
result = (btTransform *) &((btSliderConstraint const *)arg1)->getCalculatedTransformB();
jresult = gdx_getReturnMatrix4(jenv);
gdx_setMatrix4FrombtTransform(jenv, jresult, result);
return jresult;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1getFrameOffsetAConst(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btSliderConstraint *arg1 = (btSliderConstraint *) 0 ;
btTransform *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraint **)&jarg1;
result = (btTransform *) &((btSliderConstraint const *)arg1)->getFrameOffsetA();
jresult = gdx_getReturnMatrix4(jenv);
gdx_setMatrix4FrombtTransform(jenv, jresult, result);
return jresult;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1getFrameOffsetBConst(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btSliderConstraint *arg1 = (btSliderConstraint *) 0 ;
btTransform *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraint **)&jarg1;
result = (btTransform *) &((btSliderConstraint const *)arg1)->getFrameOffsetB();
jresult = gdx_getReturnMatrix4(jenv);
gdx_setMatrix4FrombtTransform(jenv, jresult, result);
return jresult;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1getFrameOffsetA(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btSliderConstraint *arg1 = (btSliderConstraint *) 0 ;
btTransform *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraint **)&jarg1;
result = (btTransform *) &(arg1)->getFrameOffsetA();
jresult = gdx_getReturnMatrix4(jenv);
gdx_setMatrix4FrombtTransform(jenv, jresult, result);
return jresult;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1getFrameOffsetB(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btSliderConstraint *arg1 = (btSliderConstraint *) 0 ;
btTransform *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraint **)&jarg1;
result = (btTransform *) &(arg1)->getFrameOffsetB();
jresult = gdx_getReturnMatrix4(jenv);
gdx_setMatrix4FrombtTransform(jenv, jresult, result);
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1getLowerLinLimit(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btSliderConstraint *arg1 = (btSliderConstraint *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraint **)&jarg1;
result = (btScalar)(arg1)->getLowerLinLimit();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1setLowerLinLimit(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btSliderConstraint *arg1 = (btSliderConstraint *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraint **)&jarg1;
arg2 = (btScalar)jarg2;
(arg1)->setLowerLinLimit(arg2);
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1getUpperLinLimit(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btSliderConstraint *arg1 = (btSliderConstraint *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraint **)&jarg1;
result = (btScalar)(arg1)->getUpperLinLimit();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1setUpperLinLimit(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btSliderConstraint *arg1 = (btSliderConstraint *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraint **)&jarg1;
arg2 = (btScalar)jarg2;
(arg1)->setUpperLinLimit(arg2);
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1getLowerAngLimit(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btSliderConstraint *arg1 = (btSliderConstraint *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraint **)&jarg1;
result = (btScalar)(arg1)->getLowerAngLimit();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1setLowerAngLimit(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btSliderConstraint *arg1 = (btSliderConstraint *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraint **)&jarg1;
arg2 = (btScalar)jarg2;
(arg1)->setLowerAngLimit(arg2);
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1getUpperAngLimit(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btSliderConstraint *arg1 = (btSliderConstraint *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraint **)&jarg1;
result = (btScalar)(arg1)->getUpperAngLimit();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1setUpperAngLimit(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btSliderConstraint *arg1 = (btSliderConstraint *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraint **)&jarg1;
arg2 = (btScalar)jarg2;
(arg1)->setUpperAngLimit(arg2);
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1getUseLinearReferenceFrameA(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jboolean jresult = 0 ;
btSliderConstraint *arg1 = (btSliderConstraint *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraint **)&jarg1;
result = (bool)(arg1)->getUseLinearReferenceFrameA();
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1getSoftnessDirLin(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btSliderConstraint *arg1 = (btSliderConstraint *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraint **)&jarg1;
result = (btScalar)(arg1)->getSoftnessDirLin();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1getRestitutionDirLin(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btSliderConstraint *arg1 = (btSliderConstraint *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraint **)&jarg1;
result = (btScalar)(arg1)->getRestitutionDirLin();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1getDampingDirLin(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btSliderConstraint *arg1 = (btSliderConstraint *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraint **)&jarg1;
result = (btScalar)(arg1)->getDampingDirLin();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1getSoftnessDirAng(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btSliderConstraint *arg1 = (btSliderConstraint *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraint **)&jarg1;
result = (btScalar)(arg1)->getSoftnessDirAng();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1getRestitutionDirAng(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btSliderConstraint *arg1 = (btSliderConstraint *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraint **)&jarg1;
result = (btScalar)(arg1)->getRestitutionDirAng();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1getDampingDirAng(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btSliderConstraint *arg1 = (btSliderConstraint *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraint **)&jarg1;
result = (btScalar)(arg1)->getDampingDirAng();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1getSoftnessLimLin(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btSliderConstraint *arg1 = (btSliderConstraint *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraint **)&jarg1;
result = (btScalar)(arg1)->getSoftnessLimLin();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1getRestitutionLimLin(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btSliderConstraint *arg1 = (btSliderConstraint *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraint **)&jarg1;
result = (btScalar)(arg1)->getRestitutionLimLin();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1getDampingLimLin(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btSliderConstraint *arg1 = (btSliderConstraint *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraint **)&jarg1;
result = (btScalar)(arg1)->getDampingLimLin();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1getSoftnessLimAng(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btSliderConstraint *arg1 = (btSliderConstraint *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraint **)&jarg1;
result = (btScalar)(arg1)->getSoftnessLimAng();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1getRestitutionLimAng(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btSliderConstraint *arg1 = (btSliderConstraint *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraint **)&jarg1;
result = (btScalar)(arg1)->getRestitutionLimAng();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1getDampingLimAng(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btSliderConstraint *arg1 = (btSliderConstraint *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraint **)&jarg1;
result = (btScalar)(arg1)->getDampingLimAng();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1getSoftnessOrthoLin(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btSliderConstraint *arg1 = (btSliderConstraint *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraint **)&jarg1;
result = (btScalar)(arg1)->getSoftnessOrthoLin();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1getRestitutionOrthoLin(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btSliderConstraint *arg1 = (btSliderConstraint *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraint **)&jarg1;
result = (btScalar)(arg1)->getRestitutionOrthoLin();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1getDampingOrthoLin(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btSliderConstraint *arg1 = (btSliderConstraint *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraint **)&jarg1;
result = (btScalar)(arg1)->getDampingOrthoLin();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1getSoftnessOrthoAng(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btSliderConstraint *arg1 = (btSliderConstraint *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraint **)&jarg1;
result = (btScalar)(arg1)->getSoftnessOrthoAng();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1getRestitutionOrthoAng(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btSliderConstraint *arg1 = (btSliderConstraint *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraint **)&jarg1;
result = (btScalar)(arg1)->getRestitutionOrthoAng();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1getDampingOrthoAng(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btSliderConstraint *arg1 = (btSliderConstraint *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraint **)&jarg1;
result = (btScalar)(arg1)->getDampingOrthoAng();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1setSoftnessDirLin(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btSliderConstraint *arg1 = (btSliderConstraint *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraint **)&jarg1;
arg2 = (btScalar)jarg2;
(arg1)->setSoftnessDirLin(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1setRestitutionDirLin(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btSliderConstraint *arg1 = (btSliderConstraint *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraint **)&jarg1;
arg2 = (btScalar)jarg2;
(arg1)->setRestitutionDirLin(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1setDampingDirLin(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btSliderConstraint *arg1 = (btSliderConstraint *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraint **)&jarg1;
arg2 = (btScalar)jarg2;
(arg1)->setDampingDirLin(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1setSoftnessDirAng(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btSliderConstraint *arg1 = (btSliderConstraint *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraint **)&jarg1;
arg2 = (btScalar)jarg2;
(arg1)->setSoftnessDirAng(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1setRestitutionDirAng(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btSliderConstraint *arg1 = (btSliderConstraint *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraint **)&jarg1;
arg2 = (btScalar)jarg2;
(arg1)->setRestitutionDirAng(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1setDampingDirAng(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btSliderConstraint *arg1 = (btSliderConstraint *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraint **)&jarg1;
arg2 = (btScalar)jarg2;
(arg1)->setDampingDirAng(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1setSoftnessLimLin(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btSliderConstraint *arg1 = (btSliderConstraint *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraint **)&jarg1;
arg2 = (btScalar)jarg2;
(arg1)->setSoftnessLimLin(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1setRestitutionLimLin(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btSliderConstraint *arg1 = (btSliderConstraint *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraint **)&jarg1;
arg2 = (btScalar)jarg2;
(arg1)->setRestitutionLimLin(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1setDampingLimLin(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btSliderConstraint *arg1 = (btSliderConstraint *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraint **)&jarg1;
arg2 = (btScalar)jarg2;
(arg1)->setDampingLimLin(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1setSoftnessLimAng(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btSliderConstraint *arg1 = (btSliderConstraint *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraint **)&jarg1;
arg2 = (btScalar)jarg2;
(arg1)->setSoftnessLimAng(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1setRestitutionLimAng(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btSliderConstraint *arg1 = (btSliderConstraint *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraint **)&jarg1;
arg2 = (btScalar)jarg2;
(arg1)->setRestitutionLimAng(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1setDampingLimAng(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btSliderConstraint *arg1 = (btSliderConstraint *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraint **)&jarg1;
arg2 = (btScalar)jarg2;
(arg1)->setDampingLimAng(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1setSoftnessOrthoLin(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btSliderConstraint *arg1 = (btSliderConstraint *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraint **)&jarg1;
arg2 = (btScalar)jarg2;
(arg1)->setSoftnessOrthoLin(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1setRestitutionOrthoLin(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btSliderConstraint *arg1 = (btSliderConstraint *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraint **)&jarg1;
arg2 = (btScalar)jarg2;
(arg1)->setRestitutionOrthoLin(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1setDampingOrthoLin(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btSliderConstraint *arg1 = (btSliderConstraint *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraint **)&jarg1;
arg2 = (btScalar)jarg2;
(arg1)->setDampingOrthoLin(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1setSoftnessOrthoAng(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btSliderConstraint *arg1 = (btSliderConstraint *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraint **)&jarg1;
arg2 = (btScalar)jarg2;
(arg1)->setSoftnessOrthoAng(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1setRestitutionOrthoAng(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btSliderConstraint *arg1 = (btSliderConstraint *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraint **)&jarg1;
arg2 = (btScalar)jarg2;
(arg1)->setRestitutionOrthoAng(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1setDampingOrthoAng(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btSliderConstraint *arg1 = (btSliderConstraint *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraint **)&jarg1;
arg2 = (btScalar)jarg2;
(arg1)->setDampingOrthoAng(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1setPoweredLinMotor(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jboolean jarg2) {
btSliderConstraint *arg1 = (btSliderConstraint *) 0 ;
bool arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraint **)&jarg1;
arg2 = jarg2 ? true : false;
(arg1)->setPoweredLinMotor(arg2);
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1getPoweredLinMotor(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jboolean jresult = 0 ;
btSliderConstraint *arg1 = (btSliderConstraint *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraint **)&jarg1;
result = (bool)(arg1)->getPoweredLinMotor();
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1setTargetLinMotorVelocity(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btSliderConstraint *arg1 = (btSliderConstraint *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraint **)&jarg1;
arg2 = (btScalar)jarg2;
(arg1)->setTargetLinMotorVelocity(arg2);
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1getTargetLinMotorVelocity(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btSliderConstraint *arg1 = (btSliderConstraint *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraint **)&jarg1;
result = (btScalar)(arg1)->getTargetLinMotorVelocity();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1setMaxLinMotorForce(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btSliderConstraint *arg1 = (btSliderConstraint *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraint **)&jarg1;
arg2 = (btScalar)jarg2;
(arg1)->setMaxLinMotorForce(arg2);
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1getMaxLinMotorForce(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btSliderConstraint *arg1 = (btSliderConstraint *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraint **)&jarg1;
result = (btScalar)(arg1)->getMaxLinMotorForce();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1setPoweredAngMotor(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jboolean jarg2) {
btSliderConstraint *arg1 = (btSliderConstraint *) 0 ;
bool arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraint **)&jarg1;
arg2 = jarg2 ? true : false;
(arg1)->setPoweredAngMotor(arg2);
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1getPoweredAngMotor(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jboolean jresult = 0 ;
btSliderConstraint *arg1 = (btSliderConstraint *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraint **)&jarg1;
result = (bool)(arg1)->getPoweredAngMotor();
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1setTargetAngMotorVelocity(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btSliderConstraint *arg1 = (btSliderConstraint *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraint **)&jarg1;
arg2 = (btScalar)jarg2;
(arg1)->setTargetAngMotorVelocity(arg2);
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1getTargetAngMotorVelocity(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btSliderConstraint *arg1 = (btSliderConstraint *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraint **)&jarg1;
result = (btScalar)(arg1)->getTargetAngMotorVelocity();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1setMaxAngMotorForce(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btSliderConstraint *arg1 = (btSliderConstraint *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraint **)&jarg1;
arg2 = (btScalar)jarg2;
(arg1)->setMaxAngMotorForce(arg2);
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1getMaxAngMotorForce(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btSliderConstraint *arg1 = (btSliderConstraint *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraint **)&jarg1;
result = (btScalar)(arg1)->getMaxAngMotorForce();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1getLinearPos(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btSliderConstraint *arg1 = (btSliderConstraint *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraint **)&jarg1;
result = (btScalar)((btSliderConstraint const *)arg1)->getLinearPos();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1getAngularPos(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btSliderConstraint *arg1 = (btSliderConstraint *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraint **)&jarg1;
result = (btScalar)((btSliderConstraint const *)arg1)->getAngularPos();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1getSolveLinLimit(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jboolean jresult = 0 ;
btSliderConstraint *arg1 = (btSliderConstraint *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraint **)&jarg1;
result = (bool)(arg1)->getSolveLinLimit();
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1getLinDepth(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btSliderConstraint *arg1 = (btSliderConstraint *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraint **)&jarg1;
result = (btScalar)(arg1)->getLinDepth();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1getSolveAngLimit(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jboolean jresult = 0 ;
btSliderConstraint *arg1 = (btSliderConstraint *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraint **)&jarg1;
result = (bool)(arg1)->getSolveAngLimit();
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1getAngDepth(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btSliderConstraint *arg1 = (btSliderConstraint *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraint **)&jarg1;
result = (btScalar)(arg1)->getAngDepth();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1calculateTransforms(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jobject jarg3) {
btSliderConstraint *arg1 = (btSliderConstraint *) 0 ;
btTransform *arg2 = 0 ;
btTransform *arg3 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraint **)&jarg1;
btTransform local_arg2;
gdx_setbtTransformFromMatrix4(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitMatrix4 auto_commit_arg2(jenv, jarg2, &local_arg2);
btTransform local_arg3;
gdx_setbtTransformFromMatrix4(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitMatrix4 auto_commit_arg3(jenv, jarg3, &local_arg3);
(arg1)->calculateTransforms((btTransform const &)*arg2,(btTransform const &)*arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1testLinLimits(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
btSliderConstraint *arg1 = (btSliderConstraint *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraint **)&jarg1;
(arg1)->testLinLimits();
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1testAngLimits(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
btSliderConstraint *arg1 = (btSliderConstraint *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraint **)&jarg1;
(arg1)->testAngLimits();
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1getAncorInA(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btSliderConstraint *arg1 = (btSliderConstraint *) 0 ;
btVector3 result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraint **)&jarg1;
result = (arg1)->getAncorInA();
jresult = gdx_getReturnVector3(jenv);
gdx_setVector3FrombtVector3(jenv, jresult, result);
return jresult;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1getAncorInB(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btSliderConstraint *arg1 = (btSliderConstraint *) 0 ;
btVector3 result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraint **)&jarg1;
result = (arg1)->getAncorInB();
jresult = gdx_getReturnVector3(jenv);
gdx_setVector3FrombtVector3(jenv, jresult, result);
return jresult;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1getUseFrameOffset(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jboolean jresult = 0 ;
btSliderConstraint *arg1 = (btSliderConstraint *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraint **)&jarg1;
result = (bool)(arg1)->getUseFrameOffset();
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1setUseFrameOffset(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jboolean jarg2) {
btSliderConstraint *arg1 = (btSliderConstraint *) 0 ;
bool arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraint **)&jarg1;
arg2 = jarg2 ? true : false;
(arg1)->setUseFrameOffset(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1setFrames(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jobject jarg3) {
btSliderConstraint *arg1 = (btSliderConstraint *) 0 ;
btTransform *arg2 = 0 ;
btTransform *arg3 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraint **)&jarg1;
btTransform local_arg2;
gdx_setbtTransformFromMatrix4(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitMatrix4 auto_commit_arg2(jenv, jarg2, &local_arg2);
btTransform local_arg3;
gdx_setbtTransformFromMatrix4(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitMatrix4 auto_commit_arg3(jenv, jarg3, &local_arg3);
(arg1)->setFrames((btTransform const &)*arg2,(btTransform const &)*arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1setParam_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jfloat jarg3, jint jarg4) {
btSliderConstraint *arg1 = (btSliderConstraint *) 0 ;
int arg2 ;
btScalar arg3 ;
int arg4 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraint **)&jarg1;
arg2 = (int)jarg2;
arg3 = (btScalar)jarg3;
arg4 = (int)jarg4;
(arg1)->setParam(arg2,arg3,arg4);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1setParam_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jfloat jarg3) {
btSliderConstraint *arg1 = (btSliderConstraint *) 0 ;
int arg2 ;
btScalar arg3 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraint **)&jarg1;
arg2 = (int)jarg2;
arg3 = (btScalar)jarg3;
(arg1)->setParam(arg2,arg3);
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1getParam_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jint jarg3) {
jfloat jresult = 0 ;
btSliderConstraint *arg1 = (btSliderConstraint *) 0 ;
int arg2 ;
int arg3 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraint **)&jarg1;
arg2 = (int)jarg2;
arg3 = (int)jarg3;
result = (btScalar)((btSliderConstraint const *)arg1)->getParam(arg2,arg3);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1getParam_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jfloat jresult = 0 ;
btSliderConstraint *arg1 = (btSliderConstraint *) 0 ;
int arg2 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraint **)&jarg1;
arg2 = (int)jarg2;
result = (btScalar)((btSliderConstraint const *)arg1)->getParam(arg2);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1getFlags(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btSliderConstraint *arg1 = (btSliderConstraint *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraint **)&jarg1;
result = (int)((btSliderConstraint const *)arg1)->getFlags();
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btSliderConstraint(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btSliderConstraint *arg1 = (btSliderConstraint *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btSliderConstraint **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraintData_1typeConstraintData_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btSliderConstraintData *arg1 = (btSliderConstraintData *) 0 ;
btTypedConstraintData *arg2 = (btTypedConstraintData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btSliderConstraintData **)&jarg1;
arg2 = *(btTypedConstraintData **)&jarg2;
if (arg1) (arg1)->m_typeConstraintData = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraintData_1typeConstraintData_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btSliderConstraintData *arg1 = (btSliderConstraintData *) 0 ;
btTypedConstraintData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraintData **)&jarg1;
result = (btTypedConstraintData *)& ((arg1)->m_typeConstraintData);
*(btTypedConstraintData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraintData_1rbAFrame_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btSliderConstraintData *arg1 = (btSliderConstraintData *) 0 ;
btTransformFloatData *arg2 = (btTransformFloatData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btSliderConstraintData **)&jarg1;
arg2 = *(btTransformFloatData **)&jarg2;
if (arg1) (arg1)->m_rbAFrame = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraintData_1rbAFrame_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btSliderConstraintData *arg1 = (btSliderConstraintData *) 0 ;
btTransformFloatData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraintData **)&jarg1;
result = (btTransformFloatData *)& ((arg1)->m_rbAFrame);
*(btTransformFloatData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraintData_1rbBFrame_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btSliderConstraintData *arg1 = (btSliderConstraintData *) 0 ;
btTransformFloatData *arg2 = (btTransformFloatData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btSliderConstraintData **)&jarg1;
arg2 = *(btTransformFloatData **)&jarg2;
if (arg1) (arg1)->m_rbBFrame = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraintData_1rbBFrame_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btSliderConstraintData *arg1 = (btSliderConstraintData *) 0 ;
btTransformFloatData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraintData **)&jarg1;
result = (btTransformFloatData *)& ((arg1)->m_rbBFrame);
*(btTransformFloatData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraintData_1linearUpperLimit_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btSliderConstraintData *arg1 = (btSliderConstraintData *) 0 ;
float arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraintData **)&jarg1;
arg2 = (float)jarg2;
if (arg1) (arg1)->m_linearUpperLimit = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraintData_1linearUpperLimit_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btSliderConstraintData *arg1 = (btSliderConstraintData *) 0 ;
float result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraintData **)&jarg1;
result = (float) ((arg1)->m_linearUpperLimit);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraintData_1linearLowerLimit_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btSliderConstraintData *arg1 = (btSliderConstraintData *) 0 ;
float arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraintData **)&jarg1;
arg2 = (float)jarg2;
if (arg1) (arg1)->m_linearLowerLimit = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraintData_1linearLowerLimit_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btSliderConstraintData *arg1 = (btSliderConstraintData *) 0 ;
float result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraintData **)&jarg1;
result = (float) ((arg1)->m_linearLowerLimit);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraintData_1angularUpperLimit_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btSliderConstraintData *arg1 = (btSliderConstraintData *) 0 ;
float arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraintData **)&jarg1;
arg2 = (float)jarg2;
if (arg1) (arg1)->m_angularUpperLimit = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraintData_1angularUpperLimit_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btSliderConstraintData *arg1 = (btSliderConstraintData *) 0 ;
float result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraintData **)&jarg1;
result = (float) ((arg1)->m_angularUpperLimit);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraintData_1angularLowerLimit_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btSliderConstraintData *arg1 = (btSliderConstraintData *) 0 ;
float arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraintData **)&jarg1;
arg2 = (float)jarg2;
if (arg1) (arg1)->m_angularLowerLimit = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraintData_1angularLowerLimit_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btSliderConstraintData *arg1 = (btSliderConstraintData *) 0 ;
float result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraintData **)&jarg1;
result = (float) ((arg1)->m_angularLowerLimit);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraintData_1useLinearReferenceFrameA_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btSliderConstraintData *arg1 = (btSliderConstraintData *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraintData **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_useLinearReferenceFrameA = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraintData_1useLinearReferenceFrameA_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btSliderConstraintData *arg1 = (btSliderConstraintData *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraintData **)&jarg1;
result = (int) ((arg1)->m_useLinearReferenceFrameA);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraintData_1useOffsetForConstraintFrame_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btSliderConstraintData *arg1 = (btSliderConstraintData *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraintData **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_useOffsetForConstraintFrame = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraintData_1useOffsetForConstraintFrame_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btSliderConstraintData *arg1 = (btSliderConstraintData *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraintData **)&jarg1;
result = (int) ((arg1)->m_useOffsetForConstraintFrame);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btSliderConstraintData(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btSliderConstraintData *result = 0 ;
(void)jenv;
(void)jcls;
result = (btSliderConstraintData *)new btSliderConstraintData();
*(btSliderConstraintData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btSliderConstraintData(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btSliderConstraintData *arg1 = (btSliderConstraintData *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btSliderConstraintData **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraintDoubleData_1typeConstraintData_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btSliderConstraintDoubleData *arg1 = (btSliderConstraintDoubleData *) 0 ;
btTypedConstraintDoubleData *arg2 = (btTypedConstraintDoubleData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btSliderConstraintDoubleData **)&jarg1;
arg2 = *(btTypedConstraintDoubleData **)&jarg2;
if (arg1) (arg1)->m_typeConstraintData = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraintDoubleData_1typeConstraintData_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btSliderConstraintDoubleData *arg1 = (btSliderConstraintDoubleData *) 0 ;
btTypedConstraintDoubleData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraintDoubleData **)&jarg1;
result = (btTypedConstraintDoubleData *)& ((arg1)->m_typeConstraintData);
*(btTypedConstraintDoubleData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraintDoubleData_1rbAFrame_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btSliderConstraintDoubleData *arg1 = (btSliderConstraintDoubleData *) 0 ;
btTransformDoubleData *arg2 = (btTransformDoubleData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btSliderConstraintDoubleData **)&jarg1;
arg2 = *(btTransformDoubleData **)&jarg2;
if (arg1) (arg1)->m_rbAFrame = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraintDoubleData_1rbAFrame_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btSliderConstraintDoubleData *arg1 = (btSliderConstraintDoubleData *) 0 ;
btTransformDoubleData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraintDoubleData **)&jarg1;
result = (btTransformDoubleData *)& ((arg1)->m_rbAFrame);
*(btTransformDoubleData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraintDoubleData_1rbBFrame_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btSliderConstraintDoubleData *arg1 = (btSliderConstraintDoubleData *) 0 ;
btTransformDoubleData *arg2 = (btTransformDoubleData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btSliderConstraintDoubleData **)&jarg1;
arg2 = *(btTransformDoubleData **)&jarg2;
if (arg1) (arg1)->m_rbBFrame = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraintDoubleData_1rbBFrame_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btSliderConstraintDoubleData *arg1 = (btSliderConstraintDoubleData *) 0 ;
btTransformDoubleData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraintDoubleData **)&jarg1;
result = (btTransformDoubleData *)& ((arg1)->m_rbBFrame);
*(btTransformDoubleData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraintDoubleData_1linearUpperLimit_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2) {
btSliderConstraintDoubleData *arg1 = (btSliderConstraintDoubleData *) 0 ;
double arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraintDoubleData **)&jarg1;
arg2 = (double)jarg2;
if (arg1) (arg1)->m_linearUpperLimit = arg2;
}
SWIGEXPORT jdouble JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraintDoubleData_1linearUpperLimit_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jdouble jresult = 0 ;
btSliderConstraintDoubleData *arg1 = (btSliderConstraintDoubleData *) 0 ;
double result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraintDoubleData **)&jarg1;
result = (double) ((arg1)->m_linearUpperLimit);
jresult = (jdouble)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraintDoubleData_1linearLowerLimit_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2) {
btSliderConstraintDoubleData *arg1 = (btSliderConstraintDoubleData *) 0 ;
double arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraintDoubleData **)&jarg1;
arg2 = (double)jarg2;
if (arg1) (arg1)->m_linearLowerLimit = arg2;
}
SWIGEXPORT jdouble JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraintDoubleData_1linearLowerLimit_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jdouble jresult = 0 ;
btSliderConstraintDoubleData *arg1 = (btSliderConstraintDoubleData *) 0 ;
double result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraintDoubleData **)&jarg1;
result = (double) ((arg1)->m_linearLowerLimit);
jresult = (jdouble)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraintDoubleData_1angularUpperLimit_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2) {
btSliderConstraintDoubleData *arg1 = (btSliderConstraintDoubleData *) 0 ;
double arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraintDoubleData **)&jarg1;
arg2 = (double)jarg2;
if (arg1) (arg1)->m_angularUpperLimit = arg2;
}
SWIGEXPORT jdouble JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraintDoubleData_1angularUpperLimit_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jdouble jresult = 0 ;
btSliderConstraintDoubleData *arg1 = (btSliderConstraintDoubleData *) 0 ;
double result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraintDoubleData **)&jarg1;
result = (double) ((arg1)->m_angularUpperLimit);
jresult = (jdouble)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraintDoubleData_1angularLowerLimit_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2) {
btSliderConstraintDoubleData *arg1 = (btSliderConstraintDoubleData *) 0 ;
double arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraintDoubleData **)&jarg1;
arg2 = (double)jarg2;
if (arg1) (arg1)->m_angularLowerLimit = arg2;
}
SWIGEXPORT jdouble JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraintDoubleData_1angularLowerLimit_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jdouble jresult = 0 ;
btSliderConstraintDoubleData *arg1 = (btSliderConstraintDoubleData *) 0 ;
double result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraintDoubleData **)&jarg1;
result = (double) ((arg1)->m_angularLowerLimit);
jresult = (jdouble)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraintDoubleData_1useLinearReferenceFrameA_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btSliderConstraintDoubleData *arg1 = (btSliderConstraintDoubleData *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraintDoubleData **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_useLinearReferenceFrameA = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraintDoubleData_1useLinearReferenceFrameA_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btSliderConstraintDoubleData *arg1 = (btSliderConstraintDoubleData *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraintDoubleData **)&jarg1;
result = (int) ((arg1)->m_useLinearReferenceFrameA);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraintDoubleData_1useOffsetForConstraintFrame_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btSliderConstraintDoubleData *arg1 = (btSliderConstraintDoubleData *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraintDoubleData **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_useOffsetForConstraintFrame = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraintDoubleData_1useOffsetForConstraintFrame_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btSliderConstraintDoubleData *arg1 = (btSliderConstraintDoubleData *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSliderConstraintDoubleData **)&jarg1;
result = (int) ((arg1)->m_useOffsetForConstraintFrame);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btSliderConstraintDoubleData(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btSliderConstraintDoubleData *result = 0 ;
(void)jenv;
(void)jcls;
result = (btSliderConstraintDoubleData *)new btSliderConstraintDoubleData();
*(btSliderConstraintDoubleData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btSliderConstraintDoubleData(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btSliderConstraintDoubleData *arg1 = (btSliderConstraintDoubleData *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btSliderConstraintDoubleData **)&jarg1;
delete arg1;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btConstraintSetting(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btConstraintSetting *result = 0 ;
(void)jenv;
(void)jcls;
result = (btConstraintSetting *)new btConstraintSetting();
*(btConstraintSetting **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConstraintSetting_1tau_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btConstraintSetting *arg1 = (btConstraintSetting *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConstraintSetting **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_tau = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConstraintSetting_1tau_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btConstraintSetting *arg1 = (btConstraintSetting *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConstraintSetting **)&jarg1;
result = (btScalar) ((arg1)->m_tau);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConstraintSetting_1damping_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btConstraintSetting *arg1 = (btConstraintSetting *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConstraintSetting **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_damping = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConstraintSetting_1damping_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btConstraintSetting *arg1 = (btConstraintSetting *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConstraintSetting **)&jarg1;
result = (btScalar) ((arg1)->m_damping);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConstraintSetting_1impulseClamp_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btConstraintSetting *arg1 = (btConstraintSetting *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConstraintSetting **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_impulseClamp = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConstraintSetting_1impulseClamp_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btConstraintSetting *arg1 = (btConstraintSetting *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConstraintSetting **)&jarg1;
result = (btScalar) ((arg1)->m_impulseClamp);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btConstraintSetting(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btConstraintSetting *arg1 = (btConstraintSetting *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btConstraintSetting **)&jarg1;
delete arg1;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btPoint2PointConstraint_1operatorNew_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btPoint2PointConstraint *arg1 = (btPoint2PointConstraint *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btPoint2PointConstraint **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new(arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btPoint2PointConstraint_1operatorDelete_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btPoint2PointConstraint *arg1 = (btPoint2PointConstraint *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btPoint2PointConstraint **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete(arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btPoint2PointConstraint_1operatorNew_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btPoint2PointConstraint *arg1 = (btPoint2PointConstraint *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btPoint2PointConstraint **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new(arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btPoint2PointConstraint_1operatorDelete_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btPoint2PointConstraint *arg1 = (btPoint2PointConstraint *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btPoint2PointConstraint **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete(arg2,arg3);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btPoint2PointConstraint_1operatorNewArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btPoint2PointConstraint *arg1 = (btPoint2PointConstraint *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btPoint2PointConstraint **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new[](arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btPoint2PointConstraint_1operatorDeleteArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btPoint2PointConstraint *arg1 = (btPoint2PointConstraint *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btPoint2PointConstraint **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete[](arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btPoint2PointConstraint_1operatorNewArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btPoint2PointConstraint *arg1 = (btPoint2PointConstraint *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btPoint2PointConstraint **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new[](arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btPoint2PointConstraint_1operatorDeleteArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btPoint2PointConstraint *arg1 = (btPoint2PointConstraint *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btPoint2PointConstraint **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete[](arg2,arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btPoint2PointConstraint_1useSolveConstraintObsolete_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jboolean jarg2) {
btPoint2PointConstraint *arg1 = (btPoint2PointConstraint *) 0 ;
bool arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btPoint2PointConstraint **)&jarg1;
arg2 = jarg2 ? true : false;
if (arg1) (arg1)->m_useSolveConstraintObsolete = arg2;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btPoint2PointConstraint_1useSolveConstraintObsolete_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jboolean jresult = 0 ;
btPoint2PointConstraint *arg1 = (btPoint2PointConstraint *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btPoint2PointConstraint **)&jarg1;
result = (bool) ((arg1)->m_useSolveConstraintObsolete);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btPoint2PointConstraint_1setting_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btPoint2PointConstraint *arg1 = (btPoint2PointConstraint *) 0 ;
btConstraintSetting *arg2 = (btConstraintSetting *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btPoint2PointConstraint **)&jarg1;
arg2 = *(btConstraintSetting **)&jarg2;
if (arg1) (arg1)->m_setting = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btPoint2PointConstraint_1setting_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btPoint2PointConstraint *arg1 = (btPoint2PointConstraint *) 0 ;
btConstraintSetting *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btPoint2PointConstraint **)&jarg1;
result = (btConstraintSetting *)& ((arg1)->m_setting);
*(btConstraintSetting **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btPoint2PointConstraint_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jobject jarg3, jobject jarg4) {
jlong jresult = 0 ;
btRigidBody *arg1 = 0 ;
btRigidBody *arg2 = 0 ;
btVector3 *arg3 = 0 ;
btVector3 *arg4 = 0 ;
btPoint2PointConstraint *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btRigidBody **)&jarg1;
if (!arg1) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btRigidBody & reference is null");
return 0;
}
arg2 = *(btRigidBody **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btRigidBody & reference is null");
return 0;
}
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
btVector3 local_arg4;
gdx_setbtVector3FromVector3(jenv, local_arg4, jarg4);
arg4 = &local_arg4;
gdxAutoCommitVector3 auto_commit_arg4(jenv, jarg4, &local_arg4);
result = (btPoint2PointConstraint *)new btPoint2PointConstraint(*arg1,*arg2,(btVector3 const &)*arg3,(btVector3 const &)*arg4);
*(btPoint2PointConstraint **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btPoint2PointConstraint_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
jlong jresult = 0 ;
btRigidBody *arg1 = 0 ;
btVector3 *arg2 = 0 ;
btPoint2PointConstraint *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody **)&jarg1;
if (!arg1) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btRigidBody & reference is null");
return 0;
}
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
result = (btPoint2PointConstraint *)new btPoint2PointConstraint(*arg1,(btVector3 const &)*arg2);
*(btPoint2PointConstraint **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btPoint2PointConstraint_1getInfo1NonVirtual(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btPoint2PointConstraint *arg1 = (btPoint2PointConstraint *) 0 ;
btTypedConstraint::btConstraintInfo1 *arg2 = (btTypedConstraint::btConstraintInfo1 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btPoint2PointConstraint **)&jarg1;
arg2 = *(btTypedConstraint::btConstraintInfo1 **)&jarg2;
(arg1)->getInfo1NonVirtual(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btPoint2PointConstraint_1getInfo2NonVirtual(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jobject jarg3, jobject jarg4) {
btPoint2PointConstraint *arg1 = (btPoint2PointConstraint *) 0 ;
btTypedConstraint::btConstraintInfo2 *arg2 = (btTypedConstraint::btConstraintInfo2 *) 0 ;
btTransform *arg3 = 0 ;
btTransform *arg4 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btPoint2PointConstraint **)&jarg1;
arg2 = *(btTypedConstraint::btConstraintInfo2 **)&jarg2;
btTransform local_arg3;
gdx_setbtTransformFromMatrix4(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitMatrix4 auto_commit_arg3(jenv, jarg3, &local_arg3);
btTransform local_arg4;
gdx_setbtTransformFromMatrix4(jenv, local_arg4, jarg4);
arg4 = &local_arg4;
gdxAutoCommitMatrix4 auto_commit_arg4(jenv, jarg4, &local_arg4);
(arg1)->getInfo2NonVirtual(arg2,(btTransform const &)*arg3,(btTransform const &)*arg4);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btPoint2PointConstraint_1updateRHS(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btPoint2PointConstraint *arg1 = (btPoint2PointConstraint *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btPoint2PointConstraint **)&jarg1;
arg2 = (btScalar)jarg2;
(arg1)->updateRHS(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btPoint2PointConstraint_1setPivotA(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btPoint2PointConstraint *arg1 = (btPoint2PointConstraint *) 0 ;
btVector3 *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btPoint2PointConstraint **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
(arg1)->setPivotA((btVector3 const &)*arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btPoint2PointConstraint_1setPivotB(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btPoint2PointConstraint *arg1 = (btPoint2PointConstraint *) 0 ;
btVector3 *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btPoint2PointConstraint **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
(arg1)->setPivotB((btVector3 const &)*arg2);
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btPoint2PointConstraint_1getPivotInA(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btPoint2PointConstraint *arg1 = (btPoint2PointConstraint *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btPoint2PointConstraint **)&jarg1;
result = (btVector3 *) &((btPoint2PointConstraint const *)arg1)->getPivotInA();
jresult = gdx_getReturnVector3(jenv);
gdx_setVector3FrombtVector3(jenv, jresult, result);
return jresult;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btPoint2PointConstraint_1getPivotInB(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btPoint2PointConstraint *arg1 = (btPoint2PointConstraint *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btPoint2PointConstraint **)&jarg1;
result = (btVector3 *) &((btPoint2PointConstraint const *)arg1)->getPivotInB();
jresult = gdx_getReturnVector3(jenv);
gdx_setVector3FrombtVector3(jenv, jresult, result);
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btPoint2PointConstraint_1setParam_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jfloat jarg3, jint jarg4) {
btPoint2PointConstraint *arg1 = (btPoint2PointConstraint *) 0 ;
int arg2 ;
btScalar arg3 ;
int arg4 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btPoint2PointConstraint **)&jarg1;
arg2 = (int)jarg2;
arg3 = (btScalar)jarg3;
arg4 = (int)jarg4;
(arg1)->setParam(arg2,arg3,arg4);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btPoint2PointConstraint_1setParam_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jfloat jarg3) {
btPoint2PointConstraint *arg1 = (btPoint2PointConstraint *) 0 ;
int arg2 ;
btScalar arg3 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btPoint2PointConstraint **)&jarg1;
arg2 = (int)jarg2;
arg3 = (btScalar)jarg3;
(arg1)->setParam(arg2,arg3);
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btPoint2PointConstraint_1getParam_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jint jarg3) {
jfloat jresult = 0 ;
btPoint2PointConstraint *arg1 = (btPoint2PointConstraint *) 0 ;
int arg2 ;
int arg3 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btPoint2PointConstraint **)&jarg1;
arg2 = (int)jarg2;
arg3 = (int)jarg3;
result = (btScalar)((btPoint2PointConstraint const *)arg1)->getParam(arg2,arg3);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btPoint2PointConstraint_1getParam_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jfloat jresult = 0 ;
btPoint2PointConstraint *arg1 = (btPoint2PointConstraint *) 0 ;
int arg2 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btPoint2PointConstraint **)&jarg1;
arg2 = (int)jarg2;
result = (btScalar)((btPoint2PointConstraint const *)arg1)->getParam(arg2);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btPoint2PointConstraint_1getFlags(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btPoint2PointConstraint *arg1 = (btPoint2PointConstraint *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btPoint2PointConstraint **)&jarg1;
result = (int)((btPoint2PointConstraint const *)arg1)->getFlags();
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btPoint2PointConstraint(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btPoint2PointConstraint *arg1 = (btPoint2PointConstraint *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btPoint2PointConstraint **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btPoint2PointConstraintFloatData_1typeConstraintData_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btPoint2PointConstraintFloatData *arg1 = (btPoint2PointConstraintFloatData *) 0 ;
btTypedConstraintData *arg2 = (btTypedConstraintData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btPoint2PointConstraintFloatData **)&jarg1;
arg2 = *(btTypedConstraintData **)&jarg2;
if (arg1) (arg1)->m_typeConstraintData = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btPoint2PointConstraintFloatData_1typeConstraintData_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btPoint2PointConstraintFloatData *arg1 = (btPoint2PointConstraintFloatData *) 0 ;
btTypedConstraintData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btPoint2PointConstraintFloatData **)&jarg1;
result = (btTypedConstraintData *)& ((arg1)->m_typeConstraintData);
*(btTypedConstraintData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btPoint2PointConstraintFloatData_1pivotInA_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btPoint2PointConstraintFloatData *arg1 = (btPoint2PointConstraintFloatData *) 0 ;
btVector3FloatData *arg2 = (btVector3FloatData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btPoint2PointConstraintFloatData **)&jarg1;
arg2 = *(btVector3FloatData **)&jarg2;
if (arg1) (arg1)->m_pivotInA = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btPoint2PointConstraintFloatData_1pivotInA_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btPoint2PointConstraintFloatData *arg1 = (btPoint2PointConstraintFloatData *) 0 ;
btVector3FloatData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btPoint2PointConstraintFloatData **)&jarg1;
result = (btVector3FloatData *)& ((arg1)->m_pivotInA);
*(btVector3FloatData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btPoint2PointConstraintFloatData_1pivotInB_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btPoint2PointConstraintFloatData *arg1 = (btPoint2PointConstraintFloatData *) 0 ;
btVector3FloatData *arg2 = (btVector3FloatData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btPoint2PointConstraintFloatData **)&jarg1;
arg2 = *(btVector3FloatData **)&jarg2;
if (arg1) (arg1)->m_pivotInB = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btPoint2PointConstraintFloatData_1pivotInB_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btPoint2PointConstraintFloatData *arg1 = (btPoint2PointConstraintFloatData *) 0 ;
btVector3FloatData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btPoint2PointConstraintFloatData **)&jarg1;
result = (btVector3FloatData *)& ((arg1)->m_pivotInB);
*(btVector3FloatData **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btPoint2PointConstraintFloatData(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btPoint2PointConstraintFloatData *result = 0 ;
(void)jenv;
(void)jcls;
result = (btPoint2PointConstraintFloatData *)new btPoint2PointConstraintFloatData();
*(btPoint2PointConstraintFloatData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btPoint2PointConstraintFloatData(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btPoint2PointConstraintFloatData *arg1 = (btPoint2PointConstraintFloatData *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btPoint2PointConstraintFloatData **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btPoint2PointConstraintDoubleData2_1typeConstraintData_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btPoint2PointConstraintDoubleData2 *arg1 = (btPoint2PointConstraintDoubleData2 *) 0 ;
btTypedConstraintDoubleData *arg2 = (btTypedConstraintDoubleData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btPoint2PointConstraintDoubleData2 **)&jarg1;
arg2 = *(btTypedConstraintDoubleData **)&jarg2;
if (arg1) (arg1)->m_typeConstraintData = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btPoint2PointConstraintDoubleData2_1typeConstraintData_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btPoint2PointConstraintDoubleData2 *arg1 = (btPoint2PointConstraintDoubleData2 *) 0 ;
btTypedConstraintDoubleData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btPoint2PointConstraintDoubleData2 **)&jarg1;
result = (btTypedConstraintDoubleData *)& ((arg1)->m_typeConstraintData);
*(btTypedConstraintDoubleData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btPoint2PointConstraintDoubleData2_1pivotInA_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btPoint2PointConstraintDoubleData2 *arg1 = (btPoint2PointConstraintDoubleData2 *) 0 ;
btVector3DoubleData *arg2 = (btVector3DoubleData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btPoint2PointConstraintDoubleData2 **)&jarg1;
arg2 = *(btVector3DoubleData **)&jarg2;
if (arg1) (arg1)->m_pivotInA = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btPoint2PointConstraintDoubleData2_1pivotInA_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btPoint2PointConstraintDoubleData2 *arg1 = (btPoint2PointConstraintDoubleData2 *) 0 ;
btVector3DoubleData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btPoint2PointConstraintDoubleData2 **)&jarg1;
result = (btVector3DoubleData *)& ((arg1)->m_pivotInA);
*(btVector3DoubleData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btPoint2PointConstraintDoubleData2_1pivotInB_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btPoint2PointConstraintDoubleData2 *arg1 = (btPoint2PointConstraintDoubleData2 *) 0 ;
btVector3DoubleData *arg2 = (btVector3DoubleData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btPoint2PointConstraintDoubleData2 **)&jarg1;
arg2 = *(btVector3DoubleData **)&jarg2;
if (arg1) (arg1)->m_pivotInB = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btPoint2PointConstraintDoubleData2_1pivotInB_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btPoint2PointConstraintDoubleData2 *arg1 = (btPoint2PointConstraintDoubleData2 *) 0 ;
btVector3DoubleData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btPoint2PointConstraintDoubleData2 **)&jarg1;
result = (btVector3DoubleData *)& ((arg1)->m_pivotInB);
*(btVector3DoubleData **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btPoint2PointConstraintDoubleData2(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btPoint2PointConstraintDoubleData2 *result = 0 ;
(void)jenv;
(void)jcls;
result = (btPoint2PointConstraintDoubleData2 *)new btPoint2PointConstraintDoubleData2();
*(btPoint2PointConstraintDoubleData2 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btPoint2PointConstraintDoubleData2(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btPoint2PointConstraintDoubleData2 *arg1 = (btPoint2PointConstraintDoubleData2 *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btPoint2PointConstraintDoubleData2 **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btPoint2PointConstraintDoubleData_1typeConstraintData_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btPoint2PointConstraintDoubleData *arg1 = (btPoint2PointConstraintDoubleData *) 0 ;
btTypedConstraintData *arg2 = (btTypedConstraintData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btPoint2PointConstraintDoubleData **)&jarg1;
arg2 = *(btTypedConstraintData **)&jarg2;
if (arg1) (arg1)->m_typeConstraintData = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btPoint2PointConstraintDoubleData_1typeConstraintData_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btPoint2PointConstraintDoubleData *arg1 = (btPoint2PointConstraintDoubleData *) 0 ;
btTypedConstraintData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btPoint2PointConstraintDoubleData **)&jarg1;
result = (btTypedConstraintData *)& ((arg1)->m_typeConstraintData);
*(btTypedConstraintData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btPoint2PointConstraintDoubleData_1pivotInA_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btPoint2PointConstraintDoubleData *arg1 = (btPoint2PointConstraintDoubleData *) 0 ;
btVector3DoubleData *arg2 = (btVector3DoubleData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btPoint2PointConstraintDoubleData **)&jarg1;
arg2 = *(btVector3DoubleData **)&jarg2;
if (arg1) (arg1)->m_pivotInA = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btPoint2PointConstraintDoubleData_1pivotInA_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btPoint2PointConstraintDoubleData *arg1 = (btPoint2PointConstraintDoubleData *) 0 ;
btVector3DoubleData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btPoint2PointConstraintDoubleData **)&jarg1;
result = (btVector3DoubleData *)& ((arg1)->m_pivotInA);
*(btVector3DoubleData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btPoint2PointConstraintDoubleData_1pivotInB_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btPoint2PointConstraintDoubleData *arg1 = (btPoint2PointConstraintDoubleData *) 0 ;
btVector3DoubleData *arg2 = (btVector3DoubleData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btPoint2PointConstraintDoubleData **)&jarg1;
arg2 = *(btVector3DoubleData **)&jarg2;
if (arg1) (arg1)->m_pivotInB = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btPoint2PointConstraintDoubleData_1pivotInB_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btPoint2PointConstraintDoubleData *arg1 = (btPoint2PointConstraintDoubleData *) 0 ;
btVector3DoubleData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btPoint2PointConstraintDoubleData **)&jarg1;
result = (btVector3DoubleData *)& ((arg1)->m_pivotInB);
*(btVector3DoubleData **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btPoint2PointConstraintDoubleData(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btPoint2PointConstraintDoubleData *result = 0 ;
(void)jenv;
(void)jcls;
result = (btPoint2PointConstraintDoubleData *)new btPoint2PointConstraintDoubleData();
*(btPoint2PointConstraintDoubleData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btPoint2PointConstraintDoubleData(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btPoint2PointConstraintDoubleData *arg1 = (btPoint2PointConstraintDoubleData *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btPoint2PointConstraintDoubleData **)&jarg1;
delete arg1;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btJacobianEntry_1_1SWIG_10(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btJacobianEntry *result = 0 ;
(void)jenv;
(void)jcls;
result = (btJacobianEntry *)new btJacobianEntry();
*(btJacobianEntry **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btJacobianEntry_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jobject jarg1, jobject jarg2, jobject jarg3, jobject jarg4, jobject jarg5, jobject jarg6, jfloat jarg7, jobject jarg8, jfloat jarg9) {
jlong jresult = 0 ;
btMatrix3x3 *arg1 = 0 ;
btMatrix3x3 *arg2 = 0 ;
btVector3 *arg3 = 0 ;
btVector3 *arg4 = 0 ;
btVector3 *arg5 = 0 ;
btVector3 *arg6 = 0 ;
btScalar arg7 ;
btVector3 *arg8 = 0 ;
btScalar arg9 ;
btJacobianEntry *result = 0 ;
(void)jenv;
(void)jcls;
btMatrix3x3 local_arg1;
gdx_setbtMatrix3x3FromMatrix3(jenv, local_arg1, jarg1);
arg1 = &local_arg1;
gdxAutoCommitMatrix3 auto_commit_arg1(jenv, jarg1, &local_arg1);
btMatrix3x3 local_arg2;
gdx_setbtMatrix3x3FromMatrix3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitMatrix3 auto_commit_arg2(jenv, jarg2, &local_arg2);
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
btVector3 local_arg4;
gdx_setbtVector3FromVector3(jenv, local_arg4, jarg4);
arg4 = &local_arg4;
gdxAutoCommitVector3 auto_commit_arg4(jenv, jarg4, &local_arg4);
btVector3 local_arg5;
gdx_setbtVector3FromVector3(jenv, local_arg5, jarg5);
arg5 = &local_arg5;
gdxAutoCommitVector3 auto_commit_arg5(jenv, jarg5, &local_arg5);
btVector3 local_arg6;
gdx_setbtVector3FromVector3(jenv, local_arg6, jarg6);
arg6 = &local_arg6;
gdxAutoCommitVector3 auto_commit_arg6(jenv, jarg6, &local_arg6);
arg7 = (btScalar)jarg7;
btVector3 local_arg8;
gdx_setbtVector3FromVector3(jenv, local_arg8, jarg8);
arg8 = &local_arg8;
gdxAutoCommitVector3 auto_commit_arg8(jenv, jarg8, &local_arg8);
arg9 = (btScalar)jarg9;
result = (btJacobianEntry *)new btJacobianEntry((btMatrix3x3 const &)*arg1,(btMatrix3x3 const &)*arg2,(btVector3 const &)*arg3,(btVector3 const &)*arg4,(btVector3 const &)*arg5,(btVector3 const &)*arg6,arg7,(btVector3 const &)*arg8,arg9);
*(btJacobianEntry **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btJacobianEntry_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jobject jarg1, jobject jarg2, jobject jarg3, jobject jarg4, jobject jarg5) {
jlong jresult = 0 ;
btVector3 *arg1 = 0 ;
btMatrix3x3 *arg2 = 0 ;
btMatrix3x3 *arg3 = 0 ;
btVector3 *arg4 = 0 ;
btVector3 *arg5 = 0 ;
btJacobianEntry *result = 0 ;
(void)jenv;
(void)jcls;
btVector3 local_arg1;
gdx_setbtVector3FromVector3(jenv, local_arg1, jarg1);
arg1 = &local_arg1;
gdxAutoCommitVector3 auto_commit_arg1(jenv, jarg1, &local_arg1);
btMatrix3x3 local_arg2;
gdx_setbtMatrix3x3FromMatrix3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitMatrix3 auto_commit_arg2(jenv, jarg2, &local_arg2);
btMatrix3x3 local_arg3;
gdx_setbtMatrix3x3FromMatrix3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitMatrix3 auto_commit_arg3(jenv, jarg3, &local_arg3);
btVector3 local_arg4;
gdx_setbtVector3FromVector3(jenv, local_arg4, jarg4);
arg4 = &local_arg4;
gdxAutoCommitVector3 auto_commit_arg4(jenv, jarg4, &local_arg4);
btVector3 local_arg5;
gdx_setbtVector3FromVector3(jenv, local_arg5, jarg5);
arg5 = &local_arg5;
gdxAutoCommitVector3 auto_commit_arg5(jenv, jarg5, &local_arg5);
result = (btJacobianEntry *)new btJacobianEntry((btVector3 const &)*arg1,(btMatrix3x3 const &)*arg2,(btMatrix3x3 const &)*arg3,(btVector3 const &)*arg4,(btVector3 const &)*arg5);
*(btJacobianEntry **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btJacobianEntry_1_1SWIG_13(JNIEnv *jenv, jclass jcls, jobject jarg1, jobject jarg2, jobject jarg3, jobject jarg4) {
jlong jresult = 0 ;
btVector3 *arg1 = 0 ;
btVector3 *arg2 = 0 ;
btVector3 *arg3 = 0 ;
btVector3 *arg4 = 0 ;
btJacobianEntry *result = 0 ;
(void)jenv;
(void)jcls;
btVector3 local_arg1;
gdx_setbtVector3FromVector3(jenv, local_arg1, jarg1);
arg1 = &local_arg1;
gdxAutoCommitVector3 auto_commit_arg1(jenv, jarg1, &local_arg1);
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
btVector3 local_arg4;
gdx_setbtVector3FromVector3(jenv, local_arg4, jarg4);
arg4 = &local_arg4;
gdxAutoCommitVector3 auto_commit_arg4(jenv, jarg4, &local_arg4);
result = (btJacobianEntry *)new btJacobianEntry((btVector3 const &)*arg1,(btVector3 const &)*arg2,(btVector3 const &)*arg3,(btVector3 const &)*arg4);
*(btJacobianEntry **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btJacobianEntry_1_1SWIG_14(JNIEnv *jenv, jclass jcls, jobject jarg1, jobject jarg2, jobject jarg3, jobject jarg4, jobject jarg5, jfloat jarg6) {
jlong jresult = 0 ;
btMatrix3x3 *arg1 = 0 ;
btVector3 *arg2 = 0 ;
btVector3 *arg3 = 0 ;
btVector3 *arg4 = 0 ;
btVector3 *arg5 = 0 ;
btScalar arg6 ;
btJacobianEntry *result = 0 ;
(void)jenv;
(void)jcls;
btMatrix3x3 local_arg1;
gdx_setbtMatrix3x3FromMatrix3(jenv, local_arg1, jarg1);
arg1 = &local_arg1;
gdxAutoCommitMatrix3 auto_commit_arg1(jenv, jarg1, &local_arg1);
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
btVector3 local_arg4;
gdx_setbtVector3FromVector3(jenv, local_arg4, jarg4);
arg4 = &local_arg4;
gdxAutoCommitVector3 auto_commit_arg4(jenv, jarg4, &local_arg4);
btVector3 local_arg5;
gdx_setbtVector3FromVector3(jenv, local_arg5, jarg5);
arg5 = &local_arg5;
gdxAutoCommitVector3 auto_commit_arg5(jenv, jarg5, &local_arg5);
arg6 = (btScalar)jarg6;
result = (btJacobianEntry *)new btJacobianEntry((btMatrix3x3 const &)*arg1,(btVector3 const &)*arg2,(btVector3 const &)*arg3,(btVector3 const &)*arg4,(btVector3 const &)*arg5,arg6);
*(btJacobianEntry **)&jresult = result;
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btJacobianEntry_1getDiagonal(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btJacobianEntry *arg1 = (btJacobianEntry *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btJacobianEntry **)&jarg1;
result = (btScalar)((btJacobianEntry const *)arg1)->getDiagonal();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btJacobianEntry_1getNonDiagonal_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jfloat jarg3) {
jfloat jresult = 0 ;
btJacobianEntry *arg1 = (btJacobianEntry *) 0 ;
btJacobianEntry *arg2 = 0 ;
btScalar arg3 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btJacobianEntry **)&jarg1;
arg2 = *(btJacobianEntry **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btJacobianEntry const & reference is null");
return 0;
}
arg3 = (btScalar)jarg3;
result = (btScalar)((btJacobianEntry const *)arg1)->getNonDiagonal((btJacobianEntry const &)*arg2,arg3);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btJacobianEntry_1getNonDiagonal_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jfloat jarg3, jfloat jarg4) {
jfloat jresult = 0 ;
btJacobianEntry *arg1 = (btJacobianEntry *) 0 ;
btJacobianEntry *arg2 = 0 ;
btScalar arg3 ;
btScalar arg4 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btJacobianEntry **)&jarg1;
arg2 = *(btJacobianEntry **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btJacobianEntry const & reference is null");
return 0;
}
arg3 = (btScalar)jarg3;
arg4 = (btScalar)jarg4;
result = (btScalar)((btJacobianEntry const *)arg1)->getNonDiagonal((btJacobianEntry const &)*arg2,arg3,arg4);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btJacobianEntry_1getRelativeVelocity(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jobject jarg3, jobject jarg4, jobject jarg5) {
jfloat jresult = 0 ;
btJacobianEntry *arg1 = (btJacobianEntry *) 0 ;
btVector3 *arg2 = 0 ;
btVector3 *arg3 = 0 ;
btVector3 *arg4 = 0 ;
btVector3 *arg5 = 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btJacobianEntry **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
btVector3 local_arg4;
gdx_setbtVector3FromVector3(jenv, local_arg4, jarg4);
arg4 = &local_arg4;
gdxAutoCommitVector3 auto_commit_arg4(jenv, jarg4, &local_arg4);
btVector3 local_arg5;
gdx_setbtVector3FromVector3(jenv, local_arg5, jarg5);
arg5 = &local_arg5;
gdxAutoCommitVector3 auto_commit_arg5(jenv, jarg5, &local_arg5);
result = (btScalar)(arg1)->getRelativeVelocity((btVector3 const &)*arg2,(btVector3 const &)*arg3,(btVector3 const &)*arg4,(btVector3 const &)*arg5);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btJacobianEntry_1linearJointAxis_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btJacobianEntry *arg1 = (btJacobianEntry *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btJacobianEntry **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->m_linearJointAxis = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btJacobianEntry_1linearJointAxis_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btJacobianEntry *arg1 = (btJacobianEntry *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btJacobianEntry **)&jarg1;
result = (btVector3 *)& ((arg1)->m_linearJointAxis);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btJacobianEntry_1aJ_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btJacobianEntry *arg1 = (btJacobianEntry *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btJacobianEntry **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->m_aJ = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btJacobianEntry_1aJ_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btJacobianEntry *arg1 = (btJacobianEntry *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btJacobianEntry **)&jarg1;
result = (btVector3 *)& ((arg1)->m_aJ);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btJacobianEntry_1bJ_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btJacobianEntry *arg1 = (btJacobianEntry *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btJacobianEntry **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->m_bJ = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btJacobianEntry_1bJ_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btJacobianEntry *arg1 = (btJacobianEntry *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btJacobianEntry **)&jarg1;
result = (btVector3 *)& ((arg1)->m_bJ);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btJacobianEntry_10MinvJt_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btJacobianEntry *arg1 = (btJacobianEntry *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btJacobianEntry **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->m_0MinvJt = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btJacobianEntry_10MinvJt_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btJacobianEntry *arg1 = (btJacobianEntry *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btJacobianEntry **)&jarg1;
result = (btVector3 *)& ((arg1)->m_0MinvJt);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btJacobianEntry_11MinvJt_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btJacobianEntry *arg1 = (btJacobianEntry *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btJacobianEntry **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->m_1MinvJt = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btJacobianEntry_11MinvJt_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btJacobianEntry *arg1 = (btJacobianEntry *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btJacobianEntry **)&jarg1;
result = (btVector3 *)& ((arg1)->m_1MinvJt);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btJacobianEntry_1Adiag_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btJacobianEntry *arg1 = (btJacobianEntry *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btJacobianEntry **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_Adiag = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btJacobianEntry_1Adiag_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btJacobianEntry *arg1 = (btJacobianEntry *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btJacobianEntry **)&jarg1;
result = (btScalar) ((arg1)->m_Adiag);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btJacobianEntry(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btJacobianEntry *arg1 = (btJacobianEntry *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btJacobianEntry **)&jarg1;
delete arg1;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btSolve2LinearConstraint(JNIEnv *jenv, jclass jcls, jfloat jarg1, jfloat jarg2) {
jlong jresult = 0 ;
btScalar arg1 ;
btScalar arg2 ;
btSolve2LinearConstraint *result = 0 ;
(void)jenv;
(void)jcls;
arg1 = (btScalar)jarg1;
arg2 = (btScalar)jarg2;
result = (btSolve2LinearConstraint *)new btSolve2LinearConstraint(arg1,arg2);
*(btSolve2LinearConstraint **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolve2LinearConstraint_1resolveUnilateralPairConstraint(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_, jobject jarg4, jobject jarg5, jobject jarg6, jfloat jarg7, jobject jarg8, jobject jarg9, jobject jarg10, jobject jarg11, jfloat jarg12, jobject jarg13, jobject jarg14, jobject jarg15, jfloat jarg16, jobject jarg17, jobject jarg18, jobject jarg19, jfloat jarg20, jobject jarg21, jlong jarg22, jlong jarg23) {
btSolve2LinearConstraint *arg1 = (btSolve2LinearConstraint *) 0 ;
btRigidBody *arg2 = (btRigidBody *) 0 ;
btRigidBody *arg3 = (btRigidBody *) 0 ;
btMatrix3x3 *arg4 = 0 ;
btMatrix3x3 *arg5 = 0 ;
btVector3 *arg6 = 0 ;
btScalar arg7 ;
btVector3 *arg8 = 0 ;
btVector3 *arg9 = 0 ;
btVector3 *arg10 = 0 ;
btVector3 *arg11 = 0 ;
btScalar arg12 ;
btVector3 *arg13 = 0 ;
btVector3 *arg14 = 0 ;
btVector3 *arg15 = 0 ;
btScalar arg16 ;
btVector3 *arg17 = 0 ;
btVector3 *arg18 = 0 ;
btVector3 *arg19 = 0 ;
btScalar arg20 ;
btVector3 *arg21 = 0 ;
btScalar *arg22 = 0 ;
btScalar *arg23 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
(void)jarg3_;
arg1 = *(btSolve2LinearConstraint **)&jarg1;
arg2 = *(btRigidBody **)&jarg2;
arg3 = *(btRigidBody **)&jarg3;
btMatrix3x3 local_arg4;
gdx_setbtMatrix3x3FromMatrix3(jenv, local_arg4, jarg4);
arg4 = &local_arg4;
gdxAutoCommitMatrix3 auto_commit_arg4(jenv, jarg4, &local_arg4);
btMatrix3x3 local_arg5;
gdx_setbtMatrix3x3FromMatrix3(jenv, local_arg5, jarg5);
arg5 = &local_arg5;
gdxAutoCommitMatrix3 auto_commit_arg5(jenv, jarg5, &local_arg5);
btVector3 local_arg6;
gdx_setbtVector3FromVector3(jenv, local_arg6, jarg6);
arg6 = &local_arg6;
gdxAutoCommitVector3 auto_commit_arg6(jenv, jarg6, &local_arg6);
arg7 = (btScalar)jarg7;
btVector3 local_arg8;
gdx_setbtVector3FromVector3(jenv, local_arg8, jarg8);
arg8 = &local_arg8;
gdxAutoCommitVector3 auto_commit_arg8(jenv, jarg8, &local_arg8);
btVector3 local_arg9;
gdx_setbtVector3FromVector3(jenv, local_arg9, jarg9);
arg9 = &local_arg9;
gdxAutoCommitVector3 auto_commit_arg9(jenv, jarg9, &local_arg9);
btVector3 local_arg10;
gdx_setbtVector3FromVector3(jenv, local_arg10, jarg10);
arg10 = &local_arg10;
gdxAutoCommitVector3 auto_commit_arg10(jenv, jarg10, &local_arg10);
btVector3 local_arg11;
gdx_setbtVector3FromVector3(jenv, local_arg11, jarg11);
arg11 = &local_arg11;
gdxAutoCommitVector3 auto_commit_arg11(jenv, jarg11, &local_arg11);
arg12 = (btScalar)jarg12;
btVector3 local_arg13;
gdx_setbtVector3FromVector3(jenv, local_arg13, jarg13);
arg13 = &local_arg13;
gdxAutoCommitVector3 auto_commit_arg13(jenv, jarg13, &local_arg13);
btVector3 local_arg14;
gdx_setbtVector3FromVector3(jenv, local_arg14, jarg14);
arg14 = &local_arg14;
gdxAutoCommitVector3 auto_commit_arg14(jenv, jarg14, &local_arg14);
btVector3 local_arg15;
gdx_setbtVector3FromVector3(jenv, local_arg15, jarg15);
arg15 = &local_arg15;
gdxAutoCommitVector3 auto_commit_arg15(jenv, jarg15, &local_arg15);
arg16 = (btScalar)jarg16;
btVector3 local_arg17;
gdx_setbtVector3FromVector3(jenv, local_arg17, jarg17);
arg17 = &local_arg17;
gdxAutoCommitVector3 auto_commit_arg17(jenv, jarg17, &local_arg17);
btVector3 local_arg18;
gdx_setbtVector3FromVector3(jenv, local_arg18, jarg18);
arg18 = &local_arg18;
gdxAutoCommitVector3 auto_commit_arg18(jenv, jarg18, &local_arg18);
btVector3 local_arg19;
gdx_setbtVector3FromVector3(jenv, local_arg19, jarg19);
arg19 = &local_arg19;
gdxAutoCommitVector3 auto_commit_arg19(jenv, jarg19, &local_arg19);
arg20 = (btScalar)jarg20;
btVector3 local_arg21;
gdx_setbtVector3FromVector3(jenv, local_arg21, jarg21);
arg21 = &local_arg21;
gdxAutoCommitVector3 auto_commit_arg21(jenv, jarg21, &local_arg21);
arg22 = *(btScalar **)&jarg22;
if (!arg22) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btScalar & reference is null");
return ;
}
arg23 = *(btScalar **)&jarg23;
if (!arg23) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btScalar & reference is null");
return ;
}
(arg1)->resolveUnilateralPairConstraint(arg2,arg3,(btMatrix3x3 const &)*arg4,(btMatrix3x3 const &)*arg5,(btVector3 const &)*arg6,arg7,(btVector3 const &)*arg8,(btVector3 const &)*arg9,(btVector3 const &)*arg10,(btVector3 const &)*arg11,arg12,(btVector3 const &)*arg13,(btVector3 const &)*arg14,(btVector3 const &)*arg15,arg16,(btVector3 const &)*arg17,(btVector3 const &)*arg18,(btVector3 const &)*arg19,arg20,(btVector3 const &)*arg21,*arg22,*arg23);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolve2LinearConstraint_1resolveBilateralPairConstraint(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_, jobject jarg4, jobject jarg5, jobject jarg6, jfloat jarg7, jobject jarg8, jobject jarg9, jobject jarg10, jobject jarg11, jfloat jarg12, jobject jarg13, jobject jarg14, jobject jarg15, jfloat jarg16, jobject jarg17, jobject jarg18, jobject jarg19, jfloat jarg20, jobject jarg21, jlong jarg22, jlong jarg23) {
btSolve2LinearConstraint *arg1 = (btSolve2LinearConstraint *) 0 ;
btRigidBody *arg2 = (btRigidBody *) 0 ;
btRigidBody *arg3 = (btRigidBody *) 0 ;
btMatrix3x3 *arg4 = 0 ;
btMatrix3x3 *arg5 = 0 ;
btVector3 *arg6 = 0 ;
btScalar arg7 ;
btVector3 *arg8 = 0 ;
btVector3 *arg9 = 0 ;
btVector3 *arg10 = 0 ;
btVector3 *arg11 = 0 ;
btScalar arg12 ;
btVector3 *arg13 = 0 ;
btVector3 *arg14 = 0 ;
btVector3 *arg15 = 0 ;
btScalar arg16 ;
btVector3 *arg17 = 0 ;
btVector3 *arg18 = 0 ;
btVector3 *arg19 = 0 ;
btScalar arg20 ;
btVector3 *arg21 = 0 ;
btScalar *arg22 = 0 ;
btScalar *arg23 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
(void)jarg3_;
arg1 = *(btSolve2LinearConstraint **)&jarg1;
arg2 = *(btRigidBody **)&jarg2;
arg3 = *(btRigidBody **)&jarg3;
btMatrix3x3 local_arg4;
gdx_setbtMatrix3x3FromMatrix3(jenv, local_arg4, jarg4);
arg4 = &local_arg4;
gdxAutoCommitMatrix3 auto_commit_arg4(jenv, jarg4, &local_arg4);
btMatrix3x3 local_arg5;
gdx_setbtMatrix3x3FromMatrix3(jenv, local_arg5, jarg5);
arg5 = &local_arg5;
gdxAutoCommitMatrix3 auto_commit_arg5(jenv, jarg5, &local_arg5);
btVector3 local_arg6;
gdx_setbtVector3FromVector3(jenv, local_arg6, jarg6);
arg6 = &local_arg6;
gdxAutoCommitVector3 auto_commit_arg6(jenv, jarg6, &local_arg6);
arg7 = (btScalar)jarg7;
btVector3 local_arg8;
gdx_setbtVector3FromVector3(jenv, local_arg8, jarg8);
arg8 = &local_arg8;
gdxAutoCommitVector3 auto_commit_arg8(jenv, jarg8, &local_arg8);
btVector3 local_arg9;
gdx_setbtVector3FromVector3(jenv, local_arg9, jarg9);
arg9 = &local_arg9;
gdxAutoCommitVector3 auto_commit_arg9(jenv, jarg9, &local_arg9);
btVector3 local_arg10;
gdx_setbtVector3FromVector3(jenv, local_arg10, jarg10);
arg10 = &local_arg10;
gdxAutoCommitVector3 auto_commit_arg10(jenv, jarg10, &local_arg10);
btVector3 local_arg11;
gdx_setbtVector3FromVector3(jenv, local_arg11, jarg11);
arg11 = &local_arg11;
gdxAutoCommitVector3 auto_commit_arg11(jenv, jarg11, &local_arg11);
arg12 = (btScalar)jarg12;
btVector3 local_arg13;
gdx_setbtVector3FromVector3(jenv, local_arg13, jarg13);
arg13 = &local_arg13;
gdxAutoCommitVector3 auto_commit_arg13(jenv, jarg13, &local_arg13);
btVector3 local_arg14;
gdx_setbtVector3FromVector3(jenv, local_arg14, jarg14);
arg14 = &local_arg14;
gdxAutoCommitVector3 auto_commit_arg14(jenv, jarg14, &local_arg14);
btVector3 local_arg15;
gdx_setbtVector3FromVector3(jenv, local_arg15, jarg15);
arg15 = &local_arg15;
gdxAutoCommitVector3 auto_commit_arg15(jenv, jarg15, &local_arg15);
arg16 = (btScalar)jarg16;
btVector3 local_arg17;
gdx_setbtVector3FromVector3(jenv, local_arg17, jarg17);
arg17 = &local_arg17;
gdxAutoCommitVector3 auto_commit_arg17(jenv, jarg17, &local_arg17);
btVector3 local_arg18;
gdx_setbtVector3FromVector3(jenv, local_arg18, jarg18);
arg18 = &local_arg18;
gdxAutoCommitVector3 auto_commit_arg18(jenv, jarg18, &local_arg18);
btVector3 local_arg19;
gdx_setbtVector3FromVector3(jenv, local_arg19, jarg19);
arg19 = &local_arg19;
gdxAutoCommitVector3 auto_commit_arg19(jenv, jarg19, &local_arg19);
arg20 = (btScalar)jarg20;
btVector3 local_arg21;
gdx_setbtVector3FromVector3(jenv, local_arg21, jarg21);
arg21 = &local_arg21;
gdxAutoCommitVector3 auto_commit_arg21(jenv, jarg21, &local_arg21);
arg22 = *(btScalar **)&jarg22;
if (!arg22) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btScalar & reference is null");
return ;
}
arg23 = *(btScalar **)&jarg23;
if (!arg23) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btScalar & reference is null");
return ;
}
(arg1)->resolveBilateralPairConstraint(arg2,arg3,(btMatrix3x3 const &)*arg4,(btMatrix3x3 const &)*arg5,(btVector3 const &)*arg6,arg7,(btVector3 const &)*arg8,(btVector3 const &)*arg9,(btVector3 const &)*arg10,(btVector3 const &)*arg11,arg12,(btVector3 const &)*arg13,(btVector3 const &)*arg14,(btVector3 const &)*arg15,arg16,(btVector3 const &)*arg17,(btVector3 const &)*arg18,(btVector3 const &)*arg19,arg20,(btVector3 const &)*arg21,*arg22,*arg23);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btSolve2LinearConstraint(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btSolve2LinearConstraint *arg1 = (btSolve2LinearConstraint *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btSolve2LinearConstraint **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor_1loLimit_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btRotationalLimitMotor *arg1 = (btRotationalLimitMotor *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRotationalLimitMotor **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_loLimit = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor_1loLimit_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btRotationalLimitMotor *arg1 = (btRotationalLimitMotor *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRotationalLimitMotor **)&jarg1;
result = (btScalar) ((arg1)->m_loLimit);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor_1hiLimit_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btRotationalLimitMotor *arg1 = (btRotationalLimitMotor *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRotationalLimitMotor **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_hiLimit = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor_1hiLimit_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btRotationalLimitMotor *arg1 = (btRotationalLimitMotor *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRotationalLimitMotor **)&jarg1;
result = (btScalar) ((arg1)->m_hiLimit);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor_1targetVelocity_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btRotationalLimitMotor *arg1 = (btRotationalLimitMotor *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRotationalLimitMotor **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_targetVelocity = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor_1targetVelocity_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btRotationalLimitMotor *arg1 = (btRotationalLimitMotor *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRotationalLimitMotor **)&jarg1;
result = (btScalar) ((arg1)->m_targetVelocity);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor_1maxMotorForce_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btRotationalLimitMotor *arg1 = (btRotationalLimitMotor *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRotationalLimitMotor **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_maxMotorForce = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor_1maxMotorForce_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btRotationalLimitMotor *arg1 = (btRotationalLimitMotor *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRotationalLimitMotor **)&jarg1;
result = (btScalar) ((arg1)->m_maxMotorForce);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor_1maxLimitForce_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btRotationalLimitMotor *arg1 = (btRotationalLimitMotor *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRotationalLimitMotor **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_maxLimitForce = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor_1maxLimitForce_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btRotationalLimitMotor *arg1 = (btRotationalLimitMotor *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRotationalLimitMotor **)&jarg1;
result = (btScalar) ((arg1)->m_maxLimitForce);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor_1damping_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btRotationalLimitMotor *arg1 = (btRotationalLimitMotor *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRotationalLimitMotor **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_damping = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor_1damping_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btRotationalLimitMotor *arg1 = (btRotationalLimitMotor *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRotationalLimitMotor **)&jarg1;
result = (btScalar) ((arg1)->m_damping);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor_1limitSoftness_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btRotationalLimitMotor *arg1 = (btRotationalLimitMotor *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRotationalLimitMotor **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_limitSoftness = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor_1limitSoftness_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btRotationalLimitMotor *arg1 = (btRotationalLimitMotor *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRotationalLimitMotor **)&jarg1;
result = (btScalar) ((arg1)->m_limitSoftness);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor_1normalCFM_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btRotationalLimitMotor *arg1 = (btRotationalLimitMotor *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRotationalLimitMotor **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_normalCFM = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor_1normalCFM_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btRotationalLimitMotor *arg1 = (btRotationalLimitMotor *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRotationalLimitMotor **)&jarg1;
result = (btScalar) ((arg1)->m_normalCFM);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor_1stopERP_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btRotationalLimitMotor *arg1 = (btRotationalLimitMotor *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRotationalLimitMotor **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_stopERP = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor_1stopERP_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btRotationalLimitMotor *arg1 = (btRotationalLimitMotor *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRotationalLimitMotor **)&jarg1;
result = (btScalar) ((arg1)->m_stopERP);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor_1stopCFM_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btRotationalLimitMotor *arg1 = (btRotationalLimitMotor *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRotationalLimitMotor **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_stopCFM = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor_1stopCFM_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btRotationalLimitMotor *arg1 = (btRotationalLimitMotor *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRotationalLimitMotor **)&jarg1;
result = (btScalar) ((arg1)->m_stopCFM);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor_1bounce_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btRotationalLimitMotor *arg1 = (btRotationalLimitMotor *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRotationalLimitMotor **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_bounce = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor_1bounce_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btRotationalLimitMotor *arg1 = (btRotationalLimitMotor *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRotationalLimitMotor **)&jarg1;
result = (btScalar) ((arg1)->m_bounce);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor_1enableMotor_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jboolean jarg2) {
btRotationalLimitMotor *arg1 = (btRotationalLimitMotor *) 0 ;
bool arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRotationalLimitMotor **)&jarg1;
arg2 = jarg2 ? true : false;
if (arg1) (arg1)->m_enableMotor = arg2;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor_1enableMotor_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jboolean jresult = 0 ;
btRotationalLimitMotor *arg1 = (btRotationalLimitMotor *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRotationalLimitMotor **)&jarg1;
result = (bool) ((arg1)->m_enableMotor);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor_1currentLimitError_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btRotationalLimitMotor *arg1 = (btRotationalLimitMotor *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRotationalLimitMotor **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_currentLimitError = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor_1currentLimitError_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btRotationalLimitMotor *arg1 = (btRotationalLimitMotor *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRotationalLimitMotor **)&jarg1;
result = (btScalar) ((arg1)->m_currentLimitError);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor_1currentPosition_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btRotationalLimitMotor *arg1 = (btRotationalLimitMotor *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRotationalLimitMotor **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_currentPosition = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor_1currentPosition_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btRotationalLimitMotor *arg1 = (btRotationalLimitMotor *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRotationalLimitMotor **)&jarg1;
result = (btScalar) ((arg1)->m_currentPosition);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor_1currentLimit_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btRotationalLimitMotor *arg1 = (btRotationalLimitMotor *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRotationalLimitMotor **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_currentLimit = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor_1currentLimit_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btRotationalLimitMotor *arg1 = (btRotationalLimitMotor *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRotationalLimitMotor **)&jarg1;
result = (int) ((arg1)->m_currentLimit);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor_1accumulatedImpulse_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btRotationalLimitMotor *arg1 = (btRotationalLimitMotor *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRotationalLimitMotor **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_accumulatedImpulse = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor_1accumulatedImpulse_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btRotationalLimitMotor *arg1 = (btRotationalLimitMotor *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRotationalLimitMotor **)&jarg1;
result = (btScalar) ((arg1)->m_accumulatedImpulse);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btRotationalLimitMotor_1_1SWIG_10(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btRotationalLimitMotor *result = 0 ;
(void)jenv;
(void)jcls;
result = (btRotationalLimitMotor *)new btRotationalLimitMotor();
*(btRotationalLimitMotor **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btRotationalLimitMotor_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btRotationalLimitMotor *arg1 = 0 ;
btRotationalLimitMotor *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRotationalLimitMotor **)&jarg1;
if (!arg1) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btRotationalLimitMotor const & reference is null");
return 0;
}
result = (btRotationalLimitMotor *)new btRotationalLimitMotor((btRotationalLimitMotor const &)*arg1);
*(btRotationalLimitMotor **)&jresult = result;
return jresult;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor_1isLimited(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jboolean jresult = 0 ;
btRotationalLimitMotor *arg1 = (btRotationalLimitMotor *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRotationalLimitMotor **)&jarg1;
result = (bool)((btRotationalLimitMotor const *)arg1)->isLimited();
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor_1needApplyTorques(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jboolean jresult = 0 ;
btRotationalLimitMotor *arg1 = (btRotationalLimitMotor *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRotationalLimitMotor **)&jarg1;
result = (bool)((btRotationalLimitMotor const *)arg1)->needApplyTorques();
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor_1testLimitValue(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
jint jresult = 0 ;
btRotationalLimitMotor *arg1 = (btRotationalLimitMotor *) 0 ;
btScalar arg2 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRotationalLimitMotor **)&jarg1;
arg2 = (btScalar)jarg2;
result = (int)(arg1)->testLimitValue(arg2);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor_1solveAngularLimits(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2, jobject jarg3, jfloat jarg4, jlong jarg5, jobject jarg5_, jlong jarg6, jobject jarg6_) {
jfloat jresult = 0 ;
btRotationalLimitMotor *arg1 = (btRotationalLimitMotor *) 0 ;
btScalar arg2 ;
btVector3 *arg3 = 0 ;
btScalar arg4 ;
btRigidBody *arg5 = (btRigidBody *) 0 ;
btRigidBody *arg6 = (btRigidBody *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg5_;
(void)jarg6_;
arg1 = *(btRotationalLimitMotor **)&jarg1;
arg2 = (btScalar)jarg2;
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
arg4 = (btScalar)jarg4;
arg5 = *(btRigidBody **)&jarg5;
arg6 = *(btRigidBody **)&jarg6;
result = (btScalar)(arg1)->solveAngularLimits(arg2,*arg3,arg4,arg5,arg6);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btRotationalLimitMotor(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btRotationalLimitMotor *arg1 = (btRotationalLimitMotor *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btRotationalLimitMotor **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor_1lowerLimit_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btTranslationalLimitMotor *arg1 = (btTranslationalLimitMotor *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btTranslationalLimitMotor **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->m_lowerLimit = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor_1lowerLimit_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btTranslationalLimitMotor *arg1 = (btTranslationalLimitMotor *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTranslationalLimitMotor **)&jarg1;
result = (btVector3 *)& ((arg1)->m_lowerLimit);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor_1upperLimit_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btTranslationalLimitMotor *arg1 = (btTranslationalLimitMotor *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btTranslationalLimitMotor **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->m_upperLimit = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor_1upperLimit_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btTranslationalLimitMotor *arg1 = (btTranslationalLimitMotor *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTranslationalLimitMotor **)&jarg1;
result = (btVector3 *)& ((arg1)->m_upperLimit);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor_1accumulatedImpulse_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btTranslationalLimitMotor *arg1 = (btTranslationalLimitMotor *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btTranslationalLimitMotor **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->m_accumulatedImpulse = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor_1accumulatedImpulse_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btTranslationalLimitMotor *arg1 = (btTranslationalLimitMotor *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTranslationalLimitMotor **)&jarg1;
result = (btVector3 *)& ((arg1)->m_accumulatedImpulse);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor_1limitSoftness_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btTranslationalLimitMotor *arg1 = (btTranslationalLimitMotor *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTranslationalLimitMotor **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_limitSoftness = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor_1limitSoftness_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btTranslationalLimitMotor *arg1 = (btTranslationalLimitMotor *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTranslationalLimitMotor **)&jarg1;
result = (btScalar) ((arg1)->m_limitSoftness);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor_1damping_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btTranslationalLimitMotor *arg1 = (btTranslationalLimitMotor *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTranslationalLimitMotor **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_damping = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor_1damping_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btTranslationalLimitMotor *arg1 = (btTranslationalLimitMotor *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTranslationalLimitMotor **)&jarg1;
result = (btScalar) ((arg1)->m_damping);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor_1restitution_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btTranslationalLimitMotor *arg1 = (btTranslationalLimitMotor *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTranslationalLimitMotor **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_restitution = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor_1restitution_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btTranslationalLimitMotor *arg1 = (btTranslationalLimitMotor *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTranslationalLimitMotor **)&jarg1;
result = (btScalar) ((arg1)->m_restitution);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor_1normalCFM_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btTranslationalLimitMotor *arg1 = (btTranslationalLimitMotor *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btTranslationalLimitMotor **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->m_normalCFM = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor_1normalCFM_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btTranslationalLimitMotor *arg1 = (btTranslationalLimitMotor *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTranslationalLimitMotor **)&jarg1;
result = (btVector3 *)& ((arg1)->m_normalCFM);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor_1stopERP_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btTranslationalLimitMotor *arg1 = (btTranslationalLimitMotor *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btTranslationalLimitMotor **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->m_stopERP = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor_1stopERP_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btTranslationalLimitMotor *arg1 = (btTranslationalLimitMotor *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTranslationalLimitMotor **)&jarg1;
result = (btVector3 *)& ((arg1)->m_stopERP);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor_1stopCFM_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btTranslationalLimitMotor *arg1 = (btTranslationalLimitMotor *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btTranslationalLimitMotor **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->m_stopCFM = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor_1stopCFM_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btTranslationalLimitMotor *arg1 = (btTranslationalLimitMotor *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTranslationalLimitMotor **)&jarg1;
result = (btVector3 *)& ((arg1)->m_stopCFM);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor_1enableMotor_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jbooleanArray jarg2) {
btTranslationalLimitMotor *arg1 = (btTranslationalLimitMotor *) 0 ;
bool *arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTranslationalLimitMotor **)&jarg1;
if (jarg2 && jenv->GetArrayLength(jarg2) != 3) {
SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, "incorrect array size");
return ;
}
arg2 = (bool *)jenv->GetPrimitiveArrayCritical(jarg2, 0);
{
size_t ii;
bool *b = (bool *) arg1->m_enableMotor;
for (ii = 0; ii < (size_t)3; ii++) b[ii] = *((bool *) arg2 + ii);
}
jenv->ReleasePrimitiveArrayCritical(jarg2, (bool *)arg2, 0);
}
SWIGEXPORT jbooleanArray JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor_1enableMotor_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jbooleanArray jresult = 0 ;
btTranslationalLimitMotor *arg1 = (btTranslationalLimitMotor *) 0 ;
bool *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTranslationalLimitMotor **)&jarg1;
result = (bool *)(bool *) ((arg1)->m_enableMotor);
/*jresult = SWIG_JavaArrayOut##Bool(jenv, (bool *)result, 3);*/
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor_1targetVelocity_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btTranslationalLimitMotor *arg1 = (btTranslationalLimitMotor *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btTranslationalLimitMotor **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->m_targetVelocity = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor_1targetVelocity_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btTranslationalLimitMotor *arg1 = (btTranslationalLimitMotor *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTranslationalLimitMotor **)&jarg1;
result = (btVector3 *)& ((arg1)->m_targetVelocity);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor_1maxMotorForce_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btTranslationalLimitMotor *arg1 = (btTranslationalLimitMotor *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btTranslationalLimitMotor **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->m_maxMotorForce = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor_1maxMotorForce_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btTranslationalLimitMotor *arg1 = (btTranslationalLimitMotor *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTranslationalLimitMotor **)&jarg1;
result = (btVector3 *)& ((arg1)->m_maxMotorForce);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor_1currentLimitError_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btTranslationalLimitMotor *arg1 = (btTranslationalLimitMotor *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btTranslationalLimitMotor **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->m_currentLimitError = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor_1currentLimitError_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btTranslationalLimitMotor *arg1 = (btTranslationalLimitMotor *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTranslationalLimitMotor **)&jarg1;
result = (btVector3 *)& ((arg1)->m_currentLimitError);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor_1currentLinearDiff_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btTranslationalLimitMotor *arg1 = (btTranslationalLimitMotor *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btTranslationalLimitMotor **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->m_currentLinearDiff = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor_1currentLinearDiff_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btTranslationalLimitMotor *arg1 = (btTranslationalLimitMotor *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTranslationalLimitMotor **)&jarg1;
result = (btVector3 *)& ((arg1)->m_currentLinearDiff);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor_1currentLimit_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jintArray jarg2) {
btTranslationalLimitMotor *arg1 = (btTranslationalLimitMotor *) 0 ;
int *arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTranslationalLimitMotor **)&jarg1;
if (jarg2 && jenv->GetArrayLength(jarg2) != 3) {
SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, "incorrect array size");
return ;
}
arg2 = (int *)jenv->GetPrimitiveArrayCritical(jarg2, 0);
{
size_t ii;
int *b = (int *) arg1->m_currentLimit;
for (ii = 0; ii < (size_t)3; ii++) b[ii] = *((int *) arg2 + ii);
}
jenv->ReleasePrimitiveArrayCritical(jarg2, (int *)arg2, 0);
}
SWIGEXPORT jintArray JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor_1currentLimit_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jintArray jresult = 0 ;
btTranslationalLimitMotor *arg1 = (btTranslationalLimitMotor *) 0 ;
int *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTranslationalLimitMotor **)&jarg1;
result = (int *)(int *) ((arg1)->m_currentLimit);
/*jresult = SWIG_JavaArrayOut##Int(jenv, (int *)result, 3);*/
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btTranslationalLimitMotor_1_1SWIG_10(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btTranslationalLimitMotor *result = 0 ;
(void)jenv;
(void)jcls;
result = (btTranslationalLimitMotor *)new btTranslationalLimitMotor();
*(btTranslationalLimitMotor **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btTranslationalLimitMotor_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btTranslationalLimitMotor *arg1 = 0 ;
btTranslationalLimitMotor *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTranslationalLimitMotor **)&jarg1;
if (!arg1) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btTranslationalLimitMotor const & reference is null");
return 0;
}
result = (btTranslationalLimitMotor *)new btTranslationalLimitMotor((btTranslationalLimitMotor const &)*arg1);
*(btTranslationalLimitMotor **)&jresult = result;
return jresult;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor_1isLimited(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jboolean jresult = 0 ;
btTranslationalLimitMotor *arg1 = (btTranslationalLimitMotor *) 0 ;
int arg2 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTranslationalLimitMotor **)&jarg1;
arg2 = (int)jarg2;
result = (bool)((btTranslationalLimitMotor const *)arg1)->isLimited(arg2);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor_1needApplyForce(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jboolean jresult = 0 ;
btTranslationalLimitMotor *arg1 = (btTranslationalLimitMotor *) 0 ;
int arg2 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTranslationalLimitMotor **)&jarg1;
arg2 = (int)jarg2;
result = (bool)((btTranslationalLimitMotor const *)arg1)->needApplyForce(arg2);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor_1testLimitValue(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jfloat jarg3) {
jint jresult = 0 ;
btTranslationalLimitMotor *arg1 = (btTranslationalLimitMotor *) 0 ;
int arg2 ;
btScalar arg3 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTranslationalLimitMotor **)&jarg1;
arg2 = (int)jarg2;
arg3 = (btScalar)jarg3;
result = (int)(arg1)->testLimitValue(arg2,arg3);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor_1solveLinearAxis(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2, jfloat jarg3, jlong jarg4, jobject jarg4_, jobject jarg5, jlong jarg6, jobject jarg6_, jobject jarg7, jint jarg8, jobject jarg9, jobject jarg10) {
jfloat jresult = 0 ;
btTranslationalLimitMotor *arg1 = (btTranslationalLimitMotor *) 0 ;
btScalar arg2 ;
btScalar arg3 ;
btRigidBody *arg4 = 0 ;
btVector3 *arg5 = 0 ;
btRigidBody *arg6 = 0 ;
btVector3 *arg7 = 0 ;
int arg8 ;
btVector3 *arg9 = 0 ;
btVector3 *arg10 = 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg4_;
(void)jarg6_;
arg1 = *(btTranslationalLimitMotor **)&jarg1;
arg2 = (btScalar)jarg2;
arg3 = (btScalar)jarg3;
arg4 = *(btRigidBody **)&jarg4;
if (!arg4) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btRigidBody & reference is null");
return 0;
}
btVector3 local_arg5;
gdx_setbtVector3FromVector3(jenv, local_arg5, jarg5);
arg5 = &local_arg5;
gdxAutoCommitVector3 auto_commit_arg5(jenv, jarg5, &local_arg5);
arg6 = *(btRigidBody **)&jarg6;
if (!arg6) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btRigidBody & reference is null");
return 0;
}
btVector3 local_arg7;
gdx_setbtVector3FromVector3(jenv, local_arg7, jarg7);
arg7 = &local_arg7;
gdxAutoCommitVector3 auto_commit_arg7(jenv, jarg7, &local_arg7);
arg8 = (int)jarg8;
btVector3 local_arg9;
gdx_setbtVector3FromVector3(jenv, local_arg9, jarg9);
arg9 = &local_arg9;
gdxAutoCommitVector3 auto_commit_arg9(jenv, jarg9, &local_arg9);
btVector3 local_arg10;
gdx_setbtVector3FromVector3(jenv, local_arg10, jarg10);
arg10 = &local_arg10;
gdxAutoCommitVector3 auto_commit_arg10(jenv, jarg10, &local_arg10);
result = (btScalar)(arg1)->solveLinearAxis(arg2,arg3,*arg4,(btVector3 const &)*arg5,*arg6,(btVector3 const &)*arg7,arg8,(btVector3 const &)*arg9,(btVector3 const &)*arg10);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btTranslationalLimitMotor(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btTranslationalLimitMotor *arg1 = (btTranslationalLimitMotor *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btTranslationalLimitMotor **)&jarg1;
delete arg1;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraint_1operatorNew_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btGeneric6DofConstraint *arg1 = (btGeneric6DofConstraint *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofConstraint **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new(arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraint_1operatorDelete_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btGeneric6DofConstraint *arg1 = (btGeneric6DofConstraint *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofConstraint **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete(arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraint_1operatorNew_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btGeneric6DofConstraint *arg1 = (btGeneric6DofConstraint *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofConstraint **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new(arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraint_1operatorDelete_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btGeneric6DofConstraint *arg1 = (btGeneric6DofConstraint *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofConstraint **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete(arg2,arg3);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraint_1operatorNewArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btGeneric6DofConstraint *arg1 = (btGeneric6DofConstraint *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofConstraint **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new[](arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraint_1operatorDeleteArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btGeneric6DofConstraint *arg1 = (btGeneric6DofConstraint *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofConstraint **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete[](arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraint_1operatorNewArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btGeneric6DofConstraint *arg1 = (btGeneric6DofConstraint *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofConstraint **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new[](arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraint_1operatorDeleteArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btGeneric6DofConstraint *arg1 = (btGeneric6DofConstraint *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofConstraint **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete[](arg2,arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraint_1useSolveConstraintObsolete_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jboolean jarg2) {
btGeneric6DofConstraint *arg1 = (btGeneric6DofConstraint *) 0 ;
bool arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofConstraint **)&jarg1;
arg2 = jarg2 ? true : false;
if (arg1) (arg1)->m_useSolveConstraintObsolete = arg2;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraint_1useSolveConstraintObsolete_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jboolean jresult = 0 ;
btGeneric6DofConstraint *arg1 = (btGeneric6DofConstraint *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofConstraint **)&jarg1;
result = (bool) ((arg1)->m_useSolveConstraintObsolete);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btGeneric6DofConstraint_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jobject jarg3, jobject jarg4, jboolean jarg5) {
jlong jresult = 0 ;
btRigidBody *arg1 = 0 ;
btRigidBody *arg2 = 0 ;
btTransform *arg3 = 0 ;
btTransform *arg4 = 0 ;
bool arg5 ;
btGeneric6DofConstraint *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btRigidBody **)&jarg1;
if (!arg1) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btRigidBody & reference is null");
return 0;
}
arg2 = *(btRigidBody **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btRigidBody & reference is null");
return 0;
}
btTransform local_arg3;
gdx_setbtTransformFromMatrix4(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitMatrix4 auto_commit_arg3(jenv, jarg3, &local_arg3);
btTransform local_arg4;
gdx_setbtTransformFromMatrix4(jenv, local_arg4, jarg4);
arg4 = &local_arg4;
gdxAutoCommitMatrix4 auto_commit_arg4(jenv, jarg4, &local_arg4);
arg5 = jarg5 ? true : false;
result = (btGeneric6DofConstraint *)new btGeneric6DofConstraint(*arg1,*arg2,(btTransform const &)*arg3,(btTransform const &)*arg4,arg5);
*(btGeneric6DofConstraint **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btGeneric6DofConstraint_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jboolean jarg3) {
jlong jresult = 0 ;
btRigidBody *arg1 = 0 ;
btTransform *arg2 = 0 ;
bool arg3 ;
btGeneric6DofConstraint *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody **)&jarg1;
if (!arg1) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btRigidBody & reference is null");
return 0;
}
btTransform local_arg2;
gdx_setbtTransformFromMatrix4(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitMatrix4 auto_commit_arg2(jenv, jarg2, &local_arg2);
arg3 = jarg3 ? true : false;
result = (btGeneric6DofConstraint *)new btGeneric6DofConstraint(*arg1,(btTransform const &)*arg2,arg3);
*(btGeneric6DofConstraint **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraint_1calculateTransforms_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jobject jarg3) {
btGeneric6DofConstraint *arg1 = (btGeneric6DofConstraint *) 0 ;
btTransform *arg2 = 0 ;
btTransform *arg3 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofConstraint **)&jarg1;
btTransform local_arg2;
gdx_setbtTransformFromMatrix4(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitMatrix4 auto_commit_arg2(jenv, jarg2, &local_arg2);
btTransform local_arg3;
gdx_setbtTransformFromMatrix4(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitMatrix4 auto_commit_arg3(jenv, jarg3, &local_arg3);
(arg1)->calculateTransforms((btTransform const &)*arg2,(btTransform const &)*arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraint_1calculateTransforms_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
btGeneric6DofConstraint *arg1 = (btGeneric6DofConstraint *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofConstraint **)&jarg1;
(arg1)->calculateTransforms();
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraint_1getCalculatedTransformA(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btGeneric6DofConstraint *arg1 = (btGeneric6DofConstraint *) 0 ;
btTransform *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofConstraint **)&jarg1;
result = (btTransform *) &((btGeneric6DofConstraint const *)arg1)->getCalculatedTransformA();
jresult = gdx_getReturnMatrix4(jenv);
gdx_setMatrix4FrombtTransform(jenv, jresult, result);
return jresult;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraint_1getCalculatedTransformB(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btGeneric6DofConstraint *arg1 = (btGeneric6DofConstraint *) 0 ;
btTransform *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofConstraint **)&jarg1;
result = (btTransform *) &((btGeneric6DofConstraint const *)arg1)->getCalculatedTransformB();
jresult = gdx_getReturnMatrix4(jenv);
gdx_setMatrix4FrombtTransform(jenv, jresult, result);
return jresult;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraint_1getFrameOffsetAConst(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btGeneric6DofConstraint *arg1 = (btGeneric6DofConstraint *) 0 ;
btTransform *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofConstraint **)&jarg1;
result = (btTransform *) &((btGeneric6DofConstraint const *)arg1)->getFrameOffsetA();
jresult = gdx_getReturnMatrix4(jenv);
gdx_setMatrix4FrombtTransform(jenv, jresult, result);
return jresult;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraint_1getFrameOffsetBConst(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btGeneric6DofConstraint *arg1 = (btGeneric6DofConstraint *) 0 ;
btTransform *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofConstraint **)&jarg1;
result = (btTransform *) &((btGeneric6DofConstraint const *)arg1)->getFrameOffsetB();
jresult = gdx_getReturnMatrix4(jenv);
gdx_setMatrix4FrombtTransform(jenv, jresult, result);
return jresult;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraint_1getFrameOffsetA(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btGeneric6DofConstraint *arg1 = (btGeneric6DofConstraint *) 0 ;
btTransform *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofConstraint **)&jarg1;
result = (btTransform *) &(arg1)->getFrameOffsetA();
jresult = gdx_getReturnMatrix4(jenv);
gdx_setMatrix4FrombtTransform(jenv, jresult, result);
return jresult;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraint_1getFrameOffsetB(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btGeneric6DofConstraint *arg1 = (btGeneric6DofConstraint *) 0 ;
btTransform *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofConstraint **)&jarg1;
result = (btTransform *) &(arg1)->getFrameOffsetB();
jresult = gdx_getReturnMatrix4(jenv);
gdx_setMatrix4FrombtTransform(jenv, jresult, result);
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraint_1getInfo1NonVirtual(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btGeneric6DofConstraint *arg1 = (btGeneric6DofConstraint *) 0 ;
btTypedConstraint::btConstraintInfo1 *arg2 = (btTypedConstraint::btConstraintInfo1 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btGeneric6DofConstraint **)&jarg1;
arg2 = *(btTypedConstraint::btConstraintInfo1 **)&jarg2;
(arg1)->getInfo1NonVirtual(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraint_1getInfo2NonVirtual(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jobject jarg3, jobject jarg4, jobject jarg5, jobject jarg6, jobject jarg7, jobject jarg8) {
btGeneric6DofConstraint *arg1 = (btGeneric6DofConstraint *) 0 ;
btTypedConstraint::btConstraintInfo2 *arg2 = (btTypedConstraint::btConstraintInfo2 *) 0 ;
btTransform *arg3 = 0 ;
btTransform *arg4 = 0 ;
btVector3 *arg5 = 0 ;
btVector3 *arg6 = 0 ;
btVector3 *arg7 = 0 ;
btVector3 *arg8 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btGeneric6DofConstraint **)&jarg1;
arg2 = *(btTypedConstraint::btConstraintInfo2 **)&jarg2;
btTransform local_arg3;
gdx_setbtTransformFromMatrix4(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitMatrix4 auto_commit_arg3(jenv, jarg3, &local_arg3);
btTransform local_arg4;
gdx_setbtTransformFromMatrix4(jenv, local_arg4, jarg4);
arg4 = &local_arg4;
gdxAutoCommitMatrix4 auto_commit_arg4(jenv, jarg4, &local_arg4);
btVector3 local_arg5;
gdx_setbtVector3FromVector3(jenv, local_arg5, jarg5);
arg5 = &local_arg5;
gdxAutoCommitVector3 auto_commit_arg5(jenv, jarg5, &local_arg5);
btVector3 local_arg6;
gdx_setbtVector3FromVector3(jenv, local_arg6, jarg6);
arg6 = &local_arg6;
gdxAutoCommitVector3 auto_commit_arg6(jenv, jarg6, &local_arg6);
btVector3 local_arg7;
gdx_setbtVector3FromVector3(jenv, local_arg7, jarg7);
arg7 = &local_arg7;
gdxAutoCommitVector3 auto_commit_arg7(jenv, jarg7, &local_arg7);
btVector3 local_arg8;
gdx_setbtVector3FromVector3(jenv, local_arg8, jarg8);
arg8 = &local_arg8;
gdxAutoCommitVector3 auto_commit_arg8(jenv, jarg8, &local_arg8);
(arg1)->getInfo2NonVirtual(arg2,(btTransform const &)*arg3,(btTransform const &)*arg4,(btVector3 const &)*arg5,(btVector3 const &)*arg6,(btVector3 const &)*arg7,(btVector3 const &)*arg8);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraint_1updateRHS(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btGeneric6DofConstraint *arg1 = (btGeneric6DofConstraint *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofConstraint **)&jarg1;
arg2 = (btScalar)jarg2;
(arg1)->updateRHS(arg2);
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraint_1getAxis(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jobject jresult = 0 ;
btGeneric6DofConstraint *arg1 = (btGeneric6DofConstraint *) 0 ;
int arg2 ;
btVector3 result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofConstraint **)&jarg1;
arg2 = (int)jarg2;
result = ((btGeneric6DofConstraint const *)arg1)->getAxis(arg2);
jresult = gdx_getReturnVector3(jenv);
gdx_setVector3FrombtVector3(jenv, jresult, result);
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraint_1getAngle(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jfloat jresult = 0 ;
btGeneric6DofConstraint *arg1 = (btGeneric6DofConstraint *) 0 ;
int arg2 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofConstraint **)&jarg1;
arg2 = (int)jarg2;
result = (btScalar)((btGeneric6DofConstraint const *)arg1)->getAngle(arg2);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraint_1getRelativePivotPosition(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jfloat jresult = 0 ;
btGeneric6DofConstraint *arg1 = (btGeneric6DofConstraint *) 0 ;
int arg2 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofConstraint **)&jarg1;
arg2 = (int)jarg2;
result = (btScalar)((btGeneric6DofConstraint const *)arg1)->getRelativePivotPosition(arg2);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraint_1setFrames(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jobject jarg3) {
btGeneric6DofConstraint *arg1 = (btGeneric6DofConstraint *) 0 ;
btTransform *arg2 = 0 ;
btTransform *arg3 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofConstraint **)&jarg1;
btTransform local_arg2;
gdx_setbtTransformFromMatrix4(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitMatrix4 auto_commit_arg2(jenv, jarg2, &local_arg2);
btTransform local_arg3;
gdx_setbtTransformFromMatrix4(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitMatrix4 auto_commit_arg3(jenv, jarg3, &local_arg3);
(arg1)->setFrames((btTransform const &)*arg2,(btTransform const &)*arg3);
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraint_1testAngularLimitMotor(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jboolean jresult = 0 ;
btGeneric6DofConstraint *arg1 = (btGeneric6DofConstraint *) 0 ;
int arg2 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofConstraint **)&jarg1;
arg2 = (int)jarg2;
result = (bool)(arg1)->testAngularLimitMotor(arg2);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraint_1setLinearLowerLimit(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btGeneric6DofConstraint *arg1 = (btGeneric6DofConstraint *) 0 ;
btVector3 *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofConstraint **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
(arg1)->setLinearLowerLimit((btVector3 const &)*arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraint_1getLinearLowerLimit(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btGeneric6DofConstraint *arg1 = (btGeneric6DofConstraint *) 0 ;
btVector3 *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofConstraint **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
((btGeneric6DofConstraint const *)arg1)->getLinearLowerLimit(*arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraint_1setLinearUpperLimit(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btGeneric6DofConstraint *arg1 = (btGeneric6DofConstraint *) 0 ;
btVector3 *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofConstraint **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
(arg1)->setLinearUpperLimit((btVector3 const &)*arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraint_1getLinearUpperLimit(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btGeneric6DofConstraint *arg1 = (btGeneric6DofConstraint *) 0 ;
btVector3 *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofConstraint **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
((btGeneric6DofConstraint const *)arg1)->getLinearUpperLimit(*arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraint_1setAngularLowerLimit(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btGeneric6DofConstraint *arg1 = (btGeneric6DofConstraint *) 0 ;
btVector3 *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofConstraint **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
(arg1)->setAngularLowerLimit((btVector3 const &)*arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraint_1getAngularLowerLimit(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btGeneric6DofConstraint *arg1 = (btGeneric6DofConstraint *) 0 ;
btVector3 *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofConstraint **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
((btGeneric6DofConstraint const *)arg1)->getAngularLowerLimit(*arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraint_1setAngularUpperLimit(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btGeneric6DofConstraint *arg1 = (btGeneric6DofConstraint *) 0 ;
btVector3 *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofConstraint **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
(arg1)->setAngularUpperLimit((btVector3 const &)*arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraint_1getAngularUpperLimit(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btGeneric6DofConstraint *arg1 = (btGeneric6DofConstraint *) 0 ;
btVector3 *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofConstraint **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
((btGeneric6DofConstraint const *)arg1)->getAngularUpperLimit(*arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraint_1getRotationalLimitMotor(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jlong jresult = 0 ;
btGeneric6DofConstraint *arg1 = (btGeneric6DofConstraint *) 0 ;
int arg2 ;
btRotationalLimitMotor *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofConstraint **)&jarg1;
arg2 = (int)jarg2;
result = (btRotationalLimitMotor *)(arg1)->getRotationalLimitMotor(arg2);
*(btRotationalLimitMotor **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraint_1getTranslationalLimitMotor(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btGeneric6DofConstraint *arg1 = (btGeneric6DofConstraint *) 0 ;
btTranslationalLimitMotor *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofConstraint **)&jarg1;
result = (btTranslationalLimitMotor *)(arg1)->getTranslationalLimitMotor();
*(btTranslationalLimitMotor **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraint_1setLimit(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jfloat jarg3, jfloat jarg4) {
btGeneric6DofConstraint *arg1 = (btGeneric6DofConstraint *) 0 ;
int arg2 ;
btScalar arg3 ;
btScalar arg4 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofConstraint **)&jarg1;
arg2 = (int)jarg2;
arg3 = (btScalar)jarg3;
arg4 = (btScalar)jarg4;
(arg1)->setLimit(arg2,arg3,arg4);
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraint_1isLimited(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jboolean jresult = 0 ;
btGeneric6DofConstraint *arg1 = (btGeneric6DofConstraint *) 0 ;
int arg2 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofConstraint **)&jarg1;
arg2 = (int)jarg2;
result = (bool)((btGeneric6DofConstraint const *)arg1)->isLimited(arg2);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraint_1calcAnchorPos(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
btGeneric6DofConstraint *arg1 = (btGeneric6DofConstraint *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofConstraint **)&jarg1;
(arg1)->calcAnchorPos();
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraint_1get_1limit_1motor_1info2_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jobject jarg3, jobject jarg4, jobject jarg5, jobject jarg6, jobject jarg7, jobject jarg8, jlong jarg9, jobject jarg9_, jint jarg10, jobject jarg11, jint jarg12, jint jarg13) {
jint jresult = 0 ;
btGeneric6DofConstraint *arg1 = (btGeneric6DofConstraint *) 0 ;
btRotationalLimitMotor *arg2 = (btRotationalLimitMotor *) 0 ;
btTransform *arg3 = 0 ;
btTransform *arg4 = 0 ;
btVector3 *arg5 = 0 ;
btVector3 *arg6 = 0 ;
btVector3 *arg7 = 0 ;
btVector3 *arg8 = 0 ;
btTypedConstraint::btConstraintInfo2 *arg9 = (btTypedConstraint::btConstraintInfo2 *) 0 ;
int arg10 ;
btVector3 *arg11 = 0 ;
int arg12 ;
int arg13 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
(void)jarg9_;
arg1 = *(btGeneric6DofConstraint **)&jarg1;
arg2 = *(btRotationalLimitMotor **)&jarg2;
btTransform local_arg3;
gdx_setbtTransformFromMatrix4(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitMatrix4 auto_commit_arg3(jenv, jarg3, &local_arg3);
btTransform local_arg4;
gdx_setbtTransformFromMatrix4(jenv, local_arg4, jarg4);
arg4 = &local_arg4;
gdxAutoCommitMatrix4 auto_commit_arg4(jenv, jarg4, &local_arg4);
btVector3 local_arg5;
gdx_setbtVector3FromVector3(jenv, local_arg5, jarg5);
arg5 = &local_arg5;
gdxAutoCommitVector3 auto_commit_arg5(jenv, jarg5, &local_arg5);
btVector3 local_arg6;
gdx_setbtVector3FromVector3(jenv, local_arg6, jarg6);
arg6 = &local_arg6;
gdxAutoCommitVector3 auto_commit_arg6(jenv, jarg6, &local_arg6);
btVector3 local_arg7;
gdx_setbtVector3FromVector3(jenv, local_arg7, jarg7);
arg7 = &local_arg7;
gdxAutoCommitVector3 auto_commit_arg7(jenv, jarg7, &local_arg7);
btVector3 local_arg8;
gdx_setbtVector3FromVector3(jenv, local_arg8, jarg8);
arg8 = &local_arg8;
gdxAutoCommitVector3 auto_commit_arg8(jenv, jarg8, &local_arg8);
arg9 = *(btTypedConstraint::btConstraintInfo2 **)&jarg9;
arg10 = (int)jarg10;
btVector3 local_arg11;
gdx_setbtVector3FromVector3(jenv, local_arg11, jarg11);
arg11 = &local_arg11;
gdxAutoCommitVector3 auto_commit_arg11(jenv, jarg11, &local_arg11);
arg12 = (int)jarg12;
arg13 = (int)jarg13;
result = (int)(arg1)->get_limit_motor_info2(arg2,(btTransform const &)*arg3,(btTransform const &)*arg4,(btVector3 const &)*arg5,(btVector3 const &)*arg6,(btVector3 const &)*arg7,(btVector3 const &)*arg8,arg9,arg10,*arg11,arg12,arg13);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraint_1get_1limit_1motor_1info2_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jobject jarg3, jobject jarg4, jobject jarg5, jobject jarg6, jobject jarg7, jobject jarg8, jlong jarg9, jobject jarg9_, jint jarg10, jobject jarg11, jint jarg12) {
jint jresult = 0 ;
btGeneric6DofConstraint *arg1 = (btGeneric6DofConstraint *) 0 ;
btRotationalLimitMotor *arg2 = (btRotationalLimitMotor *) 0 ;
btTransform *arg3 = 0 ;
btTransform *arg4 = 0 ;
btVector3 *arg5 = 0 ;
btVector3 *arg6 = 0 ;
btVector3 *arg7 = 0 ;
btVector3 *arg8 = 0 ;
btTypedConstraint::btConstraintInfo2 *arg9 = (btTypedConstraint::btConstraintInfo2 *) 0 ;
int arg10 ;
btVector3 *arg11 = 0 ;
int arg12 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
(void)jarg9_;
arg1 = *(btGeneric6DofConstraint **)&jarg1;
arg2 = *(btRotationalLimitMotor **)&jarg2;
btTransform local_arg3;
gdx_setbtTransformFromMatrix4(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitMatrix4 auto_commit_arg3(jenv, jarg3, &local_arg3);
btTransform local_arg4;
gdx_setbtTransformFromMatrix4(jenv, local_arg4, jarg4);
arg4 = &local_arg4;
gdxAutoCommitMatrix4 auto_commit_arg4(jenv, jarg4, &local_arg4);
btVector3 local_arg5;
gdx_setbtVector3FromVector3(jenv, local_arg5, jarg5);
arg5 = &local_arg5;
gdxAutoCommitVector3 auto_commit_arg5(jenv, jarg5, &local_arg5);
btVector3 local_arg6;
gdx_setbtVector3FromVector3(jenv, local_arg6, jarg6);
arg6 = &local_arg6;
gdxAutoCommitVector3 auto_commit_arg6(jenv, jarg6, &local_arg6);
btVector3 local_arg7;
gdx_setbtVector3FromVector3(jenv, local_arg7, jarg7);
arg7 = &local_arg7;
gdxAutoCommitVector3 auto_commit_arg7(jenv, jarg7, &local_arg7);
btVector3 local_arg8;
gdx_setbtVector3FromVector3(jenv, local_arg8, jarg8);
arg8 = &local_arg8;
gdxAutoCommitVector3 auto_commit_arg8(jenv, jarg8, &local_arg8);
arg9 = *(btTypedConstraint::btConstraintInfo2 **)&jarg9;
arg10 = (int)jarg10;
btVector3 local_arg11;
gdx_setbtVector3FromVector3(jenv, local_arg11, jarg11);
arg11 = &local_arg11;
gdxAutoCommitVector3 auto_commit_arg11(jenv, jarg11, &local_arg11);
arg12 = (int)jarg12;
result = (int)(arg1)->get_limit_motor_info2(arg2,(btTransform const &)*arg3,(btTransform const &)*arg4,(btVector3 const &)*arg5,(btVector3 const &)*arg6,(btVector3 const &)*arg7,(btVector3 const &)*arg8,arg9,arg10,*arg11,arg12);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraint_1getUseFrameOffset(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jboolean jresult = 0 ;
btGeneric6DofConstraint *arg1 = (btGeneric6DofConstraint *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofConstraint **)&jarg1;
result = (bool)((btGeneric6DofConstraint const *)arg1)->getUseFrameOffset();
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraint_1setUseFrameOffset(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jboolean jarg2) {
btGeneric6DofConstraint *arg1 = (btGeneric6DofConstraint *) 0 ;
bool arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofConstraint **)&jarg1;
arg2 = jarg2 ? true : false;
(arg1)->setUseFrameOffset(arg2);
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraint_1getUseLinearReferenceFrameA(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jboolean jresult = 0 ;
btGeneric6DofConstraint *arg1 = (btGeneric6DofConstraint *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofConstraint **)&jarg1;
result = (bool)((btGeneric6DofConstraint const *)arg1)->getUseLinearReferenceFrameA();
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraint_1setUseLinearReferenceFrameA(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jboolean jarg2) {
btGeneric6DofConstraint *arg1 = (btGeneric6DofConstraint *) 0 ;
bool arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofConstraint **)&jarg1;
arg2 = jarg2 ? true : false;
(arg1)->setUseLinearReferenceFrameA(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraint_1setParam_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jfloat jarg3, jint jarg4) {
btGeneric6DofConstraint *arg1 = (btGeneric6DofConstraint *) 0 ;
int arg2 ;
btScalar arg3 ;
int arg4 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofConstraint **)&jarg1;
arg2 = (int)jarg2;
arg3 = (btScalar)jarg3;
arg4 = (int)jarg4;
(arg1)->setParam(arg2,arg3,arg4);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraint_1setParam_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jfloat jarg3) {
btGeneric6DofConstraint *arg1 = (btGeneric6DofConstraint *) 0 ;
int arg2 ;
btScalar arg3 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofConstraint **)&jarg1;
arg2 = (int)jarg2;
arg3 = (btScalar)jarg3;
(arg1)->setParam(arg2,arg3);
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraint_1getParam_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jint jarg3) {
jfloat jresult = 0 ;
btGeneric6DofConstraint *arg1 = (btGeneric6DofConstraint *) 0 ;
int arg2 ;
int arg3 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofConstraint **)&jarg1;
arg2 = (int)jarg2;
arg3 = (int)jarg3;
result = (btScalar)((btGeneric6DofConstraint const *)arg1)->getParam(arg2,arg3);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraint_1getParam_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jfloat jresult = 0 ;
btGeneric6DofConstraint *arg1 = (btGeneric6DofConstraint *) 0 ;
int arg2 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofConstraint **)&jarg1;
arg2 = (int)jarg2;
result = (btScalar)((btGeneric6DofConstraint const *)arg1)->getParam(arg2);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraint_1setAxis(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jobject jarg3) {
btGeneric6DofConstraint *arg1 = (btGeneric6DofConstraint *) 0 ;
btVector3 *arg2 = 0 ;
btVector3 *arg3 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofConstraint **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
(arg1)->setAxis((btVector3 const &)*arg2,(btVector3 const &)*arg3);
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraint_1getFlags(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btGeneric6DofConstraint *arg1 = (btGeneric6DofConstraint *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofConstraint **)&jarg1;
result = (int)((btGeneric6DofConstraint const *)arg1)->getFlags();
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btGeneric6DofConstraint(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btGeneric6DofConstraint *arg1 = (btGeneric6DofConstraint *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btGeneric6DofConstraint **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraintData_1typeConstraintData_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btGeneric6DofConstraintData *arg1 = (btGeneric6DofConstraintData *) 0 ;
btTypedConstraintData *arg2 = (btTypedConstraintData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btGeneric6DofConstraintData **)&jarg1;
arg2 = *(btTypedConstraintData **)&jarg2;
if (arg1) (arg1)->m_typeConstraintData = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraintData_1typeConstraintData_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btGeneric6DofConstraintData *arg1 = (btGeneric6DofConstraintData *) 0 ;
btTypedConstraintData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofConstraintData **)&jarg1;
result = (btTypedConstraintData *)& ((arg1)->m_typeConstraintData);
*(btTypedConstraintData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraintData_1rbAFrame_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btGeneric6DofConstraintData *arg1 = (btGeneric6DofConstraintData *) 0 ;
btTransformFloatData *arg2 = (btTransformFloatData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btGeneric6DofConstraintData **)&jarg1;
arg2 = *(btTransformFloatData **)&jarg2;
if (arg1) (arg1)->m_rbAFrame = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraintData_1rbAFrame_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btGeneric6DofConstraintData *arg1 = (btGeneric6DofConstraintData *) 0 ;
btTransformFloatData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofConstraintData **)&jarg1;
result = (btTransformFloatData *)& ((arg1)->m_rbAFrame);
*(btTransformFloatData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraintData_1rbBFrame_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btGeneric6DofConstraintData *arg1 = (btGeneric6DofConstraintData *) 0 ;
btTransformFloatData *arg2 = (btTransformFloatData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btGeneric6DofConstraintData **)&jarg1;
arg2 = *(btTransformFloatData **)&jarg2;
if (arg1) (arg1)->m_rbBFrame = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraintData_1rbBFrame_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btGeneric6DofConstraintData *arg1 = (btGeneric6DofConstraintData *) 0 ;
btTransformFloatData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofConstraintData **)&jarg1;
result = (btTransformFloatData *)& ((arg1)->m_rbBFrame);
*(btTransformFloatData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraintData_1linearUpperLimit_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btGeneric6DofConstraintData *arg1 = (btGeneric6DofConstraintData *) 0 ;
btVector3FloatData *arg2 = (btVector3FloatData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btGeneric6DofConstraintData **)&jarg1;
arg2 = *(btVector3FloatData **)&jarg2;
if (arg1) (arg1)->m_linearUpperLimit = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraintData_1linearUpperLimit_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btGeneric6DofConstraintData *arg1 = (btGeneric6DofConstraintData *) 0 ;
btVector3FloatData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofConstraintData **)&jarg1;
result = (btVector3FloatData *)& ((arg1)->m_linearUpperLimit);
*(btVector3FloatData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraintData_1linearLowerLimit_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btGeneric6DofConstraintData *arg1 = (btGeneric6DofConstraintData *) 0 ;
btVector3FloatData *arg2 = (btVector3FloatData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btGeneric6DofConstraintData **)&jarg1;
arg2 = *(btVector3FloatData **)&jarg2;
if (arg1) (arg1)->m_linearLowerLimit = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraintData_1linearLowerLimit_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btGeneric6DofConstraintData *arg1 = (btGeneric6DofConstraintData *) 0 ;
btVector3FloatData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofConstraintData **)&jarg1;
result = (btVector3FloatData *)& ((arg1)->m_linearLowerLimit);
*(btVector3FloatData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraintData_1angularUpperLimit_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btGeneric6DofConstraintData *arg1 = (btGeneric6DofConstraintData *) 0 ;
btVector3FloatData *arg2 = (btVector3FloatData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btGeneric6DofConstraintData **)&jarg1;
arg2 = *(btVector3FloatData **)&jarg2;
if (arg1) (arg1)->m_angularUpperLimit = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraintData_1angularUpperLimit_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btGeneric6DofConstraintData *arg1 = (btGeneric6DofConstraintData *) 0 ;
btVector3FloatData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofConstraintData **)&jarg1;
result = (btVector3FloatData *)& ((arg1)->m_angularUpperLimit);
*(btVector3FloatData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraintData_1angularLowerLimit_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btGeneric6DofConstraintData *arg1 = (btGeneric6DofConstraintData *) 0 ;
btVector3FloatData *arg2 = (btVector3FloatData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btGeneric6DofConstraintData **)&jarg1;
arg2 = *(btVector3FloatData **)&jarg2;
if (arg1) (arg1)->m_angularLowerLimit = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraintData_1angularLowerLimit_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btGeneric6DofConstraintData *arg1 = (btGeneric6DofConstraintData *) 0 ;
btVector3FloatData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofConstraintData **)&jarg1;
result = (btVector3FloatData *)& ((arg1)->m_angularLowerLimit);
*(btVector3FloatData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraintData_1useLinearReferenceFrameA_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btGeneric6DofConstraintData *arg1 = (btGeneric6DofConstraintData *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofConstraintData **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_useLinearReferenceFrameA = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraintData_1useLinearReferenceFrameA_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btGeneric6DofConstraintData *arg1 = (btGeneric6DofConstraintData *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofConstraintData **)&jarg1;
result = (int) ((arg1)->m_useLinearReferenceFrameA);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraintData_1useOffsetForConstraintFrame_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btGeneric6DofConstraintData *arg1 = (btGeneric6DofConstraintData *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofConstraintData **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_useOffsetForConstraintFrame = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraintData_1useOffsetForConstraintFrame_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btGeneric6DofConstraintData *arg1 = (btGeneric6DofConstraintData *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofConstraintData **)&jarg1;
result = (int) ((arg1)->m_useOffsetForConstraintFrame);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btGeneric6DofConstraintData(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btGeneric6DofConstraintData *result = 0 ;
(void)jenv;
(void)jcls;
result = (btGeneric6DofConstraintData *)new btGeneric6DofConstraintData();
*(btGeneric6DofConstraintData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btGeneric6DofConstraintData(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btGeneric6DofConstraintData *arg1 = (btGeneric6DofConstraintData *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btGeneric6DofConstraintData **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraintDoubleData2_1typeConstraintData_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btGeneric6DofConstraintDoubleData2 *arg1 = (btGeneric6DofConstraintDoubleData2 *) 0 ;
btTypedConstraintDoubleData *arg2 = (btTypedConstraintDoubleData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btGeneric6DofConstraintDoubleData2 **)&jarg1;
arg2 = *(btTypedConstraintDoubleData **)&jarg2;
if (arg1) (arg1)->m_typeConstraintData = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraintDoubleData2_1typeConstraintData_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btGeneric6DofConstraintDoubleData2 *arg1 = (btGeneric6DofConstraintDoubleData2 *) 0 ;
btTypedConstraintDoubleData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofConstraintDoubleData2 **)&jarg1;
result = (btTypedConstraintDoubleData *)& ((arg1)->m_typeConstraintData);
*(btTypedConstraintDoubleData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraintDoubleData2_1rbAFrame_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btGeneric6DofConstraintDoubleData2 *arg1 = (btGeneric6DofConstraintDoubleData2 *) 0 ;
btTransformDoubleData *arg2 = (btTransformDoubleData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btGeneric6DofConstraintDoubleData2 **)&jarg1;
arg2 = *(btTransformDoubleData **)&jarg2;
if (arg1) (arg1)->m_rbAFrame = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraintDoubleData2_1rbAFrame_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btGeneric6DofConstraintDoubleData2 *arg1 = (btGeneric6DofConstraintDoubleData2 *) 0 ;
btTransformDoubleData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofConstraintDoubleData2 **)&jarg1;
result = (btTransformDoubleData *)& ((arg1)->m_rbAFrame);
*(btTransformDoubleData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraintDoubleData2_1rbBFrame_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btGeneric6DofConstraintDoubleData2 *arg1 = (btGeneric6DofConstraintDoubleData2 *) 0 ;
btTransformDoubleData *arg2 = (btTransformDoubleData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btGeneric6DofConstraintDoubleData2 **)&jarg1;
arg2 = *(btTransformDoubleData **)&jarg2;
if (arg1) (arg1)->m_rbBFrame = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraintDoubleData2_1rbBFrame_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btGeneric6DofConstraintDoubleData2 *arg1 = (btGeneric6DofConstraintDoubleData2 *) 0 ;
btTransformDoubleData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofConstraintDoubleData2 **)&jarg1;
result = (btTransformDoubleData *)& ((arg1)->m_rbBFrame);
*(btTransformDoubleData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraintDoubleData2_1linearUpperLimit_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btGeneric6DofConstraintDoubleData2 *arg1 = (btGeneric6DofConstraintDoubleData2 *) 0 ;
btVector3DoubleData *arg2 = (btVector3DoubleData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btGeneric6DofConstraintDoubleData2 **)&jarg1;
arg2 = *(btVector3DoubleData **)&jarg2;
if (arg1) (arg1)->m_linearUpperLimit = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraintDoubleData2_1linearUpperLimit_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btGeneric6DofConstraintDoubleData2 *arg1 = (btGeneric6DofConstraintDoubleData2 *) 0 ;
btVector3DoubleData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofConstraintDoubleData2 **)&jarg1;
result = (btVector3DoubleData *)& ((arg1)->m_linearUpperLimit);
*(btVector3DoubleData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraintDoubleData2_1linearLowerLimit_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btGeneric6DofConstraintDoubleData2 *arg1 = (btGeneric6DofConstraintDoubleData2 *) 0 ;
btVector3DoubleData *arg2 = (btVector3DoubleData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btGeneric6DofConstraintDoubleData2 **)&jarg1;
arg2 = *(btVector3DoubleData **)&jarg2;
if (arg1) (arg1)->m_linearLowerLimit = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraintDoubleData2_1linearLowerLimit_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btGeneric6DofConstraintDoubleData2 *arg1 = (btGeneric6DofConstraintDoubleData2 *) 0 ;
btVector3DoubleData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofConstraintDoubleData2 **)&jarg1;
result = (btVector3DoubleData *)& ((arg1)->m_linearLowerLimit);
*(btVector3DoubleData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraintDoubleData2_1angularUpperLimit_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btGeneric6DofConstraintDoubleData2 *arg1 = (btGeneric6DofConstraintDoubleData2 *) 0 ;
btVector3DoubleData *arg2 = (btVector3DoubleData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btGeneric6DofConstraintDoubleData2 **)&jarg1;
arg2 = *(btVector3DoubleData **)&jarg2;
if (arg1) (arg1)->m_angularUpperLimit = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraintDoubleData2_1angularUpperLimit_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btGeneric6DofConstraintDoubleData2 *arg1 = (btGeneric6DofConstraintDoubleData2 *) 0 ;
btVector3DoubleData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofConstraintDoubleData2 **)&jarg1;
result = (btVector3DoubleData *)& ((arg1)->m_angularUpperLimit);
*(btVector3DoubleData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraintDoubleData2_1angularLowerLimit_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btGeneric6DofConstraintDoubleData2 *arg1 = (btGeneric6DofConstraintDoubleData2 *) 0 ;
btVector3DoubleData *arg2 = (btVector3DoubleData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btGeneric6DofConstraintDoubleData2 **)&jarg1;
arg2 = *(btVector3DoubleData **)&jarg2;
if (arg1) (arg1)->m_angularLowerLimit = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraintDoubleData2_1angularLowerLimit_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btGeneric6DofConstraintDoubleData2 *arg1 = (btGeneric6DofConstraintDoubleData2 *) 0 ;
btVector3DoubleData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofConstraintDoubleData2 **)&jarg1;
result = (btVector3DoubleData *)& ((arg1)->m_angularLowerLimit);
*(btVector3DoubleData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraintDoubleData2_1useLinearReferenceFrameA_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btGeneric6DofConstraintDoubleData2 *arg1 = (btGeneric6DofConstraintDoubleData2 *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofConstraintDoubleData2 **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_useLinearReferenceFrameA = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraintDoubleData2_1useLinearReferenceFrameA_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btGeneric6DofConstraintDoubleData2 *arg1 = (btGeneric6DofConstraintDoubleData2 *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofConstraintDoubleData2 **)&jarg1;
result = (int) ((arg1)->m_useLinearReferenceFrameA);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraintDoubleData2_1useOffsetForConstraintFrame_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btGeneric6DofConstraintDoubleData2 *arg1 = (btGeneric6DofConstraintDoubleData2 *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofConstraintDoubleData2 **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_useOffsetForConstraintFrame = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraintDoubleData2_1useOffsetForConstraintFrame_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btGeneric6DofConstraintDoubleData2 *arg1 = (btGeneric6DofConstraintDoubleData2 *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofConstraintDoubleData2 **)&jarg1;
result = (int) ((arg1)->m_useOffsetForConstraintFrame);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btGeneric6DofConstraintDoubleData2(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btGeneric6DofConstraintDoubleData2 *result = 0 ;
(void)jenv;
(void)jcls;
result = (btGeneric6DofConstraintDoubleData2 *)new btGeneric6DofConstraintDoubleData2();
*(btGeneric6DofConstraintDoubleData2 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btGeneric6DofConstraintDoubleData2(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btGeneric6DofConstraintDoubleData2 *arg1 = (btGeneric6DofConstraintDoubleData2 *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btGeneric6DofConstraintDoubleData2 **)&jarg1;
delete arg1;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btUniversalConstraint_1operatorNew_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btUniversalConstraint *arg1 = (btUniversalConstraint *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btUniversalConstraint **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new(arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btUniversalConstraint_1operatorDelete_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btUniversalConstraint *arg1 = (btUniversalConstraint *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btUniversalConstraint **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete(arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btUniversalConstraint_1operatorNew_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btUniversalConstraint *arg1 = (btUniversalConstraint *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btUniversalConstraint **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new(arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btUniversalConstraint_1operatorDelete_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btUniversalConstraint *arg1 = (btUniversalConstraint *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btUniversalConstraint **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete(arg2,arg3);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btUniversalConstraint_1operatorNewArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btUniversalConstraint *arg1 = (btUniversalConstraint *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btUniversalConstraint **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new[](arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btUniversalConstraint_1operatorDeleteArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btUniversalConstraint *arg1 = (btUniversalConstraint *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btUniversalConstraint **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete[](arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btUniversalConstraint_1operatorNewArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btUniversalConstraint *arg1 = (btUniversalConstraint *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btUniversalConstraint **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new[](arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btUniversalConstraint_1operatorDeleteArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btUniversalConstraint *arg1 = (btUniversalConstraint *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btUniversalConstraint **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete[](arg2,arg3);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btUniversalConstraint(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jobject jarg3, jobject jarg4, jobject jarg5) {
jlong jresult = 0 ;
btRigidBody *arg1 = 0 ;
btRigidBody *arg2 = 0 ;
btVector3 *arg3 = 0 ;
btVector3 *arg4 = 0 ;
btVector3 *arg5 = 0 ;
btUniversalConstraint *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btRigidBody **)&jarg1;
if (!arg1) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btRigidBody & reference is null");
return 0;
}
arg2 = *(btRigidBody **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btRigidBody & reference is null");
return 0;
}
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
btVector3 local_arg4;
gdx_setbtVector3FromVector3(jenv, local_arg4, jarg4);
arg4 = &local_arg4;
gdxAutoCommitVector3 auto_commit_arg4(jenv, jarg4, &local_arg4);
btVector3 local_arg5;
gdx_setbtVector3FromVector3(jenv, local_arg5, jarg5);
arg5 = &local_arg5;
gdxAutoCommitVector3 auto_commit_arg5(jenv, jarg5, &local_arg5);
result = (btUniversalConstraint *)new btUniversalConstraint(*arg1,*arg2,(btVector3 const &)*arg3,(btVector3 const &)*arg4,(btVector3 const &)*arg5);
*(btUniversalConstraint **)&jresult = result;
return jresult;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btUniversalConstraint_1getAnchor(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btUniversalConstraint *arg1 = (btUniversalConstraint *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btUniversalConstraint **)&jarg1;
result = (btVector3 *) &(arg1)->getAnchor();
jresult = gdx_getReturnVector3(jenv);
gdx_setVector3FrombtVector3(jenv, jresult, result);
return jresult;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btUniversalConstraint_1getAnchor2(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btUniversalConstraint *arg1 = (btUniversalConstraint *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btUniversalConstraint **)&jarg1;
result = (btVector3 *) &(arg1)->getAnchor2();
jresult = gdx_getReturnVector3(jenv);
gdx_setVector3FrombtVector3(jenv, jresult, result);
return jresult;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btUniversalConstraint_1getAxis1(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btUniversalConstraint *arg1 = (btUniversalConstraint *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btUniversalConstraint **)&jarg1;
result = (btVector3 *) &(arg1)->getAxis1();
jresult = gdx_getReturnVector3(jenv);
gdx_setVector3FrombtVector3(jenv, jresult, result);
return jresult;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btUniversalConstraint_1getAxis2(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btUniversalConstraint *arg1 = (btUniversalConstraint *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btUniversalConstraint **)&jarg1;
result = (btVector3 *) &(arg1)->getAxis2();
jresult = gdx_getReturnVector3(jenv);
gdx_setVector3FrombtVector3(jenv, jresult, result);
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btUniversalConstraint_1getAngle1(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btUniversalConstraint *arg1 = (btUniversalConstraint *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btUniversalConstraint **)&jarg1;
result = (btScalar)(arg1)->getAngle1();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btUniversalConstraint_1getAngle2(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btUniversalConstraint *arg1 = (btUniversalConstraint *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btUniversalConstraint **)&jarg1;
result = (btScalar)(arg1)->getAngle2();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btUniversalConstraint_1setUpperLimit(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2, jfloat jarg3) {
btUniversalConstraint *arg1 = (btUniversalConstraint *) 0 ;
btScalar arg2 ;
btScalar arg3 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btUniversalConstraint **)&jarg1;
arg2 = (btScalar)jarg2;
arg3 = (btScalar)jarg3;
(arg1)->setUpperLimit(arg2,arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btUniversalConstraint_1setLowerLimit(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2, jfloat jarg3) {
btUniversalConstraint *arg1 = (btUniversalConstraint *) 0 ;
btScalar arg2 ;
btScalar arg3 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btUniversalConstraint **)&jarg1;
arg2 = (btScalar)jarg2;
arg3 = (btScalar)jarg3;
(arg1)->setLowerLimit(arg2,arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btUniversalConstraint_1setAxis(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jobject jarg3) {
btUniversalConstraint *arg1 = (btUniversalConstraint *) 0 ;
btVector3 *arg2 = 0 ;
btVector3 *arg3 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btUniversalConstraint **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
(arg1)->setAxis((btVector3 const &)*arg2,(btVector3 const &)*arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btUniversalConstraint(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btUniversalConstraint *arg1 = (btUniversalConstraint *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btUniversalConstraint **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactConstraint_1setContactManifold(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btContactConstraint *arg1 = (btContactConstraint *) 0 ;
btPersistentManifold *arg2 = (btPersistentManifold *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btContactConstraint **)&jarg1;
arg2 = *(btPersistentManifold **)&jarg2;
(arg1)->setContactManifold(arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactConstraint_1getContactManifold(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btContactConstraint *arg1 = (btContactConstraint *) 0 ;
btPersistentManifold *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactConstraint **)&jarg1;
result = (btPersistentManifold *)(arg1)->getContactManifold();
*(btPersistentManifold **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactConstraint_1getContactManifoldConst(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btContactConstraint *arg1 = (btContactConstraint *) 0 ;
btPersistentManifold *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactConstraint **)&jarg1;
result = (btPersistentManifold *)((btContactConstraint const *)arg1)->getContactManifold();
*(btPersistentManifold **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btContactConstraint(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btContactConstraint *arg1 = (btContactConstraint *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btContactConstraint **)&jarg1;
delete arg1;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_resolveSingleCollision(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jobject jarg3, jobject jarg4, jlong jarg5, jobject jarg5_, jfloat jarg6) {
jfloat jresult = 0 ;
btRigidBody *arg1 = (btRigidBody *) 0 ;
btCollisionObject *arg2 = (btCollisionObject *) 0 ;
btVector3 *arg3 = 0 ;
btVector3 *arg4 = 0 ;
btContactSolverInfo *arg5 = 0 ;
btScalar arg6 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
(void)jarg5_;
arg1 = *(btRigidBody **)&jarg1;
arg2 = *(btCollisionObject **)&jarg2;
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
btVector3 local_arg4;
gdx_setbtVector3FromVector3(jenv, local_arg4, jarg4);
arg4 = &local_arg4;
gdxAutoCommitVector3 auto_commit_arg4(jenv, jarg4, &local_arg4);
arg5 = *(btContactSolverInfo **)&jarg5;
if (!arg5) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btContactSolverInfo const & reference is null");
return 0;
}
arg6 = (btScalar)jarg6;
result = (btScalar)resolveSingleCollision(arg1,arg2,(btVector3 const &)*arg3,(btVector3 const &)*arg4,(btContactSolverInfo const &)*arg5,arg6);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_resolveSingleBilateral(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jlong jarg3, jobject jarg3_, jobject jarg4, jfloat jarg5, jobject jarg6, jlong jarg7, jfloat jarg8) {
btRigidBody *arg1 = 0 ;
btVector3 *arg2 = 0 ;
btRigidBody *arg3 = 0 ;
btVector3 *arg4 = 0 ;
btScalar arg5 ;
btVector3 *arg6 = 0 ;
btScalar *arg7 = 0 ;
btScalar arg8 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg3_;
arg1 = *(btRigidBody **)&jarg1;
if (!arg1) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btRigidBody & reference is null");
return ;
}
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
arg3 = *(btRigidBody **)&jarg3;
if (!arg3) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btRigidBody & reference is null");
return ;
}
btVector3 local_arg4;
gdx_setbtVector3FromVector3(jenv, local_arg4, jarg4);
arg4 = &local_arg4;
gdxAutoCommitVector3 auto_commit_arg4(jenv, jarg4, &local_arg4);
arg5 = (btScalar)jarg5;
btVector3 local_arg6;
gdx_setbtVector3FromVector3(jenv, local_arg6, jarg6);
arg6 = &local_arg6;
gdxAutoCommitVector3 auto_commit_arg6(jenv, jarg6, &local_arg6);
arg7 = *(btScalar **)&jarg7;
if (!arg7) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btScalar & reference is null");
return ;
}
arg8 = (btScalar)jarg8;
resolveSingleBilateral(*arg1,(btVector3 const &)*arg2,*arg3,(btVector3 const &)*arg4,arg5,(btVector3 const &)*arg6,*arg7,arg8);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraint_1operatorNew_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btConeTwistConstraint *arg1 = (btConeTwistConstraint *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConeTwistConstraint **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new(arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraint_1operatorDelete_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btConeTwistConstraint *arg1 = (btConeTwistConstraint *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConeTwistConstraint **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete(arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraint_1operatorNew_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btConeTwistConstraint *arg1 = (btConeTwistConstraint *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConeTwistConstraint **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new(arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraint_1operatorDelete_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btConeTwistConstraint *arg1 = (btConeTwistConstraint *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConeTwistConstraint **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete(arg2,arg3);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraint_1operatorNewArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btConeTwistConstraint *arg1 = (btConeTwistConstraint *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConeTwistConstraint **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new[](arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraint_1operatorDeleteArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btConeTwistConstraint *arg1 = (btConeTwistConstraint *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConeTwistConstraint **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete[](arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraint_1operatorNewArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btConeTwistConstraint *arg1 = (btConeTwistConstraint *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConeTwistConstraint **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new[](arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraint_1operatorDeleteArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btConeTwistConstraint *arg1 = (btConeTwistConstraint *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConeTwistConstraint **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete[](arg2,arg3);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btConeTwistConstraint_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jobject jarg3, jobject jarg4) {
jlong jresult = 0 ;
btRigidBody *arg1 = 0 ;
btRigidBody *arg2 = 0 ;
btTransform *arg3 = 0 ;
btTransform *arg4 = 0 ;
btConeTwistConstraint *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btRigidBody **)&jarg1;
if (!arg1) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btRigidBody & reference is null");
return 0;
}
arg2 = *(btRigidBody **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btRigidBody & reference is null");
return 0;
}
btTransform local_arg3;
gdx_setbtTransformFromMatrix4(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitMatrix4 auto_commit_arg3(jenv, jarg3, &local_arg3);
btTransform local_arg4;
gdx_setbtTransformFromMatrix4(jenv, local_arg4, jarg4);
arg4 = &local_arg4;
gdxAutoCommitMatrix4 auto_commit_arg4(jenv, jarg4, &local_arg4);
result = (btConeTwistConstraint *)new btConeTwistConstraint(*arg1,*arg2,(btTransform const &)*arg3,(btTransform const &)*arg4);
*(btConeTwistConstraint **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btConeTwistConstraint_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
jlong jresult = 0 ;
btRigidBody *arg1 = 0 ;
btTransform *arg2 = 0 ;
btConeTwistConstraint *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody **)&jarg1;
if (!arg1) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btRigidBody & reference is null");
return 0;
}
btTransform local_arg2;
gdx_setbtTransformFromMatrix4(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitMatrix4 auto_commit_arg2(jenv, jarg2, &local_arg2);
result = (btConeTwistConstraint *)new btConeTwistConstraint(*arg1,(btTransform const &)*arg2);
*(btConeTwistConstraint **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraint_1getInfo1NonVirtual(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btConeTwistConstraint *arg1 = (btConeTwistConstraint *) 0 ;
btTypedConstraint::btConstraintInfo1 *arg2 = (btTypedConstraint::btConstraintInfo1 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btConeTwistConstraint **)&jarg1;
arg2 = *(btTypedConstraint::btConstraintInfo1 **)&jarg2;
(arg1)->getInfo1NonVirtual(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraint_1getInfo2NonVirtual(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jobject jarg3, jobject jarg4, jobject jarg5, jobject jarg6) {
btConeTwistConstraint *arg1 = (btConeTwistConstraint *) 0 ;
btTypedConstraint::btConstraintInfo2 *arg2 = (btTypedConstraint::btConstraintInfo2 *) 0 ;
btTransform *arg3 = 0 ;
btTransform *arg4 = 0 ;
btMatrix3x3 *arg5 = 0 ;
btMatrix3x3 *arg6 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btConeTwistConstraint **)&jarg1;
arg2 = *(btTypedConstraint::btConstraintInfo2 **)&jarg2;
btTransform local_arg3;
gdx_setbtTransformFromMatrix4(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitMatrix4 auto_commit_arg3(jenv, jarg3, &local_arg3);
btTransform local_arg4;
gdx_setbtTransformFromMatrix4(jenv, local_arg4, jarg4);
arg4 = &local_arg4;
gdxAutoCommitMatrix4 auto_commit_arg4(jenv, jarg4, &local_arg4);
btMatrix3x3 local_arg5;
gdx_setbtMatrix3x3FromMatrix3(jenv, local_arg5, jarg5);
arg5 = &local_arg5;
gdxAutoCommitMatrix3 auto_commit_arg5(jenv, jarg5, &local_arg5);
btMatrix3x3 local_arg6;
gdx_setbtMatrix3x3FromMatrix3(jenv, local_arg6, jarg6);
arg6 = &local_arg6;
gdxAutoCommitMatrix3 auto_commit_arg6(jenv, jarg6, &local_arg6);
(arg1)->getInfo2NonVirtual(arg2,(btTransform const &)*arg3,(btTransform const &)*arg4,(btMatrix3x3 const &)*arg5,(btMatrix3x3 const &)*arg6);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraint_1updateRHS(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btConeTwistConstraint *arg1 = (btConeTwistConstraint *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConeTwistConstraint **)&jarg1;
arg2 = (btScalar)jarg2;
(arg1)->updateRHS(arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraint_1getRigidBodyAConst(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btConeTwistConstraint *arg1 = (btConeTwistConstraint *) 0 ;
btRigidBody *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConeTwistConstraint **)&jarg1;
result = (btRigidBody *) &((btConeTwistConstraint const *)arg1)->getRigidBodyA();
*(btRigidBody **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraint_1getRigidBodyBConst(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btConeTwistConstraint *arg1 = (btConeTwistConstraint *) 0 ;
btRigidBody *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConeTwistConstraint **)&jarg1;
result = (btRigidBody *) &((btConeTwistConstraint const *)arg1)->getRigidBodyB();
*(btRigidBody **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraint_1setAngularOnly(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jboolean jarg2) {
btConeTwistConstraint *arg1 = (btConeTwistConstraint *) 0 ;
bool arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConeTwistConstraint **)&jarg1;
arg2 = jarg2 ? true : false;
(arg1)->setAngularOnly(arg2);
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraint_1getAngularOnly(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jboolean jresult = 0 ;
btConeTwistConstraint *arg1 = (btConeTwistConstraint *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConeTwistConstraint **)&jarg1;
result = (bool)((btConeTwistConstraint const *)arg1)->getAngularOnly();
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraint_1setLimit_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jfloat jarg3) {
btConeTwistConstraint *arg1 = (btConeTwistConstraint *) 0 ;
int arg2 ;
btScalar arg3 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConeTwistConstraint **)&jarg1;
arg2 = (int)jarg2;
arg3 = (btScalar)jarg3;
(arg1)->setLimit(arg2,arg3);
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraint_1getLimit(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jfloat jresult = 0 ;
btConeTwistConstraint *arg1 = (btConeTwistConstraint *) 0 ;
int arg2 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConeTwistConstraint **)&jarg1;
arg2 = (int)jarg2;
result = (btScalar)((btConeTwistConstraint const *)arg1)->getLimit(arg2);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraint_1setLimit_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2, jfloat jarg3, jfloat jarg4, jfloat jarg5, jfloat jarg6, jfloat jarg7) {
btConeTwistConstraint *arg1 = (btConeTwistConstraint *) 0 ;
btScalar arg2 ;
btScalar arg3 ;
btScalar arg4 ;
btScalar arg5 ;
btScalar arg6 ;
btScalar arg7 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConeTwistConstraint **)&jarg1;
arg2 = (btScalar)jarg2;
arg3 = (btScalar)jarg3;
arg4 = (btScalar)jarg4;
arg5 = (btScalar)jarg5;
arg6 = (btScalar)jarg6;
arg7 = (btScalar)jarg7;
(arg1)->setLimit(arg2,arg3,arg4,arg5,arg6,arg7);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraint_1setLimit_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2, jfloat jarg3, jfloat jarg4, jfloat jarg5, jfloat jarg6) {
btConeTwistConstraint *arg1 = (btConeTwistConstraint *) 0 ;
btScalar arg2 ;
btScalar arg3 ;
btScalar arg4 ;
btScalar arg5 ;
btScalar arg6 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConeTwistConstraint **)&jarg1;
arg2 = (btScalar)jarg2;
arg3 = (btScalar)jarg3;
arg4 = (btScalar)jarg4;
arg5 = (btScalar)jarg5;
arg6 = (btScalar)jarg6;
(arg1)->setLimit(arg2,arg3,arg4,arg5,arg6);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraint_1setLimit_1_1SWIG_13(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2, jfloat jarg3, jfloat jarg4, jfloat jarg5) {
btConeTwistConstraint *arg1 = (btConeTwistConstraint *) 0 ;
btScalar arg2 ;
btScalar arg3 ;
btScalar arg4 ;
btScalar arg5 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConeTwistConstraint **)&jarg1;
arg2 = (btScalar)jarg2;
arg3 = (btScalar)jarg3;
arg4 = (btScalar)jarg4;
arg5 = (btScalar)jarg5;
(arg1)->setLimit(arg2,arg3,arg4,arg5);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraint_1setLimit_1_1SWIG_14(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2, jfloat jarg3, jfloat jarg4) {
btConeTwistConstraint *arg1 = (btConeTwistConstraint *) 0 ;
btScalar arg2 ;
btScalar arg3 ;
btScalar arg4 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConeTwistConstraint **)&jarg1;
arg2 = (btScalar)jarg2;
arg3 = (btScalar)jarg3;
arg4 = (btScalar)jarg4;
(arg1)->setLimit(arg2,arg3,arg4);
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraint_1getAFrame(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btConeTwistConstraint *arg1 = (btConeTwistConstraint *) 0 ;
btTransform *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConeTwistConstraint **)&jarg1;
result = (btTransform *) &((btConeTwistConstraint const *)arg1)->getAFrame();
jresult = gdx_getReturnMatrix4(jenv);
gdx_setMatrix4FrombtTransform(jenv, jresult, result);
return jresult;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraint_1getBFrame(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btConeTwistConstraint *arg1 = (btConeTwistConstraint *) 0 ;
btTransform *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConeTwistConstraint **)&jarg1;
result = (btTransform *) &((btConeTwistConstraint const *)arg1)->getBFrame();
jresult = gdx_getReturnMatrix4(jenv);
gdx_setMatrix4FrombtTransform(jenv, jresult, result);
return jresult;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraint_1getSolveTwistLimit(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btConeTwistConstraint *arg1 = (btConeTwistConstraint *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConeTwistConstraint **)&jarg1;
result = (int)(arg1)->getSolveTwistLimit();
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraint_1getSolveSwingLimit(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btConeTwistConstraint *arg1 = (btConeTwistConstraint *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConeTwistConstraint **)&jarg1;
result = (int)(arg1)->getSolveSwingLimit();
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraint_1getTwistLimitSign(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btConeTwistConstraint *arg1 = (btConeTwistConstraint *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConeTwistConstraint **)&jarg1;
result = (btScalar)(arg1)->getTwistLimitSign();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraint_1calcAngleInfo(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
btConeTwistConstraint *arg1 = (btConeTwistConstraint *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConeTwistConstraint **)&jarg1;
(arg1)->calcAngleInfo();
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraint_1calcAngleInfo2(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jobject jarg3, jobject jarg4, jobject jarg5) {
btConeTwistConstraint *arg1 = (btConeTwistConstraint *) 0 ;
btTransform *arg2 = 0 ;
btTransform *arg3 = 0 ;
btMatrix3x3 *arg4 = 0 ;
btMatrix3x3 *arg5 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConeTwistConstraint **)&jarg1;
btTransform local_arg2;
gdx_setbtTransformFromMatrix4(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitMatrix4 auto_commit_arg2(jenv, jarg2, &local_arg2);
btTransform local_arg3;
gdx_setbtTransformFromMatrix4(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitMatrix4 auto_commit_arg3(jenv, jarg3, &local_arg3);
btMatrix3x3 local_arg4;
gdx_setbtMatrix3x3FromMatrix3(jenv, local_arg4, jarg4);
arg4 = &local_arg4;
gdxAutoCommitMatrix3 auto_commit_arg4(jenv, jarg4, &local_arg4);
btMatrix3x3 local_arg5;
gdx_setbtMatrix3x3FromMatrix3(jenv, local_arg5, jarg5);
arg5 = &local_arg5;
gdxAutoCommitMatrix3 auto_commit_arg5(jenv, jarg5, &local_arg5);
(arg1)->calcAngleInfo2((btTransform const &)*arg2,(btTransform const &)*arg3,(btMatrix3x3 const &)*arg4,(btMatrix3x3 const &)*arg5);
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraint_1getSwingSpan1(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btConeTwistConstraint *arg1 = (btConeTwistConstraint *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConeTwistConstraint **)&jarg1;
result = (btScalar)((btConeTwistConstraint const *)arg1)->getSwingSpan1();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraint_1getSwingSpan2(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btConeTwistConstraint *arg1 = (btConeTwistConstraint *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConeTwistConstraint **)&jarg1;
result = (btScalar)((btConeTwistConstraint const *)arg1)->getSwingSpan2();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraint_1getTwistSpan(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btConeTwistConstraint *arg1 = (btConeTwistConstraint *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConeTwistConstraint **)&jarg1;
result = (btScalar)((btConeTwistConstraint const *)arg1)->getTwistSpan();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraint_1getLimitSoftness(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btConeTwistConstraint *arg1 = (btConeTwistConstraint *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConeTwistConstraint **)&jarg1;
result = (btScalar)((btConeTwistConstraint const *)arg1)->getLimitSoftness();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraint_1getBiasFactor(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btConeTwistConstraint *arg1 = (btConeTwistConstraint *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConeTwistConstraint **)&jarg1;
result = (btScalar)((btConeTwistConstraint const *)arg1)->getBiasFactor();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraint_1getRelaxationFactor(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btConeTwistConstraint *arg1 = (btConeTwistConstraint *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConeTwistConstraint **)&jarg1;
result = (btScalar)((btConeTwistConstraint const *)arg1)->getRelaxationFactor();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraint_1getTwistAngle(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btConeTwistConstraint *arg1 = (btConeTwistConstraint *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConeTwistConstraint **)&jarg1;
result = (btScalar)((btConeTwistConstraint const *)arg1)->getTwistAngle();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraint_1isPastSwingLimit(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jboolean jresult = 0 ;
btConeTwistConstraint *arg1 = (btConeTwistConstraint *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConeTwistConstraint **)&jarg1;
result = (bool)(arg1)->isPastSwingLimit();
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraint_1getDamping(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btConeTwistConstraint *arg1 = (btConeTwistConstraint *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConeTwistConstraint **)&jarg1;
result = (btScalar)((btConeTwistConstraint const *)arg1)->getDamping();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraint_1setDamping(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btConeTwistConstraint *arg1 = (btConeTwistConstraint *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConeTwistConstraint **)&jarg1;
arg2 = (btScalar)jarg2;
(arg1)->setDamping(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraint_1enableMotor(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jboolean jarg2) {
btConeTwistConstraint *arg1 = (btConeTwistConstraint *) 0 ;
bool arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConeTwistConstraint **)&jarg1;
arg2 = jarg2 ? true : false;
(arg1)->enableMotor(arg2);
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraint_1isMotorEnabled(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jboolean jresult = 0 ;
btConeTwistConstraint *arg1 = (btConeTwistConstraint *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConeTwistConstraint **)&jarg1;
result = (bool)((btConeTwistConstraint const *)arg1)->isMotorEnabled();
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraint_1getMaxMotorImpulse(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btConeTwistConstraint *arg1 = (btConeTwistConstraint *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConeTwistConstraint **)&jarg1;
result = (btScalar)((btConeTwistConstraint const *)arg1)->getMaxMotorImpulse();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraint_1isMaxMotorImpulseNormalized(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jboolean jresult = 0 ;
btConeTwistConstraint *arg1 = (btConeTwistConstraint *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConeTwistConstraint **)&jarg1;
result = (bool)((btConeTwistConstraint const *)arg1)->isMaxMotorImpulseNormalized();
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraint_1setMaxMotorImpulse(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btConeTwistConstraint *arg1 = (btConeTwistConstraint *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConeTwistConstraint **)&jarg1;
arg2 = (btScalar)jarg2;
(arg1)->setMaxMotorImpulse(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraint_1setMaxMotorImpulseNormalized(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btConeTwistConstraint *arg1 = (btConeTwistConstraint *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConeTwistConstraint **)&jarg1;
arg2 = (btScalar)jarg2;
(arg1)->setMaxMotorImpulseNormalized(arg2);
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraint_1getFixThresh(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btConeTwistConstraint *arg1 = (btConeTwistConstraint *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConeTwistConstraint **)&jarg1;
result = (btScalar)(arg1)->getFixThresh();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraint_1setFixThresh(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btConeTwistConstraint *arg1 = (btConeTwistConstraint *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConeTwistConstraint **)&jarg1;
arg2 = (btScalar)jarg2;
(arg1)->setFixThresh(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraint_1setMotorTarget(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btConeTwistConstraint *arg1 = (btConeTwistConstraint *) 0 ;
btQuaternion *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConeTwistConstraint **)&jarg1;
btQuaternion local_arg2;
gdx_setbtQuaternionFromQuaternion(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitQuaternion auto_commit_arg2(jenv, jarg2, &local_arg2);
(arg1)->setMotorTarget((btQuaternion const &)*arg2);
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraint_1getMotorTarget(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btConeTwistConstraint *arg1 = (btConeTwistConstraint *) 0 ;
btQuaternion *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConeTwistConstraint **)&jarg1;
result = (btQuaternion *) &((btConeTwistConstraint const *)arg1)->getMotorTarget();
jresult = gdx_getReturnQuaternion(jenv);
gdx_setQuaternionFrombtQuaternion(jenv, jresult, result);
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraint_1setMotorTargetInConstraintSpace(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btConeTwistConstraint *arg1 = (btConeTwistConstraint *) 0 ;
btQuaternion *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConeTwistConstraint **)&jarg1;
btQuaternion local_arg2;
gdx_setbtQuaternionFromQuaternion(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitQuaternion auto_commit_arg2(jenv, jarg2, &local_arg2);
(arg1)->setMotorTargetInConstraintSpace((btQuaternion const &)*arg2);
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraint_1GetPointForAngle(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2, jfloat jarg3) {
jobject jresult = 0 ;
btConeTwistConstraint *arg1 = (btConeTwistConstraint *) 0 ;
btScalar arg2 ;
btScalar arg3 ;
btVector3 result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConeTwistConstraint **)&jarg1;
arg2 = (btScalar)jarg2;
arg3 = (btScalar)jarg3;
result = ((btConeTwistConstraint const *)arg1)->GetPointForAngle(arg2,arg3);
jresult = gdx_getReturnVector3(jenv);
gdx_setVector3FrombtVector3(jenv, jresult, result);
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraint_1setParam_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jfloat jarg3, jint jarg4) {
btConeTwistConstraint *arg1 = (btConeTwistConstraint *) 0 ;
int arg2 ;
btScalar arg3 ;
int arg4 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConeTwistConstraint **)&jarg1;
arg2 = (int)jarg2;
arg3 = (btScalar)jarg3;
arg4 = (int)jarg4;
(arg1)->setParam(arg2,arg3,arg4);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraint_1setParam_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jfloat jarg3) {
btConeTwistConstraint *arg1 = (btConeTwistConstraint *) 0 ;
int arg2 ;
btScalar arg3 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConeTwistConstraint **)&jarg1;
arg2 = (int)jarg2;
arg3 = (btScalar)jarg3;
(arg1)->setParam(arg2,arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraint_1setFrames(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jobject jarg3) {
btConeTwistConstraint *arg1 = (btConeTwistConstraint *) 0 ;
btTransform *arg2 = 0 ;
btTransform *arg3 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConeTwistConstraint **)&jarg1;
btTransform local_arg2;
gdx_setbtTransformFromMatrix4(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitMatrix4 auto_commit_arg2(jenv, jarg2, &local_arg2);
btTransform local_arg3;
gdx_setbtTransformFromMatrix4(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitMatrix4 auto_commit_arg3(jenv, jarg3, &local_arg3);
(arg1)->setFrames((btTransform const &)*arg2,(btTransform const &)*arg3);
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraint_1getFrameOffsetA(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btConeTwistConstraint *arg1 = (btConeTwistConstraint *) 0 ;
btTransform *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConeTwistConstraint **)&jarg1;
result = (btTransform *) &((btConeTwistConstraint const *)arg1)->getFrameOffsetA();
jresult = gdx_getReturnMatrix4(jenv);
gdx_setMatrix4FrombtTransform(jenv, jresult, result);
return jresult;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraint_1getFrameOffsetB(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btConeTwistConstraint *arg1 = (btConeTwistConstraint *) 0 ;
btTransform *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConeTwistConstraint **)&jarg1;
result = (btTransform *) &((btConeTwistConstraint const *)arg1)->getFrameOffsetB();
jresult = gdx_getReturnMatrix4(jenv);
gdx_setMatrix4FrombtTransform(jenv, jresult, result);
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraint_1getParam_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jint jarg3) {
jfloat jresult = 0 ;
btConeTwistConstraint *arg1 = (btConeTwistConstraint *) 0 ;
int arg2 ;
int arg3 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConeTwistConstraint **)&jarg1;
arg2 = (int)jarg2;
arg3 = (int)jarg3;
result = (btScalar)((btConeTwistConstraint const *)arg1)->getParam(arg2,arg3);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraint_1getParam_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jfloat jresult = 0 ;
btConeTwistConstraint *arg1 = (btConeTwistConstraint *) 0 ;
int arg2 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConeTwistConstraint **)&jarg1;
arg2 = (int)jarg2;
result = (btScalar)((btConeTwistConstraint const *)arg1)->getParam(arg2);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraint_1getFlags(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btConeTwistConstraint *arg1 = (btConeTwistConstraint *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConeTwistConstraint **)&jarg1;
result = (int)((btConeTwistConstraint const *)arg1)->getFlags();
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btConeTwistConstraint(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btConeTwistConstraint *arg1 = (btConeTwistConstraint *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btConeTwistConstraint **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraintDoubleData_1typeConstraintData_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btConeTwistConstraintDoubleData *arg1 = (btConeTwistConstraintDoubleData *) 0 ;
btTypedConstraintDoubleData *arg2 = (btTypedConstraintDoubleData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btConeTwistConstraintDoubleData **)&jarg1;
arg2 = *(btTypedConstraintDoubleData **)&jarg2;
if (arg1) (arg1)->m_typeConstraintData = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraintDoubleData_1typeConstraintData_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btConeTwistConstraintDoubleData *arg1 = (btConeTwistConstraintDoubleData *) 0 ;
btTypedConstraintDoubleData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConeTwistConstraintDoubleData **)&jarg1;
result = (btTypedConstraintDoubleData *)& ((arg1)->m_typeConstraintData);
*(btTypedConstraintDoubleData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraintDoubleData_1rbAFrame_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btConeTwistConstraintDoubleData *arg1 = (btConeTwistConstraintDoubleData *) 0 ;
btTransformDoubleData *arg2 = (btTransformDoubleData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btConeTwistConstraintDoubleData **)&jarg1;
arg2 = *(btTransformDoubleData **)&jarg2;
if (arg1) (arg1)->m_rbAFrame = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraintDoubleData_1rbAFrame_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btConeTwistConstraintDoubleData *arg1 = (btConeTwistConstraintDoubleData *) 0 ;
btTransformDoubleData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConeTwistConstraintDoubleData **)&jarg1;
result = (btTransformDoubleData *)& ((arg1)->m_rbAFrame);
*(btTransformDoubleData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraintDoubleData_1rbBFrame_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btConeTwistConstraintDoubleData *arg1 = (btConeTwistConstraintDoubleData *) 0 ;
btTransformDoubleData *arg2 = (btTransformDoubleData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btConeTwistConstraintDoubleData **)&jarg1;
arg2 = *(btTransformDoubleData **)&jarg2;
if (arg1) (arg1)->m_rbBFrame = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraintDoubleData_1rbBFrame_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btConeTwistConstraintDoubleData *arg1 = (btConeTwistConstraintDoubleData *) 0 ;
btTransformDoubleData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConeTwistConstraintDoubleData **)&jarg1;
result = (btTransformDoubleData *)& ((arg1)->m_rbBFrame);
*(btTransformDoubleData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraintDoubleData_1swingSpan1_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2) {
btConeTwistConstraintDoubleData *arg1 = (btConeTwistConstraintDoubleData *) 0 ;
double arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConeTwistConstraintDoubleData **)&jarg1;
arg2 = (double)jarg2;
if (arg1) (arg1)->m_swingSpan1 = arg2;
}
SWIGEXPORT jdouble JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraintDoubleData_1swingSpan1_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jdouble jresult = 0 ;
btConeTwistConstraintDoubleData *arg1 = (btConeTwistConstraintDoubleData *) 0 ;
double result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConeTwistConstraintDoubleData **)&jarg1;
result = (double) ((arg1)->m_swingSpan1);
jresult = (jdouble)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraintDoubleData_1swingSpan2_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2) {
btConeTwistConstraintDoubleData *arg1 = (btConeTwistConstraintDoubleData *) 0 ;
double arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConeTwistConstraintDoubleData **)&jarg1;
arg2 = (double)jarg2;
if (arg1) (arg1)->m_swingSpan2 = arg2;
}
SWIGEXPORT jdouble JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraintDoubleData_1swingSpan2_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jdouble jresult = 0 ;
btConeTwistConstraintDoubleData *arg1 = (btConeTwistConstraintDoubleData *) 0 ;
double result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConeTwistConstraintDoubleData **)&jarg1;
result = (double) ((arg1)->m_swingSpan2);
jresult = (jdouble)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraintDoubleData_1twistSpan_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2) {
btConeTwistConstraintDoubleData *arg1 = (btConeTwistConstraintDoubleData *) 0 ;
double arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConeTwistConstraintDoubleData **)&jarg1;
arg2 = (double)jarg2;
if (arg1) (arg1)->m_twistSpan = arg2;
}
SWIGEXPORT jdouble JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraintDoubleData_1twistSpan_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jdouble jresult = 0 ;
btConeTwistConstraintDoubleData *arg1 = (btConeTwistConstraintDoubleData *) 0 ;
double result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConeTwistConstraintDoubleData **)&jarg1;
result = (double) ((arg1)->m_twistSpan);
jresult = (jdouble)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraintDoubleData_1limitSoftness_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2) {
btConeTwistConstraintDoubleData *arg1 = (btConeTwistConstraintDoubleData *) 0 ;
double arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConeTwistConstraintDoubleData **)&jarg1;
arg2 = (double)jarg2;
if (arg1) (arg1)->m_limitSoftness = arg2;
}
SWIGEXPORT jdouble JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraintDoubleData_1limitSoftness_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jdouble jresult = 0 ;
btConeTwistConstraintDoubleData *arg1 = (btConeTwistConstraintDoubleData *) 0 ;
double result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConeTwistConstraintDoubleData **)&jarg1;
result = (double) ((arg1)->m_limitSoftness);
jresult = (jdouble)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraintDoubleData_1biasFactor_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2) {
btConeTwistConstraintDoubleData *arg1 = (btConeTwistConstraintDoubleData *) 0 ;
double arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConeTwistConstraintDoubleData **)&jarg1;
arg2 = (double)jarg2;
if (arg1) (arg1)->m_biasFactor = arg2;
}
SWIGEXPORT jdouble JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraintDoubleData_1biasFactor_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jdouble jresult = 0 ;
btConeTwistConstraintDoubleData *arg1 = (btConeTwistConstraintDoubleData *) 0 ;
double result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConeTwistConstraintDoubleData **)&jarg1;
result = (double) ((arg1)->m_biasFactor);
jresult = (jdouble)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraintDoubleData_1relaxationFactor_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2) {
btConeTwistConstraintDoubleData *arg1 = (btConeTwistConstraintDoubleData *) 0 ;
double arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConeTwistConstraintDoubleData **)&jarg1;
arg2 = (double)jarg2;
if (arg1) (arg1)->m_relaxationFactor = arg2;
}
SWIGEXPORT jdouble JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraintDoubleData_1relaxationFactor_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jdouble jresult = 0 ;
btConeTwistConstraintDoubleData *arg1 = (btConeTwistConstraintDoubleData *) 0 ;
double result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConeTwistConstraintDoubleData **)&jarg1;
result = (double) ((arg1)->m_relaxationFactor);
jresult = (jdouble)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraintDoubleData_1damping_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2) {
btConeTwistConstraintDoubleData *arg1 = (btConeTwistConstraintDoubleData *) 0 ;
double arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConeTwistConstraintDoubleData **)&jarg1;
arg2 = (double)jarg2;
if (arg1) (arg1)->m_damping = arg2;
}
SWIGEXPORT jdouble JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraintDoubleData_1damping_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jdouble jresult = 0 ;
btConeTwistConstraintDoubleData *arg1 = (btConeTwistConstraintDoubleData *) 0 ;
double result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConeTwistConstraintDoubleData **)&jarg1;
result = (double) ((arg1)->m_damping);
jresult = (jdouble)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btConeTwistConstraintDoubleData(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btConeTwistConstraintDoubleData *result = 0 ;
(void)jenv;
(void)jcls;
result = (btConeTwistConstraintDoubleData *)new btConeTwistConstraintDoubleData();
*(btConeTwistConstraintDoubleData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btConeTwistConstraintDoubleData(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btConeTwistConstraintDoubleData *arg1 = (btConeTwistConstraintDoubleData *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btConeTwistConstraintDoubleData **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraintData_1typeConstraintData_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btConeTwistConstraintData *arg1 = (btConeTwistConstraintData *) 0 ;
btTypedConstraintData *arg2 = (btTypedConstraintData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btConeTwistConstraintData **)&jarg1;
arg2 = *(btTypedConstraintData **)&jarg2;
if (arg1) (arg1)->m_typeConstraintData = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraintData_1typeConstraintData_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btConeTwistConstraintData *arg1 = (btConeTwistConstraintData *) 0 ;
btTypedConstraintData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConeTwistConstraintData **)&jarg1;
result = (btTypedConstraintData *)& ((arg1)->m_typeConstraintData);
*(btTypedConstraintData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraintData_1rbAFrame_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btConeTwistConstraintData *arg1 = (btConeTwistConstraintData *) 0 ;
btTransformFloatData *arg2 = (btTransformFloatData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btConeTwistConstraintData **)&jarg1;
arg2 = *(btTransformFloatData **)&jarg2;
if (arg1) (arg1)->m_rbAFrame = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraintData_1rbAFrame_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btConeTwistConstraintData *arg1 = (btConeTwistConstraintData *) 0 ;
btTransformFloatData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConeTwistConstraintData **)&jarg1;
result = (btTransformFloatData *)& ((arg1)->m_rbAFrame);
*(btTransformFloatData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraintData_1rbBFrame_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btConeTwistConstraintData *arg1 = (btConeTwistConstraintData *) 0 ;
btTransformFloatData *arg2 = (btTransformFloatData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btConeTwistConstraintData **)&jarg1;
arg2 = *(btTransformFloatData **)&jarg2;
if (arg1) (arg1)->m_rbBFrame = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraintData_1rbBFrame_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btConeTwistConstraintData *arg1 = (btConeTwistConstraintData *) 0 ;
btTransformFloatData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConeTwistConstraintData **)&jarg1;
result = (btTransformFloatData *)& ((arg1)->m_rbBFrame);
*(btTransformFloatData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraintData_1swingSpan1_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btConeTwistConstraintData *arg1 = (btConeTwistConstraintData *) 0 ;
float arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConeTwistConstraintData **)&jarg1;
arg2 = (float)jarg2;
if (arg1) (arg1)->m_swingSpan1 = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraintData_1swingSpan1_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btConeTwistConstraintData *arg1 = (btConeTwistConstraintData *) 0 ;
float result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConeTwistConstraintData **)&jarg1;
result = (float) ((arg1)->m_swingSpan1);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraintData_1swingSpan2_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btConeTwistConstraintData *arg1 = (btConeTwistConstraintData *) 0 ;
float arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConeTwistConstraintData **)&jarg1;
arg2 = (float)jarg2;
if (arg1) (arg1)->m_swingSpan2 = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraintData_1swingSpan2_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btConeTwistConstraintData *arg1 = (btConeTwistConstraintData *) 0 ;
float result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConeTwistConstraintData **)&jarg1;
result = (float) ((arg1)->m_swingSpan2);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraintData_1twistSpan_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btConeTwistConstraintData *arg1 = (btConeTwistConstraintData *) 0 ;
float arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConeTwistConstraintData **)&jarg1;
arg2 = (float)jarg2;
if (arg1) (arg1)->m_twistSpan = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraintData_1twistSpan_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btConeTwistConstraintData *arg1 = (btConeTwistConstraintData *) 0 ;
float result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConeTwistConstraintData **)&jarg1;
result = (float) ((arg1)->m_twistSpan);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraintData_1limitSoftness_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btConeTwistConstraintData *arg1 = (btConeTwistConstraintData *) 0 ;
float arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConeTwistConstraintData **)&jarg1;
arg2 = (float)jarg2;
if (arg1) (arg1)->m_limitSoftness = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraintData_1limitSoftness_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btConeTwistConstraintData *arg1 = (btConeTwistConstraintData *) 0 ;
float result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConeTwistConstraintData **)&jarg1;
result = (float) ((arg1)->m_limitSoftness);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraintData_1biasFactor_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btConeTwistConstraintData *arg1 = (btConeTwistConstraintData *) 0 ;
float arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConeTwistConstraintData **)&jarg1;
arg2 = (float)jarg2;
if (arg1) (arg1)->m_biasFactor = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraintData_1biasFactor_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btConeTwistConstraintData *arg1 = (btConeTwistConstraintData *) 0 ;
float result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConeTwistConstraintData **)&jarg1;
result = (float) ((arg1)->m_biasFactor);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraintData_1relaxationFactor_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btConeTwistConstraintData *arg1 = (btConeTwistConstraintData *) 0 ;
float arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConeTwistConstraintData **)&jarg1;
arg2 = (float)jarg2;
if (arg1) (arg1)->m_relaxationFactor = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraintData_1relaxationFactor_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btConeTwistConstraintData *arg1 = (btConeTwistConstraintData *) 0 ;
float result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConeTwistConstraintData **)&jarg1;
result = (float) ((arg1)->m_relaxationFactor);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraintData_1damping_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btConeTwistConstraintData *arg1 = (btConeTwistConstraintData *) 0 ;
float arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConeTwistConstraintData **)&jarg1;
arg2 = (float)jarg2;
if (arg1) (arg1)->m_damping = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraintData_1damping_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btConeTwistConstraintData *arg1 = (btConeTwistConstraintData *) 0 ;
float result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConeTwistConstraintData **)&jarg1;
result = (float) ((arg1)->m_damping);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraintData_1pad_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
btConeTwistConstraintData *arg1 = (btConeTwistConstraintData *) 0 ;
char *arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConeTwistConstraintData **)&jarg1;
arg2 = 0;
if (jarg2) {
arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
if (!arg2) return ;
}
{
if(arg2) {
strncpy((char*)arg1->m_pad, (const char *)arg2, 4-1);
arg1->m_pad[4-1] = 0;
} else {
arg1->m_pad[0] = 0;
}
}
if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
}
SWIGEXPORT jstring JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraintData_1pad_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jstring jresult = 0 ;
btConeTwistConstraintData *arg1 = (btConeTwistConstraintData *) 0 ;
char *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConeTwistConstraintData **)&jarg1;
result = (char *)(char *) ((arg1)->m_pad);
if (result) jresult = jenv->NewStringUTF((const char *)result);
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btConeTwistConstraintData(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btConeTwistConstraintData *result = 0 ;
(void)jenv;
(void)jcls;
result = (btConeTwistConstraintData *)new btConeTwistConstraintData();
*(btConeTwistConstraintData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btConeTwistConstraintData(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btConeTwistConstraintData *arg1 = (btConeTwistConstraintData *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btConeTwistConstraintData **)&jarg1;
delete arg1;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpringConstraint_1operatorNew_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btGeneric6DofSpringConstraint *arg1 = (btGeneric6DofSpringConstraint *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpringConstraint **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new(arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpringConstraint_1operatorDelete_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btGeneric6DofSpringConstraint *arg1 = (btGeneric6DofSpringConstraint *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpringConstraint **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete(arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpringConstraint_1operatorNew_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btGeneric6DofSpringConstraint *arg1 = (btGeneric6DofSpringConstraint *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpringConstraint **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new(arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpringConstraint_1operatorDelete_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btGeneric6DofSpringConstraint *arg1 = (btGeneric6DofSpringConstraint *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpringConstraint **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete(arg2,arg3);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpringConstraint_1operatorNewArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btGeneric6DofSpringConstraint *arg1 = (btGeneric6DofSpringConstraint *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpringConstraint **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new[](arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpringConstraint_1operatorDeleteArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btGeneric6DofSpringConstraint *arg1 = (btGeneric6DofSpringConstraint *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpringConstraint **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete[](arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpringConstraint_1operatorNewArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btGeneric6DofSpringConstraint *arg1 = (btGeneric6DofSpringConstraint *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpringConstraint **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new[](arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpringConstraint_1operatorDeleteArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btGeneric6DofSpringConstraint *arg1 = (btGeneric6DofSpringConstraint *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpringConstraint **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete[](arg2,arg3);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btGeneric6DofSpringConstraint_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jobject jarg3, jobject jarg4, jboolean jarg5) {
jlong jresult = 0 ;
btRigidBody *arg1 = 0 ;
btRigidBody *arg2 = 0 ;
btTransform *arg3 = 0 ;
btTransform *arg4 = 0 ;
bool arg5 ;
btGeneric6DofSpringConstraint *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btRigidBody **)&jarg1;
if (!arg1) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btRigidBody & reference is null");
return 0;
}
arg2 = *(btRigidBody **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btRigidBody & reference is null");
return 0;
}
btTransform local_arg3;
gdx_setbtTransformFromMatrix4(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitMatrix4 auto_commit_arg3(jenv, jarg3, &local_arg3);
btTransform local_arg4;
gdx_setbtTransformFromMatrix4(jenv, local_arg4, jarg4);
arg4 = &local_arg4;
gdxAutoCommitMatrix4 auto_commit_arg4(jenv, jarg4, &local_arg4);
arg5 = jarg5 ? true : false;
result = (btGeneric6DofSpringConstraint *)new btGeneric6DofSpringConstraint(*arg1,*arg2,(btTransform const &)*arg3,(btTransform const &)*arg4,arg5);
*(btGeneric6DofSpringConstraint **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btGeneric6DofSpringConstraint_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jboolean jarg3) {
jlong jresult = 0 ;
btRigidBody *arg1 = 0 ;
btTransform *arg2 = 0 ;
bool arg3 ;
btGeneric6DofSpringConstraint *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody **)&jarg1;
if (!arg1) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btRigidBody & reference is null");
return 0;
}
btTransform local_arg2;
gdx_setbtTransformFromMatrix4(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitMatrix4 auto_commit_arg2(jenv, jarg2, &local_arg2);
arg3 = jarg3 ? true : false;
result = (btGeneric6DofSpringConstraint *)new btGeneric6DofSpringConstraint(*arg1,(btTransform const &)*arg2,arg3);
*(btGeneric6DofSpringConstraint **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpringConstraint_1enableSpring(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jboolean jarg3) {
btGeneric6DofSpringConstraint *arg1 = (btGeneric6DofSpringConstraint *) 0 ;
int arg2 ;
bool arg3 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpringConstraint **)&jarg1;
arg2 = (int)jarg2;
arg3 = jarg3 ? true : false;
(arg1)->enableSpring(arg2,arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpringConstraint_1setStiffness(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jfloat jarg3) {
btGeneric6DofSpringConstraint *arg1 = (btGeneric6DofSpringConstraint *) 0 ;
int arg2 ;
btScalar arg3 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpringConstraint **)&jarg1;
arg2 = (int)jarg2;
arg3 = (btScalar)jarg3;
(arg1)->setStiffness(arg2,arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpringConstraint_1setDamping(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jfloat jarg3) {
btGeneric6DofSpringConstraint *arg1 = (btGeneric6DofSpringConstraint *) 0 ;
int arg2 ;
btScalar arg3 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpringConstraint **)&jarg1;
arg2 = (int)jarg2;
arg3 = (btScalar)jarg3;
(arg1)->setDamping(arg2,arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpringConstraint_1setEquilibriumPoint_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
btGeneric6DofSpringConstraint *arg1 = (btGeneric6DofSpringConstraint *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpringConstraint **)&jarg1;
(arg1)->setEquilibriumPoint();
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpringConstraint_1setEquilibriumPoint_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btGeneric6DofSpringConstraint *arg1 = (btGeneric6DofSpringConstraint *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpringConstraint **)&jarg1;
arg2 = (int)jarg2;
(arg1)->setEquilibriumPoint(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpringConstraint_1setEquilibriumPoint_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jfloat jarg3) {
btGeneric6DofSpringConstraint *arg1 = (btGeneric6DofSpringConstraint *) 0 ;
int arg2 ;
btScalar arg3 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpringConstraint **)&jarg1;
arg2 = (int)jarg2;
arg3 = (btScalar)jarg3;
(arg1)->setEquilibriumPoint(arg2,arg3);
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpringConstraint_1isSpringEnabled(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jboolean jresult = 0 ;
btGeneric6DofSpringConstraint *arg1 = (btGeneric6DofSpringConstraint *) 0 ;
int arg2 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpringConstraint **)&jarg1;
arg2 = (int)jarg2;
result = (bool)((btGeneric6DofSpringConstraint const *)arg1)->isSpringEnabled(arg2);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpringConstraint_1getStiffness(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jfloat jresult = 0 ;
btGeneric6DofSpringConstraint *arg1 = (btGeneric6DofSpringConstraint *) 0 ;
int arg2 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpringConstraint **)&jarg1;
arg2 = (int)jarg2;
result = (btScalar)((btGeneric6DofSpringConstraint const *)arg1)->getStiffness(arg2);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpringConstraint_1getDamping(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jfloat jresult = 0 ;
btGeneric6DofSpringConstraint *arg1 = (btGeneric6DofSpringConstraint *) 0 ;
int arg2 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpringConstraint **)&jarg1;
arg2 = (int)jarg2;
result = (btScalar)((btGeneric6DofSpringConstraint const *)arg1)->getDamping(arg2);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpringConstraint_1getEquilibriumPoint(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jfloat jresult = 0 ;
btGeneric6DofSpringConstraint *arg1 = (btGeneric6DofSpringConstraint *) 0 ;
int arg2 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpringConstraint **)&jarg1;
arg2 = (int)jarg2;
result = (btScalar)((btGeneric6DofSpringConstraint const *)arg1)->getEquilibriumPoint(arg2);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpringConstraint_1setAxis(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jobject jarg3) {
btGeneric6DofSpringConstraint *arg1 = (btGeneric6DofSpringConstraint *) 0 ;
btVector3 *arg2 = 0 ;
btVector3 *arg3 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpringConstraint **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
(arg1)->setAxis((btVector3 const &)*arg2,(btVector3 const &)*arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btGeneric6DofSpringConstraint(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btGeneric6DofSpringConstraint *arg1 = (btGeneric6DofSpringConstraint *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btGeneric6DofSpringConstraint **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpringConstraintData_16dofData_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btGeneric6DofSpringConstraintData *arg1 = (btGeneric6DofSpringConstraintData *) 0 ;
btGeneric6DofConstraintData *arg2 = (btGeneric6DofConstraintData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btGeneric6DofSpringConstraintData **)&jarg1;
arg2 = *(btGeneric6DofConstraintData **)&jarg2;
if (arg1) (arg1)->m_6dofData = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpringConstraintData_16dofData_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btGeneric6DofSpringConstraintData *arg1 = (btGeneric6DofSpringConstraintData *) 0 ;
btGeneric6DofConstraintData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpringConstraintData **)&jarg1;
result = (btGeneric6DofConstraintData *)& ((arg1)->m_6dofData);
*(btGeneric6DofConstraintData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpringConstraintData_1springEnabled_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jintArray jarg2) {
btGeneric6DofSpringConstraintData *arg1 = (btGeneric6DofSpringConstraintData *) 0 ;
int *arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpringConstraintData **)&jarg1;
if (jarg2 && jenv->GetArrayLength(jarg2) != 6) {
SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, "incorrect array size");
return ;
}
arg2 = (int *)jenv->GetPrimitiveArrayCritical(jarg2, 0);
{
size_t ii;
int *b = (int *) arg1->m_springEnabled;
for (ii = 0; ii < (size_t)6; ii++) b[ii] = *((int *) arg2 + ii);
}
jenv->ReleasePrimitiveArrayCritical(jarg2, (int *)arg2, 0);
}
SWIGEXPORT jintArray JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpringConstraintData_1springEnabled_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jintArray jresult = 0 ;
btGeneric6DofSpringConstraintData *arg1 = (btGeneric6DofSpringConstraintData *) 0 ;
int *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpringConstraintData **)&jarg1;
result = (int *)(int *) ((arg1)->m_springEnabled);
/*jresult = SWIG_JavaArrayOut##Int(jenv, (int *)result, 6);*/
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpringConstraintData_1equilibriumPoint_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloatArray jarg2) {
btGeneric6DofSpringConstraintData *arg1 = (btGeneric6DofSpringConstraintData *) 0 ;
float *arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpringConstraintData **)&jarg1;
if (jarg2 && jenv->GetArrayLength(jarg2) != 6) {
SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, "incorrect array size");
return ;
}
arg2 = (float *)jenv->GetPrimitiveArrayCritical(jarg2, 0);
{
size_t ii;
float *b = (float *) arg1->m_equilibriumPoint;
for (ii = 0; ii < (size_t)6; ii++) b[ii] = *((float *) arg2 + ii);
}
jenv->ReleasePrimitiveArrayCritical(jarg2, (float *)arg2, 0);
}
SWIGEXPORT jfloatArray JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpringConstraintData_1equilibriumPoint_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloatArray jresult = 0 ;
btGeneric6DofSpringConstraintData *arg1 = (btGeneric6DofSpringConstraintData *) 0 ;
float *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpringConstraintData **)&jarg1;
result = (float *)(float *) ((arg1)->m_equilibriumPoint);
/*jresult = SWIG_JavaArrayOut##Float(jenv, (float *)result, 6);*/
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpringConstraintData_1springStiffness_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloatArray jarg2) {
btGeneric6DofSpringConstraintData *arg1 = (btGeneric6DofSpringConstraintData *) 0 ;
float *arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpringConstraintData **)&jarg1;
if (jarg2 && jenv->GetArrayLength(jarg2) != 6) {
SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, "incorrect array size");
return ;
}
arg2 = (float *)jenv->GetPrimitiveArrayCritical(jarg2, 0);
{
size_t ii;
float *b = (float *) arg1->m_springStiffness;
for (ii = 0; ii < (size_t)6; ii++) b[ii] = *((float *) arg2 + ii);
}
jenv->ReleasePrimitiveArrayCritical(jarg2, (float *)arg2, 0);
}
SWIGEXPORT jfloatArray JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpringConstraintData_1springStiffness_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloatArray jresult = 0 ;
btGeneric6DofSpringConstraintData *arg1 = (btGeneric6DofSpringConstraintData *) 0 ;
float *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpringConstraintData **)&jarg1;
result = (float *)(float *) ((arg1)->m_springStiffness);
/*jresult = SWIG_JavaArrayOut##Float(jenv, (float *)result, 6);*/
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpringConstraintData_1springDamping_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloatArray jarg2) {
btGeneric6DofSpringConstraintData *arg1 = (btGeneric6DofSpringConstraintData *) 0 ;
float *arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpringConstraintData **)&jarg1;
if (jarg2 && jenv->GetArrayLength(jarg2) != 6) {
SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, "incorrect array size");
return ;
}
arg2 = (float *)jenv->GetPrimitiveArrayCritical(jarg2, 0);
{
size_t ii;
float *b = (float *) arg1->m_springDamping;
for (ii = 0; ii < (size_t)6; ii++) b[ii] = *((float *) arg2 + ii);
}
jenv->ReleasePrimitiveArrayCritical(jarg2, (float *)arg2, 0);
}
SWIGEXPORT jfloatArray JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpringConstraintData_1springDamping_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloatArray jresult = 0 ;
btGeneric6DofSpringConstraintData *arg1 = (btGeneric6DofSpringConstraintData *) 0 ;
float *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpringConstraintData **)&jarg1;
result = (float *)(float *) ((arg1)->m_springDamping);
/*jresult = SWIG_JavaArrayOut##Float(jenv, (float *)result, 6);*/
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btGeneric6DofSpringConstraintData(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btGeneric6DofSpringConstraintData *result = 0 ;
(void)jenv;
(void)jcls;
result = (btGeneric6DofSpringConstraintData *)new btGeneric6DofSpringConstraintData();
*(btGeneric6DofSpringConstraintData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btGeneric6DofSpringConstraintData(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btGeneric6DofSpringConstraintData *arg1 = (btGeneric6DofSpringConstraintData *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btGeneric6DofSpringConstraintData **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpringConstraintDoubleData2_16dofData_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btGeneric6DofSpringConstraintDoubleData2 *arg1 = (btGeneric6DofSpringConstraintDoubleData2 *) 0 ;
btGeneric6DofConstraintDoubleData2 *arg2 = (btGeneric6DofConstraintDoubleData2 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btGeneric6DofSpringConstraintDoubleData2 **)&jarg1;
arg2 = *(btGeneric6DofConstraintDoubleData2 **)&jarg2;
if (arg1) (arg1)->m_6dofData = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpringConstraintDoubleData2_16dofData_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btGeneric6DofSpringConstraintDoubleData2 *arg1 = (btGeneric6DofSpringConstraintDoubleData2 *) 0 ;
btGeneric6DofConstraintDoubleData2 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpringConstraintDoubleData2 **)&jarg1;
result = (btGeneric6DofConstraintDoubleData2 *)& ((arg1)->m_6dofData);
*(btGeneric6DofConstraintDoubleData2 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpringConstraintDoubleData2_1springEnabled_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jintArray jarg2) {
btGeneric6DofSpringConstraintDoubleData2 *arg1 = (btGeneric6DofSpringConstraintDoubleData2 *) 0 ;
int *arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpringConstraintDoubleData2 **)&jarg1;
if (jarg2 && jenv->GetArrayLength(jarg2) != 6) {
SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, "incorrect array size");
return ;
}
arg2 = (int *)jenv->GetPrimitiveArrayCritical(jarg2, 0);
{
size_t ii;
int *b = (int *) arg1->m_springEnabled;
for (ii = 0; ii < (size_t)6; ii++) b[ii] = *((int *) arg2 + ii);
}
jenv->ReleasePrimitiveArrayCritical(jarg2, (int *)arg2, 0);
}
SWIGEXPORT jintArray JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpringConstraintDoubleData2_1springEnabled_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jintArray jresult = 0 ;
btGeneric6DofSpringConstraintDoubleData2 *arg1 = (btGeneric6DofSpringConstraintDoubleData2 *) 0 ;
int *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpringConstraintDoubleData2 **)&jarg1;
result = (int *)(int *) ((arg1)->m_springEnabled);
/*jresult = SWIG_JavaArrayOut##Int(jenv, (int *)result, 6);*/
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpringConstraintDoubleData2_1equilibriumPoint_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdoubleArray jarg2) {
btGeneric6DofSpringConstraintDoubleData2 *arg1 = (btGeneric6DofSpringConstraintDoubleData2 *) 0 ;
double *arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpringConstraintDoubleData2 **)&jarg1;
if (jarg2 && jenv->GetArrayLength(jarg2) != 6) {
SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, "incorrect array size");
return ;
}
arg2 = (double *)jenv->GetPrimitiveArrayCritical(jarg2, 0);
{
size_t ii;
double *b = (double *) arg1->m_equilibriumPoint;
for (ii = 0; ii < (size_t)6; ii++) b[ii] = *((double *) arg2 + ii);
}
jenv->ReleasePrimitiveArrayCritical(jarg2, (double *)arg2, 0);
}
SWIGEXPORT jdoubleArray JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpringConstraintDoubleData2_1equilibriumPoint_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jdoubleArray jresult = 0 ;
btGeneric6DofSpringConstraintDoubleData2 *arg1 = (btGeneric6DofSpringConstraintDoubleData2 *) 0 ;
double *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpringConstraintDoubleData2 **)&jarg1;
result = (double *)(double *) ((arg1)->m_equilibriumPoint);
/*jresult = SWIG_JavaArrayOut##Double(jenv, (double *)result, 6);*/
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpringConstraintDoubleData2_1springStiffness_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdoubleArray jarg2) {
btGeneric6DofSpringConstraintDoubleData2 *arg1 = (btGeneric6DofSpringConstraintDoubleData2 *) 0 ;
double *arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpringConstraintDoubleData2 **)&jarg1;
if (jarg2 && jenv->GetArrayLength(jarg2) != 6) {
SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, "incorrect array size");
return ;
}
arg2 = (double *)jenv->GetPrimitiveArrayCritical(jarg2, 0);
{
size_t ii;
double *b = (double *) arg1->m_springStiffness;
for (ii = 0; ii < (size_t)6; ii++) b[ii] = *((double *) arg2 + ii);
}
jenv->ReleasePrimitiveArrayCritical(jarg2, (double *)arg2, 0);
}
SWIGEXPORT jdoubleArray JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpringConstraintDoubleData2_1springStiffness_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jdoubleArray jresult = 0 ;
btGeneric6DofSpringConstraintDoubleData2 *arg1 = (btGeneric6DofSpringConstraintDoubleData2 *) 0 ;
double *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpringConstraintDoubleData2 **)&jarg1;
result = (double *)(double *) ((arg1)->m_springStiffness);
/*jresult = SWIG_JavaArrayOut##Double(jenv, (double *)result, 6);*/
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpringConstraintDoubleData2_1springDamping_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdoubleArray jarg2) {
btGeneric6DofSpringConstraintDoubleData2 *arg1 = (btGeneric6DofSpringConstraintDoubleData2 *) 0 ;
double *arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpringConstraintDoubleData2 **)&jarg1;
if (jarg2 && jenv->GetArrayLength(jarg2) != 6) {
SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, "incorrect array size");
return ;
}
arg2 = (double *)jenv->GetPrimitiveArrayCritical(jarg2, 0);
{
size_t ii;
double *b = (double *) arg1->m_springDamping;
for (ii = 0; ii < (size_t)6; ii++) b[ii] = *((double *) arg2 + ii);
}
jenv->ReleasePrimitiveArrayCritical(jarg2, (double *)arg2, 0);
}
SWIGEXPORT jdoubleArray JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpringConstraintDoubleData2_1springDamping_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jdoubleArray jresult = 0 ;
btGeneric6DofSpringConstraintDoubleData2 *arg1 = (btGeneric6DofSpringConstraintDoubleData2 *) 0 ;
double *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpringConstraintDoubleData2 **)&jarg1;
result = (double *)(double *) ((arg1)->m_springDamping);
/*jresult = SWIG_JavaArrayOut##Double(jenv, (double *)result, 6);*/
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btGeneric6DofSpringConstraintDoubleData2(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btGeneric6DofSpringConstraintDoubleData2 *result = 0 ;
(void)jenv;
(void)jcls;
result = (btGeneric6DofSpringConstraintDoubleData2 *)new btGeneric6DofSpringConstraintDoubleData2();
*(btGeneric6DofSpringConstraintDoubleData2 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btGeneric6DofSpringConstraintDoubleData2(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btGeneric6DofSpringConstraintDoubleData2 *arg1 = (btGeneric6DofSpringConstraintDoubleData2 *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btGeneric6DofSpringConstraintDoubleData2 **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor2_1loLimit_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btRotationalLimitMotor2 *arg1 = (btRotationalLimitMotor2 *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRotationalLimitMotor2 **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_loLimit = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor2_1loLimit_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btRotationalLimitMotor2 *arg1 = (btRotationalLimitMotor2 *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRotationalLimitMotor2 **)&jarg1;
result = (btScalar) ((arg1)->m_loLimit);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor2_1hiLimit_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btRotationalLimitMotor2 *arg1 = (btRotationalLimitMotor2 *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRotationalLimitMotor2 **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_hiLimit = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor2_1hiLimit_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btRotationalLimitMotor2 *arg1 = (btRotationalLimitMotor2 *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRotationalLimitMotor2 **)&jarg1;
result = (btScalar) ((arg1)->m_hiLimit);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor2_1bounce_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btRotationalLimitMotor2 *arg1 = (btRotationalLimitMotor2 *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRotationalLimitMotor2 **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_bounce = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor2_1bounce_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btRotationalLimitMotor2 *arg1 = (btRotationalLimitMotor2 *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRotationalLimitMotor2 **)&jarg1;
result = (btScalar) ((arg1)->m_bounce);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor2_1stopERP_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btRotationalLimitMotor2 *arg1 = (btRotationalLimitMotor2 *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRotationalLimitMotor2 **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_stopERP = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor2_1stopERP_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btRotationalLimitMotor2 *arg1 = (btRotationalLimitMotor2 *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRotationalLimitMotor2 **)&jarg1;
result = (btScalar) ((arg1)->m_stopERP);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor2_1stopCFM_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btRotationalLimitMotor2 *arg1 = (btRotationalLimitMotor2 *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRotationalLimitMotor2 **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_stopCFM = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor2_1stopCFM_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btRotationalLimitMotor2 *arg1 = (btRotationalLimitMotor2 *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRotationalLimitMotor2 **)&jarg1;
result = (btScalar) ((arg1)->m_stopCFM);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor2_1motorERP_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btRotationalLimitMotor2 *arg1 = (btRotationalLimitMotor2 *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRotationalLimitMotor2 **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_motorERP = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor2_1motorERP_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btRotationalLimitMotor2 *arg1 = (btRotationalLimitMotor2 *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRotationalLimitMotor2 **)&jarg1;
result = (btScalar) ((arg1)->m_motorERP);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor2_1motorCFM_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btRotationalLimitMotor2 *arg1 = (btRotationalLimitMotor2 *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRotationalLimitMotor2 **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_motorCFM = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor2_1motorCFM_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btRotationalLimitMotor2 *arg1 = (btRotationalLimitMotor2 *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRotationalLimitMotor2 **)&jarg1;
result = (btScalar) ((arg1)->m_motorCFM);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor2_1enableMotor_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jboolean jarg2) {
btRotationalLimitMotor2 *arg1 = (btRotationalLimitMotor2 *) 0 ;
bool arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRotationalLimitMotor2 **)&jarg1;
arg2 = jarg2 ? true : false;
if (arg1) (arg1)->m_enableMotor = arg2;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor2_1enableMotor_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jboolean jresult = 0 ;
btRotationalLimitMotor2 *arg1 = (btRotationalLimitMotor2 *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRotationalLimitMotor2 **)&jarg1;
result = (bool) ((arg1)->m_enableMotor);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor2_1targetVelocity_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btRotationalLimitMotor2 *arg1 = (btRotationalLimitMotor2 *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRotationalLimitMotor2 **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_targetVelocity = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor2_1targetVelocity_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btRotationalLimitMotor2 *arg1 = (btRotationalLimitMotor2 *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRotationalLimitMotor2 **)&jarg1;
result = (btScalar) ((arg1)->m_targetVelocity);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor2_1maxMotorForce_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btRotationalLimitMotor2 *arg1 = (btRotationalLimitMotor2 *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRotationalLimitMotor2 **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_maxMotorForce = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor2_1maxMotorForce_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btRotationalLimitMotor2 *arg1 = (btRotationalLimitMotor2 *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRotationalLimitMotor2 **)&jarg1;
result = (btScalar) ((arg1)->m_maxMotorForce);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor2_1servoMotor_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jboolean jarg2) {
btRotationalLimitMotor2 *arg1 = (btRotationalLimitMotor2 *) 0 ;
bool arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRotationalLimitMotor2 **)&jarg1;
arg2 = jarg2 ? true : false;
if (arg1) (arg1)->m_servoMotor = arg2;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor2_1servoMotor_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jboolean jresult = 0 ;
btRotationalLimitMotor2 *arg1 = (btRotationalLimitMotor2 *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRotationalLimitMotor2 **)&jarg1;
result = (bool) ((arg1)->m_servoMotor);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor2_1servoTarget_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btRotationalLimitMotor2 *arg1 = (btRotationalLimitMotor2 *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRotationalLimitMotor2 **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_servoTarget = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor2_1servoTarget_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btRotationalLimitMotor2 *arg1 = (btRotationalLimitMotor2 *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRotationalLimitMotor2 **)&jarg1;
result = (btScalar) ((arg1)->m_servoTarget);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor2_1enableSpring_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jboolean jarg2) {
btRotationalLimitMotor2 *arg1 = (btRotationalLimitMotor2 *) 0 ;
bool arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRotationalLimitMotor2 **)&jarg1;
arg2 = jarg2 ? true : false;
if (arg1) (arg1)->m_enableSpring = arg2;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor2_1enableSpring_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jboolean jresult = 0 ;
btRotationalLimitMotor2 *arg1 = (btRotationalLimitMotor2 *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRotationalLimitMotor2 **)&jarg1;
result = (bool) ((arg1)->m_enableSpring);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor2_1springStiffness_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btRotationalLimitMotor2 *arg1 = (btRotationalLimitMotor2 *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRotationalLimitMotor2 **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_springStiffness = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor2_1springStiffness_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btRotationalLimitMotor2 *arg1 = (btRotationalLimitMotor2 *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRotationalLimitMotor2 **)&jarg1;
result = (btScalar) ((arg1)->m_springStiffness);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor2_1springStiffnessLimited_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jboolean jarg2) {
btRotationalLimitMotor2 *arg1 = (btRotationalLimitMotor2 *) 0 ;
bool arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRotationalLimitMotor2 **)&jarg1;
arg2 = jarg2 ? true : false;
if (arg1) (arg1)->m_springStiffnessLimited = arg2;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor2_1springStiffnessLimited_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jboolean jresult = 0 ;
btRotationalLimitMotor2 *arg1 = (btRotationalLimitMotor2 *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRotationalLimitMotor2 **)&jarg1;
result = (bool) ((arg1)->m_springStiffnessLimited);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor2_1springDamping_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btRotationalLimitMotor2 *arg1 = (btRotationalLimitMotor2 *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRotationalLimitMotor2 **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_springDamping = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor2_1springDamping_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btRotationalLimitMotor2 *arg1 = (btRotationalLimitMotor2 *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRotationalLimitMotor2 **)&jarg1;
result = (btScalar) ((arg1)->m_springDamping);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor2_1springDampingLimited_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jboolean jarg2) {
btRotationalLimitMotor2 *arg1 = (btRotationalLimitMotor2 *) 0 ;
bool arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRotationalLimitMotor2 **)&jarg1;
arg2 = jarg2 ? true : false;
if (arg1) (arg1)->m_springDampingLimited = arg2;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor2_1springDampingLimited_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jboolean jresult = 0 ;
btRotationalLimitMotor2 *arg1 = (btRotationalLimitMotor2 *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRotationalLimitMotor2 **)&jarg1;
result = (bool) ((arg1)->m_springDampingLimited);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor2_1equilibriumPoint_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btRotationalLimitMotor2 *arg1 = (btRotationalLimitMotor2 *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRotationalLimitMotor2 **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_equilibriumPoint = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor2_1equilibriumPoint_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btRotationalLimitMotor2 *arg1 = (btRotationalLimitMotor2 *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRotationalLimitMotor2 **)&jarg1;
result = (btScalar) ((arg1)->m_equilibriumPoint);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor2_1currentLimitError_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btRotationalLimitMotor2 *arg1 = (btRotationalLimitMotor2 *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRotationalLimitMotor2 **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_currentLimitError = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor2_1currentLimitError_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btRotationalLimitMotor2 *arg1 = (btRotationalLimitMotor2 *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRotationalLimitMotor2 **)&jarg1;
result = (btScalar) ((arg1)->m_currentLimitError);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor2_1currentLimitErrorHi_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btRotationalLimitMotor2 *arg1 = (btRotationalLimitMotor2 *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRotationalLimitMotor2 **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_currentLimitErrorHi = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor2_1currentLimitErrorHi_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btRotationalLimitMotor2 *arg1 = (btRotationalLimitMotor2 *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRotationalLimitMotor2 **)&jarg1;
result = (btScalar) ((arg1)->m_currentLimitErrorHi);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor2_1currentPosition_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btRotationalLimitMotor2 *arg1 = (btRotationalLimitMotor2 *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRotationalLimitMotor2 **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_currentPosition = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor2_1currentPosition_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btRotationalLimitMotor2 *arg1 = (btRotationalLimitMotor2 *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRotationalLimitMotor2 **)&jarg1;
result = (btScalar) ((arg1)->m_currentPosition);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor2_1currentLimit_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btRotationalLimitMotor2 *arg1 = (btRotationalLimitMotor2 *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRotationalLimitMotor2 **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_currentLimit = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor2_1currentLimit_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btRotationalLimitMotor2 *arg1 = (btRotationalLimitMotor2 *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRotationalLimitMotor2 **)&jarg1;
result = (int) ((arg1)->m_currentLimit);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btRotationalLimitMotor2_1_1SWIG_10(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btRotationalLimitMotor2 *result = 0 ;
(void)jenv;
(void)jcls;
result = (btRotationalLimitMotor2 *)new btRotationalLimitMotor2();
*(btRotationalLimitMotor2 **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btRotationalLimitMotor2_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btRotationalLimitMotor2 *arg1 = 0 ;
btRotationalLimitMotor2 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRotationalLimitMotor2 **)&jarg1;
if (!arg1) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btRotationalLimitMotor2 const & reference is null");
return 0;
}
result = (btRotationalLimitMotor2 *)new btRotationalLimitMotor2((btRotationalLimitMotor2 const &)*arg1);
*(btRotationalLimitMotor2 **)&jresult = result;
return jresult;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor2_1isLimited(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jboolean jresult = 0 ;
btRotationalLimitMotor2 *arg1 = (btRotationalLimitMotor2 *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRotationalLimitMotor2 **)&jarg1;
result = (bool)(arg1)->isLimited();
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor2_1testLimitValue(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btRotationalLimitMotor2 *arg1 = (btRotationalLimitMotor2 *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRotationalLimitMotor2 **)&jarg1;
arg2 = (btScalar)jarg2;
(arg1)->testLimitValue(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btRotationalLimitMotor2(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btRotationalLimitMotor2 *arg1 = (btRotationalLimitMotor2 *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btRotationalLimitMotor2 **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor2_1lowerLimit_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btTranslationalLimitMotor2 *arg1 = (btTranslationalLimitMotor2 *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btTranslationalLimitMotor2 **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->m_lowerLimit = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor2_1lowerLimit_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btTranslationalLimitMotor2 *arg1 = (btTranslationalLimitMotor2 *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTranslationalLimitMotor2 **)&jarg1;
result = (btVector3 *)& ((arg1)->m_lowerLimit);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor2_1upperLimit_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btTranslationalLimitMotor2 *arg1 = (btTranslationalLimitMotor2 *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btTranslationalLimitMotor2 **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->m_upperLimit = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor2_1upperLimit_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btTranslationalLimitMotor2 *arg1 = (btTranslationalLimitMotor2 *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTranslationalLimitMotor2 **)&jarg1;
result = (btVector3 *)& ((arg1)->m_upperLimit);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor2_1bounce_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btTranslationalLimitMotor2 *arg1 = (btTranslationalLimitMotor2 *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btTranslationalLimitMotor2 **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->m_bounce = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor2_1bounce_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btTranslationalLimitMotor2 *arg1 = (btTranslationalLimitMotor2 *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTranslationalLimitMotor2 **)&jarg1;
result = (btVector3 *)& ((arg1)->m_bounce);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor2_1stopERP_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btTranslationalLimitMotor2 *arg1 = (btTranslationalLimitMotor2 *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btTranslationalLimitMotor2 **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->m_stopERP = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor2_1stopERP_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btTranslationalLimitMotor2 *arg1 = (btTranslationalLimitMotor2 *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTranslationalLimitMotor2 **)&jarg1;
result = (btVector3 *)& ((arg1)->m_stopERP);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor2_1stopCFM_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btTranslationalLimitMotor2 *arg1 = (btTranslationalLimitMotor2 *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btTranslationalLimitMotor2 **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->m_stopCFM = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor2_1stopCFM_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btTranslationalLimitMotor2 *arg1 = (btTranslationalLimitMotor2 *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTranslationalLimitMotor2 **)&jarg1;
result = (btVector3 *)& ((arg1)->m_stopCFM);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor2_1motorERP_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btTranslationalLimitMotor2 *arg1 = (btTranslationalLimitMotor2 *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btTranslationalLimitMotor2 **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->m_motorERP = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor2_1motorERP_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btTranslationalLimitMotor2 *arg1 = (btTranslationalLimitMotor2 *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTranslationalLimitMotor2 **)&jarg1;
result = (btVector3 *)& ((arg1)->m_motorERP);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor2_1motorCFM_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btTranslationalLimitMotor2 *arg1 = (btTranslationalLimitMotor2 *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btTranslationalLimitMotor2 **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->m_motorCFM = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor2_1motorCFM_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btTranslationalLimitMotor2 *arg1 = (btTranslationalLimitMotor2 *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTranslationalLimitMotor2 **)&jarg1;
result = (btVector3 *)& ((arg1)->m_motorCFM);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor2_1enableMotor_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jbooleanArray jarg2) {
btTranslationalLimitMotor2 *arg1 = (btTranslationalLimitMotor2 *) 0 ;
bool *arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTranslationalLimitMotor2 **)&jarg1;
if (jarg2 && jenv->GetArrayLength(jarg2) != 3) {
SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, "incorrect array size");
return ;
}
arg2 = (bool *)jenv->GetPrimitiveArrayCritical(jarg2, 0);
{
size_t ii;
bool *b = (bool *) arg1->m_enableMotor;
for (ii = 0; ii < (size_t)3; ii++) b[ii] = *((bool *) arg2 + ii);
}
jenv->ReleasePrimitiveArrayCritical(jarg2, (bool *)arg2, 0);
}
SWIGEXPORT jbooleanArray JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor2_1enableMotor_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jbooleanArray jresult = 0 ;
btTranslationalLimitMotor2 *arg1 = (btTranslationalLimitMotor2 *) 0 ;
bool *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTranslationalLimitMotor2 **)&jarg1;
result = (bool *)(bool *) ((arg1)->m_enableMotor);
/*jresult = SWIG_JavaArrayOut##Bool(jenv, (bool *)result, 3);*/
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor2_1servoMotor_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jbooleanArray jarg2) {
btTranslationalLimitMotor2 *arg1 = (btTranslationalLimitMotor2 *) 0 ;
bool *arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTranslationalLimitMotor2 **)&jarg1;
if (jarg2 && jenv->GetArrayLength(jarg2) != 3) {
SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, "incorrect array size");
return ;
}
arg2 = (bool *)jenv->GetPrimitiveArrayCritical(jarg2, 0);
{
size_t ii;
bool *b = (bool *) arg1->m_servoMotor;
for (ii = 0; ii < (size_t)3; ii++) b[ii] = *((bool *) arg2 + ii);
}
jenv->ReleasePrimitiveArrayCritical(jarg2, (bool *)arg2, 0);
}
SWIGEXPORT jbooleanArray JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor2_1servoMotor_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jbooleanArray jresult = 0 ;
btTranslationalLimitMotor2 *arg1 = (btTranslationalLimitMotor2 *) 0 ;
bool *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTranslationalLimitMotor2 **)&jarg1;
result = (bool *)(bool *) ((arg1)->m_servoMotor);
/*jresult = SWIG_JavaArrayOut##Bool(jenv, (bool *)result, 3);*/
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor2_1enableSpring_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jbooleanArray jarg2) {
btTranslationalLimitMotor2 *arg1 = (btTranslationalLimitMotor2 *) 0 ;
bool *arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTranslationalLimitMotor2 **)&jarg1;
if (jarg2 && jenv->GetArrayLength(jarg2) != 3) {
SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, "incorrect array size");
return ;
}
arg2 = (bool *)jenv->GetPrimitiveArrayCritical(jarg2, 0);
{
size_t ii;
bool *b = (bool *) arg1->m_enableSpring;
for (ii = 0; ii < (size_t)3; ii++) b[ii] = *((bool *) arg2 + ii);
}
jenv->ReleasePrimitiveArrayCritical(jarg2, (bool *)arg2, 0);
}
SWIGEXPORT jbooleanArray JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor2_1enableSpring_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jbooleanArray jresult = 0 ;
btTranslationalLimitMotor2 *arg1 = (btTranslationalLimitMotor2 *) 0 ;
bool *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTranslationalLimitMotor2 **)&jarg1;
result = (bool *)(bool *) ((arg1)->m_enableSpring);
/*jresult = SWIG_JavaArrayOut##Bool(jenv, (bool *)result, 3);*/
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor2_1servoTarget_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btTranslationalLimitMotor2 *arg1 = (btTranslationalLimitMotor2 *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btTranslationalLimitMotor2 **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->m_servoTarget = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor2_1servoTarget_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btTranslationalLimitMotor2 *arg1 = (btTranslationalLimitMotor2 *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTranslationalLimitMotor2 **)&jarg1;
result = (btVector3 *)& ((arg1)->m_servoTarget);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor2_1springStiffness_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btTranslationalLimitMotor2 *arg1 = (btTranslationalLimitMotor2 *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btTranslationalLimitMotor2 **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->m_springStiffness = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor2_1springStiffness_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btTranslationalLimitMotor2 *arg1 = (btTranslationalLimitMotor2 *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTranslationalLimitMotor2 **)&jarg1;
result = (btVector3 *)& ((arg1)->m_springStiffness);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor2_1springStiffnessLimited_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jbooleanArray jarg2) {
btTranslationalLimitMotor2 *arg1 = (btTranslationalLimitMotor2 *) 0 ;
bool *arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTranslationalLimitMotor2 **)&jarg1;
if (jarg2 && jenv->GetArrayLength(jarg2) != 3) {
SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, "incorrect array size");
return ;
}
arg2 = (bool *)jenv->GetPrimitiveArrayCritical(jarg2, 0);
{
size_t ii;
bool *b = (bool *) arg1->m_springStiffnessLimited;
for (ii = 0; ii < (size_t)3; ii++) b[ii] = *((bool *) arg2 + ii);
}
jenv->ReleasePrimitiveArrayCritical(jarg2, (bool *)arg2, 0);
}
SWIGEXPORT jbooleanArray JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor2_1springStiffnessLimited_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jbooleanArray jresult = 0 ;
btTranslationalLimitMotor2 *arg1 = (btTranslationalLimitMotor2 *) 0 ;
bool *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTranslationalLimitMotor2 **)&jarg1;
result = (bool *)(bool *) ((arg1)->m_springStiffnessLimited);
/*jresult = SWIG_JavaArrayOut##Bool(jenv, (bool *)result, 3);*/
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor2_1springDamping_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btTranslationalLimitMotor2 *arg1 = (btTranslationalLimitMotor2 *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btTranslationalLimitMotor2 **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->m_springDamping = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor2_1springDamping_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btTranslationalLimitMotor2 *arg1 = (btTranslationalLimitMotor2 *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTranslationalLimitMotor2 **)&jarg1;
result = (btVector3 *)& ((arg1)->m_springDamping);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor2_1springDampingLimited_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jbooleanArray jarg2) {
btTranslationalLimitMotor2 *arg1 = (btTranslationalLimitMotor2 *) 0 ;
bool *arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTranslationalLimitMotor2 **)&jarg1;
if (jarg2 && jenv->GetArrayLength(jarg2) != 3) {
SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, "incorrect array size");
return ;
}
arg2 = (bool *)jenv->GetPrimitiveArrayCritical(jarg2, 0);
{
size_t ii;
bool *b = (bool *) arg1->m_springDampingLimited;
for (ii = 0; ii < (size_t)3; ii++) b[ii] = *((bool *) arg2 + ii);
}
jenv->ReleasePrimitiveArrayCritical(jarg2, (bool *)arg2, 0);
}
SWIGEXPORT jbooleanArray JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor2_1springDampingLimited_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jbooleanArray jresult = 0 ;
btTranslationalLimitMotor2 *arg1 = (btTranslationalLimitMotor2 *) 0 ;
bool *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTranslationalLimitMotor2 **)&jarg1;
result = (bool *)(bool *) ((arg1)->m_springDampingLimited);
/*jresult = SWIG_JavaArrayOut##Bool(jenv, (bool *)result, 3);*/
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor2_1equilibriumPoint_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btTranslationalLimitMotor2 *arg1 = (btTranslationalLimitMotor2 *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btTranslationalLimitMotor2 **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->m_equilibriumPoint = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor2_1equilibriumPoint_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btTranslationalLimitMotor2 *arg1 = (btTranslationalLimitMotor2 *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTranslationalLimitMotor2 **)&jarg1;
result = (btVector3 *)& ((arg1)->m_equilibriumPoint);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor2_1targetVelocity_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btTranslationalLimitMotor2 *arg1 = (btTranslationalLimitMotor2 *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btTranslationalLimitMotor2 **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->m_targetVelocity = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor2_1targetVelocity_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btTranslationalLimitMotor2 *arg1 = (btTranslationalLimitMotor2 *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTranslationalLimitMotor2 **)&jarg1;
result = (btVector3 *)& ((arg1)->m_targetVelocity);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor2_1maxMotorForce_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btTranslationalLimitMotor2 *arg1 = (btTranslationalLimitMotor2 *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btTranslationalLimitMotor2 **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->m_maxMotorForce = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor2_1maxMotorForce_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btTranslationalLimitMotor2 *arg1 = (btTranslationalLimitMotor2 *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTranslationalLimitMotor2 **)&jarg1;
result = (btVector3 *)& ((arg1)->m_maxMotorForce);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor2_1currentLimitError_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btTranslationalLimitMotor2 *arg1 = (btTranslationalLimitMotor2 *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btTranslationalLimitMotor2 **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->m_currentLimitError = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor2_1currentLimitError_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btTranslationalLimitMotor2 *arg1 = (btTranslationalLimitMotor2 *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTranslationalLimitMotor2 **)&jarg1;
result = (btVector3 *)& ((arg1)->m_currentLimitError);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor2_1currentLimitErrorHi_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btTranslationalLimitMotor2 *arg1 = (btTranslationalLimitMotor2 *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btTranslationalLimitMotor2 **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->m_currentLimitErrorHi = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor2_1currentLimitErrorHi_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btTranslationalLimitMotor2 *arg1 = (btTranslationalLimitMotor2 *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTranslationalLimitMotor2 **)&jarg1;
result = (btVector3 *)& ((arg1)->m_currentLimitErrorHi);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor2_1currentLinearDiff_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btTranslationalLimitMotor2 *arg1 = (btTranslationalLimitMotor2 *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btTranslationalLimitMotor2 **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->m_currentLinearDiff = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor2_1currentLinearDiff_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btTranslationalLimitMotor2 *arg1 = (btTranslationalLimitMotor2 *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTranslationalLimitMotor2 **)&jarg1;
result = (btVector3 *)& ((arg1)->m_currentLinearDiff);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor2_1currentLimit_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jintArray jarg2) {
btTranslationalLimitMotor2 *arg1 = (btTranslationalLimitMotor2 *) 0 ;
int *arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTranslationalLimitMotor2 **)&jarg1;
if (jarg2 && jenv->GetArrayLength(jarg2) != 3) {
SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, "incorrect array size");
return ;
}
arg2 = (int *)jenv->GetPrimitiveArrayCritical(jarg2, 0);
{
size_t ii;
int *b = (int *) arg1->m_currentLimit;
for (ii = 0; ii < (size_t)3; ii++) b[ii] = *((int *) arg2 + ii);
}
jenv->ReleasePrimitiveArrayCritical(jarg2, (int *)arg2, 0);
}
SWIGEXPORT jintArray JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor2_1currentLimit_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jintArray jresult = 0 ;
btTranslationalLimitMotor2 *arg1 = (btTranslationalLimitMotor2 *) 0 ;
int *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTranslationalLimitMotor2 **)&jarg1;
result = (int *)(int *) ((arg1)->m_currentLimit);
/*jresult = SWIG_JavaArrayOut##Int(jenv, (int *)result, 3);*/
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btTranslationalLimitMotor2_1_1SWIG_10(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btTranslationalLimitMotor2 *result = 0 ;
(void)jenv;
(void)jcls;
result = (btTranslationalLimitMotor2 *)new btTranslationalLimitMotor2();
*(btTranslationalLimitMotor2 **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btTranslationalLimitMotor2_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btTranslationalLimitMotor2 *arg1 = 0 ;
btTranslationalLimitMotor2 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTranslationalLimitMotor2 **)&jarg1;
if (!arg1) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btTranslationalLimitMotor2 const & reference is null");
return 0;
}
result = (btTranslationalLimitMotor2 *)new btTranslationalLimitMotor2((btTranslationalLimitMotor2 const &)*arg1);
*(btTranslationalLimitMotor2 **)&jresult = result;
return jresult;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor2_1isLimited(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jboolean jresult = 0 ;
btTranslationalLimitMotor2 *arg1 = (btTranslationalLimitMotor2 *) 0 ;
int arg2 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTranslationalLimitMotor2 **)&jarg1;
arg2 = (int)jarg2;
result = (bool)(arg1)->isLimited(arg2);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor2_1testLimitValue(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jfloat jarg3) {
btTranslationalLimitMotor2 *arg1 = (btTranslationalLimitMotor2 *) 0 ;
int arg2 ;
btScalar arg3 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTranslationalLimitMotor2 **)&jarg1;
arg2 = (int)jarg2;
arg3 = (btScalar)jarg3;
(arg1)->testLimitValue(arg2,arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btTranslationalLimitMotor2(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btTranslationalLimitMotor2 *arg1 = (btTranslationalLimitMotor2 *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btTranslationalLimitMotor2 **)&jarg1;
delete arg1;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2Constraint_1operatorNew_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btGeneric6DofSpring2Constraint *arg1 = (btGeneric6DofSpring2Constraint *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2Constraint **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new(arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2Constraint_1operatorDelete_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btGeneric6DofSpring2Constraint *arg1 = (btGeneric6DofSpring2Constraint *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2Constraint **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete(arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2Constraint_1operatorNew_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btGeneric6DofSpring2Constraint *arg1 = (btGeneric6DofSpring2Constraint *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2Constraint **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new(arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2Constraint_1operatorDelete_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btGeneric6DofSpring2Constraint *arg1 = (btGeneric6DofSpring2Constraint *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2Constraint **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete(arg2,arg3);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2Constraint_1operatorNewArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btGeneric6DofSpring2Constraint *arg1 = (btGeneric6DofSpring2Constraint *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2Constraint **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new[](arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2Constraint_1operatorDeleteArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btGeneric6DofSpring2Constraint *arg1 = (btGeneric6DofSpring2Constraint *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2Constraint **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete[](arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2Constraint_1operatorNewArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btGeneric6DofSpring2Constraint *arg1 = (btGeneric6DofSpring2Constraint *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2Constraint **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new[](arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2Constraint_1operatorDeleteArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btGeneric6DofSpring2Constraint *arg1 = (btGeneric6DofSpring2Constraint *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2Constraint **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete[](arg2,arg3);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btGeneric6DofSpring2Constraint_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jobject jarg3, jobject jarg4, jint jarg5) {
jlong jresult = 0 ;
btRigidBody *arg1 = 0 ;
btRigidBody *arg2 = 0 ;
btTransform *arg3 = 0 ;
btTransform *arg4 = 0 ;
RotateOrder arg5 ;
btGeneric6DofSpring2Constraint *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btRigidBody **)&jarg1;
if (!arg1) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btRigidBody & reference is null");
return 0;
}
arg2 = *(btRigidBody **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btRigidBody & reference is null");
return 0;
}
btTransform local_arg3;
gdx_setbtTransformFromMatrix4(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitMatrix4 auto_commit_arg3(jenv, jarg3, &local_arg3);
btTransform local_arg4;
gdx_setbtTransformFromMatrix4(jenv, local_arg4, jarg4);
arg4 = &local_arg4;
gdxAutoCommitMatrix4 auto_commit_arg4(jenv, jarg4, &local_arg4);
arg5 = (RotateOrder)jarg5;
result = (btGeneric6DofSpring2Constraint *)new btGeneric6DofSpring2Constraint(*arg1,*arg2,(btTransform const &)*arg3,(btTransform const &)*arg4,arg5);
*(btGeneric6DofSpring2Constraint **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btGeneric6DofSpring2Constraint_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jobject jarg3, jobject jarg4) {
jlong jresult = 0 ;
btRigidBody *arg1 = 0 ;
btRigidBody *arg2 = 0 ;
btTransform *arg3 = 0 ;
btTransform *arg4 = 0 ;
btGeneric6DofSpring2Constraint *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btRigidBody **)&jarg1;
if (!arg1) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btRigidBody & reference is null");
return 0;
}
arg2 = *(btRigidBody **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btRigidBody & reference is null");
return 0;
}
btTransform local_arg3;
gdx_setbtTransformFromMatrix4(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitMatrix4 auto_commit_arg3(jenv, jarg3, &local_arg3);
btTransform local_arg4;
gdx_setbtTransformFromMatrix4(jenv, local_arg4, jarg4);
arg4 = &local_arg4;
gdxAutoCommitMatrix4 auto_commit_arg4(jenv, jarg4, &local_arg4);
result = (btGeneric6DofSpring2Constraint *)new btGeneric6DofSpring2Constraint(*arg1,*arg2,(btTransform const &)*arg3,(btTransform const &)*arg4);
*(btGeneric6DofSpring2Constraint **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btGeneric6DofSpring2Constraint_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jint jarg3) {
jlong jresult = 0 ;
btRigidBody *arg1 = 0 ;
btTransform *arg2 = 0 ;
RotateOrder arg3 ;
btGeneric6DofSpring2Constraint *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody **)&jarg1;
if (!arg1) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btRigidBody & reference is null");
return 0;
}
btTransform local_arg2;
gdx_setbtTransformFromMatrix4(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitMatrix4 auto_commit_arg2(jenv, jarg2, &local_arg2);
arg3 = (RotateOrder)jarg3;
result = (btGeneric6DofSpring2Constraint *)new btGeneric6DofSpring2Constraint(*arg1,(btTransform const &)*arg2,arg3);
*(btGeneric6DofSpring2Constraint **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btGeneric6DofSpring2Constraint_1_1SWIG_13(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
jlong jresult = 0 ;
btRigidBody *arg1 = 0 ;
btTransform *arg2 = 0 ;
btGeneric6DofSpring2Constraint *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody **)&jarg1;
if (!arg1) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btRigidBody & reference is null");
return 0;
}
btTransform local_arg2;
gdx_setbtTransformFromMatrix4(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitMatrix4 auto_commit_arg2(jenv, jarg2, &local_arg2);
result = (btGeneric6DofSpring2Constraint *)new btGeneric6DofSpring2Constraint(*arg1,(btTransform const &)*arg2);
*(btGeneric6DofSpring2Constraint **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2Constraint_1getRotationalLimitMotor(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jlong jresult = 0 ;
btGeneric6DofSpring2Constraint *arg1 = (btGeneric6DofSpring2Constraint *) 0 ;
int arg2 ;
btRotationalLimitMotor2 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2Constraint **)&jarg1;
arg2 = (int)jarg2;
result = (btRotationalLimitMotor2 *)(arg1)->getRotationalLimitMotor(arg2);
*(btRotationalLimitMotor2 **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2Constraint_1getTranslationalLimitMotor(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btGeneric6DofSpring2Constraint *arg1 = (btGeneric6DofSpring2Constraint *) 0 ;
btTranslationalLimitMotor2 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2Constraint **)&jarg1;
result = (btTranslationalLimitMotor2 *)(arg1)->getTranslationalLimitMotor();
*(btTranslationalLimitMotor2 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2Constraint_1calculateTransforms_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jobject jarg3) {
btGeneric6DofSpring2Constraint *arg1 = (btGeneric6DofSpring2Constraint *) 0 ;
btTransform *arg2 = 0 ;
btTransform *arg3 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2Constraint **)&jarg1;
btTransform local_arg2;
gdx_setbtTransformFromMatrix4(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitMatrix4 auto_commit_arg2(jenv, jarg2, &local_arg2);
btTransform local_arg3;
gdx_setbtTransformFromMatrix4(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitMatrix4 auto_commit_arg3(jenv, jarg3, &local_arg3);
(arg1)->calculateTransforms((btTransform const &)*arg2,(btTransform const &)*arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2Constraint_1calculateTransforms_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
btGeneric6DofSpring2Constraint *arg1 = (btGeneric6DofSpring2Constraint *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2Constraint **)&jarg1;
(arg1)->calculateTransforms();
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2Constraint_1getCalculatedTransformA(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btGeneric6DofSpring2Constraint *arg1 = (btGeneric6DofSpring2Constraint *) 0 ;
btTransform *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2Constraint **)&jarg1;
result = (btTransform *) &((btGeneric6DofSpring2Constraint const *)arg1)->getCalculatedTransformA();
jresult = gdx_getReturnMatrix4(jenv);
gdx_setMatrix4FrombtTransform(jenv, jresult, result);
return jresult;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2Constraint_1getCalculatedTransformB(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btGeneric6DofSpring2Constraint *arg1 = (btGeneric6DofSpring2Constraint *) 0 ;
btTransform *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2Constraint **)&jarg1;
result = (btTransform *) &((btGeneric6DofSpring2Constraint const *)arg1)->getCalculatedTransformB();
jresult = gdx_getReturnMatrix4(jenv);
gdx_setMatrix4FrombtTransform(jenv, jresult, result);
return jresult;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2Constraint_1getFrameOffsetAConst(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btGeneric6DofSpring2Constraint *arg1 = (btGeneric6DofSpring2Constraint *) 0 ;
btTransform *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2Constraint **)&jarg1;
result = (btTransform *) &((btGeneric6DofSpring2Constraint const *)arg1)->getFrameOffsetA();
jresult = gdx_getReturnMatrix4(jenv);
gdx_setMatrix4FrombtTransform(jenv, jresult, result);
return jresult;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2Constraint_1getFrameOffsetBConst(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btGeneric6DofSpring2Constraint *arg1 = (btGeneric6DofSpring2Constraint *) 0 ;
btTransform *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2Constraint **)&jarg1;
result = (btTransform *) &((btGeneric6DofSpring2Constraint const *)arg1)->getFrameOffsetB();
jresult = gdx_getReturnMatrix4(jenv);
gdx_setMatrix4FrombtTransform(jenv, jresult, result);
return jresult;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2Constraint_1getFrameOffsetA(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btGeneric6DofSpring2Constraint *arg1 = (btGeneric6DofSpring2Constraint *) 0 ;
btTransform *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2Constraint **)&jarg1;
result = (btTransform *) &(arg1)->getFrameOffsetA();
jresult = gdx_getReturnMatrix4(jenv);
gdx_setMatrix4FrombtTransform(jenv, jresult, result);
return jresult;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2Constraint_1getFrameOffsetB(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btGeneric6DofSpring2Constraint *arg1 = (btGeneric6DofSpring2Constraint *) 0 ;
btTransform *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2Constraint **)&jarg1;
result = (btTransform *) &(arg1)->getFrameOffsetB();
jresult = gdx_getReturnMatrix4(jenv);
gdx_setMatrix4FrombtTransform(jenv, jresult, result);
return jresult;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2Constraint_1getAxis(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jobject jresult = 0 ;
btGeneric6DofSpring2Constraint *arg1 = (btGeneric6DofSpring2Constraint *) 0 ;
int arg2 ;
btVector3 result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2Constraint **)&jarg1;
arg2 = (int)jarg2;
result = ((btGeneric6DofSpring2Constraint const *)arg1)->getAxis(arg2);
jresult = gdx_getReturnVector3(jenv);
gdx_setVector3FrombtVector3(jenv, jresult, result);
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2Constraint_1getAngle(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jfloat jresult = 0 ;
btGeneric6DofSpring2Constraint *arg1 = (btGeneric6DofSpring2Constraint *) 0 ;
int arg2 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2Constraint **)&jarg1;
arg2 = (int)jarg2;
result = (btScalar)((btGeneric6DofSpring2Constraint const *)arg1)->getAngle(arg2);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2Constraint_1getRelativePivotPosition(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jfloat jresult = 0 ;
btGeneric6DofSpring2Constraint *arg1 = (btGeneric6DofSpring2Constraint *) 0 ;
int arg2 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2Constraint **)&jarg1;
arg2 = (int)jarg2;
result = (btScalar)((btGeneric6DofSpring2Constraint const *)arg1)->getRelativePivotPosition(arg2);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2Constraint_1setFrames(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jobject jarg3) {
btGeneric6DofSpring2Constraint *arg1 = (btGeneric6DofSpring2Constraint *) 0 ;
btTransform *arg2 = 0 ;
btTransform *arg3 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2Constraint **)&jarg1;
btTransform local_arg2;
gdx_setbtTransformFromMatrix4(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitMatrix4 auto_commit_arg2(jenv, jarg2, &local_arg2);
btTransform local_arg3;
gdx_setbtTransformFromMatrix4(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitMatrix4 auto_commit_arg3(jenv, jarg3, &local_arg3);
(arg1)->setFrames((btTransform const &)*arg2,(btTransform const &)*arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2Constraint_1setLinearLowerLimit(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btGeneric6DofSpring2Constraint *arg1 = (btGeneric6DofSpring2Constraint *) 0 ;
btVector3 *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2Constraint **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
(arg1)->setLinearLowerLimit((btVector3 const &)*arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2Constraint_1getLinearLowerLimit(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btGeneric6DofSpring2Constraint *arg1 = (btGeneric6DofSpring2Constraint *) 0 ;
btVector3 *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2Constraint **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
(arg1)->getLinearLowerLimit(*arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2Constraint_1setLinearUpperLimit(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btGeneric6DofSpring2Constraint *arg1 = (btGeneric6DofSpring2Constraint *) 0 ;
btVector3 *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2Constraint **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
(arg1)->setLinearUpperLimit((btVector3 const &)*arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2Constraint_1getLinearUpperLimit(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btGeneric6DofSpring2Constraint *arg1 = (btGeneric6DofSpring2Constraint *) 0 ;
btVector3 *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2Constraint **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
(arg1)->getLinearUpperLimit(*arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2Constraint_1setAngularLowerLimit(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btGeneric6DofSpring2Constraint *arg1 = (btGeneric6DofSpring2Constraint *) 0 ;
btVector3 *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2Constraint **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
(arg1)->setAngularLowerLimit((btVector3 const &)*arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2Constraint_1setAngularLowerLimitReversed(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btGeneric6DofSpring2Constraint *arg1 = (btGeneric6DofSpring2Constraint *) 0 ;
btVector3 *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2Constraint **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
(arg1)->setAngularLowerLimitReversed((btVector3 const &)*arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2Constraint_1getAngularLowerLimit(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btGeneric6DofSpring2Constraint *arg1 = (btGeneric6DofSpring2Constraint *) 0 ;
btVector3 *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2Constraint **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
(arg1)->getAngularLowerLimit(*arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2Constraint_1getAngularLowerLimitReversed(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btGeneric6DofSpring2Constraint *arg1 = (btGeneric6DofSpring2Constraint *) 0 ;
btVector3 *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2Constraint **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
(arg1)->getAngularLowerLimitReversed(*arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2Constraint_1setAngularUpperLimit(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btGeneric6DofSpring2Constraint *arg1 = (btGeneric6DofSpring2Constraint *) 0 ;
btVector3 *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2Constraint **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
(arg1)->setAngularUpperLimit((btVector3 const &)*arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2Constraint_1setAngularUpperLimitReversed(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btGeneric6DofSpring2Constraint *arg1 = (btGeneric6DofSpring2Constraint *) 0 ;
btVector3 *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2Constraint **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
(arg1)->setAngularUpperLimitReversed((btVector3 const &)*arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2Constraint_1getAngularUpperLimit(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btGeneric6DofSpring2Constraint *arg1 = (btGeneric6DofSpring2Constraint *) 0 ;
btVector3 *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2Constraint **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
(arg1)->getAngularUpperLimit(*arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2Constraint_1getAngularUpperLimitReversed(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btGeneric6DofSpring2Constraint *arg1 = (btGeneric6DofSpring2Constraint *) 0 ;
btVector3 *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2Constraint **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
(arg1)->getAngularUpperLimitReversed(*arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2Constraint_1setLimit(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jfloat jarg3, jfloat jarg4) {
btGeneric6DofSpring2Constraint *arg1 = (btGeneric6DofSpring2Constraint *) 0 ;
int arg2 ;
btScalar arg3 ;
btScalar arg4 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2Constraint **)&jarg1;
arg2 = (int)jarg2;
arg3 = (btScalar)jarg3;
arg4 = (btScalar)jarg4;
(arg1)->setLimit(arg2,arg3,arg4);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2Constraint_1setLimitReversed(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jfloat jarg3, jfloat jarg4) {
btGeneric6DofSpring2Constraint *arg1 = (btGeneric6DofSpring2Constraint *) 0 ;
int arg2 ;
btScalar arg3 ;
btScalar arg4 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2Constraint **)&jarg1;
arg2 = (int)jarg2;
arg3 = (btScalar)jarg3;
arg4 = (btScalar)jarg4;
(arg1)->setLimitReversed(arg2,arg3,arg4);
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2Constraint_1isLimited(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jboolean jresult = 0 ;
btGeneric6DofSpring2Constraint *arg1 = (btGeneric6DofSpring2Constraint *) 0 ;
int arg2 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2Constraint **)&jarg1;
arg2 = (int)jarg2;
result = (bool)(arg1)->isLimited(arg2);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2Constraint_1setRotationOrder(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btGeneric6DofSpring2Constraint *arg1 = (btGeneric6DofSpring2Constraint *) 0 ;
RotateOrder arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2Constraint **)&jarg1;
arg2 = (RotateOrder)jarg2;
(arg1)->setRotationOrder(arg2);
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2Constraint_1getRotationOrder(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btGeneric6DofSpring2Constraint *arg1 = (btGeneric6DofSpring2Constraint *) 0 ;
RotateOrder result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2Constraint **)&jarg1;
result = (RotateOrder)(arg1)->getRotationOrder();
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2Constraint_1setAxis(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jobject jarg3) {
btGeneric6DofSpring2Constraint *arg1 = (btGeneric6DofSpring2Constraint *) 0 ;
btVector3 *arg2 = 0 ;
btVector3 *arg3 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2Constraint **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
(arg1)->setAxis((btVector3 const &)*arg2,(btVector3 const &)*arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2Constraint_1setBounce(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jfloat jarg3) {
btGeneric6DofSpring2Constraint *arg1 = (btGeneric6DofSpring2Constraint *) 0 ;
int arg2 ;
btScalar arg3 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2Constraint **)&jarg1;
arg2 = (int)jarg2;
arg3 = (btScalar)jarg3;
(arg1)->setBounce(arg2,arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2Constraint_1enableMotor(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jboolean jarg3) {
btGeneric6DofSpring2Constraint *arg1 = (btGeneric6DofSpring2Constraint *) 0 ;
int arg2 ;
bool arg3 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2Constraint **)&jarg1;
arg2 = (int)jarg2;
arg3 = jarg3 ? true : false;
(arg1)->enableMotor(arg2,arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2Constraint_1setServo(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jboolean jarg3) {
btGeneric6DofSpring2Constraint *arg1 = (btGeneric6DofSpring2Constraint *) 0 ;
int arg2 ;
bool arg3 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2Constraint **)&jarg1;
arg2 = (int)jarg2;
arg3 = jarg3 ? true : false;
(arg1)->setServo(arg2,arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2Constraint_1setTargetVelocity(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jfloat jarg3) {
btGeneric6DofSpring2Constraint *arg1 = (btGeneric6DofSpring2Constraint *) 0 ;
int arg2 ;
btScalar arg3 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2Constraint **)&jarg1;
arg2 = (int)jarg2;
arg3 = (btScalar)jarg3;
(arg1)->setTargetVelocity(arg2,arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2Constraint_1setServoTarget(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jfloat jarg3) {
btGeneric6DofSpring2Constraint *arg1 = (btGeneric6DofSpring2Constraint *) 0 ;
int arg2 ;
btScalar arg3 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2Constraint **)&jarg1;
arg2 = (int)jarg2;
arg3 = (btScalar)jarg3;
(arg1)->setServoTarget(arg2,arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2Constraint_1setMaxMotorForce(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jfloat jarg3) {
btGeneric6DofSpring2Constraint *arg1 = (btGeneric6DofSpring2Constraint *) 0 ;
int arg2 ;
btScalar arg3 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2Constraint **)&jarg1;
arg2 = (int)jarg2;
arg3 = (btScalar)jarg3;
(arg1)->setMaxMotorForce(arg2,arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2Constraint_1enableSpring(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jboolean jarg3) {
btGeneric6DofSpring2Constraint *arg1 = (btGeneric6DofSpring2Constraint *) 0 ;
int arg2 ;
bool arg3 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2Constraint **)&jarg1;
arg2 = (int)jarg2;
arg3 = jarg3 ? true : false;
(arg1)->enableSpring(arg2,arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2Constraint_1setStiffness_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jfloat jarg3, jboolean jarg4) {
btGeneric6DofSpring2Constraint *arg1 = (btGeneric6DofSpring2Constraint *) 0 ;
int arg2 ;
btScalar arg3 ;
bool arg4 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2Constraint **)&jarg1;
arg2 = (int)jarg2;
arg3 = (btScalar)jarg3;
arg4 = jarg4 ? true : false;
(arg1)->setStiffness(arg2,arg3,arg4);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2Constraint_1setStiffness_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jfloat jarg3) {
btGeneric6DofSpring2Constraint *arg1 = (btGeneric6DofSpring2Constraint *) 0 ;
int arg2 ;
btScalar arg3 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2Constraint **)&jarg1;
arg2 = (int)jarg2;
arg3 = (btScalar)jarg3;
(arg1)->setStiffness(arg2,arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2Constraint_1setDamping_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jfloat jarg3, jboolean jarg4) {
btGeneric6DofSpring2Constraint *arg1 = (btGeneric6DofSpring2Constraint *) 0 ;
int arg2 ;
btScalar arg3 ;
bool arg4 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2Constraint **)&jarg1;
arg2 = (int)jarg2;
arg3 = (btScalar)jarg3;
arg4 = jarg4 ? true : false;
(arg1)->setDamping(arg2,arg3,arg4);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2Constraint_1setDamping_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jfloat jarg3) {
btGeneric6DofSpring2Constraint *arg1 = (btGeneric6DofSpring2Constraint *) 0 ;
int arg2 ;
btScalar arg3 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2Constraint **)&jarg1;
arg2 = (int)jarg2;
arg3 = (btScalar)jarg3;
(arg1)->setDamping(arg2,arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2Constraint_1setEquilibriumPoint_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
btGeneric6DofSpring2Constraint *arg1 = (btGeneric6DofSpring2Constraint *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2Constraint **)&jarg1;
(arg1)->setEquilibriumPoint();
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2Constraint_1setEquilibriumPoint_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btGeneric6DofSpring2Constraint *arg1 = (btGeneric6DofSpring2Constraint *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2Constraint **)&jarg1;
arg2 = (int)jarg2;
(arg1)->setEquilibriumPoint(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2Constraint_1setEquilibriumPoint_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jfloat jarg3) {
btGeneric6DofSpring2Constraint *arg1 = (btGeneric6DofSpring2Constraint *) 0 ;
int arg2 ;
btScalar arg3 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2Constraint **)&jarg1;
arg2 = (int)jarg2;
arg3 = (btScalar)jarg3;
(arg1)->setEquilibriumPoint(arg2,arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2Constraint_1setParam_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jfloat jarg3, jint jarg4) {
btGeneric6DofSpring2Constraint *arg1 = (btGeneric6DofSpring2Constraint *) 0 ;
int arg2 ;
btScalar arg3 ;
int arg4 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2Constraint **)&jarg1;
arg2 = (int)jarg2;
arg3 = (btScalar)jarg3;
arg4 = (int)jarg4;
(arg1)->setParam(arg2,arg3,arg4);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2Constraint_1setParam_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jfloat jarg3) {
btGeneric6DofSpring2Constraint *arg1 = (btGeneric6DofSpring2Constraint *) 0 ;
int arg2 ;
btScalar arg3 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2Constraint **)&jarg1;
arg2 = (int)jarg2;
arg3 = (btScalar)jarg3;
(arg1)->setParam(arg2,arg3);
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2Constraint_1getParam_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jint jarg3) {
jfloat jresult = 0 ;
btGeneric6DofSpring2Constraint *arg1 = (btGeneric6DofSpring2Constraint *) 0 ;
int arg2 ;
int arg3 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2Constraint **)&jarg1;
arg2 = (int)jarg2;
arg3 = (int)jarg3;
result = (btScalar)((btGeneric6DofSpring2Constraint const *)arg1)->getParam(arg2,arg3);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2Constraint_1getParam_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jfloat jresult = 0 ;
btGeneric6DofSpring2Constraint *arg1 = (btGeneric6DofSpring2Constraint *) 0 ;
int arg2 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2Constraint **)&jarg1;
arg2 = (int)jarg2;
result = (btScalar)((btGeneric6DofSpring2Constraint const *)arg1)->getParam(arg2);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2Constraint_1btGetMatrixElem(JNIEnv *jenv, jclass jcls, jobject jarg1, jint jarg2) {
jfloat jresult = 0 ;
btMatrix3x3 *arg1 = 0 ;
int arg2 ;
btScalar result;
(void)jenv;
(void)jcls;
btMatrix3x3 local_arg1;
gdx_setbtMatrix3x3FromMatrix3(jenv, local_arg1, jarg1);
arg1 = &local_arg1;
gdxAutoCommitMatrix3 auto_commit_arg1(jenv, jarg1, &local_arg1);
arg2 = (int)jarg2;
result = (btScalar)btGeneric6DofSpring2Constraint::btGetMatrixElem((btMatrix3x3 const &)*arg1,arg2);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2Constraint_1matrixToEulerXYZ(JNIEnv *jenv, jclass jcls, jobject jarg1, jobject jarg2) {
jboolean jresult = 0 ;
btMatrix3x3 *arg1 = 0 ;
btVector3 *arg2 = 0 ;
bool result;
(void)jenv;
(void)jcls;
btMatrix3x3 local_arg1;
gdx_setbtMatrix3x3FromMatrix3(jenv, local_arg1, jarg1);
arg1 = &local_arg1;
gdxAutoCommitMatrix3 auto_commit_arg1(jenv, jarg1, &local_arg1);
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
result = (bool)btGeneric6DofSpring2Constraint::matrixToEulerXYZ((btMatrix3x3 const &)*arg1,*arg2);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2Constraint_1matrixToEulerXZY(JNIEnv *jenv, jclass jcls, jobject jarg1, jobject jarg2) {
jboolean jresult = 0 ;
btMatrix3x3 *arg1 = 0 ;
btVector3 *arg2 = 0 ;
bool result;
(void)jenv;
(void)jcls;
btMatrix3x3 local_arg1;
gdx_setbtMatrix3x3FromMatrix3(jenv, local_arg1, jarg1);
arg1 = &local_arg1;
gdxAutoCommitMatrix3 auto_commit_arg1(jenv, jarg1, &local_arg1);
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
result = (bool)btGeneric6DofSpring2Constraint::matrixToEulerXZY((btMatrix3x3 const &)*arg1,*arg2);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2Constraint_1matrixToEulerYXZ(JNIEnv *jenv, jclass jcls, jobject jarg1, jobject jarg2) {
jboolean jresult = 0 ;
btMatrix3x3 *arg1 = 0 ;
btVector3 *arg2 = 0 ;
bool result;
(void)jenv;
(void)jcls;
btMatrix3x3 local_arg1;
gdx_setbtMatrix3x3FromMatrix3(jenv, local_arg1, jarg1);
arg1 = &local_arg1;
gdxAutoCommitMatrix3 auto_commit_arg1(jenv, jarg1, &local_arg1);
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
result = (bool)btGeneric6DofSpring2Constraint::matrixToEulerYXZ((btMatrix3x3 const &)*arg1,*arg2);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2Constraint_1matrixToEulerYZX(JNIEnv *jenv, jclass jcls, jobject jarg1, jobject jarg2) {
jboolean jresult = 0 ;
btMatrix3x3 *arg1 = 0 ;
btVector3 *arg2 = 0 ;
bool result;
(void)jenv;
(void)jcls;
btMatrix3x3 local_arg1;
gdx_setbtMatrix3x3FromMatrix3(jenv, local_arg1, jarg1);
arg1 = &local_arg1;
gdxAutoCommitMatrix3 auto_commit_arg1(jenv, jarg1, &local_arg1);
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
result = (bool)btGeneric6DofSpring2Constraint::matrixToEulerYZX((btMatrix3x3 const &)*arg1,*arg2);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2Constraint_1matrixToEulerZXY(JNIEnv *jenv, jclass jcls, jobject jarg1, jobject jarg2) {
jboolean jresult = 0 ;
btMatrix3x3 *arg1 = 0 ;
btVector3 *arg2 = 0 ;
bool result;
(void)jenv;
(void)jcls;
btMatrix3x3 local_arg1;
gdx_setbtMatrix3x3FromMatrix3(jenv, local_arg1, jarg1);
arg1 = &local_arg1;
gdxAutoCommitMatrix3 auto_commit_arg1(jenv, jarg1, &local_arg1);
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
result = (bool)btGeneric6DofSpring2Constraint::matrixToEulerZXY((btMatrix3x3 const &)*arg1,*arg2);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2Constraint_1matrixToEulerZYX(JNIEnv *jenv, jclass jcls, jobject jarg1, jobject jarg2) {
jboolean jresult = 0 ;
btMatrix3x3 *arg1 = 0 ;
btVector3 *arg2 = 0 ;
bool result;
(void)jenv;
(void)jcls;
btMatrix3x3 local_arg1;
gdx_setbtMatrix3x3FromMatrix3(jenv, local_arg1, jarg1);
arg1 = &local_arg1;
gdxAutoCommitMatrix3 auto_commit_arg1(jenv, jarg1, &local_arg1);
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
result = (bool)btGeneric6DofSpring2Constraint::matrixToEulerZYX((btMatrix3x3 const &)*arg1,*arg2);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btGeneric6DofSpring2Constraint(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btGeneric6DofSpring2Constraint *arg1 = (btGeneric6DofSpring2Constraint *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btGeneric6DofSpring2Constraint **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1typeConstraintData_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ;
btTypedConstraintData *arg2 = (btTypedConstraintData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1;
arg2 = *(btTypedConstraintData **)&jarg2;
if (arg1) (arg1)->m_typeConstraintData = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1typeConstraintData_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ;
btTypedConstraintData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1;
result = (btTypedConstraintData *)& ((arg1)->m_typeConstraintData);
*(btTypedConstraintData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1rbAFrame_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ;
btTransformFloatData *arg2 = (btTransformFloatData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1;
arg2 = *(btTransformFloatData **)&jarg2;
if (arg1) (arg1)->m_rbAFrame = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1rbAFrame_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ;
btTransformFloatData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1;
result = (btTransformFloatData *)& ((arg1)->m_rbAFrame);
*(btTransformFloatData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1rbBFrame_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ;
btTransformFloatData *arg2 = (btTransformFloatData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1;
arg2 = *(btTransformFloatData **)&jarg2;
if (arg1) (arg1)->m_rbBFrame = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1rbBFrame_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ;
btTransformFloatData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1;
result = (btTransformFloatData *)& ((arg1)->m_rbBFrame);
*(btTransformFloatData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1linearUpperLimit_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ;
btVector3FloatData *arg2 = (btVector3FloatData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1;
arg2 = *(btVector3FloatData **)&jarg2;
if (arg1) (arg1)->m_linearUpperLimit = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1linearUpperLimit_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ;
btVector3FloatData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1;
result = (btVector3FloatData *)& ((arg1)->m_linearUpperLimit);
*(btVector3FloatData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1linearLowerLimit_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ;
btVector3FloatData *arg2 = (btVector3FloatData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1;
arg2 = *(btVector3FloatData **)&jarg2;
if (arg1) (arg1)->m_linearLowerLimit = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1linearLowerLimit_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ;
btVector3FloatData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1;
result = (btVector3FloatData *)& ((arg1)->m_linearLowerLimit);
*(btVector3FloatData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1linearBounce_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ;
btVector3FloatData *arg2 = (btVector3FloatData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1;
arg2 = *(btVector3FloatData **)&jarg2;
if (arg1) (arg1)->m_linearBounce = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1linearBounce_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ;
btVector3FloatData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1;
result = (btVector3FloatData *)& ((arg1)->m_linearBounce);
*(btVector3FloatData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1linearStopERP_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ;
btVector3FloatData *arg2 = (btVector3FloatData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1;
arg2 = *(btVector3FloatData **)&jarg2;
if (arg1) (arg1)->m_linearStopERP = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1linearStopERP_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ;
btVector3FloatData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1;
result = (btVector3FloatData *)& ((arg1)->m_linearStopERP);
*(btVector3FloatData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1linearStopCFM_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ;
btVector3FloatData *arg2 = (btVector3FloatData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1;
arg2 = *(btVector3FloatData **)&jarg2;
if (arg1) (arg1)->m_linearStopCFM = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1linearStopCFM_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ;
btVector3FloatData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1;
result = (btVector3FloatData *)& ((arg1)->m_linearStopCFM);
*(btVector3FloatData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1linearMotorERP_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ;
btVector3FloatData *arg2 = (btVector3FloatData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1;
arg2 = *(btVector3FloatData **)&jarg2;
if (arg1) (arg1)->m_linearMotorERP = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1linearMotorERP_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ;
btVector3FloatData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1;
result = (btVector3FloatData *)& ((arg1)->m_linearMotorERP);
*(btVector3FloatData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1linearMotorCFM_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ;
btVector3FloatData *arg2 = (btVector3FloatData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1;
arg2 = *(btVector3FloatData **)&jarg2;
if (arg1) (arg1)->m_linearMotorCFM = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1linearMotorCFM_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ;
btVector3FloatData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1;
result = (btVector3FloatData *)& ((arg1)->m_linearMotorCFM);
*(btVector3FloatData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1linearTargetVelocity_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ;
btVector3FloatData *arg2 = (btVector3FloatData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1;
arg2 = *(btVector3FloatData **)&jarg2;
if (arg1) (arg1)->m_linearTargetVelocity = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1linearTargetVelocity_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ;
btVector3FloatData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1;
result = (btVector3FloatData *)& ((arg1)->m_linearTargetVelocity);
*(btVector3FloatData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1linearMaxMotorForce_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ;
btVector3FloatData *arg2 = (btVector3FloatData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1;
arg2 = *(btVector3FloatData **)&jarg2;
if (arg1) (arg1)->m_linearMaxMotorForce = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1linearMaxMotorForce_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ;
btVector3FloatData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1;
result = (btVector3FloatData *)& ((arg1)->m_linearMaxMotorForce);
*(btVector3FloatData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1linearServoTarget_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ;
btVector3FloatData *arg2 = (btVector3FloatData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1;
arg2 = *(btVector3FloatData **)&jarg2;
if (arg1) (arg1)->m_linearServoTarget = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1linearServoTarget_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ;
btVector3FloatData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1;
result = (btVector3FloatData *)& ((arg1)->m_linearServoTarget);
*(btVector3FloatData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1linearSpringStiffness_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ;
btVector3FloatData *arg2 = (btVector3FloatData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1;
arg2 = *(btVector3FloatData **)&jarg2;
if (arg1) (arg1)->m_linearSpringStiffness = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1linearSpringStiffness_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ;
btVector3FloatData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1;
result = (btVector3FloatData *)& ((arg1)->m_linearSpringStiffness);
*(btVector3FloatData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1linearSpringDamping_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ;
btVector3FloatData *arg2 = (btVector3FloatData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1;
arg2 = *(btVector3FloatData **)&jarg2;
if (arg1) (arg1)->m_linearSpringDamping = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1linearSpringDamping_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ;
btVector3FloatData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1;
result = (btVector3FloatData *)& ((arg1)->m_linearSpringDamping);
*(btVector3FloatData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1linearEquilibriumPoint_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ;
btVector3FloatData *arg2 = (btVector3FloatData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1;
arg2 = *(btVector3FloatData **)&jarg2;
if (arg1) (arg1)->m_linearEquilibriumPoint = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1linearEquilibriumPoint_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ;
btVector3FloatData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1;
result = (btVector3FloatData *)& ((arg1)->m_linearEquilibriumPoint);
*(btVector3FloatData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1linearEnableMotor_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ;
char *arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1;
arg2 = 0;
if (jarg2) {
arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
if (!arg2) return ;
}
{
if(arg2) {
strncpy((char*)arg1->m_linearEnableMotor, (const char *)arg2, 4-1);
arg1->m_linearEnableMotor[4-1] = 0;
} else {
arg1->m_linearEnableMotor[0] = 0;
}
}
if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
}
SWIGEXPORT jstring JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1linearEnableMotor_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jstring jresult = 0 ;
btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ;
char *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1;
result = (char *)(char *) ((arg1)->m_linearEnableMotor);
if (result) jresult = jenv->NewStringUTF((const char *)result);
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1linearServoMotor_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ;
char *arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1;
arg2 = 0;
if (jarg2) {
arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
if (!arg2) return ;
}
{
if(arg2) {
strncpy((char*)arg1->m_linearServoMotor, (const char *)arg2, 4-1);
arg1->m_linearServoMotor[4-1] = 0;
} else {
arg1->m_linearServoMotor[0] = 0;
}
}
if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
}
SWIGEXPORT jstring JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1linearServoMotor_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jstring jresult = 0 ;
btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ;
char *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1;
result = (char *)(char *) ((arg1)->m_linearServoMotor);
if (result) jresult = jenv->NewStringUTF((const char *)result);
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1linearEnableSpring_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ;
char *arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1;
arg2 = 0;
if (jarg2) {
arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
if (!arg2) return ;
}
{
if(arg2) {
strncpy((char*)arg1->m_linearEnableSpring, (const char *)arg2, 4-1);
arg1->m_linearEnableSpring[4-1] = 0;
} else {
arg1->m_linearEnableSpring[0] = 0;
}
}
if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
}
SWIGEXPORT jstring JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1linearEnableSpring_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jstring jresult = 0 ;
btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ;
char *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1;
result = (char *)(char *) ((arg1)->m_linearEnableSpring);
if (result) jresult = jenv->NewStringUTF((const char *)result);
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1linearSpringStiffnessLimited_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ;
char *arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1;
arg2 = 0;
if (jarg2) {
arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
if (!arg2) return ;
}
{
if(arg2) {
strncpy((char*)arg1->m_linearSpringStiffnessLimited, (const char *)arg2, 4-1);
arg1->m_linearSpringStiffnessLimited[4-1] = 0;
} else {
arg1->m_linearSpringStiffnessLimited[0] = 0;
}
}
if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
}
SWIGEXPORT jstring JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1linearSpringStiffnessLimited_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jstring jresult = 0 ;
btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ;
char *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1;
result = (char *)(char *) ((arg1)->m_linearSpringStiffnessLimited);
if (result) jresult = jenv->NewStringUTF((const char *)result);
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1linearSpringDampingLimited_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ;
char *arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1;
arg2 = 0;
if (jarg2) {
arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
if (!arg2) return ;
}
{
if(arg2) {
strncpy((char*)arg1->m_linearSpringDampingLimited, (const char *)arg2, 4-1);
arg1->m_linearSpringDampingLimited[4-1] = 0;
} else {
arg1->m_linearSpringDampingLimited[0] = 0;
}
}
if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
}
SWIGEXPORT jstring JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1linearSpringDampingLimited_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jstring jresult = 0 ;
btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ;
char *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1;
result = (char *)(char *) ((arg1)->m_linearSpringDampingLimited);
if (result) jresult = jenv->NewStringUTF((const char *)result);
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1padding1_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ;
char *arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1;
arg2 = 0;
if (jarg2) {
arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
if (!arg2) return ;
}
{
if(arg2) {
strncpy((char*)arg1->m_padding1, (const char *)arg2, 4-1);
arg1->m_padding1[4-1] = 0;
} else {
arg1->m_padding1[0] = 0;
}
}
if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
}
SWIGEXPORT jstring JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1padding1_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jstring jresult = 0 ;
btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ;
char *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1;
result = (char *)(char *) ((arg1)->m_padding1);
if (result) jresult = jenv->NewStringUTF((const char *)result);
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1angularUpperLimit_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ;
btVector3FloatData *arg2 = (btVector3FloatData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1;
arg2 = *(btVector3FloatData **)&jarg2;
if (arg1) (arg1)->m_angularUpperLimit = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1angularUpperLimit_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ;
btVector3FloatData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1;
result = (btVector3FloatData *)& ((arg1)->m_angularUpperLimit);
*(btVector3FloatData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1angularLowerLimit_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ;
btVector3FloatData *arg2 = (btVector3FloatData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1;
arg2 = *(btVector3FloatData **)&jarg2;
if (arg1) (arg1)->m_angularLowerLimit = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1angularLowerLimit_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ;
btVector3FloatData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1;
result = (btVector3FloatData *)& ((arg1)->m_angularLowerLimit);
*(btVector3FloatData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1angularBounce_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ;
btVector3FloatData *arg2 = (btVector3FloatData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1;
arg2 = *(btVector3FloatData **)&jarg2;
if (arg1) (arg1)->m_angularBounce = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1angularBounce_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ;
btVector3FloatData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1;
result = (btVector3FloatData *)& ((arg1)->m_angularBounce);
*(btVector3FloatData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1angularStopERP_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ;
btVector3FloatData *arg2 = (btVector3FloatData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1;
arg2 = *(btVector3FloatData **)&jarg2;
if (arg1) (arg1)->m_angularStopERP = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1angularStopERP_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ;
btVector3FloatData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1;
result = (btVector3FloatData *)& ((arg1)->m_angularStopERP);
*(btVector3FloatData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1angularStopCFM_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ;
btVector3FloatData *arg2 = (btVector3FloatData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1;
arg2 = *(btVector3FloatData **)&jarg2;
if (arg1) (arg1)->m_angularStopCFM = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1angularStopCFM_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ;
btVector3FloatData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1;
result = (btVector3FloatData *)& ((arg1)->m_angularStopCFM);
*(btVector3FloatData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1angularMotorERP_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ;
btVector3FloatData *arg2 = (btVector3FloatData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1;
arg2 = *(btVector3FloatData **)&jarg2;
if (arg1) (arg1)->m_angularMotorERP = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1angularMotorERP_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ;
btVector3FloatData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1;
result = (btVector3FloatData *)& ((arg1)->m_angularMotorERP);
*(btVector3FloatData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1angularMotorCFM_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ;
btVector3FloatData *arg2 = (btVector3FloatData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1;
arg2 = *(btVector3FloatData **)&jarg2;
if (arg1) (arg1)->m_angularMotorCFM = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1angularMotorCFM_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ;
btVector3FloatData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1;
result = (btVector3FloatData *)& ((arg1)->m_angularMotorCFM);
*(btVector3FloatData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1angularTargetVelocity_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ;
btVector3FloatData *arg2 = (btVector3FloatData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1;
arg2 = *(btVector3FloatData **)&jarg2;
if (arg1) (arg1)->m_angularTargetVelocity = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1angularTargetVelocity_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ;
btVector3FloatData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1;
result = (btVector3FloatData *)& ((arg1)->m_angularTargetVelocity);
*(btVector3FloatData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1angularMaxMotorForce_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ;
btVector3FloatData *arg2 = (btVector3FloatData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1;
arg2 = *(btVector3FloatData **)&jarg2;
if (arg1) (arg1)->m_angularMaxMotorForce = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1angularMaxMotorForce_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ;
btVector3FloatData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1;
result = (btVector3FloatData *)& ((arg1)->m_angularMaxMotorForce);
*(btVector3FloatData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1angularServoTarget_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ;
btVector3FloatData *arg2 = (btVector3FloatData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1;
arg2 = *(btVector3FloatData **)&jarg2;
if (arg1) (arg1)->m_angularServoTarget = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1angularServoTarget_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ;
btVector3FloatData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1;
result = (btVector3FloatData *)& ((arg1)->m_angularServoTarget);
*(btVector3FloatData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1angularSpringStiffness_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ;
btVector3FloatData *arg2 = (btVector3FloatData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1;
arg2 = *(btVector3FloatData **)&jarg2;
if (arg1) (arg1)->m_angularSpringStiffness = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1angularSpringStiffness_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ;
btVector3FloatData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1;
result = (btVector3FloatData *)& ((arg1)->m_angularSpringStiffness);
*(btVector3FloatData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1angularSpringDamping_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ;
btVector3FloatData *arg2 = (btVector3FloatData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1;
arg2 = *(btVector3FloatData **)&jarg2;
if (arg1) (arg1)->m_angularSpringDamping = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1angularSpringDamping_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ;
btVector3FloatData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1;
result = (btVector3FloatData *)& ((arg1)->m_angularSpringDamping);
*(btVector3FloatData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1angularEquilibriumPoint_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ;
btVector3FloatData *arg2 = (btVector3FloatData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1;
arg2 = *(btVector3FloatData **)&jarg2;
if (arg1) (arg1)->m_angularEquilibriumPoint = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1angularEquilibriumPoint_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ;
btVector3FloatData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1;
result = (btVector3FloatData *)& ((arg1)->m_angularEquilibriumPoint);
*(btVector3FloatData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1angularEnableMotor_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ;
char *arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1;
arg2 = 0;
if (jarg2) {
arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
if (!arg2) return ;
}
{
if(arg2) {
strncpy((char*)arg1->m_angularEnableMotor, (const char *)arg2, 4-1);
arg1->m_angularEnableMotor[4-1] = 0;
} else {
arg1->m_angularEnableMotor[0] = 0;
}
}
if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
}
SWIGEXPORT jstring JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1angularEnableMotor_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jstring jresult = 0 ;
btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ;
char *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1;
result = (char *)(char *) ((arg1)->m_angularEnableMotor);
if (result) jresult = jenv->NewStringUTF((const char *)result);
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1angularServoMotor_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ;
char *arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1;
arg2 = 0;
if (jarg2) {
arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
if (!arg2) return ;
}
{
if(arg2) {
strncpy((char*)arg1->m_angularServoMotor, (const char *)arg2, 4-1);
arg1->m_angularServoMotor[4-1] = 0;
} else {
arg1->m_angularServoMotor[0] = 0;
}
}
if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
}
SWIGEXPORT jstring JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1angularServoMotor_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jstring jresult = 0 ;
btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ;
char *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1;
result = (char *)(char *) ((arg1)->m_angularServoMotor);
if (result) jresult = jenv->NewStringUTF((const char *)result);
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1angularEnableSpring_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ;
char *arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1;
arg2 = 0;
if (jarg2) {
arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
if (!arg2) return ;
}
{
if(arg2) {
strncpy((char*)arg1->m_angularEnableSpring, (const char *)arg2, 4-1);
arg1->m_angularEnableSpring[4-1] = 0;
} else {
arg1->m_angularEnableSpring[0] = 0;
}
}
if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
}
SWIGEXPORT jstring JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1angularEnableSpring_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jstring jresult = 0 ;
btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ;
char *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1;
result = (char *)(char *) ((arg1)->m_angularEnableSpring);
if (result) jresult = jenv->NewStringUTF((const char *)result);
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1angularSpringStiffnessLimited_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ;
char *arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1;
arg2 = 0;
if (jarg2) {
arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
if (!arg2) return ;
}
{
if(arg2) {
strncpy((char*)arg1->m_angularSpringStiffnessLimited, (const char *)arg2, 4-1);
arg1->m_angularSpringStiffnessLimited[4-1] = 0;
} else {
arg1->m_angularSpringStiffnessLimited[0] = 0;
}
}
if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
}
SWIGEXPORT jstring JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1angularSpringStiffnessLimited_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jstring jresult = 0 ;
btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ;
char *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1;
result = (char *)(char *) ((arg1)->m_angularSpringStiffnessLimited);
if (result) jresult = jenv->NewStringUTF((const char *)result);
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1angularSpringDampingLimited_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ;
char *arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1;
arg2 = 0;
if (jarg2) {
arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
if (!arg2) return ;
}
{
if(arg2) {
strncpy((char*)arg1->m_angularSpringDampingLimited, (const char *)arg2, 4-1);
arg1->m_angularSpringDampingLimited[4-1] = 0;
} else {
arg1->m_angularSpringDampingLimited[0] = 0;
}
}
if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
}
SWIGEXPORT jstring JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1angularSpringDampingLimited_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jstring jresult = 0 ;
btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ;
char *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1;
result = (char *)(char *) ((arg1)->m_angularSpringDampingLimited);
if (result) jresult = jenv->NewStringUTF((const char *)result);
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1rotateOrder_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_rotateOrder = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1rotateOrder_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1;
result = (int) ((arg1)->m_rotateOrder);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btGeneric6DofSpring2ConstraintData(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btGeneric6DofSpring2ConstraintData *result = 0 ;
(void)jenv;
(void)jcls;
result = (btGeneric6DofSpring2ConstraintData *)new btGeneric6DofSpring2ConstraintData();
*(btGeneric6DofSpring2ConstraintData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btGeneric6DofSpring2ConstraintData(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1typeConstraintData_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ;
btTypedConstraintDoubleData *arg2 = (btTypedConstraintDoubleData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1;
arg2 = *(btTypedConstraintDoubleData **)&jarg2;
if (arg1) (arg1)->m_typeConstraintData = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1typeConstraintData_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ;
btTypedConstraintDoubleData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1;
result = (btTypedConstraintDoubleData *)& ((arg1)->m_typeConstraintData);
*(btTypedConstraintDoubleData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1rbAFrame_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ;
btTransformDoubleData *arg2 = (btTransformDoubleData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1;
arg2 = *(btTransformDoubleData **)&jarg2;
if (arg1) (arg1)->m_rbAFrame = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1rbAFrame_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ;
btTransformDoubleData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1;
result = (btTransformDoubleData *)& ((arg1)->m_rbAFrame);
*(btTransformDoubleData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1rbBFrame_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ;
btTransformDoubleData *arg2 = (btTransformDoubleData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1;
arg2 = *(btTransformDoubleData **)&jarg2;
if (arg1) (arg1)->m_rbBFrame = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1rbBFrame_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ;
btTransformDoubleData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1;
result = (btTransformDoubleData *)& ((arg1)->m_rbBFrame);
*(btTransformDoubleData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1linearUpperLimit_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ;
btVector3DoubleData *arg2 = (btVector3DoubleData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1;
arg2 = *(btVector3DoubleData **)&jarg2;
if (arg1) (arg1)->m_linearUpperLimit = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1linearUpperLimit_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ;
btVector3DoubleData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1;
result = (btVector3DoubleData *)& ((arg1)->m_linearUpperLimit);
*(btVector3DoubleData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1linearLowerLimit_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ;
btVector3DoubleData *arg2 = (btVector3DoubleData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1;
arg2 = *(btVector3DoubleData **)&jarg2;
if (arg1) (arg1)->m_linearLowerLimit = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1linearLowerLimit_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ;
btVector3DoubleData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1;
result = (btVector3DoubleData *)& ((arg1)->m_linearLowerLimit);
*(btVector3DoubleData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1linearBounce_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ;
btVector3DoubleData *arg2 = (btVector3DoubleData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1;
arg2 = *(btVector3DoubleData **)&jarg2;
if (arg1) (arg1)->m_linearBounce = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1linearBounce_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ;
btVector3DoubleData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1;
result = (btVector3DoubleData *)& ((arg1)->m_linearBounce);
*(btVector3DoubleData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1linearStopERP_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ;
btVector3DoubleData *arg2 = (btVector3DoubleData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1;
arg2 = *(btVector3DoubleData **)&jarg2;
if (arg1) (arg1)->m_linearStopERP = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1linearStopERP_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ;
btVector3DoubleData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1;
result = (btVector3DoubleData *)& ((arg1)->m_linearStopERP);
*(btVector3DoubleData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1linearStopCFM_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ;
btVector3DoubleData *arg2 = (btVector3DoubleData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1;
arg2 = *(btVector3DoubleData **)&jarg2;
if (arg1) (arg1)->m_linearStopCFM = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1linearStopCFM_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ;
btVector3DoubleData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1;
result = (btVector3DoubleData *)& ((arg1)->m_linearStopCFM);
*(btVector3DoubleData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1linearMotorERP_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ;
btVector3DoubleData *arg2 = (btVector3DoubleData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1;
arg2 = *(btVector3DoubleData **)&jarg2;
if (arg1) (arg1)->m_linearMotorERP = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1linearMotorERP_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ;
btVector3DoubleData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1;
result = (btVector3DoubleData *)& ((arg1)->m_linearMotorERP);
*(btVector3DoubleData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1linearMotorCFM_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ;
btVector3DoubleData *arg2 = (btVector3DoubleData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1;
arg2 = *(btVector3DoubleData **)&jarg2;
if (arg1) (arg1)->m_linearMotorCFM = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1linearMotorCFM_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ;
btVector3DoubleData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1;
result = (btVector3DoubleData *)& ((arg1)->m_linearMotorCFM);
*(btVector3DoubleData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1linearTargetVelocity_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ;
btVector3DoubleData *arg2 = (btVector3DoubleData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1;
arg2 = *(btVector3DoubleData **)&jarg2;
if (arg1) (arg1)->m_linearTargetVelocity = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1linearTargetVelocity_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ;
btVector3DoubleData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1;
result = (btVector3DoubleData *)& ((arg1)->m_linearTargetVelocity);
*(btVector3DoubleData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1linearMaxMotorForce_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ;
btVector3DoubleData *arg2 = (btVector3DoubleData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1;
arg2 = *(btVector3DoubleData **)&jarg2;
if (arg1) (arg1)->m_linearMaxMotorForce = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1linearMaxMotorForce_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ;
btVector3DoubleData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1;
result = (btVector3DoubleData *)& ((arg1)->m_linearMaxMotorForce);
*(btVector3DoubleData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1linearServoTarget_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ;
btVector3DoubleData *arg2 = (btVector3DoubleData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1;
arg2 = *(btVector3DoubleData **)&jarg2;
if (arg1) (arg1)->m_linearServoTarget = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1linearServoTarget_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ;
btVector3DoubleData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1;
result = (btVector3DoubleData *)& ((arg1)->m_linearServoTarget);
*(btVector3DoubleData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1linearSpringStiffness_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ;
btVector3DoubleData *arg2 = (btVector3DoubleData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1;
arg2 = *(btVector3DoubleData **)&jarg2;
if (arg1) (arg1)->m_linearSpringStiffness = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1linearSpringStiffness_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ;
btVector3DoubleData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1;
result = (btVector3DoubleData *)& ((arg1)->m_linearSpringStiffness);
*(btVector3DoubleData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1linearSpringDamping_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ;
btVector3DoubleData *arg2 = (btVector3DoubleData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1;
arg2 = *(btVector3DoubleData **)&jarg2;
if (arg1) (arg1)->m_linearSpringDamping = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1linearSpringDamping_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ;
btVector3DoubleData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1;
result = (btVector3DoubleData *)& ((arg1)->m_linearSpringDamping);
*(btVector3DoubleData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1linearEquilibriumPoint_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ;
btVector3DoubleData *arg2 = (btVector3DoubleData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1;
arg2 = *(btVector3DoubleData **)&jarg2;
if (arg1) (arg1)->m_linearEquilibriumPoint = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1linearEquilibriumPoint_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ;
btVector3DoubleData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1;
result = (btVector3DoubleData *)& ((arg1)->m_linearEquilibriumPoint);
*(btVector3DoubleData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1linearEnableMotor_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ;
char *arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1;
arg2 = 0;
if (jarg2) {
arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
if (!arg2) return ;
}
{
if(arg2) {
strncpy((char*)arg1->m_linearEnableMotor, (const char *)arg2, 4-1);
arg1->m_linearEnableMotor[4-1] = 0;
} else {
arg1->m_linearEnableMotor[0] = 0;
}
}
if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
}
SWIGEXPORT jstring JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1linearEnableMotor_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jstring jresult = 0 ;
btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ;
char *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1;
result = (char *)(char *) ((arg1)->m_linearEnableMotor);
if (result) jresult = jenv->NewStringUTF((const char *)result);
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1linearServoMotor_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ;
char *arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1;
arg2 = 0;
if (jarg2) {
arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
if (!arg2) return ;
}
{
if(arg2) {
strncpy((char*)arg1->m_linearServoMotor, (const char *)arg2, 4-1);
arg1->m_linearServoMotor[4-1] = 0;
} else {
arg1->m_linearServoMotor[0] = 0;
}
}
if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
}
SWIGEXPORT jstring JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1linearServoMotor_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jstring jresult = 0 ;
btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ;
char *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1;
result = (char *)(char *) ((arg1)->m_linearServoMotor);
if (result) jresult = jenv->NewStringUTF((const char *)result);
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1linearEnableSpring_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ;
char *arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1;
arg2 = 0;
if (jarg2) {
arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
if (!arg2) return ;
}
{
if(arg2) {
strncpy((char*)arg1->m_linearEnableSpring, (const char *)arg2, 4-1);
arg1->m_linearEnableSpring[4-1] = 0;
} else {
arg1->m_linearEnableSpring[0] = 0;
}
}
if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
}
SWIGEXPORT jstring JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1linearEnableSpring_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jstring jresult = 0 ;
btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ;
char *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1;
result = (char *)(char *) ((arg1)->m_linearEnableSpring);
if (result) jresult = jenv->NewStringUTF((const char *)result);
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1linearSpringStiffnessLimited_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ;
char *arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1;
arg2 = 0;
if (jarg2) {
arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
if (!arg2) return ;
}
{
if(arg2) {
strncpy((char*)arg1->m_linearSpringStiffnessLimited, (const char *)arg2, 4-1);
arg1->m_linearSpringStiffnessLimited[4-1] = 0;
} else {
arg1->m_linearSpringStiffnessLimited[0] = 0;
}
}
if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
}
SWIGEXPORT jstring JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1linearSpringStiffnessLimited_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jstring jresult = 0 ;
btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ;
char *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1;
result = (char *)(char *) ((arg1)->m_linearSpringStiffnessLimited);
if (result) jresult = jenv->NewStringUTF((const char *)result);
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1linearSpringDampingLimited_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ;
char *arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1;
arg2 = 0;
if (jarg2) {
arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
if (!arg2) return ;
}
{
if(arg2) {
strncpy((char*)arg1->m_linearSpringDampingLimited, (const char *)arg2, 4-1);
arg1->m_linearSpringDampingLimited[4-1] = 0;
} else {
arg1->m_linearSpringDampingLimited[0] = 0;
}
}
if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
}
SWIGEXPORT jstring JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1linearSpringDampingLimited_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jstring jresult = 0 ;
btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ;
char *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1;
result = (char *)(char *) ((arg1)->m_linearSpringDampingLimited);
if (result) jresult = jenv->NewStringUTF((const char *)result);
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1padding1_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ;
char *arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1;
arg2 = 0;
if (jarg2) {
arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
if (!arg2) return ;
}
{
if(arg2) {
strncpy((char*)arg1->m_padding1, (const char *)arg2, 4-1);
arg1->m_padding1[4-1] = 0;
} else {
arg1->m_padding1[0] = 0;
}
}
if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
}
SWIGEXPORT jstring JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1padding1_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jstring jresult = 0 ;
btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ;
char *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1;
result = (char *)(char *) ((arg1)->m_padding1);
if (result) jresult = jenv->NewStringUTF((const char *)result);
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1angularUpperLimit_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ;
btVector3DoubleData *arg2 = (btVector3DoubleData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1;
arg2 = *(btVector3DoubleData **)&jarg2;
if (arg1) (arg1)->m_angularUpperLimit = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1angularUpperLimit_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ;
btVector3DoubleData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1;
result = (btVector3DoubleData *)& ((arg1)->m_angularUpperLimit);
*(btVector3DoubleData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1angularLowerLimit_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ;
btVector3DoubleData *arg2 = (btVector3DoubleData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1;
arg2 = *(btVector3DoubleData **)&jarg2;
if (arg1) (arg1)->m_angularLowerLimit = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1angularLowerLimit_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ;
btVector3DoubleData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1;
result = (btVector3DoubleData *)& ((arg1)->m_angularLowerLimit);
*(btVector3DoubleData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1angularBounce_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ;
btVector3DoubleData *arg2 = (btVector3DoubleData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1;
arg2 = *(btVector3DoubleData **)&jarg2;
if (arg1) (arg1)->m_angularBounce = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1angularBounce_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ;
btVector3DoubleData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1;
result = (btVector3DoubleData *)& ((arg1)->m_angularBounce);
*(btVector3DoubleData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1angularStopERP_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ;
btVector3DoubleData *arg2 = (btVector3DoubleData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1;
arg2 = *(btVector3DoubleData **)&jarg2;
if (arg1) (arg1)->m_angularStopERP = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1angularStopERP_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ;
btVector3DoubleData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1;
result = (btVector3DoubleData *)& ((arg1)->m_angularStopERP);
*(btVector3DoubleData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1angularStopCFM_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ;
btVector3DoubleData *arg2 = (btVector3DoubleData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1;
arg2 = *(btVector3DoubleData **)&jarg2;
if (arg1) (arg1)->m_angularStopCFM = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1angularStopCFM_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ;
btVector3DoubleData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1;
result = (btVector3DoubleData *)& ((arg1)->m_angularStopCFM);
*(btVector3DoubleData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1angularMotorERP_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ;
btVector3DoubleData *arg2 = (btVector3DoubleData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1;
arg2 = *(btVector3DoubleData **)&jarg2;
if (arg1) (arg1)->m_angularMotorERP = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1angularMotorERP_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ;
btVector3DoubleData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1;
result = (btVector3DoubleData *)& ((arg1)->m_angularMotorERP);
*(btVector3DoubleData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1angularMotorCFM_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ;
btVector3DoubleData *arg2 = (btVector3DoubleData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1;
arg2 = *(btVector3DoubleData **)&jarg2;
if (arg1) (arg1)->m_angularMotorCFM = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1angularMotorCFM_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ;
btVector3DoubleData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1;
result = (btVector3DoubleData *)& ((arg1)->m_angularMotorCFM);
*(btVector3DoubleData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1angularTargetVelocity_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ;
btVector3DoubleData *arg2 = (btVector3DoubleData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1;
arg2 = *(btVector3DoubleData **)&jarg2;
if (arg1) (arg1)->m_angularTargetVelocity = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1angularTargetVelocity_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ;
btVector3DoubleData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1;
result = (btVector3DoubleData *)& ((arg1)->m_angularTargetVelocity);
*(btVector3DoubleData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1angularMaxMotorForce_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ;
btVector3DoubleData *arg2 = (btVector3DoubleData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1;
arg2 = *(btVector3DoubleData **)&jarg2;
if (arg1) (arg1)->m_angularMaxMotorForce = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1angularMaxMotorForce_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ;
btVector3DoubleData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1;
result = (btVector3DoubleData *)& ((arg1)->m_angularMaxMotorForce);
*(btVector3DoubleData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1angularServoTarget_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ;
btVector3DoubleData *arg2 = (btVector3DoubleData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1;
arg2 = *(btVector3DoubleData **)&jarg2;
if (arg1) (arg1)->m_angularServoTarget = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1angularServoTarget_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ;
btVector3DoubleData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1;
result = (btVector3DoubleData *)& ((arg1)->m_angularServoTarget);
*(btVector3DoubleData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1angularSpringStiffness_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ;
btVector3DoubleData *arg2 = (btVector3DoubleData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1;
arg2 = *(btVector3DoubleData **)&jarg2;
if (arg1) (arg1)->m_angularSpringStiffness = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1angularSpringStiffness_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ;
btVector3DoubleData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1;
result = (btVector3DoubleData *)& ((arg1)->m_angularSpringStiffness);
*(btVector3DoubleData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1angularSpringDamping_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ;
btVector3DoubleData *arg2 = (btVector3DoubleData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1;
arg2 = *(btVector3DoubleData **)&jarg2;
if (arg1) (arg1)->m_angularSpringDamping = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1angularSpringDamping_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ;
btVector3DoubleData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1;
result = (btVector3DoubleData *)& ((arg1)->m_angularSpringDamping);
*(btVector3DoubleData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1angularEquilibriumPoint_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ;
btVector3DoubleData *arg2 = (btVector3DoubleData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1;
arg2 = *(btVector3DoubleData **)&jarg2;
if (arg1) (arg1)->m_angularEquilibriumPoint = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1angularEquilibriumPoint_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ;
btVector3DoubleData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1;
result = (btVector3DoubleData *)& ((arg1)->m_angularEquilibriumPoint);
*(btVector3DoubleData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1angularEnableMotor_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ;
char *arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1;
arg2 = 0;
if (jarg2) {
arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
if (!arg2) return ;
}
{
if(arg2) {
strncpy((char*)arg1->m_angularEnableMotor, (const char *)arg2, 4-1);
arg1->m_angularEnableMotor[4-1] = 0;
} else {
arg1->m_angularEnableMotor[0] = 0;
}
}
if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
}
SWIGEXPORT jstring JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1angularEnableMotor_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jstring jresult = 0 ;
btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ;
char *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1;
result = (char *)(char *) ((arg1)->m_angularEnableMotor);
if (result) jresult = jenv->NewStringUTF((const char *)result);
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1angularServoMotor_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ;
char *arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1;
arg2 = 0;
if (jarg2) {
arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
if (!arg2) return ;
}
{
if(arg2) {
strncpy((char*)arg1->m_angularServoMotor, (const char *)arg2, 4-1);
arg1->m_angularServoMotor[4-1] = 0;
} else {
arg1->m_angularServoMotor[0] = 0;
}
}
if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
}
SWIGEXPORT jstring JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1angularServoMotor_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jstring jresult = 0 ;
btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ;
char *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1;
result = (char *)(char *) ((arg1)->m_angularServoMotor);
if (result) jresult = jenv->NewStringUTF((const char *)result);
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1angularEnableSpring_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ;
char *arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1;
arg2 = 0;
if (jarg2) {
arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
if (!arg2) return ;
}
{
if(arg2) {
strncpy((char*)arg1->m_angularEnableSpring, (const char *)arg2, 4-1);
arg1->m_angularEnableSpring[4-1] = 0;
} else {
arg1->m_angularEnableSpring[0] = 0;
}
}
if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
}
SWIGEXPORT jstring JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1angularEnableSpring_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jstring jresult = 0 ;
btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ;
char *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1;
result = (char *)(char *) ((arg1)->m_angularEnableSpring);
if (result) jresult = jenv->NewStringUTF((const char *)result);
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1angularSpringStiffnessLimited_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ;
char *arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1;
arg2 = 0;
if (jarg2) {
arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
if (!arg2) return ;
}
{
if(arg2) {
strncpy((char*)arg1->m_angularSpringStiffnessLimited, (const char *)arg2, 4-1);
arg1->m_angularSpringStiffnessLimited[4-1] = 0;
} else {
arg1->m_angularSpringStiffnessLimited[0] = 0;
}
}
if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
}
SWIGEXPORT jstring JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1angularSpringStiffnessLimited_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jstring jresult = 0 ;
btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ;
char *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1;
result = (char *)(char *) ((arg1)->m_angularSpringStiffnessLimited);
if (result) jresult = jenv->NewStringUTF((const char *)result);
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1angularSpringDampingLimited_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ;
char *arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1;
arg2 = 0;
if (jarg2) {
arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
if (!arg2) return ;
}
{
if(arg2) {
strncpy((char*)arg1->m_angularSpringDampingLimited, (const char *)arg2, 4-1);
arg1->m_angularSpringDampingLimited[4-1] = 0;
} else {
arg1->m_angularSpringDampingLimited[0] = 0;
}
}
if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
}
SWIGEXPORT jstring JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1angularSpringDampingLimited_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jstring jresult = 0 ;
btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ;
char *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1;
result = (char *)(char *) ((arg1)->m_angularSpringDampingLimited);
if (result) jresult = jenv->NewStringUTF((const char *)result);
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1rotateOrder_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_rotateOrder = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1rotateOrder_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1;
result = (int) ((arg1)->m_rotateOrder);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btGeneric6DofSpring2ConstraintDoubleData2(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btGeneric6DofSpring2ConstraintDoubleData2 *result = 0 ;
(void)jenv;
(void)jcls;
result = (btGeneric6DofSpring2ConstraintDoubleData2 *)new btGeneric6DofSpring2ConstraintDoubleData2();
*(btGeneric6DofSpring2ConstraintDoubleData2 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btGeneric6DofSpring2ConstraintDoubleData2(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1;
delete arg1;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraint_1operatorNew_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btHingeConstraint *arg1 = (btHingeConstraint *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraint **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new(arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraint_1operatorDelete_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btHingeConstraint *arg1 = (btHingeConstraint *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraint **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete(arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraint_1operatorNew_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btHingeConstraint *arg1 = (btHingeConstraint *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraint **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new(arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraint_1operatorDelete_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btHingeConstraint *arg1 = (btHingeConstraint *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraint **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete(arg2,arg3);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraint_1operatorNewArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btHingeConstraint *arg1 = (btHingeConstraint *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraint **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new[](arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraint_1operatorDeleteArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btHingeConstraint *arg1 = (btHingeConstraint *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraint **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete[](arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraint_1operatorNewArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btHingeConstraint *arg1 = (btHingeConstraint *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraint **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new[](arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraint_1operatorDeleteArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btHingeConstraint *arg1 = (btHingeConstraint *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraint **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete[](arg2,arg3);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btHingeConstraint_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jobject jarg3, jobject jarg4, jobject jarg5, jobject jarg6, jboolean jarg7) {
jlong jresult = 0 ;
btRigidBody *arg1 = 0 ;
btRigidBody *arg2 = 0 ;
btVector3 *arg3 = 0 ;
btVector3 *arg4 = 0 ;
btVector3 *arg5 = 0 ;
btVector3 *arg6 = 0 ;
bool arg7 ;
btHingeConstraint *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btRigidBody **)&jarg1;
if (!arg1) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btRigidBody & reference is null");
return 0;
}
arg2 = *(btRigidBody **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btRigidBody & reference is null");
return 0;
}
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
btVector3 local_arg4;
gdx_setbtVector3FromVector3(jenv, local_arg4, jarg4);
arg4 = &local_arg4;
gdxAutoCommitVector3 auto_commit_arg4(jenv, jarg4, &local_arg4);
btVector3 local_arg5;
gdx_setbtVector3FromVector3(jenv, local_arg5, jarg5);
arg5 = &local_arg5;
gdxAutoCommitVector3 auto_commit_arg5(jenv, jarg5, &local_arg5);
btVector3 local_arg6;
gdx_setbtVector3FromVector3(jenv, local_arg6, jarg6);
arg6 = &local_arg6;
gdxAutoCommitVector3 auto_commit_arg6(jenv, jarg6, &local_arg6);
arg7 = jarg7 ? true : false;
result = (btHingeConstraint *)new btHingeConstraint(*arg1,*arg2,(btVector3 const &)*arg3,(btVector3 const &)*arg4,(btVector3 const &)*arg5,(btVector3 const &)*arg6,arg7);
*(btHingeConstraint **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btHingeConstraint_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jobject jarg3, jobject jarg4, jobject jarg5, jobject jarg6) {
jlong jresult = 0 ;
btRigidBody *arg1 = 0 ;
btRigidBody *arg2 = 0 ;
btVector3 *arg3 = 0 ;
btVector3 *arg4 = 0 ;
btVector3 *arg5 = 0 ;
btVector3 *arg6 = 0 ;
btHingeConstraint *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btRigidBody **)&jarg1;
if (!arg1) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btRigidBody & reference is null");
return 0;
}
arg2 = *(btRigidBody **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btRigidBody & reference is null");
return 0;
}
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
btVector3 local_arg4;
gdx_setbtVector3FromVector3(jenv, local_arg4, jarg4);
arg4 = &local_arg4;
gdxAutoCommitVector3 auto_commit_arg4(jenv, jarg4, &local_arg4);
btVector3 local_arg5;
gdx_setbtVector3FromVector3(jenv, local_arg5, jarg5);
arg5 = &local_arg5;
gdxAutoCommitVector3 auto_commit_arg5(jenv, jarg5, &local_arg5);
btVector3 local_arg6;
gdx_setbtVector3FromVector3(jenv, local_arg6, jarg6);
arg6 = &local_arg6;
gdxAutoCommitVector3 auto_commit_arg6(jenv, jarg6, &local_arg6);
result = (btHingeConstraint *)new btHingeConstraint(*arg1,*arg2,(btVector3 const &)*arg3,(btVector3 const &)*arg4,(btVector3 const &)*arg5,(btVector3 const &)*arg6);
*(btHingeConstraint **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btHingeConstraint_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jobject jarg3, jboolean jarg4) {
jlong jresult = 0 ;
btRigidBody *arg1 = 0 ;
btVector3 *arg2 = 0 ;
btVector3 *arg3 = 0 ;
bool arg4 ;
btHingeConstraint *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody **)&jarg1;
if (!arg1) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btRigidBody & reference is null");
return 0;
}
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
arg4 = jarg4 ? true : false;
result = (btHingeConstraint *)new btHingeConstraint(*arg1,(btVector3 const &)*arg2,(btVector3 const &)*arg3,arg4);
*(btHingeConstraint **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btHingeConstraint_1_1SWIG_13(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jobject jarg3) {
jlong jresult = 0 ;
btRigidBody *arg1 = 0 ;
btVector3 *arg2 = 0 ;
btVector3 *arg3 = 0 ;
btHingeConstraint *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody **)&jarg1;
if (!arg1) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btRigidBody & reference is null");
return 0;
}
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
result = (btHingeConstraint *)new btHingeConstraint(*arg1,(btVector3 const &)*arg2,(btVector3 const &)*arg3);
*(btHingeConstraint **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btHingeConstraint_1_1SWIG_14(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jobject jarg3, jobject jarg4, jboolean jarg5) {
jlong jresult = 0 ;
btRigidBody *arg1 = 0 ;
btRigidBody *arg2 = 0 ;
btTransform *arg3 = 0 ;
btTransform *arg4 = 0 ;
bool arg5 ;
btHingeConstraint *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btRigidBody **)&jarg1;
if (!arg1) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btRigidBody & reference is null");
return 0;
}
arg2 = *(btRigidBody **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btRigidBody & reference is null");
return 0;
}
btTransform local_arg3;
gdx_setbtTransformFromMatrix4(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitMatrix4 auto_commit_arg3(jenv, jarg3, &local_arg3);
btTransform local_arg4;
gdx_setbtTransformFromMatrix4(jenv, local_arg4, jarg4);
arg4 = &local_arg4;
gdxAutoCommitMatrix4 auto_commit_arg4(jenv, jarg4, &local_arg4);
arg5 = jarg5 ? true : false;
result = (btHingeConstraint *)new btHingeConstraint(*arg1,*arg2,(btTransform const &)*arg3,(btTransform const &)*arg4,arg5);
*(btHingeConstraint **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btHingeConstraint_1_1SWIG_15(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jobject jarg3, jobject jarg4) {
jlong jresult = 0 ;
btRigidBody *arg1 = 0 ;
btRigidBody *arg2 = 0 ;
btTransform *arg3 = 0 ;
btTransform *arg4 = 0 ;
btHingeConstraint *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btRigidBody **)&jarg1;
if (!arg1) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btRigidBody & reference is null");
return 0;
}
arg2 = *(btRigidBody **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btRigidBody & reference is null");
return 0;
}
btTransform local_arg3;
gdx_setbtTransformFromMatrix4(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitMatrix4 auto_commit_arg3(jenv, jarg3, &local_arg3);
btTransform local_arg4;
gdx_setbtTransformFromMatrix4(jenv, local_arg4, jarg4);
arg4 = &local_arg4;
gdxAutoCommitMatrix4 auto_commit_arg4(jenv, jarg4, &local_arg4);
result = (btHingeConstraint *)new btHingeConstraint(*arg1,*arg2,(btTransform const &)*arg3,(btTransform const &)*arg4);
*(btHingeConstraint **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btHingeConstraint_1_1SWIG_16(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jboolean jarg3) {
jlong jresult = 0 ;
btRigidBody *arg1 = 0 ;
btTransform *arg2 = 0 ;
bool arg3 ;
btHingeConstraint *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody **)&jarg1;
if (!arg1) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btRigidBody & reference is null");
return 0;
}
btTransform local_arg2;
gdx_setbtTransformFromMatrix4(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitMatrix4 auto_commit_arg2(jenv, jarg2, &local_arg2);
arg3 = jarg3 ? true : false;
result = (btHingeConstraint *)new btHingeConstraint(*arg1,(btTransform const &)*arg2,arg3);
*(btHingeConstraint **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btHingeConstraint_1_1SWIG_17(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
jlong jresult = 0 ;
btRigidBody *arg1 = 0 ;
btTransform *arg2 = 0 ;
btHingeConstraint *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody **)&jarg1;
if (!arg1) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btRigidBody & reference is null");
return 0;
}
btTransform local_arg2;
gdx_setbtTransformFromMatrix4(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitMatrix4 auto_commit_arg2(jenv, jarg2, &local_arg2);
result = (btHingeConstraint *)new btHingeConstraint(*arg1,(btTransform const &)*arg2);
*(btHingeConstraint **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraint_1getInfo1NonVirtual(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btHingeConstraint *arg1 = (btHingeConstraint *) 0 ;
btTypedConstraint::btConstraintInfo1 *arg2 = (btTypedConstraint::btConstraintInfo1 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btHingeConstraint **)&jarg1;
arg2 = *(btTypedConstraint::btConstraintInfo1 **)&jarg2;
(arg1)->getInfo1NonVirtual(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraint_1getInfo2NonVirtual(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jobject jarg3, jobject jarg4, jobject jarg5, jobject jarg6) {
btHingeConstraint *arg1 = (btHingeConstraint *) 0 ;
btTypedConstraint::btConstraintInfo2 *arg2 = (btTypedConstraint::btConstraintInfo2 *) 0 ;
btTransform *arg3 = 0 ;
btTransform *arg4 = 0 ;
btVector3 *arg5 = 0 ;
btVector3 *arg6 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btHingeConstraint **)&jarg1;
arg2 = *(btTypedConstraint::btConstraintInfo2 **)&jarg2;
btTransform local_arg3;
gdx_setbtTransformFromMatrix4(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitMatrix4 auto_commit_arg3(jenv, jarg3, &local_arg3);
btTransform local_arg4;
gdx_setbtTransformFromMatrix4(jenv, local_arg4, jarg4);
arg4 = &local_arg4;
gdxAutoCommitMatrix4 auto_commit_arg4(jenv, jarg4, &local_arg4);
btVector3 local_arg5;
gdx_setbtVector3FromVector3(jenv, local_arg5, jarg5);
arg5 = &local_arg5;
gdxAutoCommitVector3 auto_commit_arg5(jenv, jarg5, &local_arg5);
btVector3 local_arg6;
gdx_setbtVector3FromVector3(jenv, local_arg6, jarg6);
arg6 = &local_arg6;
gdxAutoCommitVector3 auto_commit_arg6(jenv, jarg6, &local_arg6);
(arg1)->getInfo2NonVirtual(arg2,(btTransform const &)*arg3,(btTransform const &)*arg4,(btVector3 const &)*arg5,(btVector3 const &)*arg6);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraint_1getInfo2Internal(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jobject jarg3, jobject jarg4, jobject jarg5, jobject jarg6) {
btHingeConstraint *arg1 = (btHingeConstraint *) 0 ;
btTypedConstraint::btConstraintInfo2 *arg2 = (btTypedConstraint::btConstraintInfo2 *) 0 ;
btTransform *arg3 = 0 ;
btTransform *arg4 = 0 ;
btVector3 *arg5 = 0 ;
btVector3 *arg6 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btHingeConstraint **)&jarg1;
arg2 = *(btTypedConstraint::btConstraintInfo2 **)&jarg2;
btTransform local_arg3;
gdx_setbtTransformFromMatrix4(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitMatrix4 auto_commit_arg3(jenv, jarg3, &local_arg3);
btTransform local_arg4;
gdx_setbtTransformFromMatrix4(jenv, local_arg4, jarg4);
arg4 = &local_arg4;
gdxAutoCommitMatrix4 auto_commit_arg4(jenv, jarg4, &local_arg4);
btVector3 local_arg5;
gdx_setbtVector3FromVector3(jenv, local_arg5, jarg5);
arg5 = &local_arg5;
gdxAutoCommitVector3 auto_commit_arg5(jenv, jarg5, &local_arg5);
btVector3 local_arg6;
gdx_setbtVector3FromVector3(jenv, local_arg6, jarg6);
arg6 = &local_arg6;
gdxAutoCommitVector3 auto_commit_arg6(jenv, jarg6, &local_arg6);
(arg1)->getInfo2Internal(arg2,(btTransform const &)*arg3,(btTransform const &)*arg4,(btVector3 const &)*arg5,(btVector3 const &)*arg6);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraint_1getInfo2InternalUsingFrameOffset(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jobject jarg3, jobject jarg4, jobject jarg5, jobject jarg6) {
btHingeConstraint *arg1 = (btHingeConstraint *) 0 ;
btTypedConstraint::btConstraintInfo2 *arg2 = (btTypedConstraint::btConstraintInfo2 *) 0 ;
btTransform *arg3 = 0 ;
btTransform *arg4 = 0 ;
btVector3 *arg5 = 0 ;
btVector3 *arg6 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btHingeConstraint **)&jarg1;
arg2 = *(btTypedConstraint::btConstraintInfo2 **)&jarg2;
btTransform local_arg3;
gdx_setbtTransformFromMatrix4(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitMatrix4 auto_commit_arg3(jenv, jarg3, &local_arg3);
btTransform local_arg4;
gdx_setbtTransformFromMatrix4(jenv, local_arg4, jarg4);
arg4 = &local_arg4;
gdxAutoCommitMatrix4 auto_commit_arg4(jenv, jarg4, &local_arg4);
btVector3 local_arg5;
gdx_setbtVector3FromVector3(jenv, local_arg5, jarg5);
arg5 = &local_arg5;
gdxAutoCommitVector3 auto_commit_arg5(jenv, jarg5, &local_arg5);
btVector3 local_arg6;
gdx_setbtVector3FromVector3(jenv, local_arg6, jarg6);
arg6 = &local_arg6;
gdxAutoCommitVector3 auto_commit_arg6(jenv, jarg6, &local_arg6);
(arg1)->getInfo2InternalUsingFrameOffset(arg2,(btTransform const &)*arg3,(btTransform const &)*arg4,(btVector3 const &)*arg5,(btVector3 const &)*arg6);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraint_1updateRHS(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btHingeConstraint *arg1 = (btHingeConstraint *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraint **)&jarg1;
arg2 = (btScalar)jarg2;
(arg1)->updateRHS(arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraint_1getRigidBodyAConst(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btHingeConstraint *arg1 = (btHingeConstraint *) 0 ;
btRigidBody *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraint **)&jarg1;
result = (btRigidBody *) &((btHingeConstraint const *)arg1)->getRigidBodyA();
*(btRigidBody **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraint_1getRigidBodyBConst(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btHingeConstraint *arg1 = (btHingeConstraint *) 0 ;
btRigidBody *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraint **)&jarg1;
result = (btRigidBody *) &((btHingeConstraint const *)arg1)->getRigidBodyB();
*(btRigidBody **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraint_1getRigidBodyA(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btHingeConstraint *arg1 = (btHingeConstraint *) 0 ;
btRigidBody *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraint **)&jarg1;
result = (btRigidBody *) &(arg1)->getRigidBodyA();
*(btRigidBody **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraint_1getRigidBodyB(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btHingeConstraint *arg1 = (btHingeConstraint *) 0 ;
btRigidBody *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraint **)&jarg1;
result = (btRigidBody *) &(arg1)->getRigidBodyB();
*(btRigidBody **)&jresult = result;
return jresult;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraint_1getFrameOffsetA(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btHingeConstraint *arg1 = (btHingeConstraint *) 0 ;
btTransform *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraint **)&jarg1;
result = (btTransform *) &(arg1)->getFrameOffsetA();
jresult = gdx_getReturnMatrix4(jenv);
gdx_setMatrix4FrombtTransform(jenv, jresult, result);
return jresult;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraint_1getFrameOffsetB(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btHingeConstraint *arg1 = (btHingeConstraint *) 0 ;
btTransform *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraint **)&jarg1;
result = (btTransform *) &(arg1)->getFrameOffsetB();
jresult = gdx_getReturnMatrix4(jenv);
gdx_setMatrix4FrombtTransform(jenv, jresult, result);
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraint_1setFrames(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jobject jarg3) {
btHingeConstraint *arg1 = (btHingeConstraint *) 0 ;
btTransform *arg2 = 0 ;
btTransform *arg3 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraint **)&jarg1;
btTransform local_arg2;
gdx_setbtTransformFromMatrix4(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitMatrix4 auto_commit_arg2(jenv, jarg2, &local_arg2);
btTransform local_arg3;
gdx_setbtTransformFromMatrix4(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitMatrix4 auto_commit_arg3(jenv, jarg3, &local_arg3);
(arg1)->setFrames((btTransform const &)*arg2,(btTransform const &)*arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraint_1setAngularOnly(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jboolean jarg2) {
btHingeConstraint *arg1 = (btHingeConstraint *) 0 ;
bool arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraint **)&jarg1;
arg2 = jarg2 ? true : false;
(arg1)->setAngularOnly(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraint_1enableAngularMotor(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jboolean jarg2, jfloat jarg3, jfloat jarg4) {
btHingeConstraint *arg1 = (btHingeConstraint *) 0 ;
bool arg2 ;
btScalar arg3 ;
btScalar arg4 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraint **)&jarg1;
arg2 = jarg2 ? true : false;
arg3 = (btScalar)jarg3;
arg4 = (btScalar)jarg4;
(arg1)->enableAngularMotor(arg2,arg3,arg4);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraint_1enableMotor(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jboolean jarg2) {
btHingeConstraint *arg1 = (btHingeConstraint *) 0 ;
bool arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraint **)&jarg1;
arg2 = jarg2 ? true : false;
(arg1)->enableMotor(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraint_1setMaxMotorImpulse(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btHingeConstraint *arg1 = (btHingeConstraint *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraint **)&jarg1;
arg2 = (btScalar)jarg2;
(arg1)->setMaxMotorImpulse(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraint_1setMotorTargetVelocity(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btHingeConstraint *arg1 = (btHingeConstraint *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraint **)&jarg1;
arg2 = (btScalar)jarg2;
(arg1)->setMotorTargetVelocity(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraint_1setMotorTarget_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jfloat jarg3) {
btHingeConstraint *arg1 = (btHingeConstraint *) 0 ;
btQuaternion *arg2 = 0 ;
btScalar arg3 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraint **)&jarg1;
btQuaternion local_arg2;
gdx_setbtQuaternionFromQuaternion(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitQuaternion auto_commit_arg2(jenv, jarg2, &local_arg2);
arg3 = (btScalar)jarg3;
(arg1)->setMotorTarget((btQuaternion const &)*arg2,arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraint_1setMotorTarget_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2, jfloat jarg3) {
btHingeConstraint *arg1 = (btHingeConstraint *) 0 ;
btScalar arg2 ;
btScalar arg3 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraint **)&jarg1;
arg2 = (btScalar)jarg2;
arg3 = (btScalar)jarg3;
(arg1)->setMotorTarget(arg2,arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraint_1setLimit_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2, jfloat jarg3, jfloat jarg4, jfloat jarg5, jfloat jarg6) {
btHingeConstraint *arg1 = (btHingeConstraint *) 0 ;
btScalar arg2 ;
btScalar arg3 ;
btScalar arg4 ;
btScalar arg5 ;
btScalar arg6 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraint **)&jarg1;
arg2 = (btScalar)jarg2;
arg3 = (btScalar)jarg3;
arg4 = (btScalar)jarg4;
arg5 = (btScalar)jarg5;
arg6 = (btScalar)jarg6;
(arg1)->setLimit(arg2,arg3,arg4,arg5,arg6);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraint_1setLimit_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2, jfloat jarg3, jfloat jarg4, jfloat jarg5) {
btHingeConstraint *arg1 = (btHingeConstraint *) 0 ;
btScalar arg2 ;
btScalar arg3 ;
btScalar arg4 ;
btScalar arg5 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraint **)&jarg1;
arg2 = (btScalar)jarg2;
arg3 = (btScalar)jarg3;
arg4 = (btScalar)jarg4;
arg5 = (btScalar)jarg5;
(arg1)->setLimit(arg2,arg3,arg4,arg5);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraint_1setLimit_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2, jfloat jarg3, jfloat jarg4) {
btHingeConstraint *arg1 = (btHingeConstraint *) 0 ;
btScalar arg2 ;
btScalar arg3 ;
btScalar arg4 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraint **)&jarg1;
arg2 = (btScalar)jarg2;
arg3 = (btScalar)jarg3;
arg4 = (btScalar)jarg4;
(arg1)->setLimit(arg2,arg3,arg4);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraint_1setLimit_1_1SWIG_13(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2, jfloat jarg3) {
btHingeConstraint *arg1 = (btHingeConstraint *) 0 ;
btScalar arg2 ;
btScalar arg3 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraint **)&jarg1;
arg2 = (btScalar)jarg2;
arg3 = (btScalar)jarg3;
(arg1)->setLimit(arg2,arg3);
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraint_1getLimitSoftness(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btHingeConstraint *arg1 = (btHingeConstraint *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraint **)&jarg1;
result = (btScalar)((btHingeConstraint const *)arg1)->getLimitSoftness();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraint_1getLimitBiasFactor(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btHingeConstraint *arg1 = (btHingeConstraint *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraint **)&jarg1;
result = (btScalar)((btHingeConstraint const *)arg1)->getLimitBiasFactor();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraint_1getLimitRelaxationFactor(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btHingeConstraint *arg1 = (btHingeConstraint *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraint **)&jarg1;
result = (btScalar)((btHingeConstraint const *)arg1)->getLimitRelaxationFactor();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraint_1setAxis(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btHingeConstraint *arg1 = (btHingeConstraint *) 0 ;
btVector3 *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraint **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
(arg1)->setAxis(*arg2);
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraint_1hasLimit(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jboolean jresult = 0 ;
btHingeConstraint *arg1 = (btHingeConstraint *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraint **)&jarg1;
result = (bool)((btHingeConstraint const *)arg1)->hasLimit();
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraint_1getLowerLimit(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btHingeConstraint *arg1 = (btHingeConstraint *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraint **)&jarg1;
result = (btScalar)((btHingeConstraint const *)arg1)->getLowerLimit();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraint_1getUpperLimit(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btHingeConstraint *arg1 = (btHingeConstraint *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraint **)&jarg1;
result = (btScalar)((btHingeConstraint const *)arg1)->getUpperLimit();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraint_1getHingeAngle_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btHingeConstraint *arg1 = (btHingeConstraint *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraint **)&jarg1;
result = (btScalar)(arg1)->getHingeAngle();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraint_1getHingeAngle_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jobject jarg3) {
jfloat jresult = 0 ;
btHingeConstraint *arg1 = (btHingeConstraint *) 0 ;
btTransform *arg2 = 0 ;
btTransform *arg3 = 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraint **)&jarg1;
btTransform local_arg2;
gdx_setbtTransformFromMatrix4(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitMatrix4 auto_commit_arg2(jenv, jarg2, &local_arg2);
btTransform local_arg3;
gdx_setbtTransformFromMatrix4(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitMatrix4 auto_commit_arg3(jenv, jarg3, &local_arg3);
result = (btScalar)(arg1)->getHingeAngle((btTransform const &)*arg2,(btTransform const &)*arg3);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraint_1testLimit(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jobject jarg3) {
btHingeConstraint *arg1 = (btHingeConstraint *) 0 ;
btTransform *arg2 = 0 ;
btTransform *arg3 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraint **)&jarg1;
btTransform local_arg2;
gdx_setbtTransformFromMatrix4(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitMatrix4 auto_commit_arg2(jenv, jarg2, &local_arg2);
btTransform local_arg3;
gdx_setbtTransformFromMatrix4(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitMatrix4 auto_commit_arg3(jenv, jarg3, &local_arg3);
(arg1)->testLimit((btTransform const &)*arg2,(btTransform const &)*arg3);
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraint_1getAFrameConst(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btHingeConstraint *arg1 = (btHingeConstraint *) 0 ;
btTransform *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraint **)&jarg1;
result = (btTransform *) &((btHingeConstraint const *)arg1)->getAFrame();
jresult = gdx_getReturnMatrix4(jenv);
gdx_setMatrix4FrombtTransform(jenv, jresult, result);
return jresult;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraint_1getBFrameConst(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btHingeConstraint *arg1 = (btHingeConstraint *) 0 ;
btTransform *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraint **)&jarg1;
result = (btTransform *) &((btHingeConstraint const *)arg1)->getBFrame();
jresult = gdx_getReturnMatrix4(jenv);
gdx_setMatrix4FrombtTransform(jenv, jresult, result);
return jresult;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraint_1getAFrame(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btHingeConstraint *arg1 = (btHingeConstraint *) 0 ;
btTransform *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraint **)&jarg1;
result = (btTransform *) &(arg1)->getAFrame();
jresult = gdx_getReturnMatrix4(jenv);
gdx_setMatrix4FrombtTransform(jenv, jresult, result);
return jresult;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraint_1getBFrame(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btHingeConstraint *arg1 = (btHingeConstraint *) 0 ;
btTransform *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraint **)&jarg1;
result = (btTransform *) &(arg1)->getBFrame();
jresult = gdx_getReturnMatrix4(jenv);
gdx_setMatrix4FrombtTransform(jenv, jresult, result);
return jresult;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraint_1getSolveLimit(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btHingeConstraint *arg1 = (btHingeConstraint *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraint **)&jarg1;
result = (int)(arg1)->getSolveLimit();
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraint_1getLimitSign(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btHingeConstraint *arg1 = (btHingeConstraint *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraint **)&jarg1;
result = (btScalar)(arg1)->getLimitSign();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraint_1getAngularOnly(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jboolean jresult = 0 ;
btHingeConstraint *arg1 = (btHingeConstraint *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraint **)&jarg1;
result = (bool)(arg1)->getAngularOnly();
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraint_1getEnableAngularMotor(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jboolean jresult = 0 ;
btHingeConstraint *arg1 = (btHingeConstraint *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraint **)&jarg1;
result = (bool)(arg1)->getEnableAngularMotor();
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraint_1getMotorTargetVelocity(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btHingeConstraint *arg1 = (btHingeConstraint *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraint **)&jarg1;
result = (btScalar)(arg1)->getMotorTargetVelocity();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraint_1getMaxMotorImpulse(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btHingeConstraint *arg1 = (btHingeConstraint *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraint **)&jarg1;
result = (btScalar)(arg1)->getMaxMotorImpulse();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraint_1getUseFrameOffset(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jboolean jresult = 0 ;
btHingeConstraint *arg1 = (btHingeConstraint *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraint **)&jarg1;
result = (bool)(arg1)->getUseFrameOffset();
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraint_1setUseFrameOffset(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jboolean jarg2) {
btHingeConstraint *arg1 = (btHingeConstraint *) 0 ;
bool arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraint **)&jarg1;
arg2 = jarg2 ? true : false;
(arg1)->setUseFrameOffset(arg2);
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraint_1getUseReferenceFrameA(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jboolean jresult = 0 ;
btHingeConstraint *arg1 = (btHingeConstraint *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraint **)&jarg1;
result = (bool)((btHingeConstraint const *)arg1)->getUseReferenceFrameA();
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraint_1setUseReferenceFrameA(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jboolean jarg2) {
btHingeConstraint *arg1 = (btHingeConstraint *) 0 ;
bool arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraint **)&jarg1;
arg2 = jarg2 ? true : false;
(arg1)->setUseReferenceFrameA(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraint_1setParam_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jfloat jarg3, jint jarg4) {
btHingeConstraint *arg1 = (btHingeConstraint *) 0 ;
int arg2 ;
btScalar arg3 ;
int arg4 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraint **)&jarg1;
arg2 = (int)jarg2;
arg3 = (btScalar)jarg3;
arg4 = (int)jarg4;
(arg1)->setParam(arg2,arg3,arg4);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraint_1setParam_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jfloat jarg3) {
btHingeConstraint *arg1 = (btHingeConstraint *) 0 ;
int arg2 ;
btScalar arg3 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraint **)&jarg1;
arg2 = (int)jarg2;
arg3 = (btScalar)jarg3;
(arg1)->setParam(arg2,arg3);
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraint_1getParam_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jint jarg3) {
jfloat jresult = 0 ;
btHingeConstraint *arg1 = (btHingeConstraint *) 0 ;
int arg2 ;
int arg3 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraint **)&jarg1;
arg2 = (int)jarg2;
arg3 = (int)jarg3;
result = (btScalar)((btHingeConstraint const *)arg1)->getParam(arg2,arg3);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraint_1getParam_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jfloat jresult = 0 ;
btHingeConstraint *arg1 = (btHingeConstraint *) 0 ;
int arg2 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraint **)&jarg1;
arg2 = (int)jarg2;
result = (btScalar)((btHingeConstraint const *)arg1)->getParam(arg2);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraint_1getFlags(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btHingeConstraint *arg1 = (btHingeConstraint *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraint **)&jarg1;
result = (int)((btHingeConstraint const *)arg1)->getFlags();
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btHingeConstraint(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btHingeConstraint *arg1 = (btHingeConstraint *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btHingeConstraint **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintDoubleData_1typeConstraintData_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btHingeConstraintDoubleData *arg1 = (btHingeConstraintDoubleData *) 0 ;
btTypedConstraintData *arg2 = (btTypedConstraintData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btHingeConstraintDoubleData **)&jarg1;
arg2 = *(btTypedConstraintData **)&jarg2;
if (arg1) (arg1)->m_typeConstraintData = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintDoubleData_1typeConstraintData_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btHingeConstraintDoubleData *arg1 = (btHingeConstraintDoubleData *) 0 ;
btTypedConstraintData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraintDoubleData **)&jarg1;
result = (btTypedConstraintData *)& ((arg1)->m_typeConstraintData);
*(btTypedConstraintData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintDoubleData_1rbAFrame_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btHingeConstraintDoubleData *arg1 = (btHingeConstraintDoubleData *) 0 ;
btTransformDoubleData *arg2 = (btTransformDoubleData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btHingeConstraintDoubleData **)&jarg1;
arg2 = *(btTransformDoubleData **)&jarg2;
if (arg1) (arg1)->m_rbAFrame = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintDoubleData_1rbAFrame_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btHingeConstraintDoubleData *arg1 = (btHingeConstraintDoubleData *) 0 ;
btTransformDoubleData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraintDoubleData **)&jarg1;
result = (btTransformDoubleData *)& ((arg1)->m_rbAFrame);
*(btTransformDoubleData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintDoubleData_1rbBFrame_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btHingeConstraintDoubleData *arg1 = (btHingeConstraintDoubleData *) 0 ;
btTransformDoubleData *arg2 = (btTransformDoubleData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btHingeConstraintDoubleData **)&jarg1;
arg2 = *(btTransformDoubleData **)&jarg2;
if (arg1) (arg1)->m_rbBFrame = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintDoubleData_1rbBFrame_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btHingeConstraintDoubleData *arg1 = (btHingeConstraintDoubleData *) 0 ;
btTransformDoubleData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraintDoubleData **)&jarg1;
result = (btTransformDoubleData *)& ((arg1)->m_rbBFrame);
*(btTransformDoubleData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintDoubleData_1useReferenceFrameA_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btHingeConstraintDoubleData *arg1 = (btHingeConstraintDoubleData *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraintDoubleData **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_useReferenceFrameA = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintDoubleData_1useReferenceFrameA_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btHingeConstraintDoubleData *arg1 = (btHingeConstraintDoubleData *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraintDoubleData **)&jarg1;
result = (int) ((arg1)->m_useReferenceFrameA);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintDoubleData_1angularOnly_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btHingeConstraintDoubleData *arg1 = (btHingeConstraintDoubleData *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraintDoubleData **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_angularOnly = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintDoubleData_1angularOnly_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btHingeConstraintDoubleData *arg1 = (btHingeConstraintDoubleData *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraintDoubleData **)&jarg1;
result = (int) ((arg1)->m_angularOnly);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintDoubleData_1enableAngularMotor_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btHingeConstraintDoubleData *arg1 = (btHingeConstraintDoubleData *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraintDoubleData **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_enableAngularMotor = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintDoubleData_1enableAngularMotor_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btHingeConstraintDoubleData *arg1 = (btHingeConstraintDoubleData *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraintDoubleData **)&jarg1;
result = (int) ((arg1)->m_enableAngularMotor);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintDoubleData_1motorTargetVelocity_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btHingeConstraintDoubleData *arg1 = (btHingeConstraintDoubleData *) 0 ;
float arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraintDoubleData **)&jarg1;
arg2 = (float)jarg2;
if (arg1) (arg1)->m_motorTargetVelocity = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintDoubleData_1motorTargetVelocity_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btHingeConstraintDoubleData *arg1 = (btHingeConstraintDoubleData *) 0 ;
float result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraintDoubleData **)&jarg1;
result = (float) ((arg1)->m_motorTargetVelocity);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintDoubleData_1maxMotorImpulse_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btHingeConstraintDoubleData *arg1 = (btHingeConstraintDoubleData *) 0 ;
float arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraintDoubleData **)&jarg1;
arg2 = (float)jarg2;
if (arg1) (arg1)->m_maxMotorImpulse = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintDoubleData_1maxMotorImpulse_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btHingeConstraintDoubleData *arg1 = (btHingeConstraintDoubleData *) 0 ;
float result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraintDoubleData **)&jarg1;
result = (float) ((arg1)->m_maxMotorImpulse);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintDoubleData_1lowerLimit_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btHingeConstraintDoubleData *arg1 = (btHingeConstraintDoubleData *) 0 ;
float arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraintDoubleData **)&jarg1;
arg2 = (float)jarg2;
if (arg1) (arg1)->m_lowerLimit = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintDoubleData_1lowerLimit_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btHingeConstraintDoubleData *arg1 = (btHingeConstraintDoubleData *) 0 ;
float result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraintDoubleData **)&jarg1;
result = (float) ((arg1)->m_lowerLimit);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintDoubleData_1upperLimit_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btHingeConstraintDoubleData *arg1 = (btHingeConstraintDoubleData *) 0 ;
float arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraintDoubleData **)&jarg1;
arg2 = (float)jarg2;
if (arg1) (arg1)->m_upperLimit = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintDoubleData_1upperLimit_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btHingeConstraintDoubleData *arg1 = (btHingeConstraintDoubleData *) 0 ;
float result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraintDoubleData **)&jarg1;
result = (float) ((arg1)->m_upperLimit);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintDoubleData_1limitSoftness_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btHingeConstraintDoubleData *arg1 = (btHingeConstraintDoubleData *) 0 ;
float arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraintDoubleData **)&jarg1;
arg2 = (float)jarg2;
if (arg1) (arg1)->m_limitSoftness = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintDoubleData_1limitSoftness_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btHingeConstraintDoubleData *arg1 = (btHingeConstraintDoubleData *) 0 ;
float result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraintDoubleData **)&jarg1;
result = (float) ((arg1)->m_limitSoftness);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintDoubleData_1biasFactor_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btHingeConstraintDoubleData *arg1 = (btHingeConstraintDoubleData *) 0 ;
float arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraintDoubleData **)&jarg1;
arg2 = (float)jarg2;
if (arg1) (arg1)->m_biasFactor = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintDoubleData_1biasFactor_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btHingeConstraintDoubleData *arg1 = (btHingeConstraintDoubleData *) 0 ;
float result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraintDoubleData **)&jarg1;
result = (float) ((arg1)->m_biasFactor);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintDoubleData_1relaxationFactor_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btHingeConstraintDoubleData *arg1 = (btHingeConstraintDoubleData *) 0 ;
float arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraintDoubleData **)&jarg1;
arg2 = (float)jarg2;
if (arg1) (arg1)->m_relaxationFactor = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintDoubleData_1relaxationFactor_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btHingeConstraintDoubleData *arg1 = (btHingeConstraintDoubleData *) 0 ;
float result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraintDoubleData **)&jarg1;
result = (float) ((arg1)->m_relaxationFactor);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btHingeConstraintDoubleData(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btHingeConstraintDoubleData *result = 0 ;
(void)jenv;
(void)jcls;
result = (btHingeConstraintDoubleData *)new btHingeConstraintDoubleData();
*(btHingeConstraintDoubleData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btHingeConstraintDoubleData(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btHingeConstraintDoubleData *arg1 = (btHingeConstraintDoubleData *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btHingeConstraintDoubleData **)&jarg1;
delete arg1;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeAccumulatedAngleConstraint_1operatorNew_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btHingeAccumulatedAngleConstraint *arg1 = (btHingeAccumulatedAngleConstraint *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeAccumulatedAngleConstraint **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new(arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeAccumulatedAngleConstraint_1operatorDelete_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btHingeAccumulatedAngleConstraint *arg1 = (btHingeAccumulatedAngleConstraint *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeAccumulatedAngleConstraint **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete(arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeAccumulatedAngleConstraint_1operatorNew_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btHingeAccumulatedAngleConstraint *arg1 = (btHingeAccumulatedAngleConstraint *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeAccumulatedAngleConstraint **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new(arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeAccumulatedAngleConstraint_1operatorDelete_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btHingeAccumulatedAngleConstraint *arg1 = (btHingeAccumulatedAngleConstraint *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeAccumulatedAngleConstraint **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete(arg2,arg3);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeAccumulatedAngleConstraint_1operatorNewArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btHingeAccumulatedAngleConstraint *arg1 = (btHingeAccumulatedAngleConstraint *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeAccumulatedAngleConstraint **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new[](arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeAccumulatedAngleConstraint_1operatorDeleteArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btHingeAccumulatedAngleConstraint *arg1 = (btHingeAccumulatedAngleConstraint *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeAccumulatedAngleConstraint **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete[](arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeAccumulatedAngleConstraint_1operatorNewArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btHingeAccumulatedAngleConstraint *arg1 = (btHingeAccumulatedAngleConstraint *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeAccumulatedAngleConstraint **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new[](arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeAccumulatedAngleConstraint_1operatorDeleteArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btHingeAccumulatedAngleConstraint *arg1 = (btHingeAccumulatedAngleConstraint *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeAccumulatedAngleConstraint **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete[](arg2,arg3);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btHingeAccumulatedAngleConstraint_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jobject jarg3, jobject jarg4, jobject jarg5, jobject jarg6, jboolean jarg7) {
jlong jresult = 0 ;
btRigidBody *arg1 = 0 ;
btRigidBody *arg2 = 0 ;
btVector3 *arg3 = 0 ;
btVector3 *arg4 = 0 ;
btVector3 *arg5 = 0 ;
btVector3 *arg6 = 0 ;
bool arg7 ;
btHingeAccumulatedAngleConstraint *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btRigidBody **)&jarg1;
if (!arg1) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btRigidBody & reference is null");
return 0;
}
arg2 = *(btRigidBody **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btRigidBody & reference is null");
return 0;
}
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
btVector3 local_arg4;
gdx_setbtVector3FromVector3(jenv, local_arg4, jarg4);
arg4 = &local_arg4;
gdxAutoCommitVector3 auto_commit_arg4(jenv, jarg4, &local_arg4);
btVector3 local_arg5;
gdx_setbtVector3FromVector3(jenv, local_arg5, jarg5);
arg5 = &local_arg5;
gdxAutoCommitVector3 auto_commit_arg5(jenv, jarg5, &local_arg5);
btVector3 local_arg6;
gdx_setbtVector3FromVector3(jenv, local_arg6, jarg6);
arg6 = &local_arg6;
gdxAutoCommitVector3 auto_commit_arg6(jenv, jarg6, &local_arg6);
arg7 = jarg7 ? true : false;
result = (btHingeAccumulatedAngleConstraint *)new btHingeAccumulatedAngleConstraint(*arg1,*arg2,(btVector3 const &)*arg3,(btVector3 const &)*arg4,(btVector3 const &)*arg5,(btVector3 const &)*arg6,arg7);
*(btHingeAccumulatedAngleConstraint **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btHingeAccumulatedAngleConstraint_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jobject jarg3, jobject jarg4, jobject jarg5, jobject jarg6) {
jlong jresult = 0 ;
btRigidBody *arg1 = 0 ;
btRigidBody *arg2 = 0 ;
btVector3 *arg3 = 0 ;
btVector3 *arg4 = 0 ;
btVector3 *arg5 = 0 ;
btVector3 *arg6 = 0 ;
btHingeAccumulatedAngleConstraint *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btRigidBody **)&jarg1;
if (!arg1) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btRigidBody & reference is null");
return 0;
}
arg2 = *(btRigidBody **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btRigidBody & reference is null");
return 0;
}
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
btVector3 local_arg4;
gdx_setbtVector3FromVector3(jenv, local_arg4, jarg4);
arg4 = &local_arg4;
gdxAutoCommitVector3 auto_commit_arg4(jenv, jarg4, &local_arg4);
btVector3 local_arg5;
gdx_setbtVector3FromVector3(jenv, local_arg5, jarg5);
arg5 = &local_arg5;
gdxAutoCommitVector3 auto_commit_arg5(jenv, jarg5, &local_arg5);
btVector3 local_arg6;
gdx_setbtVector3FromVector3(jenv, local_arg6, jarg6);
arg6 = &local_arg6;
gdxAutoCommitVector3 auto_commit_arg6(jenv, jarg6, &local_arg6);
result = (btHingeAccumulatedAngleConstraint *)new btHingeAccumulatedAngleConstraint(*arg1,*arg2,(btVector3 const &)*arg3,(btVector3 const &)*arg4,(btVector3 const &)*arg5,(btVector3 const &)*arg6);
*(btHingeAccumulatedAngleConstraint **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btHingeAccumulatedAngleConstraint_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jobject jarg3, jboolean jarg4) {
jlong jresult = 0 ;
btRigidBody *arg1 = 0 ;
btVector3 *arg2 = 0 ;
btVector3 *arg3 = 0 ;
bool arg4 ;
btHingeAccumulatedAngleConstraint *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody **)&jarg1;
if (!arg1) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btRigidBody & reference is null");
return 0;
}
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
arg4 = jarg4 ? true : false;
result = (btHingeAccumulatedAngleConstraint *)new btHingeAccumulatedAngleConstraint(*arg1,(btVector3 const &)*arg2,(btVector3 const &)*arg3,arg4);
*(btHingeAccumulatedAngleConstraint **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btHingeAccumulatedAngleConstraint_1_1SWIG_13(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jobject jarg3) {
jlong jresult = 0 ;
btRigidBody *arg1 = 0 ;
btVector3 *arg2 = 0 ;
btVector3 *arg3 = 0 ;
btHingeAccumulatedAngleConstraint *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody **)&jarg1;
if (!arg1) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btRigidBody & reference is null");
return 0;
}
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
result = (btHingeAccumulatedAngleConstraint *)new btHingeAccumulatedAngleConstraint(*arg1,(btVector3 const &)*arg2,(btVector3 const &)*arg3);
*(btHingeAccumulatedAngleConstraint **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btHingeAccumulatedAngleConstraint_1_1SWIG_14(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jobject jarg3, jobject jarg4, jboolean jarg5) {
jlong jresult = 0 ;
btRigidBody *arg1 = 0 ;
btRigidBody *arg2 = 0 ;
btTransform *arg3 = 0 ;
btTransform *arg4 = 0 ;
bool arg5 ;
btHingeAccumulatedAngleConstraint *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btRigidBody **)&jarg1;
if (!arg1) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btRigidBody & reference is null");
return 0;
}
arg2 = *(btRigidBody **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btRigidBody & reference is null");
return 0;
}
btTransform local_arg3;
gdx_setbtTransformFromMatrix4(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitMatrix4 auto_commit_arg3(jenv, jarg3, &local_arg3);
btTransform local_arg4;
gdx_setbtTransformFromMatrix4(jenv, local_arg4, jarg4);
arg4 = &local_arg4;
gdxAutoCommitMatrix4 auto_commit_arg4(jenv, jarg4, &local_arg4);
arg5 = jarg5 ? true : false;
result = (btHingeAccumulatedAngleConstraint *)new btHingeAccumulatedAngleConstraint(*arg1,*arg2,(btTransform const &)*arg3,(btTransform const &)*arg4,arg5);
*(btHingeAccumulatedAngleConstraint **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btHingeAccumulatedAngleConstraint_1_1SWIG_15(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jobject jarg3, jobject jarg4) {
jlong jresult = 0 ;
btRigidBody *arg1 = 0 ;
btRigidBody *arg2 = 0 ;
btTransform *arg3 = 0 ;
btTransform *arg4 = 0 ;
btHingeAccumulatedAngleConstraint *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btRigidBody **)&jarg1;
if (!arg1) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btRigidBody & reference is null");
return 0;
}
arg2 = *(btRigidBody **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btRigidBody & reference is null");
return 0;
}
btTransform local_arg3;
gdx_setbtTransformFromMatrix4(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitMatrix4 auto_commit_arg3(jenv, jarg3, &local_arg3);
btTransform local_arg4;
gdx_setbtTransformFromMatrix4(jenv, local_arg4, jarg4);
arg4 = &local_arg4;
gdxAutoCommitMatrix4 auto_commit_arg4(jenv, jarg4, &local_arg4);
result = (btHingeAccumulatedAngleConstraint *)new btHingeAccumulatedAngleConstraint(*arg1,*arg2,(btTransform const &)*arg3,(btTransform const &)*arg4);
*(btHingeAccumulatedAngleConstraint **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btHingeAccumulatedAngleConstraint_1_1SWIG_16(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jboolean jarg3) {
jlong jresult = 0 ;
btRigidBody *arg1 = 0 ;
btTransform *arg2 = 0 ;
bool arg3 ;
btHingeAccumulatedAngleConstraint *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody **)&jarg1;
if (!arg1) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btRigidBody & reference is null");
return 0;
}
btTransform local_arg2;
gdx_setbtTransformFromMatrix4(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitMatrix4 auto_commit_arg2(jenv, jarg2, &local_arg2);
arg3 = jarg3 ? true : false;
result = (btHingeAccumulatedAngleConstraint *)new btHingeAccumulatedAngleConstraint(*arg1,(btTransform const &)*arg2,arg3);
*(btHingeAccumulatedAngleConstraint **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btHingeAccumulatedAngleConstraint_1_1SWIG_17(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
jlong jresult = 0 ;
btRigidBody *arg1 = 0 ;
btTransform *arg2 = 0 ;
btHingeAccumulatedAngleConstraint *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRigidBody **)&jarg1;
if (!arg1) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btRigidBody & reference is null");
return 0;
}
btTransform local_arg2;
gdx_setbtTransformFromMatrix4(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitMatrix4 auto_commit_arg2(jenv, jarg2, &local_arg2);
result = (btHingeAccumulatedAngleConstraint *)new btHingeAccumulatedAngleConstraint(*arg1,(btTransform const &)*arg2);
*(btHingeAccumulatedAngleConstraint **)&jresult = result;
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeAccumulatedAngleConstraint_1getAccumulatedHingeAngle(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btHingeAccumulatedAngleConstraint *arg1 = (btHingeAccumulatedAngleConstraint *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeAccumulatedAngleConstraint **)&jarg1;
result = (btScalar)(arg1)->getAccumulatedHingeAngle();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeAccumulatedAngleConstraint_1setAccumulatedHingeAngle(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btHingeAccumulatedAngleConstraint *arg1 = (btHingeAccumulatedAngleConstraint *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeAccumulatedAngleConstraint **)&jarg1;
arg2 = (btScalar)jarg2;
(arg1)->setAccumulatedHingeAngle(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btHingeAccumulatedAngleConstraint(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btHingeAccumulatedAngleConstraint *arg1 = (btHingeAccumulatedAngleConstraint *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btHingeAccumulatedAngleConstraint **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintFloatData_1typeConstraintData_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btHingeConstraintFloatData *arg1 = (btHingeConstraintFloatData *) 0 ;
btTypedConstraintData *arg2 = (btTypedConstraintData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btHingeConstraintFloatData **)&jarg1;
arg2 = *(btTypedConstraintData **)&jarg2;
if (arg1) (arg1)->m_typeConstraintData = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintFloatData_1typeConstraintData_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btHingeConstraintFloatData *arg1 = (btHingeConstraintFloatData *) 0 ;
btTypedConstraintData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraintFloatData **)&jarg1;
result = (btTypedConstraintData *)& ((arg1)->m_typeConstraintData);
*(btTypedConstraintData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintFloatData_1rbAFrame_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btHingeConstraintFloatData *arg1 = (btHingeConstraintFloatData *) 0 ;
btTransformFloatData *arg2 = (btTransformFloatData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btHingeConstraintFloatData **)&jarg1;
arg2 = *(btTransformFloatData **)&jarg2;
if (arg1) (arg1)->m_rbAFrame = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintFloatData_1rbAFrame_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btHingeConstraintFloatData *arg1 = (btHingeConstraintFloatData *) 0 ;
btTransformFloatData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraintFloatData **)&jarg1;
result = (btTransformFloatData *)& ((arg1)->m_rbAFrame);
*(btTransformFloatData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintFloatData_1rbBFrame_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btHingeConstraintFloatData *arg1 = (btHingeConstraintFloatData *) 0 ;
btTransformFloatData *arg2 = (btTransformFloatData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btHingeConstraintFloatData **)&jarg1;
arg2 = *(btTransformFloatData **)&jarg2;
if (arg1) (arg1)->m_rbBFrame = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintFloatData_1rbBFrame_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btHingeConstraintFloatData *arg1 = (btHingeConstraintFloatData *) 0 ;
btTransformFloatData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraintFloatData **)&jarg1;
result = (btTransformFloatData *)& ((arg1)->m_rbBFrame);
*(btTransformFloatData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintFloatData_1useReferenceFrameA_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btHingeConstraintFloatData *arg1 = (btHingeConstraintFloatData *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraintFloatData **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_useReferenceFrameA = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintFloatData_1useReferenceFrameA_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btHingeConstraintFloatData *arg1 = (btHingeConstraintFloatData *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraintFloatData **)&jarg1;
result = (int) ((arg1)->m_useReferenceFrameA);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintFloatData_1angularOnly_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btHingeConstraintFloatData *arg1 = (btHingeConstraintFloatData *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraintFloatData **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_angularOnly = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintFloatData_1angularOnly_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btHingeConstraintFloatData *arg1 = (btHingeConstraintFloatData *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraintFloatData **)&jarg1;
result = (int) ((arg1)->m_angularOnly);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintFloatData_1enableAngularMotor_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btHingeConstraintFloatData *arg1 = (btHingeConstraintFloatData *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraintFloatData **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_enableAngularMotor = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintFloatData_1enableAngularMotor_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btHingeConstraintFloatData *arg1 = (btHingeConstraintFloatData *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraintFloatData **)&jarg1;
result = (int) ((arg1)->m_enableAngularMotor);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintFloatData_1motorTargetVelocity_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btHingeConstraintFloatData *arg1 = (btHingeConstraintFloatData *) 0 ;
float arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraintFloatData **)&jarg1;
arg2 = (float)jarg2;
if (arg1) (arg1)->m_motorTargetVelocity = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintFloatData_1motorTargetVelocity_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btHingeConstraintFloatData *arg1 = (btHingeConstraintFloatData *) 0 ;
float result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraintFloatData **)&jarg1;
result = (float) ((arg1)->m_motorTargetVelocity);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintFloatData_1maxMotorImpulse_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btHingeConstraintFloatData *arg1 = (btHingeConstraintFloatData *) 0 ;
float arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraintFloatData **)&jarg1;
arg2 = (float)jarg2;
if (arg1) (arg1)->m_maxMotorImpulse = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintFloatData_1maxMotorImpulse_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btHingeConstraintFloatData *arg1 = (btHingeConstraintFloatData *) 0 ;
float result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraintFloatData **)&jarg1;
result = (float) ((arg1)->m_maxMotorImpulse);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintFloatData_1lowerLimit_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btHingeConstraintFloatData *arg1 = (btHingeConstraintFloatData *) 0 ;
float arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraintFloatData **)&jarg1;
arg2 = (float)jarg2;
if (arg1) (arg1)->m_lowerLimit = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintFloatData_1lowerLimit_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btHingeConstraintFloatData *arg1 = (btHingeConstraintFloatData *) 0 ;
float result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraintFloatData **)&jarg1;
result = (float) ((arg1)->m_lowerLimit);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintFloatData_1upperLimit_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btHingeConstraintFloatData *arg1 = (btHingeConstraintFloatData *) 0 ;
float arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraintFloatData **)&jarg1;
arg2 = (float)jarg2;
if (arg1) (arg1)->m_upperLimit = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintFloatData_1upperLimit_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btHingeConstraintFloatData *arg1 = (btHingeConstraintFloatData *) 0 ;
float result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraintFloatData **)&jarg1;
result = (float) ((arg1)->m_upperLimit);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintFloatData_1limitSoftness_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btHingeConstraintFloatData *arg1 = (btHingeConstraintFloatData *) 0 ;
float arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraintFloatData **)&jarg1;
arg2 = (float)jarg2;
if (arg1) (arg1)->m_limitSoftness = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintFloatData_1limitSoftness_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btHingeConstraintFloatData *arg1 = (btHingeConstraintFloatData *) 0 ;
float result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraintFloatData **)&jarg1;
result = (float) ((arg1)->m_limitSoftness);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintFloatData_1biasFactor_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btHingeConstraintFloatData *arg1 = (btHingeConstraintFloatData *) 0 ;
float arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraintFloatData **)&jarg1;
arg2 = (float)jarg2;
if (arg1) (arg1)->m_biasFactor = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintFloatData_1biasFactor_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btHingeConstraintFloatData *arg1 = (btHingeConstraintFloatData *) 0 ;
float result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraintFloatData **)&jarg1;
result = (float) ((arg1)->m_biasFactor);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintFloatData_1relaxationFactor_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btHingeConstraintFloatData *arg1 = (btHingeConstraintFloatData *) 0 ;
float arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraintFloatData **)&jarg1;
arg2 = (float)jarg2;
if (arg1) (arg1)->m_relaxationFactor = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintFloatData_1relaxationFactor_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btHingeConstraintFloatData *arg1 = (btHingeConstraintFloatData *) 0 ;
float result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraintFloatData **)&jarg1;
result = (float) ((arg1)->m_relaxationFactor);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btHingeConstraintFloatData(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btHingeConstraintFloatData *result = 0 ;
(void)jenv;
(void)jcls;
result = (btHingeConstraintFloatData *)new btHingeConstraintFloatData();
*(btHingeConstraintFloatData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btHingeConstraintFloatData(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btHingeConstraintFloatData *arg1 = (btHingeConstraintFloatData *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btHingeConstraintFloatData **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintDoubleData2_1typeConstraintData_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btHingeConstraintDoubleData2 *arg1 = (btHingeConstraintDoubleData2 *) 0 ;
btTypedConstraintDoubleData *arg2 = (btTypedConstraintDoubleData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btHingeConstraintDoubleData2 **)&jarg1;
arg2 = *(btTypedConstraintDoubleData **)&jarg2;
if (arg1) (arg1)->m_typeConstraintData = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintDoubleData2_1typeConstraintData_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btHingeConstraintDoubleData2 *arg1 = (btHingeConstraintDoubleData2 *) 0 ;
btTypedConstraintDoubleData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraintDoubleData2 **)&jarg1;
result = (btTypedConstraintDoubleData *)& ((arg1)->m_typeConstraintData);
*(btTypedConstraintDoubleData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintDoubleData2_1rbAFrame_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btHingeConstraintDoubleData2 *arg1 = (btHingeConstraintDoubleData2 *) 0 ;
btTransformDoubleData *arg2 = (btTransformDoubleData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btHingeConstraintDoubleData2 **)&jarg1;
arg2 = *(btTransformDoubleData **)&jarg2;
if (arg1) (arg1)->m_rbAFrame = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintDoubleData2_1rbAFrame_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btHingeConstraintDoubleData2 *arg1 = (btHingeConstraintDoubleData2 *) 0 ;
btTransformDoubleData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraintDoubleData2 **)&jarg1;
result = (btTransformDoubleData *)& ((arg1)->m_rbAFrame);
*(btTransformDoubleData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintDoubleData2_1rbBFrame_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btHingeConstraintDoubleData2 *arg1 = (btHingeConstraintDoubleData2 *) 0 ;
btTransformDoubleData *arg2 = (btTransformDoubleData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btHingeConstraintDoubleData2 **)&jarg1;
arg2 = *(btTransformDoubleData **)&jarg2;
if (arg1) (arg1)->m_rbBFrame = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintDoubleData2_1rbBFrame_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btHingeConstraintDoubleData2 *arg1 = (btHingeConstraintDoubleData2 *) 0 ;
btTransformDoubleData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraintDoubleData2 **)&jarg1;
result = (btTransformDoubleData *)& ((arg1)->m_rbBFrame);
*(btTransformDoubleData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintDoubleData2_1useReferenceFrameA_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btHingeConstraintDoubleData2 *arg1 = (btHingeConstraintDoubleData2 *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraintDoubleData2 **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_useReferenceFrameA = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintDoubleData2_1useReferenceFrameA_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btHingeConstraintDoubleData2 *arg1 = (btHingeConstraintDoubleData2 *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraintDoubleData2 **)&jarg1;
result = (int) ((arg1)->m_useReferenceFrameA);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintDoubleData2_1angularOnly_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btHingeConstraintDoubleData2 *arg1 = (btHingeConstraintDoubleData2 *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraintDoubleData2 **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_angularOnly = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintDoubleData2_1angularOnly_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btHingeConstraintDoubleData2 *arg1 = (btHingeConstraintDoubleData2 *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraintDoubleData2 **)&jarg1;
result = (int) ((arg1)->m_angularOnly);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintDoubleData2_1enableAngularMotor_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btHingeConstraintDoubleData2 *arg1 = (btHingeConstraintDoubleData2 *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraintDoubleData2 **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_enableAngularMotor = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintDoubleData2_1enableAngularMotor_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btHingeConstraintDoubleData2 *arg1 = (btHingeConstraintDoubleData2 *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraintDoubleData2 **)&jarg1;
result = (int) ((arg1)->m_enableAngularMotor);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintDoubleData2_1motorTargetVelocity_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2) {
btHingeConstraintDoubleData2 *arg1 = (btHingeConstraintDoubleData2 *) 0 ;
double arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraintDoubleData2 **)&jarg1;
arg2 = (double)jarg2;
if (arg1) (arg1)->m_motorTargetVelocity = arg2;
}
SWIGEXPORT jdouble JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintDoubleData2_1motorTargetVelocity_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jdouble jresult = 0 ;
btHingeConstraintDoubleData2 *arg1 = (btHingeConstraintDoubleData2 *) 0 ;
double result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraintDoubleData2 **)&jarg1;
result = (double) ((arg1)->m_motorTargetVelocity);
jresult = (jdouble)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintDoubleData2_1maxMotorImpulse_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2) {
btHingeConstraintDoubleData2 *arg1 = (btHingeConstraintDoubleData2 *) 0 ;
double arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraintDoubleData2 **)&jarg1;
arg2 = (double)jarg2;
if (arg1) (arg1)->m_maxMotorImpulse = arg2;
}
SWIGEXPORT jdouble JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintDoubleData2_1maxMotorImpulse_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jdouble jresult = 0 ;
btHingeConstraintDoubleData2 *arg1 = (btHingeConstraintDoubleData2 *) 0 ;
double result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraintDoubleData2 **)&jarg1;
result = (double) ((arg1)->m_maxMotorImpulse);
jresult = (jdouble)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintDoubleData2_1lowerLimit_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2) {
btHingeConstraintDoubleData2 *arg1 = (btHingeConstraintDoubleData2 *) 0 ;
double arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraintDoubleData2 **)&jarg1;
arg2 = (double)jarg2;
if (arg1) (arg1)->m_lowerLimit = arg2;
}
SWIGEXPORT jdouble JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintDoubleData2_1lowerLimit_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jdouble jresult = 0 ;
btHingeConstraintDoubleData2 *arg1 = (btHingeConstraintDoubleData2 *) 0 ;
double result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraintDoubleData2 **)&jarg1;
result = (double) ((arg1)->m_lowerLimit);
jresult = (jdouble)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintDoubleData2_1upperLimit_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2) {
btHingeConstraintDoubleData2 *arg1 = (btHingeConstraintDoubleData2 *) 0 ;
double arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraintDoubleData2 **)&jarg1;
arg2 = (double)jarg2;
if (arg1) (arg1)->m_upperLimit = arg2;
}
SWIGEXPORT jdouble JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintDoubleData2_1upperLimit_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jdouble jresult = 0 ;
btHingeConstraintDoubleData2 *arg1 = (btHingeConstraintDoubleData2 *) 0 ;
double result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraintDoubleData2 **)&jarg1;
result = (double) ((arg1)->m_upperLimit);
jresult = (jdouble)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintDoubleData2_1limitSoftness_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2) {
btHingeConstraintDoubleData2 *arg1 = (btHingeConstraintDoubleData2 *) 0 ;
double arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraintDoubleData2 **)&jarg1;
arg2 = (double)jarg2;
if (arg1) (arg1)->m_limitSoftness = arg2;
}
SWIGEXPORT jdouble JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintDoubleData2_1limitSoftness_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jdouble jresult = 0 ;
btHingeConstraintDoubleData2 *arg1 = (btHingeConstraintDoubleData2 *) 0 ;
double result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraintDoubleData2 **)&jarg1;
result = (double) ((arg1)->m_limitSoftness);
jresult = (jdouble)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintDoubleData2_1biasFactor_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2) {
btHingeConstraintDoubleData2 *arg1 = (btHingeConstraintDoubleData2 *) 0 ;
double arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraintDoubleData2 **)&jarg1;
arg2 = (double)jarg2;
if (arg1) (arg1)->m_biasFactor = arg2;
}
SWIGEXPORT jdouble JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintDoubleData2_1biasFactor_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jdouble jresult = 0 ;
btHingeConstraintDoubleData2 *arg1 = (btHingeConstraintDoubleData2 *) 0 ;
double result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraintDoubleData2 **)&jarg1;
result = (double) ((arg1)->m_biasFactor);
jresult = (jdouble)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintDoubleData2_1relaxationFactor_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2) {
btHingeConstraintDoubleData2 *arg1 = (btHingeConstraintDoubleData2 *) 0 ;
double arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraintDoubleData2 **)&jarg1;
arg2 = (double)jarg2;
if (arg1) (arg1)->m_relaxationFactor = arg2;
}
SWIGEXPORT jdouble JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintDoubleData2_1relaxationFactor_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jdouble jresult = 0 ;
btHingeConstraintDoubleData2 *arg1 = (btHingeConstraintDoubleData2 *) 0 ;
double result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraintDoubleData2 **)&jarg1;
result = (double) ((arg1)->m_relaxationFactor);
jresult = (jdouble)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintDoubleData2_1padding1_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
btHingeConstraintDoubleData2 *arg1 = (btHingeConstraintDoubleData2 *) 0 ;
char *arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraintDoubleData2 **)&jarg1;
arg2 = 0;
if (jarg2) {
arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
if (!arg2) return ;
}
{
if(arg2) {
strncpy((char*)arg1->m_padding1, (const char *)arg2, 4-1);
arg1->m_padding1[4-1] = 0;
} else {
arg1->m_padding1[0] = 0;
}
}
if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
}
SWIGEXPORT jstring JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintDoubleData2_1padding1_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jstring jresult = 0 ;
btHingeConstraintDoubleData2 *arg1 = (btHingeConstraintDoubleData2 *) 0 ;
char *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHingeConstraintDoubleData2 **)&jarg1;
result = (char *)(char *) ((arg1)->m_padding1);
if (result) jresult = jenv->NewStringUTF((const char *)result);
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btHingeConstraintDoubleData2(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btHingeConstraintDoubleData2 *result = 0 ;
(void)jenv;
(void)jcls;
result = (btHingeConstraintDoubleData2 *)new btHingeConstraintDoubleData2();
*(btHingeConstraintDoubleData2 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btHingeConstraintDoubleData2(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btHingeConstraintDoubleData2 *arg1 = (btHingeConstraintDoubleData2 *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btHingeConstraintDoubleData2 **)&jarg1;
delete arg1;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverConstraint_1operatorNew_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btSolverConstraint *arg1 = (btSolverConstraint *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSolverConstraint **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new(arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverConstraint_1operatorDelete_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btSolverConstraint *arg1 = (btSolverConstraint *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSolverConstraint **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete(arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverConstraint_1operatorNew_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btSolverConstraint *arg1 = (btSolverConstraint *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSolverConstraint **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new(arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverConstraint_1operatorDelete_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btSolverConstraint *arg1 = (btSolverConstraint *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSolverConstraint **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete(arg2,arg3);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverConstraint_1operatorNewArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btSolverConstraint *arg1 = (btSolverConstraint *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSolverConstraint **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new[](arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverConstraint_1operatorDeleteArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btSolverConstraint *arg1 = (btSolverConstraint *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSolverConstraint **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete[](arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverConstraint_1operatorNewArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btSolverConstraint *arg1 = (btSolverConstraint *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSolverConstraint **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new[](arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverConstraint_1operatorDeleteArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btSolverConstraint *arg1 = (btSolverConstraint *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSolverConstraint **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete[](arg2,arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverConstraint_1relpos1CrossNormal_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btSolverConstraint *arg1 = (btSolverConstraint *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btSolverConstraint **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->m_relpos1CrossNormal = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverConstraint_1relpos1CrossNormal_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btSolverConstraint *arg1 = (btSolverConstraint *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSolverConstraint **)&jarg1;
result = (btVector3 *)& ((arg1)->m_relpos1CrossNormal);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverConstraint_1contactNormal1_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btSolverConstraint *arg1 = (btSolverConstraint *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btSolverConstraint **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->m_contactNormal1 = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverConstraint_1contactNormal1_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btSolverConstraint *arg1 = (btSolverConstraint *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSolverConstraint **)&jarg1;
result = (btVector3 *)& ((arg1)->m_contactNormal1);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverConstraint_1relpos2CrossNormal_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btSolverConstraint *arg1 = (btSolverConstraint *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btSolverConstraint **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->m_relpos2CrossNormal = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverConstraint_1relpos2CrossNormal_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btSolverConstraint *arg1 = (btSolverConstraint *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSolverConstraint **)&jarg1;
result = (btVector3 *)& ((arg1)->m_relpos2CrossNormal);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverConstraint_1contactNormal2_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btSolverConstraint *arg1 = (btSolverConstraint *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btSolverConstraint **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->m_contactNormal2 = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverConstraint_1contactNormal2_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btSolverConstraint *arg1 = (btSolverConstraint *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSolverConstraint **)&jarg1;
result = (btVector3 *)& ((arg1)->m_contactNormal2);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverConstraint_1angularComponentA_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btSolverConstraint *arg1 = (btSolverConstraint *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btSolverConstraint **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->m_angularComponentA = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverConstraint_1angularComponentA_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btSolverConstraint *arg1 = (btSolverConstraint *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSolverConstraint **)&jarg1;
result = (btVector3 *)& ((arg1)->m_angularComponentA);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverConstraint_1angularComponentB_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btSolverConstraint *arg1 = (btSolverConstraint *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btSolverConstraint **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->m_angularComponentB = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverConstraint_1angularComponentB_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btSolverConstraint *arg1 = (btSolverConstraint *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSolverConstraint **)&jarg1;
result = (btVector3 *)& ((arg1)->m_angularComponentB);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverConstraint_1appliedPushImpulse_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btSolverConstraint *arg1 = (btSolverConstraint *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSolverConstraint **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_appliedPushImpulse = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverConstraint_1appliedPushImpulse_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btSolverConstraint *arg1 = (btSolverConstraint *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSolverConstraint **)&jarg1;
result = (btScalar) ((arg1)->m_appliedPushImpulse);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverConstraint_1appliedImpulse_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btSolverConstraint *arg1 = (btSolverConstraint *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSolverConstraint **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_appliedImpulse = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverConstraint_1appliedImpulse_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btSolverConstraint *arg1 = (btSolverConstraint *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSolverConstraint **)&jarg1;
result = (btScalar) ((arg1)->m_appliedImpulse);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverConstraint_1friction_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btSolverConstraint *arg1 = (btSolverConstraint *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSolverConstraint **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_friction = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverConstraint_1friction_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btSolverConstraint *arg1 = (btSolverConstraint *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSolverConstraint **)&jarg1;
result = (btScalar) ((arg1)->m_friction);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverConstraint_1jacDiagABInv_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btSolverConstraint *arg1 = (btSolverConstraint *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSolverConstraint **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_jacDiagABInv = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverConstraint_1jacDiagABInv_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btSolverConstraint *arg1 = (btSolverConstraint *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSolverConstraint **)&jarg1;
result = (btScalar) ((arg1)->m_jacDiagABInv);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverConstraint_1rhs_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btSolverConstraint *arg1 = (btSolverConstraint *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSolverConstraint **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_rhs = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverConstraint_1rhs_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btSolverConstraint *arg1 = (btSolverConstraint *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSolverConstraint **)&jarg1;
result = (btScalar) ((arg1)->m_rhs);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverConstraint_1cfm_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btSolverConstraint *arg1 = (btSolverConstraint *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSolverConstraint **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_cfm = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverConstraint_1cfm_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btSolverConstraint *arg1 = (btSolverConstraint *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSolverConstraint **)&jarg1;
result = (btScalar) ((arg1)->m_cfm);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverConstraint_1lowerLimit_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btSolverConstraint *arg1 = (btSolverConstraint *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSolverConstraint **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_lowerLimit = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverConstraint_1lowerLimit_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btSolverConstraint *arg1 = (btSolverConstraint *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSolverConstraint **)&jarg1;
result = (btScalar) ((arg1)->m_lowerLimit);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverConstraint_1upperLimit_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btSolverConstraint *arg1 = (btSolverConstraint *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSolverConstraint **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_upperLimit = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverConstraint_1upperLimit_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btSolverConstraint *arg1 = (btSolverConstraint *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSolverConstraint **)&jarg1;
result = (btScalar) ((arg1)->m_upperLimit);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverConstraint_1rhsPenetration_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btSolverConstraint *arg1 = (btSolverConstraint *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSolverConstraint **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_rhsPenetration = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverConstraint_1rhsPenetration_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btSolverConstraint *arg1 = (btSolverConstraint *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSolverConstraint **)&jarg1;
result = (btScalar) ((arg1)->m_rhsPenetration);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverConstraint_1originalContactPoint_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btSolverConstraint *arg1 = (btSolverConstraint *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSolverConstraint **)&jarg1;
arg2 = (void *)jarg2;
if (arg1) (arg1)->m_originalContactPoint = arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverConstraint_1originalContactPoint_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btSolverConstraint *arg1 = (btSolverConstraint *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSolverConstraint **)&jarg1;
result = (void *) ((arg1)->m_originalContactPoint);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverConstraint_1unusedPadding4_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btSolverConstraint *arg1 = (btSolverConstraint *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSolverConstraint **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_unusedPadding4 = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverConstraint_1unusedPadding4_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btSolverConstraint *arg1 = (btSolverConstraint *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSolverConstraint **)&jarg1;
result = (btScalar) ((arg1)->m_unusedPadding4);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverConstraint_1numRowsForNonContactConstraint_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btSolverConstraint *arg1 = (btSolverConstraint *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSolverConstraint **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_numRowsForNonContactConstraint = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverConstraint_1numRowsForNonContactConstraint_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btSolverConstraint *arg1 = (btSolverConstraint *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSolverConstraint **)&jarg1;
result = (int) ((arg1)->m_numRowsForNonContactConstraint);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverConstraint_1overrideNumSolverIterations_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btSolverConstraint *arg1 = (btSolverConstraint *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSolverConstraint **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_overrideNumSolverIterations = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverConstraint_1overrideNumSolverIterations_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btSolverConstraint *arg1 = (btSolverConstraint *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSolverConstraint **)&jarg1;
result = (int) ((arg1)->m_overrideNumSolverIterations);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverConstraint_1frictionIndex_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btSolverConstraint *arg1 = (btSolverConstraint *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSolverConstraint **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_frictionIndex = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverConstraint_1frictionIndex_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btSolverConstraint *arg1 = (btSolverConstraint *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSolverConstraint **)&jarg1;
result = (int) ((arg1)->m_frictionIndex);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverConstraint_1solverBodyIdA_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btSolverConstraint *arg1 = (btSolverConstraint *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSolverConstraint **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_solverBodyIdA = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverConstraint_1solverBodyIdA_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btSolverConstraint *arg1 = (btSolverConstraint *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSolverConstraint **)&jarg1;
result = (int) ((arg1)->m_solverBodyIdA);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverConstraint_1solverBodyIdB_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btSolverConstraint *arg1 = (btSolverConstraint *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSolverConstraint **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_solverBodyIdB = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverConstraint_1solverBodyIdB_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btSolverConstraint *arg1 = (btSolverConstraint *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSolverConstraint **)&jarg1;
result = (int) ((arg1)->m_solverBodyIdB);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btSolverConstraint(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btSolverConstraint *result = 0 ;
(void)jenv;
(void)jcls;
result = (btSolverConstraint *)new btSolverConstraint();
*(btSolverConstraint **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btSolverConstraint(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btSolverConstraint *arg1 = (btSolverConstraint *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btSolverConstraint **)&jarg1;
delete arg1;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHinge2Constraint_1operatorNew_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btHinge2Constraint *arg1 = (btHinge2Constraint *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHinge2Constraint **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new(arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHinge2Constraint_1operatorDelete_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btHinge2Constraint *arg1 = (btHinge2Constraint *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHinge2Constraint **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete(arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHinge2Constraint_1operatorNew_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btHinge2Constraint *arg1 = (btHinge2Constraint *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHinge2Constraint **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new(arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHinge2Constraint_1operatorDelete_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btHinge2Constraint *arg1 = (btHinge2Constraint *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHinge2Constraint **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete(arg2,arg3);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHinge2Constraint_1operatorNewArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btHinge2Constraint *arg1 = (btHinge2Constraint *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHinge2Constraint **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new[](arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHinge2Constraint_1operatorDeleteArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btHinge2Constraint *arg1 = (btHinge2Constraint *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHinge2Constraint **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete[](arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHinge2Constraint_1operatorNewArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btHinge2Constraint *arg1 = (btHinge2Constraint *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHinge2Constraint **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new[](arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHinge2Constraint_1operatorDeleteArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btHinge2Constraint *arg1 = (btHinge2Constraint *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHinge2Constraint **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete[](arg2,arg3);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btHinge2Constraint(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jobject jarg3, jobject jarg4, jobject jarg5) {
jlong jresult = 0 ;
btRigidBody *arg1 = 0 ;
btRigidBody *arg2 = 0 ;
btVector3 *arg3 = 0 ;
btVector3 *arg4 = 0 ;
btVector3 *arg5 = 0 ;
btHinge2Constraint *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btRigidBody **)&jarg1;
if (!arg1) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btRigidBody & reference is null");
return 0;
}
arg2 = *(btRigidBody **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btRigidBody & reference is null");
return 0;
}
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
btVector3 local_arg4;
gdx_setbtVector3FromVector3(jenv, local_arg4, jarg4);
arg4 = &local_arg4;
gdxAutoCommitVector3 auto_commit_arg4(jenv, jarg4, &local_arg4);
btVector3 local_arg5;
gdx_setbtVector3FromVector3(jenv, local_arg5, jarg5);
arg5 = &local_arg5;
gdxAutoCommitVector3 auto_commit_arg5(jenv, jarg5, &local_arg5);
result = (btHinge2Constraint *)new btHinge2Constraint(*arg1,*arg2,*arg3,*arg4,*arg5);
*(btHinge2Constraint **)&jresult = result;
return jresult;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHinge2Constraint_1getAnchor(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btHinge2Constraint *arg1 = (btHinge2Constraint *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHinge2Constraint **)&jarg1;
result = (btVector3 *) &(arg1)->getAnchor();
jresult = gdx_getReturnVector3(jenv);
gdx_setVector3FrombtVector3(jenv, jresult, result);
return jresult;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHinge2Constraint_1getAnchor2(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btHinge2Constraint *arg1 = (btHinge2Constraint *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHinge2Constraint **)&jarg1;
result = (btVector3 *) &(arg1)->getAnchor2();
jresult = gdx_getReturnVector3(jenv);
gdx_setVector3FrombtVector3(jenv, jresult, result);
return jresult;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHinge2Constraint_1getAxis1(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btHinge2Constraint *arg1 = (btHinge2Constraint *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHinge2Constraint **)&jarg1;
result = (btVector3 *) &(arg1)->getAxis1();
jresult = gdx_getReturnVector3(jenv);
gdx_setVector3FrombtVector3(jenv, jresult, result);
return jresult;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHinge2Constraint_1getAxis2(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btHinge2Constraint *arg1 = (btHinge2Constraint *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHinge2Constraint **)&jarg1;
result = (btVector3 *) &(arg1)->getAxis2();
jresult = gdx_getReturnVector3(jenv);
gdx_setVector3FrombtVector3(jenv, jresult, result);
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHinge2Constraint_1getAngle1(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btHinge2Constraint *arg1 = (btHinge2Constraint *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHinge2Constraint **)&jarg1;
result = (btScalar)(arg1)->getAngle1();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHinge2Constraint_1getAngle2(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btHinge2Constraint *arg1 = (btHinge2Constraint *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHinge2Constraint **)&jarg1;
result = (btScalar)(arg1)->getAngle2();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHinge2Constraint_1setUpperLimit(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btHinge2Constraint *arg1 = (btHinge2Constraint *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHinge2Constraint **)&jarg1;
arg2 = (btScalar)jarg2;
(arg1)->setUpperLimit(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHinge2Constraint_1setLowerLimit(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btHinge2Constraint *arg1 = (btHinge2Constraint *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHinge2Constraint **)&jarg1;
arg2 = (btScalar)jarg2;
(arg1)->setLowerLimit(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btHinge2Constraint(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btHinge2Constraint *arg1 = (btHinge2Constraint *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btHinge2Constraint **)&jarg1;
delete arg1;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btFixedConstraint(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jobject jarg3, jobject jarg4) {
jlong jresult = 0 ;
btRigidBody *arg1 = 0 ;
btRigidBody *arg2 = 0 ;
btTransform *arg3 = 0 ;
btTransform *arg4 = 0 ;
btFixedConstraint *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btRigidBody **)&jarg1;
if (!arg1) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btRigidBody & reference is null");
return 0;
}
arg2 = *(btRigidBody **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btRigidBody & reference is null");
return 0;
}
btTransform local_arg3;
gdx_setbtTransformFromMatrix4(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitMatrix4 auto_commit_arg3(jenv, jarg3, &local_arg3);
btTransform local_arg4;
gdx_setbtTransformFromMatrix4(jenv, local_arg4, jarg4);
arg4 = &local_arg4;
gdxAutoCommitMatrix4 auto_commit_arg4(jenv, jarg4, &local_arg4);
result = (btFixedConstraint *)new btFixedConstraint(*arg1,*arg2,(btTransform const &)*arg3,(btTransform const &)*arg4);
*(btFixedConstraint **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btFixedConstraint(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btFixedConstraint *arg1 = (btFixedConstraint *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btFixedConstraint **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btVehicleRaycaster(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btVehicleRaycaster *arg1 = (btVehicleRaycaster *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btVehicleRaycaster **)&jarg1;
delete arg1;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btVehicleRaycaster_1btVehicleRaycasterResult(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btVehicleRaycaster::btVehicleRaycasterResult *result = 0 ;
(void)jenv;
(void)jcls;
result = (btVehicleRaycaster::btVehicleRaycasterResult *)new btVehicleRaycaster::btVehicleRaycasterResult();
*(btVehicleRaycaster::btVehicleRaycasterResult **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btVehicleRaycaster_1btVehicleRaycasterResult_1hitPointInWorld_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btVehicleRaycaster::btVehicleRaycasterResult *arg1 = (btVehicleRaycaster::btVehicleRaycasterResult *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btVehicleRaycaster::btVehicleRaycasterResult **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->m_hitPointInWorld = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btVehicleRaycaster_1btVehicleRaycasterResult_1hitPointInWorld_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btVehicleRaycaster::btVehicleRaycasterResult *arg1 = (btVehicleRaycaster::btVehicleRaycasterResult *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btVehicleRaycaster::btVehicleRaycasterResult **)&jarg1;
result = (btVector3 *)& ((arg1)->m_hitPointInWorld);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btVehicleRaycaster_1btVehicleRaycasterResult_1hitNormalInWorld_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btVehicleRaycaster::btVehicleRaycasterResult *arg1 = (btVehicleRaycaster::btVehicleRaycasterResult *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btVehicleRaycaster::btVehicleRaycasterResult **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->m_hitNormalInWorld = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btVehicleRaycaster_1btVehicleRaycasterResult_1hitNormalInWorld_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btVehicleRaycaster::btVehicleRaycasterResult *arg1 = (btVehicleRaycaster::btVehicleRaycasterResult *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btVehicleRaycaster::btVehicleRaycasterResult **)&jarg1;
result = (btVector3 *)& ((arg1)->m_hitNormalInWorld);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btVehicleRaycaster_1btVehicleRaycasterResult_1distFraction_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btVehicleRaycaster::btVehicleRaycasterResult *arg1 = (btVehicleRaycaster::btVehicleRaycasterResult *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btVehicleRaycaster::btVehicleRaycasterResult **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_distFraction = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btVehicleRaycaster_1btVehicleRaycasterResult_1distFraction_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btVehicleRaycaster::btVehicleRaycasterResult *arg1 = (btVehicleRaycaster::btVehicleRaycasterResult *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btVehicleRaycaster::btVehicleRaycasterResult **)&jarg1;
result = (btScalar) ((arg1)->m_distFraction);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btVehicleRaycaster_1btVehicleRaycasterResult(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btVehicleRaycaster::btVehicleRaycasterResult *arg1 = (btVehicleRaycaster::btVehicleRaycasterResult *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btVehicleRaycaster::btVehicleRaycasterResult **)&jarg1;
delete arg1;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btVehicleRaycaster_1castRay(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jobject jarg3, jlong jarg4, jobject jarg4_) {
jlong jresult = 0 ;
btVehicleRaycaster *arg1 = (btVehicleRaycaster *) 0 ;
btVector3 *arg2 = 0 ;
btVector3 *arg3 = 0 ;
btVehicleRaycaster::btVehicleRaycasterResult *arg4 = 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg4_;
arg1 = *(btVehicleRaycaster **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
arg4 = *(btVehicleRaycaster::btVehicleRaycasterResult **)&jarg4;
if (!arg4) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btVehicleRaycaster::btVehicleRaycasterResult & reference is null");
return 0;
}
result = (void *)(arg1)->castRay((btVector3 const &)*arg2,(btVector3 const &)*arg3,*arg4);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfoConstructionInfo_1chassisConnectionCS_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btWheelInfoConstructionInfo *arg1 = (btWheelInfoConstructionInfo *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btWheelInfoConstructionInfo **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->m_chassisConnectionCS = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfoConstructionInfo_1chassisConnectionCS_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btWheelInfoConstructionInfo *arg1 = (btWheelInfoConstructionInfo *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btWheelInfoConstructionInfo **)&jarg1;
result = (btVector3 *)& ((arg1)->m_chassisConnectionCS);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfoConstructionInfo_1wheelDirectionCS_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btWheelInfoConstructionInfo *arg1 = (btWheelInfoConstructionInfo *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btWheelInfoConstructionInfo **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->m_wheelDirectionCS = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfoConstructionInfo_1wheelDirectionCS_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btWheelInfoConstructionInfo *arg1 = (btWheelInfoConstructionInfo *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btWheelInfoConstructionInfo **)&jarg1;
result = (btVector3 *)& ((arg1)->m_wheelDirectionCS);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfoConstructionInfo_1wheelAxleCS_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btWheelInfoConstructionInfo *arg1 = (btWheelInfoConstructionInfo *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btWheelInfoConstructionInfo **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->m_wheelAxleCS = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfoConstructionInfo_1wheelAxleCS_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btWheelInfoConstructionInfo *arg1 = (btWheelInfoConstructionInfo *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btWheelInfoConstructionInfo **)&jarg1;
result = (btVector3 *)& ((arg1)->m_wheelAxleCS);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfoConstructionInfo_1suspensionRestLength_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btWheelInfoConstructionInfo *arg1 = (btWheelInfoConstructionInfo *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btWheelInfoConstructionInfo **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_suspensionRestLength = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfoConstructionInfo_1suspensionRestLength_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btWheelInfoConstructionInfo *arg1 = (btWheelInfoConstructionInfo *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btWheelInfoConstructionInfo **)&jarg1;
result = (btScalar) ((arg1)->m_suspensionRestLength);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfoConstructionInfo_1maxSuspensionTravelCm_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btWheelInfoConstructionInfo *arg1 = (btWheelInfoConstructionInfo *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btWheelInfoConstructionInfo **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_maxSuspensionTravelCm = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfoConstructionInfo_1maxSuspensionTravelCm_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btWheelInfoConstructionInfo *arg1 = (btWheelInfoConstructionInfo *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btWheelInfoConstructionInfo **)&jarg1;
result = (btScalar) ((arg1)->m_maxSuspensionTravelCm);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfoConstructionInfo_1wheelRadius_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btWheelInfoConstructionInfo *arg1 = (btWheelInfoConstructionInfo *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btWheelInfoConstructionInfo **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_wheelRadius = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfoConstructionInfo_1wheelRadius_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btWheelInfoConstructionInfo *arg1 = (btWheelInfoConstructionInfo *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btWheelInfoConstructionInfo **)&jarg1;
result = (btScalar) ((arg1)->m_wheelRadius);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfoConstructionInfo_1suspensionStiffness_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btWheelInfoConstructionInfo *arg1 = (btWheelInfoConstructionInfo *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btWheelInfoConstructionInfo **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_suspensionStiffness = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfoConstructionInfo_1suspensionStiffness_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btWheelInfoConstructionInfo *arg1 = (btWheelInfoConstructionInfo *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btWheelInfoConstructionInfo **)&jarg1;
result = (btScalar) ((arg1)->m_suspensionStiffness);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfoConstructionInfo_1wheelsDampingCompression_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btWheelInfoConstructionInfo *arg1 = (btWheelInfoConstructionInfo *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btWheelInfoConstructionInfo **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_wheelsDampingCompression = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfoConstructionInfo_1wheelsDampingCompression_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btWheelInfoConstructionInfo *arg1 = (btWheelInfoConstructionInfo *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btWheelInfoConstructionInfo **)&jarg1;
result = (btScalar) ((arg1)->m_wheelsDampingCompression);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfoConstructionInfo_1wheelsDampingRelaxation_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btWheelInfoConstructionInfo *arg1 = (btWheelInfoConstructionInfo *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btWheelInfoConstructionInfo **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_wheelsDampingRelaxation = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfoConstructionInfo_1wheelsDampingRelaxation_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btWheelInfoConstructionInfo *arg1 = (btWheelInfoConstructionInfo *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btWheelInfoConstructionInfo **)&jarg1;
result = (btScalar) ((arg1)->m_wheelsDampingRelaxation);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfoConstructionInfo_1frictionSlip_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btWheelInfoConstructionInfo *arg1 = (btWheelInfoConstructionInfo *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btWheelInfoConstructionInfo **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_frictionSlip = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfoConstructionInfo_1frictionSlip_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btWheelInfoConstructionInfo *arg1 = (btWheelInfoConstructionInfo *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btWheelInfoConstructionInfo **)&jarg1;
result = (btScalar) ((arg1)->m_frictionSlip);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfoConstructionInfo_1maxSuspensionForce_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btWheelInfoConstructionInfo *arg1 = (btWheelInfoConstructionInfo *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btWheelInfoConstructionInfo **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_maxSuspensionForce = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfoConstructionInfo_1maxSuspensionForce_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btWheelInfoConstructionInfo *arg1 = (btWheelInfoConstructionInfo *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btWheelInfoConstructionInfo **)&jarg1;
result = (btScalar) ((arg1)->m_maxSuspensionForce);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfoConstructionInfo_1bIsFrontWheel_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jboolean jarg2) {
btWheelInfoConstructionInfo *arg1 = (btWheelInfoConstructionInfo *) 0 ;
bool arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btWheelInfoConstructionInfo **)&jarg1;
arg2 = jarg2 ? true : false;
if (arg1) (arg1)->m_bIsFrontWheel = arg2;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfoConstructionInfo_1bIsFrontWheel_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jboolean jresult = 0 ;
btWheelInfoConstructionInfo *arg1 = (btWheelInfoConstructionInfo *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btWheelInfoConstructionInfo **)&jarg1;
result = (bool) ((arg1)->m_bIsFrontWheel);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btWheelInfoConstructionInfo(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btWheelInfoConstructionInfo *result = 0 ;
(void)jenv;
(void)jcls;
result = (btWheelInfoConstructionInfo *)new btWheelInfoConstructionInfo();
*(btWheelInfoConstructionInfo **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btWheelInfoConstructionInfo(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btWheelInfoConstructionInfo *arg1 = (btWheelInfoConstructionInfo *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btWheelInfoConstructionInfo **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfo_1RaycastInfo_1contactNormalWS_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btWheelInfo::RaycastInfo *arg1 = (btWheelInfo::RaycastInfo *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btWheelInfo::RaycastInfo **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->m_contactNormalWS = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfo_1RaycastInfo_1contactNormalWS_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btWheelInfo::RaycastInfo *arg1 = (btWheelInfo::RaycastInfo *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btWheelInfo::RaycastInfo **)&jarg1;
result = (btVector3 *)& ((arg1)->m_contactNormalWS);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfo_1RaycastInfo_1contactPointWS_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btWheelInfo::RaycastInfo *arg1 = (btWheelInfo::RaycastInfo *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btWheelInfo::RaycastInfo **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->m_contactPointWS = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfo_1RaycastInfo_1contactPointWS_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btWheelInfo::RaycastInfo *arg1 = (btWheelInfo::RaycastInfo *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btWheelInfo::RaycastInfo **)&jarg1;
result = (btVector3 *)& ((arg1)->m_contactPointWS);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfo_1RaycastInfo_1suspensionLength_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btWheelInfo::RaycastInfo *arg1 = (btWheelInfo::RaycastInfo *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btWheelInfo::RaycastInfo **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_suspensionLength = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfo_1RaycastInfo_1suspensionLength_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btWheelInfo::RaycastInfo *arg1 = (btWheelInfo::RaycastInfo *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btWheelInfo::RaycastInfo **)&jarg1;
result = (btScalar) ((arg1)->m_suspensionLength);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfo_1RaycastInfo_1hardPointWS_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btWheelInfo::RaycastInfo *arg1 = (btWheelInfo::RaycastInfo *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btWheelInfo::RaycastInfo **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->m_hardPointWS = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfo_1RaycastInfo_1hardPointWS_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btWheelInfo::RaycastInfo *arg1 = (btWheelInfo::RaycastInfo *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btWheelInfo::RaycastInfo **)&jarg1;
result = (btVector3 *)& ((arg1)->m_hardPointWS);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfo_1RaycastInfo_1wheelDirectionWS_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btWheelInfo::RaycastInfo *arg1 = (btWheelInfo::RaycastInfo *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btWheelInfo::RaycastInfo **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->m_wheelDirectionWS = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfo_1RaycastInfo_1wheelDirectionWS_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btWheelInfo::RaycastInfo *arg1 = (btWheelInfo::RaycastInfo *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btWheelInfo::RaycastInfo **)&jarg1;
result = (btVector3 *)& ((arg1)->m_wheelDirectionWS);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfo_1RaycastInfo_1wheelAxleWS_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btWheelInfo::RaycastInfo *arg1 = (btWheelInfo::RaycastInfo *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btWheelInfo::RaycastInfo **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->m_wheelAxleWS = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfo_1RaycastInfo_1wheelAxleWS_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btWheelInfo::RaycastInfo *arg1 = (btWheelInfo::RaycastInfo *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btWheelInfo::RaycastInfo **)&jarg1;
result = (btVector3 *)& ((arg1)->m_wheelAxleWS);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfo_1RaycastInfo_1isInContact_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jboolean jarg2) {
btWheelInfo::RaycastInfo *arg1 = (btWheelInfo::RaycastInfo *) 0 ;
bool arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btWheelInfo::RaycastInfo **)&jarg1;
arg2 = jarg2 ? true : false;
if (arg1) (arg1)->m_isInContact = arg2;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfo_1RaycastInfo_1isInContact_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jboolean jresult = 0 ;
btWheelInfo::RaycastInfo *arg1 = (btWheelInfo::RaycastInfo *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btWheelInfo::RaycastInfo **)&jarg1;
result = (bool) ((arg1)->m_isInContact);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfo_1RaycastInfo_1groundObject_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btWheelInfo::RaycastInfo *arg1 = (btWheelInfo::RaycastInfo *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btWheelInfo::RaycastInfo **)&jarg1;
arg2 = (void *)jarg2;
if (arg1) (arg1)->m_groundObject = arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfo_1RaycastInfo_1groundObject_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btWheelInfo::RaycastInfo *arg1 = (btWheelInfo::RaycastInfo *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btWheelInfo::RaycastInfo **)&jarg1;
result = (void *) ((arg1)->m_groundObject);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btWheelInfo_1RaycastInfo(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btWheelInfo::RaycastInfo *result = 0 ;
(void)jenv;
(void)jcls;
result = (btWheelInfo::RaycastInfo *)new btWheelInfo::RaycastInfo();
*(btWheelInfo::RaycastInfo **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btWheelInfo_1RaycastInfo(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btWheelInfo::RaycastInfo *arg1 = (btWheelInfo::RaycastInfo *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btWheelInfo::RaycastInfo **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfo_1raycastInfo_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btWheelInfo *arg1 = (btWheelInfo *) 0 ;
btWheelInfo::RaycastInfo *arg2 = (btWheelInfo::RaycastInfo *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btWheelInfo **)&jarg1;
arg2 = *(btWheelInfo::RaycastInfo **)&jarg2;
if (arg1) (arg1)->m_raycastInfo = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfo_1raycastInfo_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btWheelInfo *arg1 = (btWheelInfo *) 0 ;
btWheelInfo::RaycastInfo *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btWheelInfo **)&jarg1;
result = (btWheelInfo::RaycastInfo *)& ((arg1)->m_raycastInfo);
*(btWheelInfo::RaycastInfo **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfo_1worldTransform_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btWheelInfo *arg1 = (btWheelInfo *) 0 ;
btTransform *arg2 = (btTransform *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btWheelInfo **)&jarg1;
arg2 = *(btTransform **)&jarg2;
if (arg1) (arg1)->m_worldTransform = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfo_1worldTransform_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btWheelInfo *arg1 = (btWheelInfo *) 0 ;
btTransform *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btWheelInfo **)&jarg1;
result = (btTransform *)& ((arg1)->m_worldTransform);
*(btTransform **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfo_1chassisConnectionPointCS_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btWheelInfo *arg1 = (btWheelInfo *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btWheelInfo **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->m_chassisConnectionPointCS = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfo_1chassisConnectionPointCS_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btWheelInfo *arg1 = (btWheelInfo *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btWheelInfo **)&jarg1;
result = (btVector3 *)& ((arg1)->m_chassisConnectionPointCS);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfo_1wheelDirectionCS_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btWheelInfo *arg1 = (btWheelInfo *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btWheelInfo **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->m_wheelDirectionCS = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfo_1wheelDirectionCS_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btWheelInfo *arg1 = (btWheelInfo *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btWheelInfo **)&jarg1;
result = (btVector3 *)& ((arg1)->m_wheelDirectionCS);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfo_1wheelAxleCS_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btWheelInfo *arg1 = (btWheelInfo *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btWheelInfo **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->m_wheelAxleCS = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfo_1wheelAxleCS_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btWheelInfo *arg1 = (btWheelInfo *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btWheelInfo **)&jarg1;
result = (btVector3 *)& ((arg1)->m_wheelAxleCS);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfo_1suspensionRestLength1_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btWheelInfo *arg1 = (btWheelInfo *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btWheelInfo **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_suspensionRestLength1 = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfo_1suspensionRestLength1_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btWheelInfo *arg1 = (btWheelInfo *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btWheelInfo **)&jarg1;
result = (btScalar) ((arg1)->m_suspensionRestLength1);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfo_1maxSuspensionTravelCm_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btWheelInfo *arg1 = (btWheelInfo *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btWheelInfo **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_maxSuspensionTravelCm = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfo_1maxSuspensionTravelCm_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btWheelInfo *arg1 = (btWheelInfo *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btWheelInfo **)&jarg1;
result = (btScalar) ((arg1)->m_maxSuspensionTravelCm);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfo_1getSuspensionRestLength(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btWheelInfo *arg1 = (btWheelInfo *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btWheelInfo **)&jarg1;
result = (btScalar)((btWheelInfo const *)arg1)->getSuspensionRestLength();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfo_1wheelsRadius_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btWheelInfo *arg1 = (btWheelInfo *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btWheelInfo **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_wheelsRadius = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfo_1wheelsRadius_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btWheelInfo *arg1 = (btWheelInfo *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btWheelInfo **)&jarg1;
result = (btScalar) ((arg1)->m_wheelsRadius);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfo_1suspensionStiffness_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btWheelInfo *arg1 = (btWheelInfo *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btWheelInfo **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_suspensionStiffness = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfo_1suspensionStiffness_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btWheelInfo *arg1 = (btWheelInfo *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btWheelInfo **)&jarg1;
result = (btScalar) ((arg1)->m_suspensionStiffness);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfo_1wheelsDampingCompression_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btWheelInfo *arg1 = (btWheelInfo *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btWheelInfo **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_wheelsDampingCompression = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfo_1wheelsDampingCompression_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btWheelInfo *arg1 = (btWheelInfo *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btWheelInfo **)&jarg1;
result = (btScalar) ((arg1)->m_wheelsDampingCompression);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfo_1wheelsDampingRelaxation_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btWheelInfo *arg1 = (btWheelInfo *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btWheelInfo **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_wheelsDampingRelaxation = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfo_1wheelsDampingRelaxation_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btWheelInfo *arg1 = (btWheelInfo *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btWheelInfo **)&jarg1;
result = (btScalar) ((arg1)->m_wheelsDampingRelaxation);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfo_1frictionSlip_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btWheelInfo *arg1 = (btWheelInfo *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btWheelInfo **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_frictionSlip = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfo_1frictionSlip_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btWheelInfo *arg1 = (btWheelInfo *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btWheelInfo **)&jarg1;
result = (btScalar) ((arg1)->m_frictionSlip);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfo_1steering_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btWheelInfo *arg1 = (btWheelInfo *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btWheelInfo **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_steering = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfo_1steering_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btWheelInfo *arg1 = (btWheelInfo *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btWheelInfo **)&jarg1;
result = (btScalar) ((arg1)->m_steering);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfo_1rotation_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btWheelInfo *arg1 = (btWheelInfo *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btWheelInfo **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_rotation = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfo_1rotation_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btWheelInfo *arg1 = (btWheelInfo *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btWheelInfo **)&jarg1;
result = (btScalar) ((arg1)->m_rotation);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfo_1deltaRotation_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btWheelInfo *arg1 = (btWheelInfo *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btWheelInfo **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_deltaRotation = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfo_1deltaRotation_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btWheelInfo *arg1 = (btWheelInfo *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btWheelInfo **)&jarg1;
result = (btScalar) ((arg1)->m_deltaRotation);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfo_1rollInfluence_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btWheelInfo *arg1 = (btWheelInfo *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btWheelInfo **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_rollInfluence = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfo_1rollInfluence_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btWheelInfo *arg1 = (btWheelInfo *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btWheelInfo **)&jarg1;
result = (btScalar) ((arg1)->m_rollInfluence);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfo_1maxSuspensionForce_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btWheelInfo *arg1 = (btWheelInfo *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btWheelInfo **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_maxSuspensionForce = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfo_1maxSuspensionForce_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btWheelInfo *arg1 = (btWheelInfo *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btWheelInfo **)&jarg1;
result = (btScalar) ((arg1)->m_maxSuspensionForce);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfo_1engineForce_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btWheelInfo *arg1 = (btWheelInfo *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btWheelInfo **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_engineForce = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfo_1engineForce_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btWheelInfo *arg1 = (btWheelInfo *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btWheelInfo **)&jarg1;
result = (btScalar) ((arg1)->m_engineForce);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfo_1brake_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btWheelInfo *arg1 = (btWheelInfo *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btWheelInfo **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_brake = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfo_1brake_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btWheelInfo *arg1 = (btWheelInfo *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btWheelInfo **)&jarg1;
result = (btScalar) ((arg1)->m_brake);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfo_1bIsFrontWheel_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jboolean jarg2) {
btWheelInfo *arg1 = (btWheelInfo *) 0 ;
bool arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btWheelInfo **)&jarg1;
arg2 = jarg2 ? true : false;
if (arg1) (arg1)->m_bIsFrontWheel = arg2;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfo_1bIsFrontWheel_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jboolean jresult = 0 ;
btWheelInfo *arg1 = (btWheelInfo *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btWheelInfo **)&jarg1;
result = (bool) ((arg1)->m_bIsFrontWheel);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfo_1clientInfo_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btWheelInfo *arg1 = (btWheelInfo *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btWheelInfo **)&jarg1;
arg2 = (void *)jarg2;
if (arg1) (arg1)->m_clientInfo = arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfo_1clientInfo_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btWheelInfo *arg1 = (btWheelInfo *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btWheelInfo **)&jarg1;
result = (void *) ((arg1)->m_clientInfo);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btWheelInfo_1_1SWIG_10(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btWheelInfo *result = 0 ;
(void)jenv;
(void)jcls;
result = (btWheelInfo *)new btWheelInfo();
*(btWheelInfo **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btWheelInfo_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btWheelInfoConstructionInfo *arg1 = 0 ;
btWheelInfo *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btWheelInfoConstructionInfo **)&jarg1;
if (!arg1) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btWheelInfoConstructionInfo & reference is null");
return 0;
}
result = (btWheelInfo *)new btWheelInfo(*arg1);
*(btWheelInfo **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfo_1updateWheel(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_) {
btWheelInfo *arg1 = (btWheelInfo *) 0 ;
btRigidBody *arg2 = 0 ;
btWheelInfo::RaycastInfo *arg3 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
(void)jarg3_;
arg1 = *(btWheelInfo **)&jarg1;
arg2 = *(btRigidBody **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btRigidBody const & reference is null");
return ;
}
arg3 = *(btWheelInfo::RaycastInfo **)&jarg3;
if (!arg3) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btWheelInfo::RaycastInfo & reference is null");
return ;
}
(arg1)->updateWheel((btRigidBody const &)*arg2,*arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfo_1clippedInvContactDotSuspension_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btWheelInfo *arg1 = (btWheelInfo *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btWheelInfo **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_clippedInvContactDotSuspension = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfo_1clippedInvContactDotSuspension_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btWheelInfo *arg1 = (btWheelInfo *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btWheelInfo **)&jarg1;
result = (btScalar) ((arg1)->m_clippedInvContactDotSuspension);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfo_1suspensionRelativeVelocity_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btWheelInfo *arg1 = (btWheelInfo *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btWheelInfo **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_suspensionRelativeVelocity = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfo_1suspensionRelativeVelocity_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btWheelInfo *arg1 = (btWheelInfo *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btWheelInfo **)&jarg1;
result = (btScalar) ((arg1)->m_suspensionRelativeVelocity);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfo_1wheelsSuspensionForce_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btWheelInfo *arg1 = (btWheelInfo *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btWheelInfo **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_wheelsSuspensionForce = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfo_1wheelsSuspensionForce_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btWheelInfo *arg1 = (btWheelInfo *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btWheelInfo **)&jarg1;
result = (btScalar) ((arg1)->m_wheelsSuspensionForce);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfo_1skidInfo_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btWheelInfo *arg1 = (btWheelInfo *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btWheelInfo **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_skidInfo = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfo_1skidInfo_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btWheelInfo *arg1 = (btWheelInfo *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btWheelInfo **)&jarg1;
result = (btScalar) ((arg1)->m_skidInfo);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btWheelInfo(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btWheelInfo *arg1 = (btWheelInfo *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btWheelInfo **)&jarg1;
delete arg1;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btRaycastVehicle_1btVehicleTuning(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btRaycastVehicle::btVehicleTuning *result = 0 ;
(void)jenv;
(void)jcls;
result = (btRaycastVehicle::btVehicleTuning *)new btRaycastVehicle::btVehicleTuning();
*(btRaycastVehicle::btVehicleTuning **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRaycastVehicle_1btVehicleTuning_1suspensionStiffness_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btRaycastVehicle::btVehicleTuning *arg1 = (btRaycastVehicle::btVehicleTuning *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRaycastVehicle::btVehicleTuning **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_suspensionStiffness = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRaycastVehicle_1btVehicleTuning_1suspensionStiffness_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btRaycastVehicle::btVehicleTuning *arg1 = (btRaycastVehicle::btVehicleTuning *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRaycastVehicle::btVehicleTuning **)&jarg1;
result = (btScalar) ((arg1)->m_suspensionStiffness);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRaycastVehicle_1btVehicleTuning_1suspensionCompression_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btRaycastVehicle::btVehicleTuning *arg1 = (btRaycastVehicle::btVehicleTuning *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRaycastVehicle::btVehicleTuning **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_suspensionCompression = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRaycastVehicle_1btVehicleTuning_1suspensionCompression_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btRaycastVehicle::btVehicleTuning *arg1 = (btRaycastVehicle::btVehicleTuning *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRaycastVehicle::btVehicleTuning **)&jarg1;
result = (btScalar) ((arg1)->m_suspensionCompression);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRaycastVehicle_1btVehicleTuning_1suspensionDamping_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btRaycastVehicle::btVehicleTuning *arg1 = (btRaycastVehicle::btVehicleTuning *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRaycastVehicle::btVehicleTuning **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_suspensionDamping = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRaycastVehicle_1btVehicleTuning_1suspensionDamping_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btRaycastVehicle::btVehicleTuning *arg1 = (btRaycastVehicle::btVehicleTuning *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRaycastVehicle::btVehicleTuning **)&jarg1;
result = (btScalar) ((arg1)->m_suspensionDamping);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRaycastVehicle_1btVehicleTuning_1maxSuspensionTravelCm_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btRaycastVehicle::btVehicleTuning *arg1 = (btRaycastVehicle::btVehicleTuning *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRaycastVehicle::btVehicleTuning **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_maxSuspensionTravelCm = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRaycastVehicle_1btVehicleTuning_1maxSuspensionTravelCm_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btRaycastVehicle::btVehicleTuning *arg1 = (btRaycastVehicle::btVehicleTuning *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRaycastVehicle::btVehicleTuning **)&jarg1;
result = (btScalar) ((arg1)->m_maxSuspensionTravelCm);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRaycastVehicle_1btVehicleTuning_1frictionSlip_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btRaycastVehicle::btVehicleTuning *arg1 = (btRaycastVehicle::btVehicleTuning *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRaycastVehicle::btVehicleTuning **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_frictionSlip = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRaycastVehicle_1btVehicleTuning_1frictionSlip_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btRaycastVehicle::btVehicleTuning *arg1 = (btRaycastVehicle::btVehicleTuning *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRaycastVehicle::btVehicleTuning **)&jarg1;
result = (btScalar) ((arg1)->m_frictionSlip);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRaycastVehicle_1btVehicleTuning_1maxSuspensionForce_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btRaycastVehicle::btVehicleTuning *arg1 = (btRaycastVehicle::btVehicleTuning *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRaycastVehicle::btVehicleTuning **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_maxSuspensionForce = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRaycastVehicle_1btVehicleTuning_1maxSuspensionForce_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btRaycastVehicle::btVehicleTuning *arg1 = (btRaycastVehicle::btVehicleTuning *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRaycastVehicle::btVehicleTuning **)&jarg1;
result = (btScalar) ((arg1)->m_maxSuspensionForce);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btRaycastVehicle_1btVehicleTuning(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btRaycastVehicle::btVehicleTuning *arg1 = (btRaycastVehicle::btVehicleTuning *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btRaycastVehicle::btVehicleTuning **)&jarg1;
delete arg1;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btRaycastVehicle(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_) {
jlong jresult = 0 ;
btRaycastVehicle::btVehicleTuning *arg1 = 0 ;
btRigidBody *arg2 = (btRigidBody *) 0 ;
btVehicleRaycaster *arg3 = (btVehicleRaycaster *) 0 ;
btRaycastVehicle *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
(void)jarg3_;
arg1 = *(btRaycastVehicle::btVehicleTuning **)&jarg1;
if (!arg1) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btRaycastVehicle::btVehicleTuning const & reference is null");
return 0;
}
arg2 = *(btRigidBody **)&jarg2;
arg3 = *(btVehicleRaycaster **)&jarg3;
result = (btRaycastVehicle *)new btRaycastVehicle((btRaycastVehicle::btVehicleTuning const &)*arg1,arg2,arg3);
*(btRaycastVehicle **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btRaycastVehicle(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btRaycastVehicle *arg1 = (btRaycastVehicle *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btRaycastVehicle **)&jarg1;
delete arg1;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRaycastVehicle_1getChassisWorldTransform(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btRaycastVehicle *arg1 = (btRaycastVehicle *) 0 ;
btTransform *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRaycastVehicle **)&jarg1;
result = (btTransform *) &((btRaycastVehicle const *)arg1)->getChassisWorldTransform();
jresult = gdx_getReturnMatrix4(jenv);
gdx_setMatrix4FrombtTransform(jenv, jresult, result);
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRaycastVehicle_1rayCast(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
jfloat jresult = 0 ;
btRaycastVehicle *arg1 = (btRaycastVehicle *) 0 ;
btWheelInfo *arg2 = 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btRaycastVehicle **)&jarg1;
arg2 = *(btWheelInfo **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btWheelInfo & reference is null");
return 0;
}
result = (btScalar)(arg1)->rayCast(*arg2);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRaycastVehicle_1updateVehicle(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btRaycastVehicle *arg1 = (btRaycastVehicle *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRaycastVehicle **)&jarg1;
arg2 = (btScalar)jarg2;
(arg1)->updateVehicle(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRaycastVehicle_1resetSuspension(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
btRaycastVehicle *arg1 = (btRaycastVehicle *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRaycastVehicle **)&jarg1;
(arg1)->resetSuspension();
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRaycastVehicle_1getSteeringValue(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jfloat jresult = 0 ;
btRaycastVehicle *arg1 = (btRaycastVehicle *) 0 ;
int arg2 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRaycastVehicle **)&jarg1;
arg2 = (int)jarg2;
result = (btScalar)((btRaycastVehicle const *)arg1)->getSteeringValue(arg2);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRaycastVehicle_1setSteeringValue(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2, jint jarg3) {
btRaycastVehicle *arg1 = (btRaycastVehicle *) 0 ;
btScalar arg2 ;
int arg3 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRaycastVehicle **)&jarg1;
arg2 = (btScalar)jarg2;
arg3 = (int)jarg3;
(arg1)->setSteeringValue(arg2,arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRaycastVehicle_1applyEngineForce(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2, jint jarg3) {
btRaycastVehicle *arg1 = (btRaycastVehicle *) 0 ;
btScalar arg2 ;
int arg3 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRaycastVehicle **)&jarg1;
arg2 = (btScalar)jarg2;
arg3 = (int)jarg3;
(arg1)->applyEngineForce(arg2,arg3);
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRaycastVehicle_1getWheelTransformWS(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jobject jresult = 0 ;
btRaycastVehicle *arg1 = (btRaycastVehicle *) 0 ;
int arg2 ;
btTransform *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRaycastVehicle **)&jarg1;
arg2 = (int)jarg2;
result = (btTransform *) &((btRaycastVehicle const *)arg1)->getWheelTransformWS(arg2);
jresult = gdx_getReturnMatrix4(jenv);
gdx_setMatrix4FrombtTransform(jenv, jresult, result);
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRaycastVehicle_1updateWheelTransform_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jboolean jarg3) {
btRaycastVehicle *arg1 = (btRaycastVehicle *) 0 ;
int arg2 ;
bool arg3 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRaycastVehicle **)&jarg1;
arg2 = (int)jarg2;
arg3 = jarg3 ? true : false;
(arg1)->updateWheelTransform(arg2,arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRaycastVehicle_1updateWheelTransform_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btRaycastVehicle *arg1 = (btRaycastVehicle *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRaycastVehicle **)&jarg1;
arg2 = (int)jarg2;
(arg1)->updateWheelTransform(arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRaycastVehicle_1addWheel(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jobject jarg3, jobject jarg4, jfloat jarg5, jfloat jarg6, jlong jarg7, jobject jarg7_, jboolean jarg8) {
jlong jresult = 0 ;
btRaycastVehicle *arg1 = (btRaycastVehicle *) 0 ;
btVector3 *arg2 = 0 ;
btVector3 *arg3 = 0 ;
btVector3 *arg4 = 0 ;
btScalar arg5 ;
btScalar arg6 ;
btRaycastVehicle::btVehicleTuning *arg7 = 0 ;
bool arg8 ;
btWheelInfo *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg7_;
arg1 = *(btRaycastVehicle **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
btVector3 local_arg4;
gdx_setbtVector3FromVector3(jenv, local_arg4, jarg4);
arg4 = &local_arg4;
gdxAutoCommitVector3 auto_commit_arg4(jenv, jarg4, &local_arg4);
arg5 = (btScalar)jarg5;
arg6 = (btScalar)jarg6;
arg7 = *(btRaycastVehicle::btVehicleTuning **)&jarg7;
if (!arg7) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btRaycastVehicle::btVehicleTuning const & reference is null");
return 0;
}
arg8 = jarg8 ? true : false;
result = (btWheelInfo *) &(arg1)->addWheel((btVector3 const &)*arg2,(btVector3 const &)*arg3,(btVector3 const &)*arg4,arg5,arg6,(btRaycastVehicle::btVehicleTuning const &)*arg7,arg8);
*(btWheelInfo **)&jresult = result;
return jresult;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRaycastVehicle_1getNumWheels(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btRaycastVehicle *arg1 = (btRaycastVehicle *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRaycastVehicle **)&jarg1;
result = (int)((btRaycastVehicle const *)arg1)->getNumWheels();
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRaycastVehicle_1wheelInfo_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btRaycastVehicle *arg1 = (btRaycastVehicle *) 0 ;
btAlignedObjectArray< btWheelInfo > *arg2 = (btAlignedObjectArray< btWheelInfo > *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRaycastVehicle **)&jarg1;
arg2 = *(btAlignedObjectArray< btWheelInfo > **)&jarg2;
if (arg1) (arg1)->m_wheelInfo = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRaycastVehicle_1wheelInfo_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btRaycastVehicle *arg1 = (btRaycastVehicle *) 0 ;
btAlignedObjectArray< btWheelInfo > *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRaycastVehicle **)&jarg1;
result = (btAlignedObjectArray< btWheelInfo > *)& ((arg1)->m_wheelInfo);
*(btAlignedObjectArray< btWheelInfo > **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRaycastVehicle_1getWheelInfo(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jlong jresult = 0 ;
btRaycastVehicle *arg1 = (btRaycastVehicle *) 0 ;
int arg2 ;
btWheelInfo *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRaycastVehicle **)&jarg1;
arg2 = (int)jarg2;
result = (btWheelInfo *) &((btRaycastVehicle const *)arg1)->getWheelInfo(arg2);
*(btWheelInfo **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRaycastVehicle_1getWheelInfoConst(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jlong jresult = 0 ;
btRaycastVehicle *arg1 = (btRaycastVehicle *) 0 ;
int arg2 ;
btWheelInfo *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRaycastVehicle **)&jarg1;
arg2 = (int)jarg2;
result = (btWheelInfo *) &(arg1)->getWheelInfo(arg2);
*(btWheelInfo **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRaycastVehicle_1updateWheelTransformsWS_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jboolean jarg3) {
btRaycastVehicle *arg1 = (btRaycastVehicle *) 0 ;
btWheelInfo *arg2 = 0 ;
bool arg3 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btRaycastVehicle **)&jarg1;
arg2 = *(btWheelInfo **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btWheelInfo & reference is null");
return ;
}
arg3 = jarg3 ? true : false;
(arg1)->updateWheelTransformsWS(*arg2,arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRaycastVehicle_1updateWheelTransformsWS_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btRaycastVehicle *arg1 = (btRaycastVehicle *) 0 ;
btWheelInfo *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btRaycastVehicle **)&jarg1;
arg2 = *(btWheelInfo **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btWheelInfo & reference is null");
return ;
}
(arg1)->updateWheelTransformsWS(*arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRaycastVehicle_1setBrake(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2, jint jarg3) {
btRaycastVehicle *arg1 = (btRaycastVehicle *) 0 ;
btScalar arg2 ;
int arg3 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRaycastVehicle **)&jarg1;
arg2 = (btScalar)jarg2;
arg3 = (int)jarg3;
(arg1)->setBrake(arg2,arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRaycastVehicle_1setPitchControl(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btRaycastVehicle *arg1 = (btRaycastVehicle *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRaycastVehicle **)&jarg1;
arg2 = (btScalar)jarg2;
(arg1)->setPitchControl(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRaycastVehicle_1updateSuspension(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btRaycastVehicle *arg1 = (btRaycastVehicle *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRaycastVehicle **)&jarg1;
arg2 = (btScalar)jarg2;
(arg1)->updateSuspension(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRaycastVehicle_1updateFriction(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btRaycastVehicle *arg1 = (btRaycastVehicle *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRaycastVehicle **)&jarg1;
arg2 = (btScalar)jarg2;
(arg1)->updateFriction(arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRaycastVehicle_1getRigidBody(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btRaycastVehicle *arg1 = (btRaycastVehicle *) 0 ;
btRigidBody *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRaycastVehicle **)&jarg1;
result = (btRigidBody *)(arg1)->getRigidBody();
*(btRigidBody **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRaycastVehicle_1getRigidBodyConst(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btRaycastVehicle *arg1 = (btRaycastVehicle *) 0 ;
btRigidBody *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRaycastVehicle **)&jarg1;
result = (btRigidBody *)((btRaycastVehicle const *)arg1)->getRigidBody();
*(btRigidBody **)&jresult = result;
return jresult;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRaycastVehicle_1getRightAxis(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btRaycastVehicle *arg1 = (btRaycastVehicle *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRaycastVehicle **)&jarg1;
result = (int)((btRaycastVehicle const *)arg1)->getRightAxis();
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRaycastVehicle_1getUpAxis(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btRaycastVehicle *arg1 = (btRaycastVehicle *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRaycastVehicle **)&jarg1;
result = (int)((btRaycastVehicle const *)arg1)->getUpAxis();
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRaycastVehicle_1getForwardAxis(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btRaycastVehicle *arg1 = (btRaycastVehicle *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRaycastVehicle **)&jarg1;
result = (int)((btRaycastVehicle const *)arg1)->getForwardAxis();
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRaycastVehicle_1getForwardVector(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btRaycastVehicle *arg1 = (btRaycastVehicle *) 0 ;
btVector3 result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRaycastVehicle **)&jarg1;
result = ((btRaycastVehicle const *)arg1)->getForwardVector();
jresult = gdx_getReturnVector3(jenv);
gdx_setVector3FrombtVector3(jenv, jresult, result);
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRaycastVehicle_1getCurrentSpeedKmHour(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btRaycastVehicle *arg1 = (btRaycastVehicle *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRaycastVehicle **)&jarg1;
result = (btScalar)((btRaycastVehicle const *)arg1)->getCurrentSpeedKmHour();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRaycastVehicle_1setCoordinateSystem(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jint jarg3, jint jarg4) {
btRaycastVehicle *arg1 = (btRaycastVehicle *) 0 ;
int arg2 ;
int arg3 ;
int arg4 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRaycastVehicle **)&jarg1;
arg2 = (int)jarg2;
arg3 = (int)jarg3;
arg4 = (int)jarg4;
(arg1)->setCoordinateSystem(arg2,arg3,arg4);
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRaycastVehicle_1getUserConstraintType(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btRaycastVehicle *arg1 = (btRaycastVehicle *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRaycastVehicle **)&jarg1;
result = (int)((btRaycastVehicle const *)arg1)->getUserConstraintType();
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRaycastVehicle_1setUserConstraintType(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btRaycastVehicle *arg1 = (btRaycastVehicle *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRaycastVehicle **)&jarg1;
arg2 = (int)jarg2;
(arg1)->setUserConstraintType(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRaycastVehicle_1setUserConstraintId(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btRaycastVehicle *arg1 = (btRaycastVehicle *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRaycastVehicle **)&jarg1;
arg2 = (int)jarg2;
(arg1)->setUserConstraintId(arg2);
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRaycastVehicle_1getUserConstraintId(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btRaycastVehicle *arg1 = (btRaycastVehicle *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btRaycastVehicle **)&jarg1;
result = (int)((btRaycastVehicle const *)arg1)->getUserConstraintId();
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btDefaultVehicleRaycaster(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btDynamicsWorld *arg1 = (btDynamicsWorld *) 0 ;
btDefaultVehicleRaycaster *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDynamicsWorld **)&jarg1;
result = (btDefaultVehicleRaycaster *)new btDefaultVehicleRaycaster(arg1);
*(btDefaultVehicleRaycaster **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btDefaultVehicleRaycaster(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btDefaultVehicleRaycaster *arg1 = (btDefaultVehicleRaycaster *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btDefaultVehicleRaycaster **)&jarg1;
delete arg1;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1FilterableVehicleRaycaster(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btDynamicsWorld *arg1 = (btDynamicsWorld *) 0 ;
FilterableVehicleRaycaster *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDynamicsWorld **)&jarg1;
result = (FilterableVehicleRaycaster *)new FilterableVehicleRaycaster(arg1);
*(FilterableVehicleRaycaster **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_FilterableVehicleRaycaster_1setCollisionFilterMask(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jshort jarg2) {
FilterableVehicleRaycaster *arg1 = (FilterableVehicleRaycaster *) 0 ;
short arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(FilterableVehicleRaycaster **)&jarg1;
arg2 = (short)jarg2;
(arg1)->setCollisionFilterMask(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_FilterableVehicleRaycaster_1setCollisionFilterGroup(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jshort jarg2) {
FilterableVehicleRaycaster *arg1 = (FilterableVehicleRaycaster *) 0 ;
short arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(FilterableVehicleRaycaster **)&jarg1;
arg2 = (short)jarg2;
(arg1)->setCollisionFilterGroup(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1FilterableVehicleRaycaster(JNIEnv *jenv, jclass jcls, jlong jarg1) {
FilterableVehicleRaycaster *arg1 = (FilterableVehicleRaycaster *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(FilterableVehicleRaycaster **)&jarg1;
delete arg1;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btGearConstraint_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jobject jarg3, jobject jarg4, jfloat jarg5) {
jlong jresult = 0 ;
btRigidBody *arg1 = 0 ;
btRigidBody *arg2 = 0 ;
btVector3 *arg3 = 0 ;
btVector3 *arg4 = 0 ;
btScalar arg5 ;
btGearConstraint *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btRigidBody **)&jarg1;
if (!arg1) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btRigidBody & reference is null");
return 0;
}
arg2 = *(btRigidBody **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btRigidBody & reference is null");
return 0;
}
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
btVector3 local_arg4;
gdx_setbtVector3FromVector3(jenv, local_arg4, jarg4);
arg4 = &local_arg4;
gdxAutoCommitVector3 auto_commit_arg4(jenv, jarg4, &local_arg4);
arg5 = (btScalar)jarg5;
result = (btGearConstraint *)new btGearConstraint(*arg1,*arg2,(btVector3 const &)*arg3,(btVector3 const &)*arg4,arg5);
*(btGearConstraint **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btGearConstraint_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jobject jarg3, jobject jarg4) {
jlong jresult = 0 ;
btRigidBody *arg1 = 0 ;
btRigidBody *arg2 = 0 ;
btVector3 *arg3 = 0 ;
btVector3 *arg4 = 0 ;
btGearConstraint *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btRigidBody **)&jarg1;
if (!arg1) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btRigidBody & reference is null");
return 0;
}
arg2 = *(btRigidBody **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btRigidBody & reference is null");
return 0;
}
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
btVector3 local_arg4;
gdx_setbtVector3FromVector3(jenv, local_arg4, jarg4);
arg4 = &local_arg4;
gdxAutoCommitVector3 auto_commit_arg4(jenv, jarg4, &local_arg4);
result = (btGearConstraint *)new btGearConstraint(*arg1,*arg2,(btVector3 const &)*arg3,(btVector3 const &)*arg4);
*(btGearConstraint **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btGearConstraint(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btGearConstraint *arg1 = (btGearConstraint *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btGearConstraint **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGearConstraint_1setAxisA(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btGearConstraint *arg1 = (btGearConstraint *) 0 ;
btVector3 *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGearConstraint **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
(arg1)->setAxisA(*arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGearConstraint_1setAxisB(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btGearConstraint *arg1 = (btGearConstraint *) 0 ;
btVector3 *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGearConstraint **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
(arg1)->setAxisB(*arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGearConstraint_1setRatio(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btGearConstraint *arg1 = (btGearConstraint *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGearConstraint **)&jarg1;
arg2 = (btScalar)jarg2;
(arg1)->setRatio(arg2);
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGearConstraint_1getAxisA(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btGearConstraint *arg1 = (btGearConstraint *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGearConstraint **)&jarg1;
result = (btVector3 *) &((btGearConstraint const *)arg1)->getAxisA();
jresult = gdx_getReturnVector3(jenv);
gdx_setVector3FrombtVector3(jenv, jresult, result);
return jresult;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGearConstraint_1getAxisB(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btGearConstraint *arg1 = (btGearConstraint *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGearConstraint **)&jarg1;
result = (btVector3 *) &((btGearConstraint const *)arg1)->getAxisB();
jresult = gdx_getReturnVector3(jenv);
gdx_setVector3FrombtVector3(jenv, jresult, result);
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGearConstraint_1getRatio(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btGearConstraint *arg1 = (btGearConstraint *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGearConstraint **)&jarg1;
result = (btScalar)((btGearConstraint const *)arg1)->getRatio();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGearConstraint_1setParam_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jfloat jarg3, jint jarg4) {
btGearConstraint *arg1 = (btGearConstraint *) 0 ;
int arg2 ;
btScalar arg3 ;
int arg4 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGearConstraint **)&jarg1;
arg2 = (int)jarg2;
arg3 = (btScalar)jarg3;
arg4 = (int)jarg4;
(arg1)->setParam(arg2,arg3,arg4);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGearConstraint_1setParam_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jfloat jarg3) {
btGearConstraint *arg1 = (btGearConstraint *) 0 ;
int arg2 ;
btScalar arg3 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGearConstraint **)&jarg1;
arg2 = (int)jarg2;
arg3 = (btScalar)jarg3;
(arg1)->setParam(arg2,arg3);
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGearConstraint_1getParam_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jint jarg3) {
jfloat jresult = 0 ;
btGearConstraint *arg1 = (btGearConstraint *) 0 ;
int arg2 ;
int arg3 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGearConstraint **)&jarg1;
arg2 = (int)jarg2;
arg3 = (int)jarg3;
result = (btScalar)((btGearConstraint const *)arg1)->getParam(arg2,arg3);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGearConstraint_1getParam_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jfloat jresult = 0 ;
btGearConstraint *arg1 = (btGearConstraint *) 0 ;
int arg2 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGearConstraint **)&jarg1;
arg2 = (int)jarg2;
result = (btScalar)((btGearConstraint const *)arg1)->getParam(arg2);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGearConstraintFloatData_1typeConstraintData_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btGearConstraintFloatData *arg1 = (btGearConstraintFloatData *) 0 ;
btTypedConstraintFloatData *arg2 = (btTypedConstraintFloatData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btGearConstraintFloatData **)&jarg1;
arg2 = *(btTypedConstraintFloatData **)&jarg2;
if (arg1) (arg1)->m_typeConstraintData = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGearConstraintFloatData_1typeConstraintData_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btGearConstraintFloatData *arg1 = (btGearConstraintFloatData *) 0 ;
btTypedConstraintFloatData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGearConstraintFloatData **)&jarg1;
result = (btTypedConstraintFloatData *)& ((arg1)->m_typeConstraintData);
*(btTypedConstraintFloatData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGearConstraintFloatData_1axisInA_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btGearConstraintFloatData *arg1 = (btGearConstraintFloatData *) 0 ;
btVector3FloatData *arg2 = (btVector3FloatData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btGearConstraintFloatData **)&jarg1;
arg2 = *(btVector3FloatData **)&jarg2;
if (arg1) (arg1)->m_axisInA = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGearConstraintFloatData_1axisInA_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btGearConstraintFloatData *arg1 = (btGearConstraintFloatData *) 0 ;
btVector3FloatData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGearConstraintFloatData **)&jarg1;
result = (btVector3FloatData *)& ((arg1)->m_axisInA);
*(btVector3FloatData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGearConstraintFloatData_1axisInB_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btGearConstraintFloatData *arg1 = (btGearConstraintFloatData *) 0 ;
btVector3FloatData *arg2 = (btVector3FloatData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btGearConstraintFloatData **)&jarg1;
arg2 = *(btVector3FloatData **)&jarg2;
if (arg1) (arg1)->m_axisInB = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGearConstraintFloatData_1axisInB_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btGearConstraintFloatData *arg1 = (btGearConstraintFloatData *) 0 ;
btVector3FloatData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGearConstraintFloatData **)&jarg1;
result = (btVector3FloatData *)& ((arg1)->m_axisInB);
*(btVector3FloatData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGearConstraintFloatData_1ratio_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btGearConstraintFloatData *arg1 = (btGearConstraintFloatData *) 0 ;
float arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGearConstraintFloatData **)&jarg1;
arg2 = (float)jarg2;
if (arg1) (arg1)->m_ratio = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGearConstraintFloatData_1ratio_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btGearConstraintFloatData *arg1 = (btGearConstraintFloatData *) 0 ;
float result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGearConstraintFloatData **)&jarg1;
result = (float) ((arg1)->m_ratio);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGearConstraintFloatData_1padding_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
btGearConstraintFloatData *arg1 = (btGearConstraintFloatData *) 0 ;
char *arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGearConstraintFloatData **)&jarg1;
arg2 = 0;
if (jarg2) {
arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
if (!arg2) return ;
}
{
if(arg2) {
strncpy((char*)arg1->m_padding, (const char *)arg2, 4-1);
arg1->m_padding[4-1] = 0;
} else {
arg1->m_padding[0] = 0;
}
}
if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
}
SWIGEXPORT jstring JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGearConstraintFloatData_1padding_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jstring jresult = 0 ;
btGearConstraintFloatData *arg1 = (btGearConstraintFloatData *) 0 ;
char *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGearConstraintFloatData **)&jarg1;
result = (char *)(char *) ((arg1)->m_padding);
if (result) jresult = jenv->NewStringUTF((const char *)result);
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btGearConstraintFloatData(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btGearConstraintFloatData *result = 0 ;
(void)jenv;
(void)jcls;
result = (btGearConstraintFloatData *)new btGearConstraintFloatData();
*(btGearConstraintFloatData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btGearConstraintFloatData(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btGearConstraintFloatData *arg1 = (btGearConstraintFloatData *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btGearConstraintFloatData **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGearConstraintDoubleData_1typeConstraintData_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btGearConstraintDoubleData *arg1 = (btGearConstraintDoubleData *) 0 ;
btTypedConstraintDoubleData *arg2 = (btTypedConstraintDoubleData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btGearConstraintDoubleData **)&jarg1;
arg2 = *(btTypedConstraintDoubleData **)&jarg2;
if (arg1) (arg1)->m_typeConstraintData = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGearConstraintDoubleData_1typeConstraintData_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btGearConstraintDoubleData *arg1 = (btGearConstraintDoubleData *) 0 ;
btTypedConstraintDoubleData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGearConstraintDoubleData **)&jarg1;
result = (btTypedConstraintDoubleData *)& ((arg1)->m_typeConstraintData);
*(btTypedConstraintDoubleData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGearConstraintDoubleData_1axisInA_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btGearConstraintDoubleData *arg1 = (btGearConstraintDoubleData *) 0 ;
btVector3DoubleData *arg2 = (btVector3DoubleData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btGearConstraintDoubleData **)&jarg1;
arg2 = *(btVector3DoubleData **)&jarg2;
if (arg1) (arg1)->m_axisInA = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGearConstraintDoubleData_1axisInA_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btGearConstraintDoubleData *arg1 = (btGearConstraintDoubleData *) 0 ;
btVector3DoubleData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGearConstraintDoubleData **)&jarg1;
result = (btVector3DoubleData *)& ((arg1)->m_axisInA);
*(btVector3DoubleData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGearConstraintDoubleData_1axisInB_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btGearConstraintDoubleData *arg1 = (btGearConstraintDoubleData *) 0 ;
btVector3DoubleData *arg2 = (btVector3DoubleData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btGearConstraintDoubleData **)&jarg1;
arg2 = *(btVector3DoubleData **)&jarg2;
if (arg1) (arg1)->m_axisInB = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGearConstraintDoubleData_1axisInB_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btGearConstraintDoubleData *arg1 = (btGearConstraintDoubleData *) 0 ;
btVector3DoubleData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGearConstraintDoubleData **)&jarg1;
result = (btVector3DoubleData *)& ((arg1)->m_axisInB);
*(btVector3DoubleData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGearConstraintDoubleData_1ratio_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2) {
btGearConstraintDoubleData *arg1 = (btGearConstraintDoubleData *) 0 ;
double arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGearConstraintDoubleData **)&jarg1;
arg2 = (double)jarg2;
if (arg1) (arg1)->m_ratio = arg2;
}
SWIGEXPORT jdouble JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGearConstraintDoubleData_1ratio_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jdouble jresult = 0 ;
btGearConstraintDoubleData *arg1 = (btGearConstraintDoubleData *) 0 ;
double result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGearConstraintDoubleData **)&jarg1;
result = (double) ((arg1)->m_ratio);
jresult = (jdouble)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btGearConstraintDoubleData(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btGearConstraintDoubleData *result = 0 ;
(void)jenv;
(void)jcls;
result = (btGearConstraintDoubleData *)new btGearConstraintDoubleData();
*(btGearConstraintDoubleData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btGearConstraintDoubleData(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btGearConstraintDoubleData *arg1 = (btGearConstraintDoubleData *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btGearConstraintDoubleData **)&jarg1;
delete arg1;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btNNCGConstraintSolver_1operatorNew_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btNNCGConstraintSolver *arg1 = (btNNCGConstraintSolver *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btNNCGConstraintSolver **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new(arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btNNCGConstraintSolver_1operatorDelete_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btNNCGConstraintSolver *arg1 = (btNNCGConstraintSolver *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btNNCGConstraintSolver **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete(arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btNNCGConstraintSolver_1operatorNew_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btNNCGConstraintSolver *arg1 = (btNNCGConstraintSolver *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btNNCGConstraintSolver **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new(arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btNNCGConstraintSolver_1operatorDelete_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btNNCGConstraintSolver *arg1 = (btNNCGConstraintSolver *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btNNCGConstraintSolver **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete(arg2,arg3);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btNNCGConstraintSolver_1operatorNewArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btNNCGConstraintSolver *arg1 = (btNNCGConstraintSolver *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btNNCGConstraintSolver **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new[](arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btNNCGConstraintSolver_1operatorDeleteArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btNNCGConstraintSolver *arg1 = (btNNCGConstraintSolver *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btNNCGConstraintSolver **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete[](arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btNNCGConstraintSolver_1operatorNewArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btNNCGConstraintSolver *arg1 = (btNNCGConstraintSolver *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btNNCGConstraintSolver **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new[](arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btNNCGConstraintSolver_1operatorDeleteArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btNNCGConstraintSolver *arg1 = (btNNCGConstraintSolver *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btNNCGConstraintSolver **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete[](arg2,arg3);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btNNCGConstraintSolver(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btNNCGConstraintSolver *result = 0 ;
(void)jenv;
(void)jcls;
result = (btNNCGConstraintSolver *)new btNNCGConstraintSolver();
*(btNNCGConstraintSolver **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btNNCGConstraintSolver_1onlyForNoneContact_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jboolean jarg2) {
btNNCGConstraintSolver *arg1 = (btNNCGConstraintSolver *) 0 ;
bool arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btNNCGConstraintSolver **)&jarg1;
arg2 = jarg2 ? true : false;
if (arg1) (arg1)->m_onlyForNoneContact = arg2;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btNNCGConstraintSolver_1onlyForNoneContact_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jboolean jresult = 0 ;
btNNCGConstraintSolver *arg1 = (btNNCGConstraintSolver *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btNNCGConstraintSolver **)&jarg1;
result = (bool) ((arg1)->m_onlyForNoneContact);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btNNCGConstraintSolver(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btNNCGConstraintSolver *arg1 = (btNNCGConstraintSolver *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btNNCGConstraintSolver **)&jarg1;
delete arg1;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btConstraintSolverPoolMt_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jint jarg1) {
jlong jresult = 0 ;
int arg1 ;
btConstraintSolverPoolMt *result = 0 ;
(void)jenv;
(void)jcls;
arg1 = (int)jarg1;
result = (btConstraintSolverPoolMt *)new btConstraintSolverPoolMt(arg1);
*(btConstraintSolverPoolMt **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btConstraintSolverPoolMt_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jint jarg2) {
jlong jresult = 0 ;
btConstraintSolver **arg1 = (btConstraintSolver **) 0 ;
int arg2 ;
btConstraintSolverPoolMt *result = 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btConstraintSolver ***)&jarg1;
arg2 = (int)jarg2;
result = (btConstraintSolverPoolMt *)new btConstraintSolverPoolMt(arg1,arg2);
*(btConstraintSolverPoolMt **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btConstraintSolverPoolMt(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btConstraintSolverPoolMt *arg1 = (btConstraintSolverPoolMt *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btConstraintSolverPoolMt **)&jarg1;
delete arg1;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDiscreteDynamicsWorldMt_1operatorNew_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btDiscreteDynamicsWorldMt *arg1 = (btDiscreteDynamicsWorldMt *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDiscreteDynamicsWorldMt **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new(arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDiscreteDynamicsWorldMt_1operatorDelete_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btDiscreteDynamicsWorldMt *arg1 = (btDiscreteDynamicsWorldMt *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDiscreteDynamicsWorldMt **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete(arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDiscreteDynamicsWorldMt_1operatorNew_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btDiscreteDynamicsWorldMt *arg1 = (btDiscreteDynamicsWorldMt *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDiscreteDynamicsWorldMt **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new(arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDiscreteDynamicsWorldMt_1operatorDelete_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btDiscreteDynamicsWorldMt *arg1 = (btDiscreteDynamicsWorldMt *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDiscreteDynamicsWorldMt **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete(arg2,arg3);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDiscreteDynamicsWorldMt_1operatorNewArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btDiscreteDynamicsWorldMt *arg1 = (btDiscreteDynamicsWorldMt *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDiscreteDynamicsWorldMt **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new[](arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDiscreteDynamicsWorldMt_1operatorDeleteArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btDiscreteDynamicsWorldMt *arg1 = (btDiscreteDynamicsWorldMt *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDiscreteDynamicsWorldMt **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete[](arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDiscreteDynamicsWorldMt_1operatorNewArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btDiscreteDynamicsWorldMt *arg1 = (btDiscreteDynamicsWorldMt *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDiscreteDynamicsWorldMt **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new[](arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDiscreteDynamicsWorldMt_1operatorDeleteArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btDiscreteDynamicsWorldMt *arg1 = (btDiscreteDynamicsWorldMt *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDiscreteDynamicsWorldMt **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete[](arg2,arg3);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btDiscreteDynamicsWorldMt(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_, jlong jarg4, jobject jarg4_) {
jlong jresult = 0 ;
btDispatcher *arg1 = (btDispatcher *) 0 ;
btBroadphaseInterface *arg2 = (btBroadphaseInterface *) 0 ;
btConstraintSolverPoolMt *arg3 = (btConstraintSolverPoolMt *) 0 ;
btCollisionConfiguration *arg4 = (btCollisionConfiguration *) 0 ;
btDiscreteDynamicsWorldMt *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
(void)jarg3_;
(void)jarg4_;
arg1 = *(btDispatcher **)&jarg1;
arg2 = *(btBroadphaseInterface **)&jarg2;
arg3 = *(btConstraintSolverPoolMt **)&jarg3;
arg4 = *(btCollisionConfiguration **)&jarg4;
result = (btDiscreteDynamicsWorldMt *)new btDiscreteDynamicsWorldMt(arg1,arg2,arg3,arg4);
*(btDiscreteDynamicsWorldMt **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btDiscreteDynamicsWorldMt(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btDiscreteDynamicsWorldMt *arg1 = (btDiscreteDynamicsWorldMt *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btDiscreteDynamicsWorldMt **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSimulationIslandManagerMt_1Island_1bodyArray_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btSimulationIslandManagerMt::Island *arg1 = (btSimulationIslandManagerMt::Island *) 0 ;
btAlignedObjectArray< btCollisionObject * > *arg2 = (btAlignedObjectArray< btCollisionObject * > *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btSimulationIslandManagerMt::Island **)&jarg1;
arg2 = *(btAlignedObjectArray< btCollisionObject * > **)&jarg2;
if (arg1) (arg1)->bodyArray = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSimulationIslandManagerMt_1Island_1bodyArray_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btSimulationIslandManagerMt::Island *arg1 = (btSimulationIslandManagerMt::Island *) 0 ;
btAlignedObjectArray< btCollisionObject * > *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSimulationIslandManagerMt::Island **)&jarg1;
result = (btAlignedObjectArray< btCollisionObject * > *)& ((arg1)->bodyArray);
*(btAlignedObjectArray< btCollisionObject * > **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSimulationIslandManagerMt_1Island_1manifoldArray_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btSimulationIslandManagerMt::Island *arg1 = (btSimulationIslandManagerMt::Island *) 0 ;
btAlignedObjectArray< btPersistentManifold * > *arg2 = (btAlignedObjectArray< btPersistentManifold * > *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btSimulationIslandManagerMt::Island **)&jarg1;
arg2 = *(btAlignedObjectArray< btPersistentManifold * > **)&jarg2;
if (arg1) (arg1)->manifoldArray = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSimulationIslandManagerMt_1Island_1manifoldArray_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btSimulationIslandManagerMt::Island *arg1 = (btSimulationIslandManagerMt::Island *) 0 ;
btAlignedObjectArray< btPersistentManifold * > *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSimulationIslandManagerMt::Island **)&jarg1;
result = (btAlignedObjectArray< btPersistentManifold * > *)& ((arg1)->manifoldArray);
*(btAlignedObjectArray< btPersistentManifold * > **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSimulationIslandManagerMt_1Island_1constraintArray_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btSimulationIslandManagerMt::Island *arg1 = (btSimulationIslandManagerMt::Island *) 0 ;
btAlignedObjectArray< btTypedConstraint * > *arg2 = (btAlignedObjectArray< btTypedConstraint * > *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSimulationIslandManagerMt::Island **)&jarg1;
arg2 = *(btAlignedObjectArray< btTypedConstraint * > **)&jarg2;
if (arg1) (arg1)->constraintArray = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSimulationIslandManagerMt_1Island_1constraintArray_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btSimulationIslandManagerMt::Island *arg1 = (btSimulationIslandManagerMt::Island *) 0 ;
btAlignedObjectArray< btTypedConstraint * > *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSimulationIslandManagerMt::Island **)&jarg1;
result = (btAlignedObjectArray< btTypedConstraint * > *)& ((arg1)->constraintArray);
*(btAlignedObjectArray< btTypedConstraint * > **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSimulationIslandManagerMt_1Island_1id_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btSimulationIslandManagerMt::Island *arg1 = (btSimulationIslandManagerMt::Island *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSimulationIslandManagerMt::Island **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->id = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSimulationIslandManagerMt_1Island_1id_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btSimulationIslandManagerMt::Island *arg1 = (btSimulationIslandManagerMt::Island *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSimulationIslandManagerMt::Island **)&jarg1;
result = (int) ((arg1)->id);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSimulationIslandManagerMt_1Island_1isSleeping_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jboolean jarg2) {
btSimulationIslandManagerMt::Island *arg1 = (btSimulationIslandManagerMt::Island *) 0 ;
bool arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSimulationIslandManagerMt::Island **)&jarg1;
arg2 = jarg2 ? true : false;
if (arg1) (arg1)->isSleeping = arg2;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSimulationIslandManagerMt_1Island_1isSleeping_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jboolean jresult = 0 ;
btSimulationIslandManagerMt::Island *arg1 = (btSimulationIslandManagerMt::Island *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSimulationIslandManagerMt::Island **)&jarg1;
result = (bool) ((arg1)->isSleeping);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSimulationIslandManagerMt_1Island_1append(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btSimulationIslandManagerMt::Island *arg1 = (btSimulationIslandManagerMt::Island *) 0 ;
btSimulationIslandManagerMt::Island *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btSimulationIslandManagerMt::Island **)&jarg1;
arg2 = *(btSimulationIslandManagerMt::Island **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btSimulationIslandManagerMt::Island const & reference is null");
return ;
}
(arg1)->append((btSimulationIslandManagerMt::Island const &)*arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btSimulationIslandManagerMt_1Island(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btSimulationIslandManagerMt::Island *result = 0 ;
(void)jenv;
(void)jcls;
result = (btSimulationIslandManagerMt::Island *)new btSimulationIslandManagerMt::Island();
*(btSimulationIslandManagerMt::Island **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btSimulationIslandManagerMt_1Island(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btSimulationIslandManagerMt::Island *arg1 = (btSimulationIslandManagerMt::Island *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btSimulationIslandManagerMt::Island **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btSimulationIslandManagerMt_1IslandCallback(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btSimulationIslandManagerMt::IslandCallback *arg1 = (btSimulationIslandManagerMt::IslandCallback *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btSimulationIslandManagerMt::IslandCallback **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSimulationIslandManagerMt_1IslandCallback_1processIsland(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jint jarg3, jlong jarg4, jint jarg5, jlong jarg6, jint jarg7, jint jarg8) {
btSimulationIslandManagerMt::IslandCallback *arg1 = (btSimulationIslandManagerMt::IslandCallback *) 0 ;
btCollisionObject **arg2 = (btCollisionObject **) 0 ;
int arg3 ;
btPersistentManifold **arg4 = (btPersistentManifold **) 0 ;
int arg5 ;
btTypedConstraint **arg6 = (btTypedConstraint **) 0 ;
int arg7 ;
int arg8 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSimulationIslandManagerMt::IslandCallback **)&jarg1;
arg2 = *(btCollisionObject ***)&jarg2;
arg3 = (int)jarg3;
arg4 = *(btPersistentManifold ***)&jarg4;
arg5 = (int)jarg5;
arg6 = *(btTypedConstraint ***)&jarg6;
arg7 = (int)jarg7;
arg8 = (int)jarg8;
(arg1)->processIsland(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSimulationIslandManagerMt_1serialIslandDispatch(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jobject jarg2_) {
btAlignedObjectArray< btSimulationIslandManagerMt::Island * > *arg1 = (btAlignedObjectArray< btSimulationIslandManagerMt::Island * > *) 0 ;
btSimulationIslandManagerMt::IslandCallback *arg2 = (btSimulationIslandManagerMt::IslandCallback *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg2_;
arg1 = *(btAlignedObjectArray< btSimulationIslandManagerMt::Island * > **)&jarg1;
arg2 = *(btSimulationIslandManagerMt::IslandCallback **)&jarg2;
btSimulationIslandManagerMt::serialIslandDispatch(arg1,arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSimulationIslandManagerMt_1parallelIslandDispatch(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jobject jarg2_) {
btAlignedObjectArray< btSimulationIslandManagerMt::Island * > *arg1 = (btAlignedObjectArray< btSimulationIslandManagerMt::Island * > *) 0 ;
btSimulationIslandManagerMt::IslandCallback *arg2 = (btSimulationIslandManagerMt::IslandCallback *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg2_;
arg1 = *(btAlignedObjectArray< btSimulationIslandManagerMt::Island * > **)&jarg1;
arg2 = *(btSimulationIslandManagerMt::IslandCallback **)&jarg2;
btSimulationIslandManagerMt::parallelIslandDispatch(arg1,arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btSimulationIslandManagerMt(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btSimulationIslandManagerMt *result = 0 ;
(void)jenv;
(void)jcls;
result = (btSimulationIslandManagerMt *)new btSimulationIslandManagerMt();
*(btSimulationIslandManagerMt **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btSimulationIslandManagerMt(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btSimulationIslandManagerMt *arg1 = (btSimulationIslandManagerMt *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btSimulationIslandManagerMt **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSimulationIslandManagerMt_1buildAndProcessIslands(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_, jlong jarg4, jlong jarg5, jobject jarg5_) {
btSimulationIslandManagerMt *arg1 = (btSimulationIslandManagerMt *) 0 ;
btDispatcher *arg2 = (btDispatcher *) 0 ;
btCollisionWorld *arg3 = (btCollisionWorld *) 0 ;
btAlignedObjectArray< btTypedConstraint * > *arg4 = 0 ;
btSimulationIslandManagerMt::IslandCallback *arg5 = (btSimulationIslandManagerMt::IslandCallback *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
(void)jarg3_;
(void)jarg5_;
arg1 = *(btSimulationIslandManagerMt **)&jarg1;
arg2 = *(btDispatcher **)&jarg2;
arg3 = *(btCollisionWorld **)&jarg3;
arg4 = *(btAlignedObjectArray< btTypedConstraint * > **)&jarg4;
if (!arg4) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btAlignedObjectArray< btTypedConstraint * > & reference is null");
return ;
}
arg5 = *(btSimulationIslandManagerMt::IslandCallback **)&jarg5;
(arg1)->buildAndProcessIslands(arg2,arg3,*arg4,arg5);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSimulationIslandManagerMt_1buildIslands(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_) {
btSimulationIslandManagerMt *arg1 = (btSimulationIslandManagerMt *) 0 ;
btDispatcher *arg2 = (btDispatcher *) 0 ;
btCollisionWorld *arg3 = (btCollisionWorld *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
(void)jarg3_;
arg1 = *(btSimulationIslandManagerMt **)&jarg1;
arg2 = *(btDispatcher **)&jarg2;
arg3 = *(btCollisionWorld **)&jarg3;
(arg1)->buildIslands(arg2,arg3);
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSimulationIslandManagerMt_1getMinimumSolverBatchSize(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btSimulationIslandManagerMt *arg1 = (btSimulationIslandManagerMt *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSimulationIslandManagerMt **)&jarg1;
result = (int)((btSimulationIslandManagerMt const *)arg1)->getMinimumSolverBatchSize();
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSimulationIslandManagerMt_1setMinimumSolverBatchSize(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btSimulationIslandManagerMt *arg1 = (btSimulationIslandManagerMt *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSimulationIslandManagerMt **)&jarg1;
arg2 = (int)jarg2;
(arg1)->setMinimumSolverBatchSize(arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSimulationIslandManagerMt_1getIslandDispatchFunction(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btSimulationIslandManagerMt *arg1 = (btSimulationIslandManagerMt *) 0 ;
btSimulationIslandManagerMt::IslandDispatchFunc result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSimulationIslandManagerMt **)&jarg1;
result = (btSimulationIslandManagerMt::IslandDispatchFunc)((btSimulationIslandManagerMt const *)arg1)->getIslandDispatchFunction();
*(btSimulationIslandManagerMt::IslandDispatchFunc *)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSimulationIslandManagerMt_1setIslandDispatchFunction(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btSimulationIslandManagerMt *arg1 = (btSimulationIslandManagerMt *) 0 ;
btSimulationIslandManagerMt::IslandDispatchFunc arg2 = (btSimulationIslandManagerMt::IslandDispatchFunc) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSimulationIslandManagerMt **)&jarg1;
arg2 = *(btSimulationIslandManagerMt::IslandDispatchFunc *)&jarg2;
(arg1)->setIslandDispatchFunction(arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1operatorNew_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btMultiBody *arg1 = (btMultiBody *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new(arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1operatorDelete_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btMultiBody *arg1 = (btMultiBody *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete(arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1operatorNew_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btMultiBody *arg1 = (btMultiBody *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new(arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1operatorDelete_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btMultiBody *arg1 = (btMultiBody *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete(arg2,arg3);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1operatorNewArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btMultiBody *arg1 = (btMultiBody *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new[](arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1operatorDeleteArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btMultiBody *arg1 = (btMultiBody *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete[](arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1operatorNewArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btMultiBody *arg1 = (btMultiBody *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new[](arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1operatorDeleteArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btMultiBody *arg1 = (btMultiBody *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete[](arg2,arg3);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btMultiBody_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jint jarg1, jfloat jarg2, jobject jarg3, jboolean jarg4, jboolean jarg5, jboolean jarg6) {
jlong jresult = 0 ;
int arg1 ;
btScalar arg2 ;
btVector3 *arg3 = 0 ;
bool arg4 ;
bool arg5 ;
bool arg6 ;
btMultiBody *result = 0 ;
(void)jenv;
(void)jcls;
arg1 = (int)jarg1;
arg2 = (btScalar)jarg2;
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
arg4 = jarg4 ? true : false;
arg5 = jarg5 ? true : false;
arg6 = jarg6 ? true : false;
result = (btMultiBody *)new btMultiBody(arg1,arg2,(btVector3 const &)*arg3,arg4,arg5,arg6);
*(btMultiBody **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btMultiBody_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jint jarg1, jfloat jarg2, jobject jarg3, jboolean jarg4, jboolean jarg5) {
jlong jresult = 0 ;
int arg1 ;
btScalar arg2 ;
btVector3 *arg3 = 0 ;
bool arg4 ;
bool arg5 ;
btMultiBody *result = 0 ;
(void)jenv;
(void)jcls;
arg1 = (int)jarg1;
arg2 = (btScalar)jarg2;
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
arg4 = jarg4 ? true : false;
arg5 = jarg5 ? true : false;
result = (btMultiBody *)new btMultiBody(arg1,arg2,(btVector3 const &)*arg3,arg4,arg5);
*(btMultiBody **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btMultiBody(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btMultiBody *arg1 = (btMultiBody *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btMultiBody **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1setupFixed_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jfloat jarg3, jobject jarg4, jint jarg5, jobject jarg6, jobject jarg7, jobject jarg8, jboolean jarg9) {
btMultiBody *arg1 = (btMultiBody *) 0 ;
int arg2 ;
btScalar arg3 ;
btVector3 *arg4 = 0 ;
int arg5 ;
btQuaternion *arg6 = 0 ;
btVector3 *arg7 = 0 ;
btVector3 *arg8 = 0 ;
bool arg9 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
arg2 = (int)jarg2;
arg3 = (btScalar)jarg3;
btVector3 local_arg4;
gdx_setbtVector3FromVector3(jenv, local_arg4, jarg4);
arg4 = &local_arg4;
gdxAutoCommitVector3 auto_commit_arg4(jenv, jarg4, &local_arg4);
arg5 = (int)jarg5;
btQuaternion local_arg6;
gdx_setbtQuaternionFromQuaternion(jenv, local_arg6, jarg6);
arg6 = &local_arg6;
gdxAutoCommitQuaternion auto_commit_arg6(jenv, jarg6, &local_arg6);
btVector3 local_arg7;
gdx_setbtVector3FromVector3(jenv, local_arg7, jarg7);
arg7 = &local_arg7;
gdxAutoCommitVector3 auto_commit_arg7(jenv, jarg7, &local_arg7);
btVector3 local_arg8;
gdx_setbtVector3FromVector3(jenv, local_arg8, jarg8);
arg8 = &local_arg8;
gdxAutoCommitVector3 auto_commit_arg8(jenv, jarg8, &local_arg8);
arg9 = jarg9 ? true : false;
(arg1)->setupFixed(arg2,arg3,(btVector3 const &)*arg4,arg5,(btQuaternion const &)*arg6,(btVector3 const &)*arg7,(btVector3 const &)*arg8,arg9);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1setupFixed_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jfloat jarg3, jobject jarg4, jint jarg5, jobject jarg6, jobject jarg7, jobject jarg8) {
btMultiBody *arg1 = (btMultiBody *) 0 ;
int arg2 ;
btScalar arg3 ;
btVector3 *arg4 = 0 ;
int arg5 ;
btQuaternion *arg6 = 0 ;
btVector3 *arg7 = 0 ;
btVector3 *arg8 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
arg2 = (int)jarg2;
arg3 = (btScalar)jarg3;
btVector3 local_arg4;
gdx_setbtVector3FromVector3(jenv, local_arg4, jarg4);
arg4 = &local_arg4;
gdxAutoCommitVector3 auto_commit_arg4(jenv, jarg4, &local_arg4);
arg5 = (int)jarg5;
btQuaternion local_arg6;
gdx_setbtQuaternionFromQuaternion(jenv, local_arg6, jarg6);
arg6 = &local_arg6;
gdxAutoCommitQuaternion auto_commit_arg6(jenv, jarg6, &local_arg6);
btVector3 local_arg7;
gdx_setbtVector3FromVector3(jenv, local_arg7, jarg7);
arg7 = &local_arg7;
gdxAutoCommitVector3 auto_commit_arg7(jenv, jarg7, &local_arg7);
btVector3 local_arg8;
gdx_setbtVector3FromVector3(jenv, local_arg8, jarg8);
arg8 = &local_arg8;
gdxAutoCommitVector3 auto_commit_arg8(jenv, jarg8, &local_arg8);
(arg1)->setupFixed(arg2,arg3,(btVector3 const &)*arg4,arg5,(btQuaternion const &)*arg6,(btVector3 const &)*arg7,(btVector3 const &)*arg8);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1setupPrismatic(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jfloat jarg3, jobject jarg4, jint jarg5, jobject jarg6, jobject jarg7, jobject jarg8, jobject jarg9, jboolean jarg10) {
btMultiBody *arg1 = (btMultiBody *) 0 ;
int arg2 ;
btScalar arg3 ;
btVector3 *arg4 = 0 ;
int arg5 ;
btQuaternion *arg6 = 0 ;
btVector3 *arg7 = 0 ;
btVector3 *arg8 = 0 ;
btVector3 *arg9 = 0 ;
bool arg10 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
arg2 = (int)jarg2;
arg3 = (btScalar)jarg3;
btVector3 local_arg4;
gdx_setbtVector3FromVector3(jenv, local_arg4, jarg4);
arg4 = &local_arg4;
gdxAutoCommitVector3 auto_commit_arg4(jenv, jarg4, &local_arg4);
arg5 = (int)jarg5;
btQuaternion local_arg6;
gdx_setbtQuaternionFromQuaternion(jenv, local_arg6, jarg6);
arg6 = &local_arg6;
gdxAutoCommitQuaternion auto_commit_arg6(jenv, jarg6, &local_arg6);
btVector3 local_arg7;
gdx_setbtVector3FromVector3(jenv, local_arg7, jarg7);
arg7 = &local_arg7;
gdxAutoCommitVector3 auto_commit_arg7(jenv, jarg7, &local_arg7);
btVector3 local_arg8;
gdx_setbtVector3FromVector3(jenv, local_arg8, jarg8);
arg8 = &local_arg8;
gdxAutoCommitVector3 auto_commit_arg8(jenv, jarg8, &local_arg8);
btVector3 local_arg9;
gdx_setbtVector3FromVector3(jenv, local_arg9, jarg9);
arg9 = &local_arg9;
gdxAutoCommitVector3 auto_commit_arg9(jenv, jarg9, &local_arg9);
arg10 = jarg10 ? true : false;
(arg1)->setupPrismatic(arg2,arg3,(btVector3 const &)*arg4,arg5,(btQuaternion const &)*arg6,(btVector3 const &)*arg7,(btVector3 const &)*arg8,(btVector3 const &)*arg9,arg10);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1setupRevolute_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jfloat jarg3, jobject jarg4, jint jarg5, jobject jarg6, jobject jarg7, jobject jarg8, jobject jarg9, jboolean jarg10) {
btMultiBody *arg1 = (btMultiBody *) 0 ;
int arg2 ;
btScalar arg3 ;
btVector3 *arg4 = 0 ;
int arg5 ;
btQuaternion *arg6 = 0 ;
btVector3 *arg7 = 0 ;
btVector3 *arg8 = 0 ;
btVector3 *arg9 = 0 ;
bool arg10 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
arg2 = (int)jarg2;
arg3 = (btScalar)jarg3;
btVector3 local_arg4;
gdx_setbtVector3FromVector3(jenv, local_arg4, jarg4);
arg4 = &local_arg4;
gdxAutoCommitVector3 auto_commit_arg4(jenv, jarg4, &local_arg4);
arg5 = (int)jarg5;
btQuaternion local_arg6;
gdx_setbtQuaternionFromQuaternion(jenv, local_arg6, jarg6);
arg6 = &local_arg6;
gdxAutoCommitQuaternion auto_commit_arg6(jenv, jarg6, &local_arg6);
btVector3 local_arg7;
gdx_setbtVector3FromVector3(jenv, local_arg7, jarg7);
arg7 = &local_arg7;
gdxAutoCommitVector3 auto_commit_arg7(jenv, jarg7, &local_arg7);
btVector3 local_arg8;
gdx_setbtVector3FromVector3(jenv, local_arg8, jarg8);
arg8 = &local_arg8;
gdxAutoCommitVector3 auto_commit_arg8(jenv, jarg8, &local_arg8);
btVector3 local_arg9;
gdx_setbtVector3FromVector3(jenv, local_arg9, jarg9);
arg9 = &local_arg9;
gdxAutoCommitVector3 auto_commit_arg9(jenv, jarg9, &local_arg9);
arg10 = jarg10 ? true : false;
(arg1)->setupRevolute(arg2,arg3,(btVector3 const &)*arg4,arg5,(btQuaternion const &)*arg6,(btVector3 const &)*arg7,(btVector3 const &)*arg8,(btVector3 const &)*arg9,arg10);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1setupRevolute_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jfloat jarg3, jobject jarg4, jint jarg5, jobject jarg6, jobject jarg7, jobject jarg8, jobject jarg9) {
btMultiBody *arg1 = (btMultiBody *) 0 ;
int arg2 ;
btScalar arg3 ;
btVector3 *arg4 = 0 ;
int arg5 ;
btQuaternion *arg6 = 0 ;
btVector3 *arg7 = 0 ;
btVector3 *arg8 = 0 ;
btVector3 *arg9 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
arg2 = (int)jarg2;
arg3 = (btScalar)jarg3;
btVector3 local_arg4;
gdx_setbtVector3FromVector3(jenv, local_arg4, jarg4);
arg4 = &local_arg4;
gdxAutoCommitVector3 auto_commit_arg4(jenv, jarg4, &local_arg4);
arg5 = (int)jarg5;
btQuaternion local_arg6;
gdx_setbtQuaternionFromQuaternion(jenv, local_arg6, jarg6);
arg6 = &local_arg6;
gdxAutoCommitQuaternion auto_commit_arg6(jenv, jarg6, &local_arg6);
btVector3 local_arg7;
gdx_setbtVector3FromVector3(jenv, local_arg7, jarg7);
arg7 = &local_arg7;
gdxAutoCommitVector3 auto_commit_arg7(jenv, jarg7, &local_arg7);
btVector3 local_arg8;
gdx_setbtVector3FromVector3(jenv, local_arg8, jarg8);
arg8 = &local_arg8;
gdxAutoCommitVector3 auto_commit_arg8(jenv, jarg8, &local_arg8);
btVector3 local_arg9;
gdx_setbtVector3FromVector3(jenv, local_arg9, jarg9);
arg9 = &local_arg9;
gdxAutoCommitVector3 auto_commit_arg9(jenv, jarg9, &local_arg9);
(arg1)->setupRevolute(arg2,arg3,(btVector3 const &)*arg4,arg5,(btQuaternion const &)*arg6,(btVector3 const &)*arg7,(btVector3 const &)*arg8,(btVector3 const &)*arg9);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1setupSpherical_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jfloat jarg3, jobject jarg4, jint jarg5, jobject jarg6, jobject jarg7, jobject jarg8, jboolean jarg9) {
btMultiBody *arg1 = (btMultiBody *) 0 ;
int arg2 ;
btScalar arg3 ;
btVector3 *arg4 = 0 ;
int arg5 ;
btQuaternion *arg6 = 0 ;
btVector3 *arg7 = 0 ;
btVector3 *arg8 = 0 ;
bool arg9 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
arg2 = (int)jarg2;
arg3 = (btScalar)jarg3;
btVector3 local_arg4;
gdx_setbtVector3FromVector3(jenv, local_arg4, jarg4);
arg4 = &local_arg4;
gdxAutoCommitVector3 auto_commit_arg4(jenv, jarg4, &local_arg4);
arg5 = (int)jarg5;
btQuaternion local_arg6;
gdx_setbtQuaternionFromQuaternion(jenv, local_arg6, jarg6);
arg6 = &local_arg6;
gdxAutoCommitQuaternion auto_commit_arg6(jenv, jarg6, &local_arg6);
btVector3 local_arg7;
gdx_setbtVector3FromVector3(jenv, local_arg7, jarg7);
arg7 = &local_arg7;
gdxAutoCommitVector3 auto_commit_arg7(jenv, jarg7, &local_arg7);
btVector3 local_arg8;
gdx_setbtVector3FromVector3(jenv, local_arg8, jarg8);
arg8 = &local_arg8;
gdxAutoCommitVector3 auto_commit_arg8(jenv, jarg8, &local_arg8);
arg9 = jarg9 ? true : false;
(arg1)->setupSpherical(arg2,arg3,(btVector3 const &)*arg4,arg5,(btQuaternion const &)*arg6,(btVector3 const &)*arg7,(btVector3 const &)*arg8,arg9);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1setupSpherical_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jfloat jarg3, jobject jarg4, jint jarg5, jobject jarg6, jobject jarg7, jobject jarg8) {
btMultiBody *arg1 = (btMultiBody *) 0 ;
int arg2 ;
btScalar arg3 ;
btVector3 *arg4 = 0 ;
int arg5 ;
btQuaternion *arg6 = 0 ;
btVector3 *arg7 = 0 ;
btVector3 *arg8 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
arg2 = (int)jarg2;
arg3 = (btScalar)jarg3;
btVector3 local_arg4;
gdx_setbtVector3FromVector3(jenv, local_arg4, jarg4);
arg4 = &local_arg4;
gdxAutoCommitVector3 auto_commit_arg4(jenv, jarg4, &local_arg4);
arg5 = (int)jarg5;
btQuaternion local_arg6;
gdx_setbtQuaternionFromQuaternion(jenv, local_arg6, jarg6);
arg6 = &local_arg6;
gdxAutoCommitQuaternion auto_commit_arg6(jenv, jarg6, &local_arg6);
btVector3 local_arg7;
gdx_setbtVector3FromVector3(jenv, local_arg7, jarg7);
arg7 = &local_arg7;
gdxAutoCommitVector3 auto_commit_arg7(jenv, jarg7, &local_arg7);
btVector3 local_arg8;
gdx_setbtVector3FromVector3(jenv, local_arg8, jarg8);
arg8 = &local_arg8;
gdxAutoCommitVector3 auto_commit_arg8(jenv, jarg8, &local_arg8);
(arg1)->setupSpherical(arg2,arg3,(btVector3 const &)*arg4,arg5,(btQuaternion const &)*arg6,(btVector3 const &)*arg7,(btVector3 const &)*arg8);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1setupPlanar_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jfloat jarg3, jobject jarg4, jint jarg5, jobject jarg6, jobject jarg7, jobject jarg8, jboolean jarg9) {
btMultiBody *arg1 = (btMultiBody *) 0 ;
int arg2 ;
btScalar arg3 ;
btVector3 *arg4 = 0 ;
int arg5 ;
btQuaternion *arg6 = 0 ;
btVector3 *arg7 = 0 ;
btVector3 *arg8 = 0 ;
bool arg9 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
arg2 = (int)jarg2;
arg3 = (btScalar)jarg3;
btVector3 local_arg4;
gdx_setbtVector3FromVector3(jenv, local_arg4, jarg4);
arg4 = &local_arg4;
gdxAutoCommitVector3 auto_commit_arg4(jenv, jarg4, &local_arg4);
arg5 = (int)jarg5;
btQuaternion local_arg6;
gdx_setbtQuaternionFromQuaternion(jenv, local_arg6, jarg6);
arg6 = &local_arg6;
gdxAutoCommitQuaternion auto_commit_arg6(jenv, jarg6, &local_arg6);
btVector3 local_arg7;
gdx_setbtVector3FromVector3(jenv, local_arg7, jarg7);
arg7 = &local_arg7;
gdxAutoCommitVector3 auto_commit_arg7(jenv, jarg7, &local_arg7);
btVector3 local_arg8;
gdx_setbtVector3FromVector3(jenv, local_arg8, jarg8);
arg8 = &local_arg8;
gdxAutoCommitVector3 auto_commit_arg8(jenv, jarg8, &local_arg8);
arg9 = jarg9 ? true : false;
(arg1)->setupPlanar(arg2,arg3,(btVector3 const &)*arg4,arg5,(btQuaternion const &)*arg6,(btVector3 const &)*arg7,(btVector3 const &)*arg8,arg9);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1setupPlanar_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jfloat jarg3, jobject jarg4, jint jarg5, jobject jarg6, jobject jarg7, jobject jarg8) {
btMultiBody *arg1 = (btMultiBody *) 0 ;
int arg2 ;
btScalar arg3 ;
btVector3 *arg4 = 0 ;
int arg5 ;
btQuaternion *arg6 = 0 ;
btVector3 *arg7 = 0 ;
btVector3 *arg8 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
arg2 = (int)jarg2;
arg3 = (btScalar)jarg3;
btVector3 local_arg4;
gdx_setbtVector3FromVector3(jenv, local_arg4, jarg4);
arg4 = &local_arg4;
gdxAutoCommitVector3 auto_commit_arg4(jenv, jarg4, &local_arg4);
arg5 = (int)jarg5;
btQuaternion local_arg6;
gdx_setbtQuaternionFromQuaternion(jenv, local_arg6, jarg6);
arg6 = &local_arg6;
gdxAutoCommitQuaternion auto_commit_arg6(jenv, jarg6, &local_arg6);
btVector3 local_arg7;
gdx_setbtVector3FromVector3(jenv, local_arg7, jarg7);
arg7 = &local_arg7;
gdxAutoCommitVector3 auto_commit_arg7(jenv, jarg7, &local_arg7);
btVector3 local_arg8;
gdx_setbtVector3FromVector3(jenv, local_arg8, jarg8);
arg8 = &local_arg8;
gdxAutoCommitVector3 auto_commit_arg8(jenv, jarg8, &local_arg8);
(arg1)->setupPlanar(arg2,arg3,(btVector3 const &)*arg4,arg5,(btQuaternion const &)*arg6,(btVector3 const &)*arg7,(btVector3 const &)*arg8);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1getLinkConst(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jlong jresult = 0 ;
btMultiBody *arg1 = (btMultiBody *) 0 ;
int arg2 ;
btMultibodyLink *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
arg2 = (int)jarg2;
result = (btMultibodyLink *) &((btMultiBody const *)arg1)->getLink(arg2);
*(btMultibodyLink **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1getLink(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jlong jresult = 0 ;
btMultiBody *arg1 = (btMultiBody *) 0 ;
int arg2 ;
btMultibodyLink *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
arg2 = (int)jarg2;
result = (btMultibodyLink *) &(arg1)->getLink(arg2);
*(btMultibodyLink **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1setBaseCollider(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btMultiBody *arg1 = (btMultiBody *) 0 ;
btMultiBodyLinkCollider *arg2 = (btMultiBodyLinkCollider *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btMultiBody **)&jarg1;
arg2 = *(btMultiBodyLinkCollider **)&jarg2;
(arg1)->setBaseCollider(arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1getBaseColliderConst(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btMultiBody *arg1 = (btMultiBody *) 0 ;
btMultiBodyLinkCollider *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
result = (btMultiBodyLinkCollider *)((btMultiBody const *)arg1)->getBaseCollider();
*(btMultiBodyLinkCollider **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1getBaseCollider(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btMultiBody *arg1 = (btMultiBody *) 0 ;
btMultiBodyLinkCollider *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
result = (btMultiBodyLinkCollider *)(arg1)->getBaseCollider();
*(btMultiBodyLinkCollider **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1getLinkCollider(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jlong jresult = 0 ;
btMultiBody *arg1 = (btMultiBody *) 0 ;
int arg2 ;
btMultiBodyLinkCollider *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
arg2 = (int)jarg2;
result = (btMultiBodyLinkCollider *)(arg1)->getLinkCollider(arg2);
*(btMultiBodyLinkCollider **)&jresult = result;
return jresult;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1getParent(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jint jresult = 0 ;
btMultiBody *arg1 = (btMultiBody *) 0 ;
int arg2 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
arg2 = (int)jarg2;
result = (int)((btMultiBody const *)arg1)->getParent(arg2);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1getNumLinks(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btMultiBody *arg1 = (btMultiBody *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
result = (int)((btMultiBody const *)arg1)->getNumLinks();
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1getNumDofs(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btMultiBody *arg1 = (btMultiBody *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
result = (int)((btMultiBody const *)arg1)->getNumDofs();
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1getNumPosVars(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btMultiBody *arg1 = (btMultiBody *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
result = (int)((btMultiBody const *)arg1)->getNumPosVars();
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1getBaseMass(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btMultiBody *arg1 = (btMultiBody *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
result = (btScalar)((btMultiBody const *)arg1)->getBaseMass();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1getBaseInertia(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btMultiBody *arg1 = (btMultiBody *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
result = (btVector3 *) &((btMultiBody const *)arg1)->getBaseInertia();
jresult = gdx_getReturnVector3(jenv);
gdx_setVector3FrombtVector3(jenv, jresult, result);
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1getLinkMass(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jfloat jresult = 0 ;
btMultiBody *arg1 = (btMultiBody *) 0 ;
int arg2 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
arg2 = (int)jarg2;
result = (btScalar)((btMultiBody const *)arg1)->getLinkMass(arg2);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1getLinkInertia(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jobject jresult = 0 ;
btMultiBody *arg1 = (btMultiBody *) 0 ;
int arg2 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
arg2 = (int)jarg2;
result = (btVector3 *) &((btMultiBody const *)arg1)->getLinkInertia(arg2);
jresult = gdx_getReturnVector3(jenv);
gdx_setVector3FrombtVector3(jenv, jresult, result);
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1setBaseMass(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btMultiBody *arg1 = (btMultiBody *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
arg2 = (btScalar)jarg2;
(arg1)->setBaseMass(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1setBaseInertia(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btMultiBody *arg1 = (btMultiBody *) 0 ;
btVector3 *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
(arg1)->setBaseInertia((btVector3 const &)*arg2);
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1getBasePos(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btMultiBody *arg1 = (btMultiBody *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
result = (btVector3 *) &((btMultiBody const *)arg1)->getBasePos();
jresult = gdx_getReturnVector3(jenv);
gdx_setVector3FrombtVector3(jenv, jresult, result);
return jresult;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1getBaseVel(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btMultiBody *arg1 = (btMultiBody *) 0 ;
btVector3 result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
result = ((btMultiBody const *)arg1)->getBaseVel();
jresult = gdx_getReturnVector3(jenv);
gdx_setVector3FrombtVector3(jenv, jresult, result);
return jresult;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1getWorldToBaseRot(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btMultiBody *arg1 = (btMultiBody *) 0 ;
btQuaternion *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
result = (btQuaternion *) &((btMultiBody const *)arg1)->getWorldToBaseRot();
jresult = gdx_getReturnQuaternion(jenv);
gdx_setQuaternionFrombtQuaternion(jenv, jresult, result);
return jresult;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1getBaseOmega(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btMultiBody *arg1 = (btMultiBody *) 0 ;
btVector3 result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
result = ((btMultiBody const *)arg1)->getBaseOmega();
jresult = gdx_getReturnVector3(jenv);
gdx_setVector3FrombtVector3(jenv, jresult, result);
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1setBasePos(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btMultiBody *arg1 = (btMultiBody *) 0 ;
btVector3 *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
(arg1)->setBasePos((btVector3 const &)*arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1setBaseWorldTransform(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btMultiBody *arg1 = (btMultiBody *) 0 ;
btTransform *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
btTransform local_arg2;
gdx_setbtTransformFromMatrix4(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitMatrix4 auto_commit_arg2(jenv, jarg2, &local_arg2);
(arg1)->setBaseWorldTransform((btTransform const &)*arg2);
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1getBaseWorldTransform(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btMultiBody *arg1 = (btMultiBody *) 0 ;
btTransform result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
result = ((btMultiBody const *)arg1)->getBaseWorldTransform();
jresult = gdx_getReturnMatrix4(jenv);
gdx_setMatrix4FrombtTransform(jenv, jresult, result);
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1setBaseVel(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btMultiBody *arg1 = (btMultiBody *) 0 ;
btVector3 *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
(arg1)->setBaseVel((btVector3 const &)*arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1setWorldToBaseRot(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btMultiBody *arg1 = (btMultiBody *) 0 ;
btQuaternion *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
btQuaternion local_arg2;
gdx_setbtQuaternionFromQuaternion(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitQuaternion auto_commit_arg2(jenv, jarg2, &local_arg2);
(arg1)->setWorldToBaseRot((btQuaternion const &)*arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1setBaseOmega(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btMultiBody *arg1 = (btMultiBody *) 0 ;
btVector3 *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
(arg1)->setBaseOmega((btVector3 const &)*arg2);
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1getJointPos(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jfloat jresult = 0 ;
btMultiBody *arg1 = (btMultiBody *) 0 ;
int arg2 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
arg2 = (int)jarg2;
result = (btScalar)((btMultiBody const *)arg1)->getJointPos(arg2);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1getJointVel(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jfloat jresult = 0 ;
btMultiBody *arg1 = (btMultiBody *) 0 ;
int arg2 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
arg2 = (int)jarg2;
result = (btScalar)((btMultiBody const *)arg1)->getJointVel(arg2);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1getJointVelMultiDof(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jobject jresult = 0 ;
btMultiBody *arg1 = (btMultiBody *) 0 ;
int arg2 ;
btScalar *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
arg2 = (int)jarg2;
result = (btScalar *)(arg1)->getJointVelMultiDof(arg2);
*(btScalar **)&jresult = result;
return jresult;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1getJointPosMultiDof(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jobject jresult = 0 ;
btMultiBody *arg1 = (btMultiBody *) 0 ;
int arg2 ;
btScalar *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
arg2 = (int)jarg2;
result = (btScalar *)(arg1)->getJointPosMultiDof(arg2);
*(btScalar **)&jresult = result;
return jresult;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1getJointVelMultiDofConst(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jobject jresult = 0 ;
btMultiBody *arg1 = (btMultiBody *) 0 ;
int arg2 ;
btScalar *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
arg2 = (int)jarg2;
result = (btScalar *)((btMultiBody const *)arg1)->getJointVelMultiDof(arg2);
*(btScalar **)&jresult = result;
return jresult;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1getJointPosMultiDofConst(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jobject jresult = 0 ;
btMultiBody *arg1 = (btMultiBody *) 0 ;
int arg2 ;
btScalar *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
arg2 = (int)jarg2;
result = (btScalar *)((btMultiBody const *)arg1)->getJointPosMultiDof(arg2);
*(btScalar **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1setJointPos(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jfloat jarg3) {
btMultiBody *arg1 = (btMultiBody *) 0 ;
int arg2 ;
btScalar arg3 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
arg2 = (int)jarg2;
arg3 = (btScalar)jarg3;
(arg1)->setJointPos(arg2,arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1setJointVel(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jfloat jarg3) {
btMultiBody *arg1 = (btMultiBody *) 0 ;
int arg2 ;
btScalar arg3 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
arg2 = (int)jarg2;
arg3 = (btScalar)jarg3;
(arg1)->setJointVel(arg2,arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1setJointPosMultiDof(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jobject jarg3) {
btMultiBody *arg1 = (btMultiBody *) 0 ;
int arg2 ;
btScalar *arg3 = (btScalar *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
arg2 = (int)jarg2;
{
arg3 = (btScalar*)jenv->GetDirectBufferAddress(jarg3);
if (arg3 == NULL) {
SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, "Unable to get address of direct buffer. Buffer must be allocated direct.");
}
}
(arg1)->setJointPosMultiDof(arg2,arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1setJointVelMultiDof(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jobject jarg3) {
btMultiBody *arg1 = (btMultiBody *) 0 ;
int arg2 ;
btScalar *arg3 = (btScalar *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
arg2 = (int)jarg2;
{
arg3 = (btScalar*)jenv->GetDirectBufferAddress(jarg3);
if (arg3 == NULL) {
SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, "Unable to get address of direct buffer. Buffer must be allocated direct.");
}
}
(arg1)->setJointVelMultiDof(arg2,arg3);
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1getVelocityVector(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btMultiBody *arg1 = (btMultiBody *) 0 ;
btScalar *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
result = (btScalar *)((btMultiBody const *)arg1)->getVelocityVector();
*(btScalar **)&jresult = result;
return jresult;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1getRVector(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jobject jresult = 0 ;
btMultiBody *arg1 = (btMultiBody *) 0 ;
int arg2 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
arg2 = (int)jarg2;
result = (btVector3 *) &((btMultiBody const *)arg1)->getRVector(arg2);
jresult = gdx_getReturnVector3(jenv);
gdx_setVector3FrombtVector3(jenv, jresult, result);
return jresult;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1getParentToLocalRot(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jobject jresult = 0 ;
btMultiBody *arg1 = (btMultiBody *) 0 ;
int arg2 ;
btQuaternion *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
arg2 = (int)jarg2;
result = (btQuaternion *) &((btMultiBody const *)arg1)->getParentToLocalRot(arg2);
jresult = gdx_getReturnQuaternion(jenv);
gdx_setQuaternionFrombtQuaternion(jenv, jresult, result);
return jresult;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1localPosToWorld(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jobject jarg3) {
jobject jresult = 0 ;
btMultiBody *arg1 = (btMultiBody *) 0 ;
int arg2 ;
btVector3 *arg3 = 0 ;
btVector3 result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
arg2 = (int)jarg2;
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
result = ((btMultiBody const *)arg1)->localPosToWorld(arg2,(btVector3 const &)*arg3);
jresult = gdx_getReturnVector3(jenv);
gdx_setVector3FrombtVector3(jenv, jresult, result);
return jresult;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1localDirToWorld(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jobject jarg3) {
jobject jresult = 0 ;
btMultiBody *arg1 = (btMultiBody *) 0 ;
int arg2 ;
btVector3 *arg3 = 0 ;
btVector3 result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
arg2 = (int)jarg2;
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
result = ((btMultiBody const *)arg1)->localDirToWorld(arg2,(btVector3 const &)*arg3);
jresult = gdx_getReturnVector3(jenv);
gdx_setVector3FrombtVector3(jenv, jresult, result);
return jresult;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1worldPosToLocal(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jobject jarg3) {
jobject jresult = 0 ;
btMultiBody *arg1 = (btMultiBody *) 0 ;
int arg2 ;
btVector3 *arg3 = 0 ;
btVector3 result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
arg2 = (int)jarg2;
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
result = ((btMultiBody const *)arg1)->worldPosToLocal(arg2,(btVector3 const &)*arg3);
jresult = gdx_getReturnVector3(jenv);
gdx_setVector3FrombtVector3(jenv, jresult, result);
return jresult;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1worldDirToLocal(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jobject jarg3) {
jobject jresult = 0 ;
btMultiBody *arg1 = (btMultiBody *) 0 ;
int arg2 ;
btVector3 *arg3 = 0 ;
btVector3 result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
arg2 = (int)jarg2;
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
result = ((btMultiBody const *)arg1)->worldDirToLocal(arg2,(btVector3 const &)*arg3);
jresult = gdx_getReturnVector3(jenv);
gdx_setVector3FrombtVector3(jenv, jresult, result);
return jresult;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1localFrameToWorld(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jobject jarg3) {
jobject jresult = 0 ;
btMultiBody *arg1 = (btMultiBody *) 0 ;
int arg2 ;
btMatrix3x3 *arg3 = 0 ;
btMatrix3x3 result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
arg2 = (int)jarg2;
btMatrix3x3 local_arg3;
gdx_setbtMatrix3x3FromMatrix3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitMatrix3 auto_commit_arg3(jenv, jarg3, &local_arg3);
result = ((btMultiBody const *)arg1)->localFrameToWorld(arg2,(btMatrix3x3 const &)*arg3);
jresult = gdx_getReturnMatrix3(jenv);
gdx_setMatrix3FrombtMatrix3x3(jenv, jresult, result);
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1getKineticEnergy(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btMultiBody *arg1 = (btMultiBody *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
result = (btScalar)((btMultiBody const *)arg1)->getKineticEnergy();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1getAngularMomentum(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btMultiBody *arg1 = (btMultiBody *) 0 ;
btVector3 result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
result = ((btMultiBody const *)arg1)->getAngularMomentum();
jresult = gdx_getReturnVector3(jenv);
gdx_setVector3FrombtVector3(jenv, jresult, result);
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1clearForcesAndTorques(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
btMultiBody *arg1 = (btMultiBody *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
(arg1)->clearForcesAndTorques();
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1clearConstraintForces(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
btMultiBody *arg1 = (btMultiBody *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
(arg1)->clearConstraintForces();
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1clearVelocities(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
btMultiBody *arg1 = (btMultiBody *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
(arg1)->clearVelocities();
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1addBaseForce(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btMultiBody *arg1 = (btMultiBody *) 0 ;
btVector3 *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
(arg1)->addBaseForce((btVector3 const &)*arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1addBaseTorque(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btMultiBody *arg1 = (btMultiBody *) 0 ;
btVector3 *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
(arg1)->addBaseTorque((btVector3 const &)*arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1addLinkForce(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jobject jarg3) {
btMultiBody *arg1 = (btMultiBody *) 0 ;
int arg2 ;
btVector3 *arg3 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
arg2 = (int)jarg2;
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
(arg1)->addLinkForce(arg2,(btVector3 const &)*arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1addLinkTorque(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jobject jarg3) {
btMultiBody *arg1 = (btMultiBody *) 0 ;
int arg2 ;
btVector3 *arg3 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
arg2 = (int)jarg2;
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
(arg1)->addLinkTorque(arg2,(btVector3 const &)*arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1addBaseConstraintForce(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btMultiBody *arg1 = (btMultiBody *) 0 ;
btVector3 *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
(arg1)->addBaseConstraintForce((btVector3 const &)*arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1addBaseConstraintTorque(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btMultiBody *arg1 = (btMultiBody *) 0 ;
btVector3 *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
(arg1)->addBaseConstraintTorque((btVector3 const &)*arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1addLinkConstraintForce(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jobject jarg3) {
btMultiBody *arg1 = (btMultiBody *) 0 ;
int arg2 ;
btVector3 *arg3 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
arg2 = (int)jarg2;
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
(arg1)->addLinkConstraintForce(arg2,(btVector3 const &)*arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1addLinkConstraintTorque(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jobject jarg3) {
btMultiBody *arg1 = (btMultiBody *) 0 ;
int arg2 ;
btVector3 *arg3 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
arg2 = (int)jarg2;
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
(arg1)->addLinkConstraintTorque(arg2,(btVector3 const &)*arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1addJointTorque(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jfloat jarg3) {
btMultiBody *arg1 = (btMultiBody *) 0 ;
int arg2 ;
btScalar arg3 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
arg2 = (int)jarg2;
arg3 = (btScalar)jarg3;
(arg1)->addJointTorque(arg2,arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1addJointTorqueMultiDof_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jint jarg3, jfloat jarg4) {
btMultiBody *arg1 = (btMultiBody *) 0 ;
int arg2 ;
int arg3 ;
btScalar arg4 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
arg2 = (int)jarg2;
arg3 = (int)jarg3;
arg4 = (btScalar)jarg4;
(arg1)->addJointTorqueMultiDof(arg2,arg3,arg4);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1addJointTorqueMultiDof_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jobject jarg3) {
btMultiBody *arg1 = (btMultiBody *) 0 ;
int arg2 ;
btScalar *arg3 = (btScalar *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
arg2 = (int)jarg2;
{
arg3 = (btScalar*)jenv->GetDirectBufferAddress(jarg3);
if (arg3 == NULL) {
SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, "Unable to get address of direct buffer. Buffer must be allocated direct.");
}
}
(arg1)->addJointTorqueMultiDof(arg2,(btScalar const *)arg3);
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1getBaseForce(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btMultiBody *arg1 = (btMultiBody *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
result = (btVector3 *) &((btMultiBody const *)arg1)->getBaseForce();
jresult = gdx_getReturnVector3(jenv);
gdx_setVector3FrombtVector3(jenv, jresult, result);
return jresult;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1getBaseTorque(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btMultiBody *arg1 = (btMultiBody *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
result = (btVector3 *) &((btMultiBody const *)arg1)->getBaseTorque();
jresult = gdx_getReturnVector3(jenv);
gdx_setVector3FrombtVector3(jenv, jresult, result);
return jresult;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1getLinkForce(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jobject jresult = 0 ;
btMultiBody *arg1 = (btMultiBody *) 0 ;
int arg2 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
arg2 = (int)jarg2;
result = (btVector3 *) &((btMultiBody const *)arg1)->getLinkForce(arg2);
jresult = gdx_getReturnVector3(jenv);
gdx_setVector3FrombtVector3(jenv, jresult, result);
return jresult;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1getLinkTorque(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jobject jresult = 0 ;
btMultiBody *arg1 = (btMultiBody *) 0 ;
int arg2 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
arg2 = (int)jarg2;
result = (btVector3 *) &((btMultiBody const *)arg1)->getLinkTorque(arg2);
jresult = gdx_getReturnVector3(jenv);
gdx_setVector3FrombtVector3(jenv, jresult, result);
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1getJointTorque(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jfloat jresult = 0 ;
btMultiBody *arg1 = (btMultiBody *) 0 ;
int arg2 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
arg2 = (int)jarg2;
result = (btScalar)((btMultiBody const *)arg1)->getJointTorque(arg2);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1getJointTorqueMultiDof(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jobject jresult = 0 ;
btMultiBody *arg1 = (btMultiBody *) 0 ;
int arg2 ;
btScalar *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
arg2 = (int)jarg2;
result = (btScalar *)(arg1)->getJointTorqueMultiDof(arg2);
*(btScalar **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1computeAccelerationsArticulatedBodyAlgorithmMultiDof_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2, jlong jarg3, jobject jarg3_, jlong jarg4, jobject jarg4_, jlong jarg5, jboolean jarg6) {
btMultiBody *arg1 = (btMultiBody *) 0 ;
btScalar arg2 ;
btAlignedObjectArray< btScalar > *arg3 = 0 ;
btAlignedObjectArray< btVector3 > *arg4 = 0 ;
btAlignedObjectArray< btMatrix3x3 > *arg5 = 0 ;
bool arg6 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg3_;
(void)jarg4_;
arg1 = *(btMultiBody **)&jarg1;
arg2 = (btScalar)jarg2;
arg3 = *(btAlignedObjectArray< btScalar > **)&jarg3;
if (!arg3) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btAlignedObjectArray< btScalar > & reference is null");
return ;
}
arg4 = *(btAlignedObjectArray< btVector3 > **)&jarg4;
if (!arg4) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btAlignedObjectArray< btVector3 > & reference is null");
return ;
}
arg5 = *(btAlignedObjectArray< btMatrix3x3 > **)&jarg5;
if (!arg5) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btAlignedObjectArray< btMatrix3x3 > & reference is null");
return ;
}
arg6 = jarg6 ? true : false;
(arg1)->computeAccelerationsArticulatedBodyAlgorithmMultiDof(arg2,*arg3,*arg4,*arg5,arg6);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1computeAccelerationsArticulatedBodyAlgorithmMultiDof_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2, jlong jarg3, jobject jarg3_, jlong jarg4, jobject jarg4_, jlong jarg5) {
btMultiBody *arg1 = (btMultiBody *) 0 ;
btScalar arg2 ;
btAlignedObjectArray< btScalar > *arg3 = 0 ;
btAlignedObjectArray< btVector3 > *arg4 = 0 ;
btAlignedObjectArray< btMatrix3x3 > *arg5 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg3_;
(void)jarg4_;
arg1 = *(btMultiBody **)&jarg1;
arg2 = (btScalar)jarg2;
arg3 = *(btAlignedObjectArray< btScalar > **)&jarg3;
if (!arg3) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btAlignedObjectArray< btScalar > & reference is null");
return ;
}
arg4 = *(btAlignedObjectArray< btVector3 > **)&jarg4;
if (!arg4) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btAlignedObjectArray< btVector3 > & reference is null");
return ;
}
arg5 = *(btAlignedObjectArray< btMatrix3x3 > **)&jarg5;
if (!arg5) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btAlignedObjectArray< btMatrix3x3 > & reference is null");
return ;
}
(arg1)->computeAccelerationsArticulatedBodyAlgorithmMultiDof(arg2,*arg3,*arg4,*arg5);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1stepVelocitiesMultiDof_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2, jlong jarg3, jobject jarg3_, jlong jarg4, jobject jarg4_, jlong jarg5, jboolean jarg6) {
btMultiBody *arg1 = (btMultiBody *) 0 ;
btScalar arg2 ;
btAlignedObjectArray< btScalar > *arg3 = 0 ;
btAlignedObjectArray< btVector3 > *arg4 = 0 ;
btAlignedObjectArray< btMatrix3x3 > *arg5 = 0 ;
bool arg6 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg3_;
(void)jarg4_;
arg1 = *(btMultiBody **)&jarg1;
arg2 = (btScalar)jarg2;
arg3 = *(btAlignedObjectArray< btScalar > **)&jarg3;
if (!arg3) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btAlignedObjectArray< btScalar > & reference is null");
return ;
}
arg4 = *(btAlignedObjectArray< btVector3 > **)&jarg4;
if (!arg4) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btAlignedObjectArray< btVector3 > & reference is null");
return ;
}
arg5 = *(btAlignedObjectArray< btMatrix3x3 > **)&jarg5;
if (!arg5) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btAlignedObjectArray< btMatrix3x3 > & reference is null");
return ;
}
arg6 = jarg6 ? true : false;
(arg1)->stepVelocitiesMultiDof(arg2,*arg3,*arg4,*arg5,arg6);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1stepVelocitiesMultiDof_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2, jlong jarg3, jobject jarg3_, jlong jarg4, jobject jarg4_, jlong jarg5) {
btMultiBody *arg1 = (btMultiBody *) 0 ;
btScalar arg2 ;
btAlignedObjectArray< btScalar > *arg3 = 0 ;
btAlignedObjectArray< btVector3 > *arg4 = 0 ;
btAlignedObjectArray< btMatrix3x3 > *arg5 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg3_;
(void)jarg4_;
arg1 = *(btMultiBody **)&jarg1;
arg2 = (btScalar)jarg2;
arg3 = *(btAlignedObjectArray< btScalar > **)&jarg3;
if (!arg3) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btAlignedObjectArray< btScalar > & reference is null");
return ;
}
arg4 = *(btAlignedObjectArray< btVector3 > **)&jarg4;
if (!arg4) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btAlignedObjectArray< btVector3 > & reference is null");
return ;
}
arg5 = *(btAlignedObjectArray< btMatrix3x3 > **)&jarg5;
if (!arg5) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btAlignedObjectArray< btMatrix3x3 > & reference is null");
return ;
}
(arg1)->stepVelocitiesMultiDof(arg2,*arg3,*arg4,*arg5);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1calcAccelerationDeltasMultiDof(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jobject jarg3, jlong jarg4, jobject jarg4_, jlong jarg5, jobject jarg5_) {
btMultiBody *arg1 = (btMultiBody *) 0 ;
btScalar *arg2 = (btScalar *) 0 ;
btScalar *arg3 = (btScalar *) 0 ;
btAlignedObjectArray< btScalar > *arg4 = 0 ;
btAlignedObjectArray< btVector3 > *arg5 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg4_;
(void)jarg5_;
arg1 = *(btMultiBody **)&jarg1;
{
arg2 = (btScalar*)jenv->GetDirectBufferAddress(jarg2);
if (arg2 == NULL) {
SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, "Unable to get address of direct buffer. Buffer must be allocated direct.");
}
}
{
arg3 = (btScalar*)jenv->GetDirectBufferAddress(jarg3);
if (arg3 == NULL) {
SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, "Unable to get address of direct buffer. Buffer must be allocated direct.");
}
}
arg4 = *(btAlignedObjectArray< btScalar > **)&jarg4;
if (!arg4) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btAlignedObjectArray< btScalar > & reference is null");
return ;
}
arg5 = *(btAlignedObjectArray< btVector3 > **)&jarg5;
if (!arg5) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btAlignedObjectArray< btVector3 > & reference is null");
return ;
}
((btMultiBody const *)arg1)->calcAccelerationDeltasMultiDof((btScalar const *)arg2,arg3,*arg4,*arg5);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1applyDeltaVeeMultiDof2(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jfloat jarg3) {
btMultiBody *arg1 = (btMultiBody *) 0 ;
btScalar *arg2 = (btScalar *) 0 ;
btScalar arg3 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
{
arg2 = (btScalar*)jenv->GetDirectBufferAddress(jarg2);
if (arg2 == NULL) {
SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, "Unable to get address of direct buffer. Buffer must be allocated direct.");
}
}
arg3 = (btScalar)jarg3;
(arg1)->applyDeltaVeeMultiDof2((btScalar const *)arg2,arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1processDeltaVeeMultiDof2(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
btMultiBody *arg1 = (btMultiBody *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
(arg1)->processDeltaVeeMultiDof2();
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1applyDeltaVeeMultiDof(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jfloat jarg3) {
btMultiBody *arg1 = (btMultiBody *) 0 ;
btScalar *arg2 = (btScalar *) 0 ;
btScalar arg3 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
{
arg2 = (btScalar*)jenv->GetDirectBufferAddress(jarg2);
if (arg2 == NULL) {
SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, "Unable to get address of direct buffer. Buffer must be allocated direct.");
}
}
arg3 = (btScalar)jarg3;
(arg1)->applyDeltaVeeMultiDof((btScalar const *)arg2,arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1stepPositionsMultiDof_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2, jobject jarg3, jobject jarg4) {
btMultiBody *arg1 = (btMultiBody *) 0 ;
btScalar arg2 ;
btScalar *arg3 = (btScalar *) 0 ;
btScalar *arg4 = (btScalar *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
arg2 = (btScalar)jarg2;
{
arg3 = (btScalar*)jenv->GetDirectBufferAddress(jarg3);
if (arg3 == NULL) {
SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, "Unable to get address of direct buffer. Buffer must be allocated direct.");
}
}
{
arg4 = (btScalar*)jenv->GetDirectBufferAddress(jarg4);
if (arg4 == NULL) {
SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, "Unable to get address of direct buffer. Buffer must be allocated direct.");
}
}
(arg1)->stepPositionsMultiDof(arg2,arg3,arg4);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1stepPositionsMultiDof_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2, jobject jarg3) {
btMultiBody *arg1 = (btMultiBody *) 0 ;
btScalar arg2 ;
btScalar *arg3 = (btScalar *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
arg2 = (btScalar)jarg2;
{
arg3 = (btScalar*)jenv->GetDirectBufferAddress(jarg3);
if (arg3 == NULL) {
SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, "Unable to get address of direct buffer. Buffer must be allocated direct.");
}
}
(arg1)->stepPositionsMultiDof(arg2,arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1stepPositionsMultiDof_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btMultiBody *arg1 = (btMultiBody *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
arg2 = (btScalar)jarg2;
(arg1)->stepPositionsMultiDof(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1fillContactJacobianMultiDof(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jobject jarg3, jobject jarg4, jobject jarg5, jlong jarg6, jobject jarg6_, jlong jarg7, jobject jarg7_, jlong jarg8) {
btMultiBody *arg1 = (btMultiBody *) 0 ;
int arg2 ;
btVector3 *arg3 = 0 ;
btVector3 *arg4 = 0 ;
btScalar *arg5 = (btScalar *) 0 ;
btAlignedObjectArray< btScalar > *arg6 = 0 ;
btAlignedObjectArray< btVector3 > *arg7 = 0 ;
btAlignedObjectArray< btMatrix3x3 > *arg8 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg6_;
(void)jarg7_;
arg1 = *(btMultiBody **)&jarg1;
arg2 = (int)jarg2;
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
btVector3 local_arg4;
gdx_setbtVector3FromVector3(jenv, local_arg4, jarg4);
arg4 = &local_arg4;
gdxAutoCommitVector3 auto_commit_arg4(jenv, jarg4, &local_arg4);
{
arg5 = (btScalar*)jenv->GetDirectBufferAddress(jarg5);
if (arg5 == NULL) {
SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, "Unable to get address of direct buffer. Buffer must be allocated direct.");
}
}
arg6 = *(btAlignedObjectArray< btScalar > **)&jarg6;
if (!arg6) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btAlignedObjectArray< btScalar > & reference is null");
return ;
}
arg7 = *(btAlignedObjectArray< btVector3 > **)&jarg7;
if (!arg7) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btAlignedObjectArray< btVector3 > & reference is null");
return ;
}
arg8 = *(btAlignedObjectArray< btMatrix3x3 > **)&jarg8;
if (!arg8) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btAlignedObjectArray< btMatrix3x3 > & reference is null");
return ;
}
((btMultiBody const *)arg1)->fillContactJacobianMultiDof(arg2,(btVector3 const &)*arg3,(btVector3 const &)*arg4,arg5,*arg6,*arg7,*arg8);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1fillConstraintJacobianMultiDof(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jobject jarg3, jobject jarg4, jobject jarg5, jobject jarg6, jlong jarg7, jobject jarg7_, jlong jarg8, jobject jarg8_, jlong jarg9) {
btMultiBody *arg1 = (btMultiBody *) 0 ;
int arg2 ;
btVector3 *arg3 = 0 ;
btVector3 *arg4 = 0 ;
btVector3 *arg5 = 0 ;
btScalar *arg6 = (btScalar *) 0 ;
btAlignedObjectArray< btScalar > *arg7 = 0 ;
btAlignedObjectArray< btVector3 > *arg8 = 0 ;
btAlignedObjectArray< btMatrix3x3 > *arg9 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg7_;
(void)jarg8_;
arg1 = *(btMultiBody **)&jarg1;
arg2 = (int)jarg2;
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
btVector3 local_arg4;
gdx_setbtVector3FromVector3(jenv, local_arg4, jarg4);
arg4 = &local_arg4;
gdxAutoCommitVector3 auto_commit_arg4(jenv, jarg4, &local_arg4);
btVector3 local_arg5;
gdx_setbtVector3FromVector3(jenv, local_arg5, jarg5);
arg5 = &local_arg5;
gdxAutoCommitVector3 auto_commit_arg5(jenv, jarg5, &local_arg5);
{
arg6 = (btScalar*)jenv->GetDirectBufferAddress(jarg6);
if (arg6 == NULL) {
SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, "Unable to get address of direct buffer. Buffer must be allocated direct.");
}
}
arg7 = *(btAlignedObjectArray< btScalar > **)&jarg7;
if (!arg7) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btAlignedObjectArray< btScalar > & reference is null");
return ;
}
arg8 = *(btAlignedObjectArray< btVector3 > **)&jarg8;
if (!arg8) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btAlignedObjectArray< btVector3 > & reference is null");
return ;
}
arg9 = *(btAlignedObjectArray< btMatrix3x3 > **)&jarg9;
if (!arg9) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btAlignedObjectArray< btMatrix3x3 > & reference is null");
return ;
}
((btMultiBody const *)arg1)->fillConstraintJacobianMultiDof(arg2,(btVector3 const &)*arg3,(btVector3 const &)*arg4,(btVector3 const &)*arg5,arg6,*arg7,*arg8,*arg9);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1setCanSleep(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jboolean jarg2) {
btMultiBody *arg1 = (btMultiBody *) 0 ;
bool arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
arg2 = jarg2 ? true : false;
(arg1)->setCanSleep(arg2);
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1getCanSleep(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jboolean jresult = 0 ;
btMultiBody *arg1 = (btMultiBody *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
result = (bool)((btMultiBody const *)arg1)->getCanSleep();
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1isAwake(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jboolean jresult = 0 ;
btMultiBody *arg1 = (btMultiBody *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
result = (bool)((btMultiBody const *)arg1)->isAwake();
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1wakeUp(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
btMultiBody *arg1 = (btMultiBody *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
(arg1)->wakeUp();
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1goToSleep(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
btMultiBody *arg1 = (btMultiBody *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
(arg1)->goToSleep();
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1checkMotionAndSleepIfRequired(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btMultiBody *arg1 = (btMultiBody *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
arg2 = (btScalar)jarg2;
(arg1)->checkMotionAndSleepIfRequired(arg2);
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1hasFixedBase(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jboolean jresult = 0 ;
btMultiBody *arg1 = (btMultiBody *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
result = (bool)((btMultiBody const *)arg1)->hasFixedBase();
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1getCompanionId(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btMultiBody *arg1 = (btMultiBody *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
result = (int)((btMultiBody const *)arg1)->getCompanionId();
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1setCompanionId(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btMultiBody *arg1 = (btMultiBody *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
arg2 = (int)jarg2;
(arg1)->setCompanionId(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1setNumLinks(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btMultiBody *arg1 = (btMultiBody *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
arg2 = (int)jarg2;
(arg1)->setNumLinks(arg2);
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1getLinearDamping(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btMultiBody *arg1 = (btMultiBody *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
result = (btScalar)((btMultiBody const *)arg1)->getLinearDamping();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1setLinearDamping(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btMultiBody *arg1 = (btMultiBody *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
arg2 = (btScalar)jarg2;
(arg1)->setLinearDamping(arg2);
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1getAngularDamping(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btMultiBody *arg1 = (btMultiBody *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
result = (btScalar)((btMultiBody const *)arg1)->getAngularDamping();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1setAngularDamping(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btMultiBody *arg1 = (btMultiBody *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
arg2 = (btScalar)jarg2;
(arg1)->setAngularDamping(arg2);
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1getUseGyroTerm(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jboolean jresult = 0 ;
btMultiBody *arg1 = (btMultiBody *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
result = (bool)((btMultiBody const *)arg1)->getUseGyroTerm();
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1setUseGyroTerm(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jboolean jarg2) {
btMultiBody *arg1 = (btMultiBody *) 0 ;
bool arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
arg2 = jarg2 ? true : false;
(arg1)->setUseGyroTerm(arg2);
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1getMaxCoordinateVelocity(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btMultiBody *arg1 = (btMultiBody *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
result = (btScalar)((btMultiBody const *)arg1)->getMaxCoordinateVelocity();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1setMaxCoordinateVelocity(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btMultiBody *arg1 = (btMultiBody *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
arg2 = (btScalar)jarg2;
(arg1)->setMaxCoordinateVelocity(arg2);
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1getMaxAppliedImpulse(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btMultiBody *arg1 = (btMultiBody *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
result = (btScalar)((btMultiBody const *)arg1)->getMaxAppliedImpulse();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1setMaxAppliedImpulse(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btMultiBody *arg1 = (btMultiBody *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
arg2 = (btScalar)jarg2;
(arg1)->setMaxAppliedImpulse(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1setHasSelfCollision(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jboolean jarg2) {
btMultiBody *arg1 = (btMultiBody *) 0 ;
bool arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
arg2 = jarg2 ? true : false;
(arg1)->setHasSelfCollision(arg2);
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1hasSelfCollision(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jboolean jresult = 0 ;
btMultiBody *arg1 = (btMultiBody *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
result = (bool)((btMultiBody const *)arg1)->hasSelfCollision();
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1finalizeMultiDof(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
btMultiBody *arg1 = (btMultiBody *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
(arg1)->finalizeMultiDof();
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1useRK4Integration(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jboolean jarg2) {
btMultiBody *arg1 = (btMultiBody *) 0 ;
bool arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
arg2 = jarg2 ? true : false;
(arg1)->useRK4Integration(arg2);
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1isUsingRK4Integration(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jboolean jresult = 0 ;
btMultiBody *arg1 = (btMultiBody *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
result = (bool)((btMultiBody const *)arg1)->isUsingRK4Integration();
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1useGlobalVelocities(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jboolean jarg2) {
btMultiBody *arg1 = (btMultiBody *) 0 ;
bool arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
arg2 = jarg2 ? true : false;
(arg1)->useGlobalVelocities(arg2);
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1isUsingGlobalVelocities(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jboolean jresult = 0 ;
btMultiBody *arg1 = (btMultiBody *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
result = (bool)((btMultiBody const *)arg1)->isUsingGlobalVelocities();
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1isPosUpdated(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jboolean jresult = 0 ;
btMultiBody *arg1 = (btMultiBody *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
result = (bool)((btMultiBody const *)arg1)->isPosUpdated();
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1setPosUpdated(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jboolean jarg2) {
btMultiBody *arg1 = (btMultiBody *) 0 ;
bool arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
arg2 = jarg2 ? true : false;
(arg1)->setPosUpdated(arg2);
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1internalNeedsJointFeedback(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jboolean jresult = 0 ;
btMultiBody *arg1 = (btMultiBody *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
result = (bool)((btMultiBody const *)arg1)->internalNeedsJointFeedback();
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1forwardKinematics(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3, jobject jarg3_) {
btMultiBody *arg1 = (btMultiBody *) 0 ;
btAlignedObjectArray< btQuaternion > *arg2 = 0 ;
btAlignedObjectArray< btVector3 > *arg3 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg3_;
arg1 = *(btMultiBody **)&jarg1;
arg2 = *(btAlignedObjectArray< btQuaternion > **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btAlignedObjectArray< btQuaternion > & reference is null");
return ;
}
arg3 = *(btAlignedObjectArray< btVector3 > **)&jarg3;
if (!arg3) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btAlignedObjectArray< btVector3 > & reference is null");
return ;
}
(arg1)->forwardKinematics(*arg2,*arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1compTreeLinkVelocities(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_) {
btMultiBody *arg1 = (btMultiBody *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
btVector3 *arg3 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
(void)jarg3_;
arg1 = *(btMultiBody **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
arg3 = *(btVector3 **)&jarg3;
((btMultiBody const *)arg1)->compTreeLinkVelocities(arg2,arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1updateCollisionObjectWorldTransforms(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3, jobject jarg3_) {
btMultiBody *arg1 = (btMultiBody *) 0 ;
btAlignedObjectArray< btQuaternion > *arg2 = 0 ;
btAlignedObjectArray< btVector3 > *arg3 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg3_;
arg1 = *(btMultiBody **)&jarg1;
arg2 = *(btAlignedObjectArray< btQuaternion > **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btAlignedObjectArray< btQuaternion > & reference is null");
return ;
}
arg3 = *(btAlignedObjectArray< btVector3 > **)&jarg3;
if (!arg3) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btAlignedObjectArray< btVector3 > & reference is null");
return ;
}
(arg1)->updateCollisionObjectWorldTransforms(*arg2,*arg3);
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1calculateSerializeBufferSize(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btMultiBody *arg1 = (btMultiBody *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
result = (int)((btMultiBody const *)arg1)->calculateSerializeBufferSize();
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jstring JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1serialize(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3, jobject jarg3_) {
jstring jresult = 0 ;
btMultiBody *arg1 = (btMultiBody *) 0 ;
void *arg2 = (void *) 0 ;
btSerializer *arg3 = (btSerializer *) 0 ;
char *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg3_;
arg1 = *(btMultiBody **)&jarg1;
arg2 = (void *)jarg2;
arg3 = *(btSerializer **)&jarg3;
result = (char *)((btMultiBody const *)arg1)->serialize(arg2,arg3);
if (result) jresult = jenv->NewStringUTF((const char *)result);
return jresult;
}
SWIGEXPORT jstring JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1getBaseName(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jstring jresult = 0 ;
btMultiBody *arg1 = (btMultiBody *) 0 ;
char *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
result = (char *)((btMultiBody const *)arg1)->getBaseName();
if (result) jresult = jenv->NewStringUTF((const char *)result);
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1setBaseName(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
btMultiBody *arg1 = (btMultiBody *) 0 ;
char *arg2 = (char *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
arg2 = 0;
if (jarg2) {
arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
if (!arg2) return ;
}
(arg1)->setBaseName((char const *)arg2);
if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1getUserPointer(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btMultiBody *arg1 = (btMultiBody *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
result = (void *)((btMultiBody const *)arg1)->getUserPointer();
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1getUserIndex(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btMultiBody *arg1 = (btMultiBody *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
result = (int)((btMultiBody const *)arg1)->getUserIndex();
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1getUserIndex2(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btMultiBody *arg1 = (btMultiBody *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
result = (int)((btMultiBody const *)arg1)->getUserIndex2();
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1setUserPointer(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btMultiBody *arg1 = (btMultiBody *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->setUserPointer(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1setUserIndex(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btMultiBody *arg1 = (btMultiBody *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
arg2 = (int)jarg2;
(arg1)->setUserIndex(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBody_1setUserIndex2(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btMultiBody *arg1 = (btMultiBody *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
arg2 = (int)jarg2;
(arg1)->setUserIndex2(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyLinkDoubleData_1zeroRotParentToThis_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btMultiBodyLinkDoubleData *arg1 = (btMultiBodyLinkDoubleData *) 0 ;
btQuaternionDoubleData *arg2 = (btQuaternionDoubleData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btMultiBodyLinkDoubleData **)&jarg1;
arg2 = *(btQuaternionDoubleData **)&jarg2;
if (arg1) (arg1)->m_zeroRotParentToThis = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyLinkDoubleData_1zeroRotParentToThis_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btMultiBodyLinkDoubleData *arg1 = (btMultiBodyLinkDoubleData *) 0 ;
btQuaternionDoubleData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyLinkDoubleData **)&jarg1;
result = (btQuaternionDoubleData *)& ((arg1)->m_zeroRotParentToThis);
*(btQuaternionDoubleData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyLinkDoubleData_1parentComToThisComOffset_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btMultiBodyLinkDoubleData *arg1 = (btMultiBodyLinkDoubleData *) 0 ;
btVector3DoubleData *arg2 = (btVector3DoubleData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btMultiBodyLinkDoubleData **)&jarg1;
arg2 = *(btVector3DoubleData **)&jarg2;
if (arg1) (arg1)->m_parentComToThisComOffset = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyLinkDoubleData_1parentComToThisComOffset_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btMultiBodyLinkDoubleData *arg1 = (btMultiBodyLinkDoubleData *) 0 ;
btVector3DoubleData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyLinkDoubleData **)&jarg1;
result = (btVector3DoubleData *)& ((arg1)->m_parentComToThisComOffset);
*(btVector3DoubleData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyLinkDoubleData_1thisPivotToThisComOffset_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btMultiBodyLinkDoubleData *arg1 = (btMultiBodyLinkDoubleData *) 0 ;
btVector3DoubleData *arg2 = (btVector3DoubleData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btMultiBodyLinkDoubleData **)&jarg1;
arg2 = *(btVector3DoubleData **)&jarg2;
if (arg1) (arg1)->m_thisPivotToThisComOffset = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyLinkDoubleData_1thisPivotToThisComOffset_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btMultiBodyLinkDoubleData *arg1 = (btMultiBodyLinkDoubleData *) 0 ;
btVector3DoubleData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyLinkDoubleData **)&jarg1;
result = (btVector3DoubleData *)& ((arg1)->m_thisPivotToThisComOffset);
*(btVector3DoubleData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyLinkDoubleData_1jointAxisTop_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btMultiBodyLinkDoubleData *arg1 = (btMultiBodyLinkDoubleData *) 0 ;
btVector3DoubleData *arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btMultiBodyLinkDoubleData **)&jarg1;
arg2 = *(btVector3DoubleData **)&jarg2;
{
size_t ii;
btVector3DoubleData *b = (btVector3DoubleData *) arg1->m_jointAxisTop;
for (ii = 0; ii < (size_t)6; ii++) b[ii] = *((btVector3DoubleData *) arg2 + ii);
}
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyLinkDoubleData_1jointAxisTop_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btMultiBodyLinkDoubleData *arg1 = (btMultiBodyLinkDoubleData *) 0 ;
btVector3DoubleData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyLinkDoubleData **)&jarg1;
result = (btVector3DoubleData *)(btVector3DoubleData *) ((arg1)->m_jointAxisTop);
*(btVector3DoubleData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyLinkDoubleData_1jointAxisBottom_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btMultiBodyLinkDoubleData *arg1 = (btMultiBodyLinkDoubleData *) 0 ;
btVector3DoubleData *arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btMultiBodyLinkDoubleData **)&jarg1;
arg2 = *(btVector3DoubleData **)&jarg2;
{
size_t ii;
btVector3DoubleData *b = (btVector3DoubleData *) arg1->m_jointAxisBottom;
for (ii = 0; ii < (size_t)6; ii++) b[ii] = *((btVector3DoubleData *) arg2 + ii);
}
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyLinkDoubleData_1jointAxisBottom_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btMultiBodyLinkDoubleData *arg1 = (btMultiBodyLinkDoubleData *) 0 ;
btVector3DoubleData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyLinkDoubleData **)&jarg1;
result = (btVector3DoubleData *)(btVector3DoubleData *) ((arg1)->m_jointAxisBottom);
*(btVector3DoubleData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyLinkDoubleData_1linkInertia_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btMultiBodyLinkDoubleData *arg1 = (btMultiBodyLinkDoubleData *) 0 ;
btVector3DoubleData *arg2 = (btVector3DoubleData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btMultiBodyLinkDoubleData **)&jarg1;
arg2 = *(btVector3DoubleData **)&jarg2;
if (arg1) (arg1)->m_linkInertia = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyLinkDoubleData_1linkInertia_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btMultiBodyLinkDoubleData *arg1 = (btMultiBodyLinkDoubleData *) 0 ;
btVector3DoubleData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyLinkDoubleData **)&jarg1;
result = (btVector3DoubleData *)& ((arg1)->m_linkInertia);
*(btVector3DoubleData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyLinkDoubleData_1linkMass_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2) {
btMultiBodyLinkDoubleData *arg1 = (btMultiBodyLinkDoubleData *) 0 ;
double arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyLinkDoubleData **)&jarg1;
arg2 = (double)jarg2;
if (arg1) (arg1)->m_linkMass = arg2;
}
SWIGEXPORT jdouble JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyLinkDoubleData_1linkMass_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jdouble jresult = 0 ;
btMultiBodyLinkDoubleData *arg1 = (btMultiBodyLinkDoubleData *) 0 ;
double result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyLinkDoubleData **)&jarg1;
result = (double) ((arg1)->m_linkMass);
jresult = (jdouble)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyLinkDoubleData_1parentIndex_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btMultiBodyLinkDoubleData *arg1 = (btMultiBodyLinkDoubleData *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyLinkDoubleData **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_parentIndex = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyLinkDoubleData_1parentIndex_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btMultiBodyLinkDoubleData *arg1 = (btMultiBodyLinkDoubleData *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyLinkDoubleData **)&jarg1;
result = (int) ((arg1)->m_parentIndex);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyLinkDoubleData_1jointType_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btMultiBodyLinkDoubleData *arg1 = (btMultiBodyLinkDoubleData *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyLinkDoubleData **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_jointType = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyLinkDoubleData_1jointType_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btMultiBodyLinkDoubleData *arg1 = (btMultiBodyLinkDoubleData *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyLinkDoubleData **)&jarg1;
result = (int) ((arg1)->m_jointType);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyLinkDoubleData_1dofCount_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btMultiBodyLinkDoubleData *arg1 = (btMultiBodyLinkDoubleData *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyLinkDoubleData **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_dofCount = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyLinkDoubleData_1dofCount_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btMultiBodyLinkDoubleData *arg1 = (btMultiBodyLinkDoubleData *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyLinkDoubleData **)&jarg1;
result = (int) ((arg1)->m_dofCount);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyLinkDoubleData_1posVarCount_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btMultiBodyLinkDoubleData *arg1 = (btMultiBodyLinkDoubleData *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyLinkDoubleData **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_posVarCount = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyLinkDoubleData_1posVarCount_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btMultiBodyLinkDoubleData *arg1 = (btMultiBodyLinkDoubleData *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyLinkDoubleData **)&jarg1;
result = (int) ((arg1)->m_posVarCount);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyLinkDoubleData_1jointPos_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdoubleArray jarg2) {
btMultiBodyLinkDoubleData *arg1 = (btMultiBodyLinkDoubleData *) 0 ;
double *arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyLinkDoubleData **)&jarg1;
if (jarg2 && jenv->GetArrayLength(jarg2) != 7) {
SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, "incorrect array size");
return ;
}
arg2 = (double *)jenv->GetPrimitiveArrayCritical(jarg2, 0);
{
size_t ii;
double *b = (double *) arg1->m_jointPos;
for (ii = 0; ii < (size_t)7; ii++) b[ii] = *((double *) arg2 + ii);
}
jenv->ReleasePrimitiveArrayCritical(jarg2, (double *)arg2, 0);
}
SWIGEXPORT jdoubleArray JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyLinkDoubleData_1jointPos_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jdoubleArray jresult = 0 ;
btMultiBodyLinkDoubleData *arg1 = (btMultiBodyLinkDoubleData *) 0 ;
double *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyLinkDoubleData **)&jarg1;
result = (double *)(double *) ((arg1)->m_jointPos);
/*jresult = SWIG_JavaArrayOut##Double(jenv, (double *)result, 7);*/
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyLinkDoubleData_1jointVel_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdoubleArray jarg2) {
btMultiBodyLinkDoubleData *arg1 = (btMultiBodyLinkDoubleData *) 0 ;
double *arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyLinkDoubleData **)&jarg1;
if (jarg2 && jenv->GetArrayLength(jarg2) != 6) {
SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, "incorrect array size");
return ;
}
arg2 = (double *)jenv->GetPrimitiveArrayCritical(jarg2, 0);
{
size_t ii;
double *b = (double *) arg1->m_jointVel;
for (ii = 0; ii < (size_t)6; ii++) b[ii] = *((double *) arg2 + ii);
}
jenv->ReleasePrimitiveArrayCritical(jarg2, (double *)arg2, 0);
}
SWIGEXPORT jdoubleArray JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyLinkDoubleData_1jointVel_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jdoubleArray jresult = 0 ;
btMultiBodyLinkDoubleData *arg1 = (btMultiBodyLinkDoubleData *) 0 ;
double *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyLinkDoubleData **)&jarg1;
result = (double *)(double *) ((arg1)->m_jointVel);
/*jresult = SWIG_JavaArrayOut##Double(jenv, (double *)result, 6);*/
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyLinkDoubleData_1jointTorque_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdoubleArray jarg2) {
btMultiBodyLinkDoubleData *arg1 = (btMultiBodyLinkDoubleData *) 0 ;
double *arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyLinkDoubleData **)&jarg1;
if (jarg2 && jenv->GetArrayLength(jarg2) != 6) {
SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, "incorrect array size");
return ;
}
arg2 = (double *)jenv->GetPrimitiveArrayCritical(jarg2, 0);
{
size_t ii;
double *b = (double *) arg1->m_jointTorque;
for (ii = 0; ii < (size_t)6; ii++) b[ii] = *((double *) arg2 + ii);
}
jenv->ReleasePrimitiveArrayCritical(jarg2, (double *)arg2, 0);
}
SWIGEXPORT jdoubleArray JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyLinkDoubleData_1jointTorque_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jdoubleArray jresult = 0 ;
btMultiBodyLinkDoubleData *arg1 = (btMultiBodyLinkDoubleData *) 0 ;
double *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyLinkDoubleData **)&jarg1;
result = (double *)(double *) ((arg1)->m_jointTorque);
/*jresult = SWIG_JavaArrayOut##Double(jenv, (double *)result, 6);*/
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyLinkDoubleData_1jointDamping_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2) {
btMultiBodyLinkDoubleData *arg1 = (btMultiBodyLinkDoubleData *) 0 ;
double arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyLinkDoubleData **)&jarg1;
arg2 = (double)jarg2;
if (arg1) (arg1)->m_jointDamping = arg2;
}
SWIGEXPORT jdouble JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyLinkDoubleData_1jointDamping_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jdouble jresult = 0 ;
btMultiBodyLinkDoubleData *arg1 = (btMultiBodyLinkDoubleData *) 0 ;
double result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyLinkDoubleData **)&jarg1;
result = (double) ((arg1)->m_jointDamping);
jresult = (jdouble)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyLinkDoubleData_1jointFriction_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2) {
btMultiBodyLinkDoubleData *arg1 = (btMultiBodyLinkDoubleData *) 0 ;
double arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyLinkDoubleData **)&jarg1;
arg2 = (double)jarg2;
if (arg1) (arg1)->m_jointFriction = arg2;
}
SWIGEXPORT jdouble JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyLinkDoubleData_1jointFriction_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jdouble jresult = 0 ;
btMultiBodyLinkDoubleData *arg1 = (btMultiBodyLinkDoubleData *) 0 ;
double result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyLinkDoubleData **)&jarg1;
result = (double) ((arg1)->m_jointFriction);
jresult = (jdouble)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyLinkDoubleData_1jointLowerLimit_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2) {
btMultiBodyLinkDoubleData *arg1 = (btMultiBodyLinkDoubleData *) 0 ;
double arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyLinkDoubleData **)&jarg1;
arg2 = (double)jarg2;
if (arg1) (arg1)->m_jointLowerLimit = arg2;
}
SWIGEXPORT jdouble JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyLinkDoubleData_1jointLowerLimit_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jdouble jresult = 0 ;
btMultiBodyLinkDoubleData *arg1 = (btMultiBodyLinkDoubleData *) 0 ;
double result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyLinkDoubleData **)&jarg1;
result = (double) ((arg1)->m_jointLowerLimit);
jresult = (jdouble)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyLinkDoubleData_1jointUpperLimit_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2) {
btMultiBodyLinkDoubleData *arg1 = (btMultiBodyLinkDoubleData *) 0 ;
double arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyLinkDoubleData **)&jarg1;
arg2 = (double)jarg2;
if (arg1) (arg1)->m_jointUpperLimit = arg2;
}
SWIGEXPORT jdouble JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyLinkDoubleData_1jointUpperLimit_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jdouble jresult = 0 ;
btMultiBodyLinkDoubleData *arg1 = (btMultiBodyLinkDoubleData *) 0 ;
double result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyLinkDoubleData **)&jarg1;
result = (double) ((arg1)->m_jointUpperLimit);
jresult = (jdouble)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyLinkDoubleData_1jointMaxForce_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2) {
btMultiBodyLinkDoubleData *arg1 = (btMultiBodyLinkDoubleData *) 0 ;
double arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyLinkDoubleData **)&jarg1;
arg2 = (double)jarg2;
if (arg1) (arg1)->m_jointMaxForce = arg2;
}
SWIGEXPORT jdouble JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyLinkDoubleData_1jointMaxForce_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jdouble jresult = 0 ;
btMultiBodyLinkDoubleData *arg1 = (btMultiBodyLinkDoubleData *) 0 ;
double result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyLinkDoubleData **)&jarg1;
result = (double) ((arg1)->m_jointMaxForce);
jresult = (jdouble)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyLinkDoubleData_1jointMaxVelocity_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2) {
btMultiBodyLinkDoubleData *arg1 = (btMultiBodyLinkDoubleData *) 0 ;
double arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyLinkDoubleData **)&jarg1;
arg2 = (double)jarg2;
if (arg1) (arg1)->m_jointMaxVelocity = arg2;
}
SWIGEXPORT jdouble JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyLinkDoubleData_1jointMaxVelocity_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jdouble jresult = 0 ;
btMultiBodyLinkDoubleData *arg1 = (btMultiBodyLinkDoubleData *) 0 ;
double result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyLinkDoubleData **)&jarg1;
result = (double) ((arg1)->m_jointMaxVelocity);
jresult = (jdouble)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyLinkDoubleData_1linkName_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
btMultiBodyLinkDoubleData *arg1 = (btMultiBodyLinkDoubleData *) 0 ;
char *arg2 = (char *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyLinkDoubleData **)&jarg1;
arg2 = 0;
if (jarg2) {
arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
if (!arg2) return ;
}
{
delete [] arg1->m_linkName;
if (arg2) {
arg1->m_linkName = (char *) (new char[strlen((const char *)arg2)+1]);
strcpy((char *)arg1->m_linkName, (const char *)arg2);
} else {
arg1->m_linkName = 0;
}
}
if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
}
SWIGEXPORT jstring JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyLinkDoubleData_1linkName_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jstring jresult = 0 ;
btMultiBodyLinkDoubleData *arg1 = (btMultiBodyLinkDoubleData *) 0 ;
char *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyLinkDoubleData **)&jarg1;
result = (char *) ((arg1)->m_linkName);
if (result) jresult = jenv->NewStringUTF((const char *)result);
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyLinkDoubleData_1jointName_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
btMultiBodyLinkDoubleData *arg1 = (btMultiBodyLinkDoubleData *) 0 ;
char *arg2 = (char *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyLinkDoubleData **)&jarg1;
arg2 = 0;
if (jarg2) {
arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
if (!arg2) return ;
}
{
delete [] arg1->m_jointName;
if (arg2) {
arg1->m_jointName = (char *) (new char[strlen((const char *)arg2)+1]);
strcpy((char *)arg1->m_jointName, (const char *)arg2);
} else {
arg1->m_jointName = 0;
}
}
if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
}
SWIGEXPORT jstring JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyLinkDoubleData_1jointName_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jstring jresult = 0 ;
btMultiBodyLinkDoubleData *arg1 = (btMultiBodyLinkDoubleData *) 0 ;
char *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyLinkDoubleData **)&jarg1;
result = (char *) ((arg1)->m_jointName);
if (result) jresult = jenv->NewStringUTF((const char *)result);
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyLinkDoubleData_1linkCollider_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btMultiBodyLinkDoubleData *arg1 = (btMultiBodyLinkDoubleData *) 0 ;
btCollisionObjectDoubleData *arg2 = (btCollisionObjectDoubleData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btMultiBodyLinkDoubleData **)&jarg1;
arg2 = *(btCollisionObjectDoubleData **)&jarg2;
if (arg1) (arg1)->m_linkCollider = arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyLinkDoubleData_1linkCollider_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btMultiBodyLinkDoubleData *arg1 = (btMultiBodyLinkDoubleData *) 0 ;
btCollisionObjectDoubleData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyLinkDoubleData **)&jarg1;
result = (btCollisionObjectDoubleData *) ((arg1)->m_linkCollider);
*(btCollisionObjectDoubleData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyLinkDoubleData_1paddingPtr_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
btMultiBodyLinkDoubleData *arg1 = (btMultiBodyLinkDoubleData *) 0 ;
char *arg2 = (char *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyLinkDoubleData **)&jarg1;
arg2 = 0;
if (jarg2) {
arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
if (!arg2) return ;
}
{
delete [] arg1->m_paddingPtr;
if (arg2) {
arg1->m_paddingPtr = (char *) (new char[strlen((const char *)arg2)+1]);
strcpy((char *)arg1->m_paddingPtr, (const char *)arg2);
} else {
arg1->m_paddingPtr = 0;
}
}
if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
}
SWIGEXPORT jstring JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyLinkDoubleData_1paddingPtr_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jstring jresult = 0 ;
btMultiBodyLinkDoubleData *arg1 = (btMultiBodyLinkDoubleData *) 0 ;
char *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyLinkDoubleData **)&jarg1;
result = (char *) ((arg1)->m_paddingPtr);
if (result) jresult = jenv->NewStringUTF((const char *)result);
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btMultiBodyLinkDoubleData(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btMultiBodyLinkDoubleData *result = 0 ;
(void)jenv;
(void)jcls;
result = (btMultiBodyLinkDoubleData *)new btMultiBodyLinkDoubleData();
*(btMultiBodyLinkDoubleData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btMultiBodyLinkDoubleData(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btMultiBodyLinkDoubleData *arg1 = (btMultiBodyLinkDoubleData *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btMultiBodyLinkDoubleData **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyLinkFloatData_1zeroRotParentToThis_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btMultiBodyLinkFloatData *arg1 = (btMultiBodyLinkFloatData *) 0 ;
btQuaternionFloatData *arg2 = (btQuaternionFloatData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btMultiBodyLinkFloatData **)&jarg1;
arg2 = *(btQuaternionFloatData **)&jarg2;
if (arg1) (arg1)->m_zeroRotParentToThis = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyLinkFloatData_1zeroRotParentToThis_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btMultiBodyLinkFloatData *arg1 = (btMultiBodyLinkFloatData *) 0 ;
btQuaternionFloatData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyLinkFloatData **)&jarg1;
result = (btQuaternionFloatData *)& ((arg1)->m_zeroRotParentToThis);
*(btQuaternionFloatData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyLinkFloatData_1parentComToThisComOffset_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btMultiBodyLinkFloatData *arg1 = (btMultiBodyLinkFloatData *) 0 ;
btVector3FloatData *arg2 = (btVector3FloatData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btMultiBodyLinkFloatData **)&jarg1;
arg2 = *(btVector3FloatData **)&jarg2;
if (arg1) (arg1)->m_parentComToThisComOffset = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyLinkFloatData_1parentComToThisComOffset_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btMultiBodyLinkFloatData *arg1 = (btMultiBodyLinkFloatData *) 0 ;
btVector3FloatData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyLinkFloatData **)&jarg1;
result = (btVector3FloatData *)& ((arg1)->m_parentComToThisComOffset);
*(btVector3FloatData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyLinkFloatData_1thisPivotToThisComOffset_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btMultiBodyLinkFloatData *arg1 = (btMultiBodyLinkFloatData *) 0 ;
btVector3FloatData *arg2 = (btVector3FloatData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btMultiBodyLinkFloatData **)&jarg1;
arg2 = *(btVector3FloatData **)&jarg2;
if (arg1) (arg1)->m_thisPivotToThisComOffset = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyLinkFloatData_1thisPivotToThisComOffset_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btMultiBodyLinkFloatData *arg1 = (btMultiBodyLinkFloatData *) 0 ;
btVector3FloatData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyLinkFloatData **)&jarg1;
result = (btVector3FloatData *)& ((arg1)->m_thisPivotToThisComOffset);
*(btVector3FloatData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyLinkFloatData_1jointAxisTop_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btMultiBodyLinkFloatData *arg1 = (btMultiBodyLinkFloatData *) 0 ;
btVector3FloatData *arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btMultiBodyLinkFloatData **)&jarg1;
arg2 = *(btVector3FloatData **)&jarg2;
{
size_t ii;
btVector3FloatData *b = (btVector3FloatData *) arg1->m_jointAxisTop;
for (ii = 0; ii < (size_t)6; ii++) b[ii] = *((btVector3FloatData *) arg2 + ii);
}
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyLinkFloatData_1jointAxisTop_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btMultiBodyLinkFloatData *arg1 = (btMultiBodyLinkFloatData *) 0 ;
btVector3FloatData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyLinkFloatData **)&jarg1;
result = (btVector3FloatData *)(btVector3FloatData *) ((arg1)->m_jointAxisTop);
*(btVector3FloatData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyLinkFloatData_1jointAxisBottom_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btMultiBodyLinkFloatData *arg1 = (btMultiBodyLinkFloatData *) 0 ;
btVector3FloatData *arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btMultiBodyLinkFloatData **)&jarg1;
arg2 = *(btVector3FloatData **)&jarg2;
{
size_t ii;
btVector3FloatData *b = (btVector3FloatData *) arg1->m_jointAxisBottom;
for (ii = 0; ii < (size_t)6; ii++) b[ii] = *((btVector3FloatData *) arg2 + ii);
}
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyLinkFloatData_1jointAxisBottom_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btMultiBodyLinkFloatData *arg1 = (btMultiBodyLinkFloatData *) 0 ;
btVector3FloatData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyLinkFloatData **)&jarg1;
result = (btVector3FloatData *)(btVector3FloatData *) ((arg1)->m_jointAxisBottom);
*(btVector3FloatData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyLinkFloatData_1linkInertia_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btMultiBodyLinkFloatData *arg1 = (btMultiBodyLinkFloatData *) 0 ;
btVector3FloatData *arg2 = (btVector3FloatData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btMultiBodyLinkFloatData **)&jarg1;
arg2 = *(btVector3FloatData **)&jarg2;
if (arg1) (arg1)->m_linkInertia = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyLinkFloatData_1linkInertia_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btMultiBodyLinkFloatData *arg1 = (btMultiBodyLinkFloatData *) 0 ;
btVector3FloatData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyLinkFloatData **)&jarg1;
result = (btVector3FloatData *)& ((arg1)->m_linkInertia);
*(btVector3FloatData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyLinkFloatData_1dofCount_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btMultiBodyLinkFloatData *arg1 = (btMultiBodyLinkFloatData *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyLinkFloatData **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_dofCount = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyLinkFloatData_1dofCount_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btMultiBodyLinkFloatData *arg1 = (btMultiBodyLinkFloatData *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyLinkFloatData **)&jarg1;
result = (int) ((arg1)->m_dofCount);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyLinkFloatData_1linkMass_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btMultiBodyLinkFloatData *arg1 = (btMultiBodyLinkFloatData *) 0 ;
float arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyLinkFloatData **)&jarg1;
arg2 = (float)jarg2;
if (arg1) (arg1)->m_linkMass = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyLinkFloatData_1linkMass_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btMultiBodyLinkFloatData *arg1 = (btMultiBodyLinkFloatData *) 0 ;
float result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyLinkFloatData **)&jarg1;
result = (float) ((arg1)->m_linkMass);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyLinkFloatData_1parentIndex_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btMultiBodyLinkFloatData *arg1 = (btMultiBodyLinkFloatData *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyLinkFloatData **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_parentIndex = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyLinkFloatData_1parentIndex_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btMultiBodyLinkFloatData *arg1 = (btMultiBodyLinkFloatData *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyLinkFloatData **)&jarg1;
result = (int) ((arg1)->m_parentIndex);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyLinkFloatData_1jointType_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btMultiBodyLinkFloatData *arg1 = (btMultiBodyLinkFloatData *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyLinkFloatData **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_jointType = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyLinkFloatData_1jointType_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btMultiBodyLinkFloatData *arg1 = (btMultiBodyLinkFloatData *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyLinkFloatData **)&jarg1;
result = (int) ((arg1)->m_jointType);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyLinkFloatData_1jointPos_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloatArray jarg2) {
btMultiBodyLinkFloatData *arg1 = (btMultiBodyLinkFloatData *) 0 ;
float *arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyLinkFloatData **)&jarg1;
if (jarg2 && jenv->GetArrayLength(jarg2) != 7) {
SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, "incorrect array size");
return ;
}
arg2 = (float *)jenv->GetPrimitiveArrayCritical(jarg2, 0);
{
size_t ii;
float *b = (float *) arg1->m_jointPos;
for (ii = 0; ii < (size_t)7; ii++) b[ii] = *((float *) arg2 + ii);
}
jenv->ReleasePrimitiveArrayCritical(jarg2, (float *)arg2, 0);
}
SWIGEXPORT jfloatArray JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyLinkFloatData_1jointPos_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloatArray jresult = 0 ;
btMultiBodyLinkFloatData *arg1 = (btMultiBodyLinkFloatData *) 0 ;
float *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyLinkFloatData **)&jarg1;
result = (float *)(float *) ((arg1)->m_jointPos);
/*jresult = SWIG_JavaArrayOut##Float(jenv, (float *)result, 7);*/
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyLinkFloatData_1jointVel_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloatArray jarg2) {
btMultiBodyLinkFloatData *arg1 = (btMultiBodyLinkFloatData *) 0 ;
float *arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyLinkFloatData **)&jarg1;
if (jarg2 && jenv->GetArrayLength(jarg2) != 6) {
SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, "incorrect array size");
return ;
}
arg2 = (float *)jenv->GetPrimitiveArrayCritical(jarg2, 0);
{
size_t ii;
float *b = (float *) arg1->m_jointVel;
for (ii = 0; ii < (size_t)6; ii++) b[ii] = *((float *) arg2 + ii);
}
jenv->ReleasePrimitiveArrayCritical(jarg2, (float *)arg2, 0);
}
SWIGEXPORT jfloatArray JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyLinkFloatData_1jointVel_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloatArray jresult = 0 ;
btMultiBodyLinkFloatData *arg1 = (btMultiBodyLinkFloatData *) 0 ;
float *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyLinkFloatData **)&jarg1;
result = (float *)(float *) ((arg1)->m_jointVel);
/*jresult = SWIG_JavaArrayOut##Float(jenv, (float *)result, 6);*/
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyLinkFloatData_1jointTorque_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloatArray jarg2) {
btMultiBodyLinkFloatData *arg1 = (btMultiBodyLinkFloatData *) 0 ;
float *arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyLinkFloatData **)&jarg1;
if (jarg2 && jenv->GetArrayLength(jarg2) != 6) {
SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, "incorrect array size");
return ;
}
arg2 = (float *)jenv->GetPrimitiveArrayCritical(jarg2, 0);
{
size_t ii;
float *b = (float *) arg1->m_jointTorque;
for (ii = 0; ii < (size_t)6; ii++) b[ii] = *((float *) arg2 + ii);
}
jenv->ReleasePrimitiveArrayCritical(jarg2, (float *)arg2, 0);
}
SWIGEXPORT jfloatArray JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyLinkFloatData_1jointTorque_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloatArray jresult = 0 ;
btMultiBodyLinkFloatData *arg1 = (btMultiBodyLinkFloatData *) 0 ;
float *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyLinkFloatData **)&jarg1;
result = (float *)(float *) ((arg1)->m_jointTorque);
/*jresult = SWIG_JavaArrayOut##Float(jenv, (float *)result, 6);*/
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyLinkFloatData_1posVarCount_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btMultiBodyLinkFloatData *arg1 = (btMultiBodyLinkFloatData *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyLinkFloatData **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_posVarCount = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyLinkFloatData_1posVarCount_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btMultiBodyLinkFloatData *arg1 = (btMultiBodyLinkFloatData *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyLinkFloatData **)&jarg1;
result = (int) ((arg1)->m_posVarCount);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyLinkFloatData_1jointDamping_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btMultiBodyLinkFloatData *arg1 = (btMultiBodyLinkFloatData *) 0 ;
float arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyLinkFloatData **)&jarg1;
arg2 = (float)jarg2;
if (arg1) (arg1)->m_jointDamping = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyLinkFloatData_1jointDamping_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btMultiBodyLinkFloatData *arg1 = (btMultiBodyLinkFloatData *) 0 ;
float result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyLinkFloatData **)&jarg1;
result = (float) ((arg1)->m_jointDamping);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyLinkFloatData_1jointFriction_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btMultiBodyLinkFloatData *arg1 = (btMultiBodyLinkFloatData *) 0 ;
float arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyLinkFloatData **)&jarg1;
arg2 = (float)jarg2;
if (arg1) (arg1)->m_jointFriction = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyLinkFloatData_1jointFriction_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btMultiBodyLinkFloatData *arg1 = (btMultiBodyLinkFloatData *) 0 ;
float result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyLinkFloatData **)&jarg1;
result = (float) ((arg1)->m_jointFriction);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyLinkFloatData_1jointLowerLimit_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btMultiBodyLinkFloatData *arg1 = (btMultiBodyLinkFloatData *) 0 ;
float arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyLinkFloatData **)&jarg1;
arg2 = (float)jarg2;
if (arg1) (arg1)->m_jointLowerLimit = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyLinkFloatData_1jointLowerLimit_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btMultiBodyLinkFloatData *arg1 = (btMultiBodyLinkFloatData *) 0 ;
float result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyLinkFloatData **)&jarg1;
result = (float) ((arg1)->m_jointLowerLimit);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyLinkFloatData_1jointUpperLimit_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btMultiBodyLinkFloatData *arg1 = (btMultiBodyLinkFloatData *) 0 ;
float arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyLinkFloatData **)&jarg1;
arg2 = (float)jarg2;
if (arg1) (arg1)->m_jointUpperLimit = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyLinkFloatData_1jointUpperLimit_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btMultiBodyLinkFloatData *arg1 = (btMultiBodyLinkFloatData *) 0 ;
float result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyLinkFloatData **)&jarg1;
result = (float) ((arg1)->m_jointUpperLimit);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyLinkFloatData_1jointMaxForce_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btMultiBodyLinkFloatData *arg1 = (btMultiBodyLinkFloatData *) 0 ;
float arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyLinkFloatData **)&jarg1;
arg2 = (float)jarg2;
if (arg1) (arg1)->m_jointMaxForce = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyLinkFloatData_1jointMaxForce_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btMultiBodyLinkFloatData *arg1 = (btMultiBodyLinkFloatData *) 0 ;
float result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyLinkFloatData **)&jarg1;
result = (float) ((arg1)->m_jointMaxForce);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyLinkFloatData_1jointMaxVelocity_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btMultiBodyLinkFloatData *arg1 = (btMultiBodyLinkFloatData *) 0 ;
float arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyLinkFloatData **)&jarg1;
arg2 = (float)jarg2;
if (arg1) (arg1)->m_jointMaxVelocity = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyLinkFloatData_1jointMaxVelocity_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btMultiBodyLinkFloatData *arg1 = (btMultiBodyLinkFloatData *) 0 ;
float result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyLinkFloatData **)&jarg1;
result = (float) ((arg1)->m_jointMaxVelocity);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyLinkFloatData_1linkName_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
btMultiBodyLinkFloatData *arg1 = (btMultiBodyLinkFloatData *) 0 ;
char *arg2 = (char *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyLinkFloatData **)&jarg1;
arg2 = 0;
if (jarg2) {
arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
if (!arg2) return ;
}
{
delete [] arg1->m_linkName;
if (arg2) {
arg1->m_linkName = (char *) (new char[strlen((const char *)arg2)+1]);
strcpy((char *)arg1->m_linkName, (const char *)arg2);
} else {
arg1->m_linkName = 0;
}
}
if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
}
SWIGEXPORT jstring JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyLinkFloatData_1linkName_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jstring jresult = 0 ;
btMultiBodyLinkFloatData *arg1 = (btMultiBodyLinkFloatData *) 0 ;
char *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyLinkFloatData **)&jarg1;
result = (char *) ((arg1)->m_linkName);
if (result) jresult = jenv->NewStringUTF((const char *)result);
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyLinkFloatData_1jointName_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
btMultiBodyLinkFloatData *arg1 = (btMultiBodyLinkFloatData *) 0 ;
char *arg2 = (char *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyLinkFloatData **)&jarg1;
arg2 = 0;
if (jarg2) {
arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
if (!arg2) return ;
}
{
delete [] arg1->m_jointName;
if (arg2) {
arg1->m_jointName = (char *) (new char[strlen((const char *)arg2)+1]);
strcpy((char *)arg1->m_jointName, (const char *)arg2);
} else {
arg1->m_jointName = 0;
}
}
if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
}
SWIGEXPORT jstring JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyLinkFloatData_1jointName_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jstring jresult = 0 ;
btMultiBodyLinkFloatData *arg1 = (btMultiBodyLinkFloatData *) 0 ;
char *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyLinkFloatData **)&jarg1;
result = (char *) ((arg1)->m_jointName);
if (result) jresult = jenv->NewStringUTF((const char *)result);
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyLinkFloatData_1linkCollider_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btMultiBodyLinkFloatData *arg1 = (btMultiBodyLinkFloatData *) 0 ;
btCollisionObjectFloatData *arg2 = (btCollisionObjectFloatData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btMultiBodyLinkFloatData **)&jarg1;
arg2 = *(btCollisionObjectFloatData **)&jarg2;
if (arg1) (arg1)->m_linkCollider = arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyLinkFloatData_1linkCollider_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btMultiBodyLinkFloatData *arg1 = (btMultiBodyLinkFloatData *) 0 ;
btCollisionObjectFloatData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyLinkFloatData **)&jarg1;
result = (btCollisionObjectFloatData *) ((arg1)->m_linkCollider);
*(btCollisionObjectFloatData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyLinkFloatData_1paddingPtr_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
btMultiBodyLinkFloatData *arg1 = (btMultiBodyLinkFloatData *) 0 ;
char *arg2 = (char *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyLinkFloatData **)&jarg1;
arg2 = 0;
if (jarg2) {
arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
if (!arg2) return ;
}
{
delete [] arg1->m_paddingPtr;
if (arg2) {
arg1->m_paddingPtr = (char *) (new char[strlen((const char *)arg2)+1]);
strcpy((char *)arg1->m_paddingPtr, (const char *)arg2);
} else {
arg1->m_paddingPtr = 0;
}
}
if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
}
SWIGEXPORT jstring JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyLinkFloatData_1paddingPtr_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jstring jresult = 0 ;
btMultiBodyLinkFloatData *arg1 = (btMultiBodyLinkFloatData *) 0 ;
char *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyLinkFloatData **)&jarg1;
result = (char *) ((arg1)->m_paddingPtr);
if (result) jresult = jenv->NewStringUTF((const char *)result);
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btMultiBodyLinkFloatData(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btMultiBodyLinkFloatData *result = 0 ;
(void)jenv;
(void)jcls;
result = (btMultiBodyLinkFloatData *)new btMultiBodyLinkFloatData();
*(btMultiBodyLinkFloatData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btMultiBodyLinkFloatData(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btMultiBodyLinkFloatData *arg1 = (btMultiBodyLinkFloatData *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btMultiBodyLinkFloatData **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyDoubleData_1baseWorldTransform_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btMultiBodyDoubleData *arg1 = (btMultiBodyDoubleData *) 0 ;
btTransformDoubleData *arg2 = (btTransformDoubleData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btMultiBodyDoubleData **)&jarg1;
arg2 = *(btTransformDoubleData **)&jarg2;
if (arg1) (arg1)->m_baseWorldTransform = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyDoubleData_1baseWorldTransform_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btMultiBodyDoubleData *arg1 = (btMultiBodyDoubleData *) 0 ;
btTransformDoubleData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyDoubleData **)&jarg1;
result = (btTransformDoubleData *)& ((arg1)->m_baseWorldTransform);
*(btTransformDoubleData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyDoubleData_1baseInertia_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btMultiBodyDoubleData *arg1 = (btMultiBodyDoubleData *) 0 ;
btVector3DoubleData *arg2 = (btVector3DoubleData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btMultiBodyDoubleData **)&jarg1;
arg2 = *(btVector3DoubleData **)&jarg2;
if (arg1) (arg1)->m_baseInertia = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyDoubleData_1baseInertia_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btMultiBodyDoubleData *arg1 = (btMultiBodyDoubleData *) 0 ;
btVector3DoubleData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyDoubleData **)&jarg1;
result = (btVector3DoubleData *)& ((arg1)->m_baseInertia);
*(btVector3DoubleData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyDoubleData_1baseMass_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2) {
btMultiBodyDoubleData *arg1 = (btMultiBodyDoubleData *) 0 ;
double arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyDoubleData **)&jarg1;
arg2 = (double)jarg2;
if (arg1) (arg1)->m_baseMass = arg2;
}
SWIGEXPORT jdouble JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyDoubleData_1baseMass_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jdouble jresult = 0 ;
btMultiBodyDoubleData *arg1 = (btMultiBodyDoubleData *) 0 ;
double result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyDoubleData **)&jarg1;
result = (double) ((arg1)->m_baseMass);
jresult = (jdouble)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyDoubleData_1baseName_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
btMultiBodyDoubleData *arg1 = (btMultiBodyDoubleData *) 0 ;
char *arg2 = (char *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyDoubleData **)&jarg1;
arg2 = 0;
if (jarg2) {
arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
if (!arg2) return ;
}
{
delete [] arg1->m_baseName;
if (arg2) {
arg1->m_baseName = (char *) (new char[strlen((const char *)arg2)+1]);
strcpy((char *)arg1->m_baseName, (const char *)arg2);
} else {
arg1->m_baseName = 0;
}
}
if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
}
SWIGEXPORT jstring JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyDoubleData_1baseName_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jstring jresult = 0 ;
btMultiBodyDoubleData *arg1 = (btMultiBodyDoubleData *) 0 ;
char *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyDoubleData **)&jarg1;
result = (char *) ((arg1)->m_baseName);
if (result) jresult = jenv->NewStringUTF((const char *)result);
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyDoubleData_1links_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btMultiBodyDoubleData *arg1 = (btMultiBodyDoubleData *) 0 ;
btMultiBodyLinkDoubleData *arg2 = (btMultiBodyLinkDoubleData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btMultiBodyDoubleData **)&jarg1;
arg2 = *(btMultiBodyLinkDoubleData **)&jarg2;
if (arg1) (arg1)->m_links = arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyDoubleData_1links_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btMultiBodyDoubleData *arg1 = (btMultiBodyDoubleData *) 0 ;
btMultiBodyLinkDoubleData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyDoubleData **)&jarg1;
result = (btMultiBodyLinkDoubleData *) ((arg1)->m_links);
*(btMultiBodyLinkDoubleData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyDoubleData_1baseCollider_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btMultiBodyDoubleData *arg1 = (btMultiBodyDoubleData *) 0 ;
btCollisionObjectDoubleData *arg2 = (btCollisionObjectDoubleData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btMultiBodyDoubleData **)&jarg1;
arg2 = *(btCollisionObjectDoubleData **)&jarg2;
if (arg1) (arg1)->m_baseCollider = arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyDoubleData_1baseCollider_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btMultiBodyDoubleData *arg1 = (btMultiBodyDoubleData *) 0 ;
btCollisionObjectDoubleData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyDoubleData **)&jarg1;
result = (btCollisionObjectDoubleData *) ((arg1)->m_baseCollider);
*(btCollisionObjectDoubleData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyDoubleData_1paddingPtr_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
btMultiBodyDoubleData *arg1 = (btMultiBodyDoubleData *) 0 ;
char *arg2 = (char *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyDoubleData **)&jarg1;
arg2 = 0;
if (jarg2) {
arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
if (!arg2) return ;
}
{
delete [] arg1->m_paddingPtr;
if (arg2) {
arg1->m_paddingPtr = (char *) (new char[strlen((const char *)arg2)+1]);
strcpy((char *)arg1->m_paddingPtr, (const char *)arg2);
} else {
arg1->m_paddingPtr = 0;
}
}
if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
}
SWIGEXPORT jstring JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyDoubleData_1paddingPtr_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jstring jresult = 0 ;
btMultiBodyDoubleData *arg1 = (btMultiBodyDoubleData *) 0 ;
char *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyDoubleData **)&jarg1;
result = (char *) ((arg1)->m_paddingPtr);
if (result) jresult = jenv->NewStringUTF((const char *)result);
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyDoubleData_1numLinks_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btMultiBodyDoubleData *arg1 = (btMultiBodyDoubleData *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyDoubleData **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_numLinks = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyDoubleData_1numLinks_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btMultiBodyDoubleData *arg1 = (btMultiBodyDoubleData *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyDoubleData **)&jarg1;
result = (int) ((arg1)->m_numLinks);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyDoubleData_1padding_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
btMultiBodyDoubleData *arg1 = (btMultiBodyDoubleData *) 0 ;
char *arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyDoubleData **)&jarg1;
arg2 = 0;
if (jarg2) {
arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
if (!arg2) return ;
}
{
if(arg2) {
strncpy((char*)arg1->m_padding, (const char *)arg2, 4-1);
arg1->m_padding[4-1] = 0;
} else {
arg1->m_padding[0] = 0;
}
}
if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
}
SWIGEXPORT jstring JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyDoubleData_1padding_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jstring jresult = 0 ;
btMultiBodyDoubleData *arg1 = (btMultiBodyDoubleData *) 0 ;
char *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyDoubleData **)&jarg1;
result = (char *)(char *) ((arg1)->m_padding);
if (result) jresult = jenv->NewStringUTF((const char *)result);
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btMultiBodyDoubleData(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btMultiBodyDoubleData *result = 0 ;
(void)jenv;
(void)jcls;
result = (btMultiBodyDoubleData *)new btMultiBodyDoubleData();
*(btMultiBodyDoubleData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btMultiBodyDoubleData(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btMultiBodyDoubleData *arg1 = (btMultiBodyDoubleData *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btMultiBodyDoubleData **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyFloatData_1baseName_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
btMultiBodyFloatData *arg1 = (btMultiBodyFloatData *) 0 ;
char *arg2 = (char *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyFloatData **)&jarg1;
arg2 = 0;
if (jarg2) {
arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
if (!arg2) return ;
}
{
delete [] arg1->m_baseName;
if (arg2) {
arg1->m_baseName = (char *) (new char[strlen((const char *)arg2)+1]);
strcpy((char *)arg1->m_baseName, (const char *)arg2);
} else {
arg1->m_baseName = 0;
}
}
if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
}
SWIGEXPORT jstring JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyFloatData_1baseName_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jstring jresult = 0 ;
btMultiBodyFloatData *arg1 = (btMultiBodyFloatData *) 0 ;
char *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyFloatData **)&jarg1;
result = (char *) ((arg1)->m_baseName);
if (result) jresult = jenv->NewStringUTF((const char *)result);
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyFloatData_1links_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btMultiBodyFloatData *arg1 = (btMultiBodyFloatData *) 0 ;
btMultiBodyLinkFloatData *arg2 = (btMultiBodyLinkFloatData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btMultiBodyFloatData **)&jarg1;
arg2 = *(btMultiBodyLinkFloatData **)&jarg2;
if (arg1) (arg1)->m_links = arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyFloatData_1links_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btMultiBodyFloatData *arg1 = (btMultiBodyFloatData *) 0 ;
btMultiBodyLinkFloatData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyFloatData **)&jarg1;
result = (btMultiBodyLinkFloatData *) ((arg1)->m_links);
*(btMultiBodyLinkFloatData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyFloatData_1baseCollider_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btMultiBodyFloatData *arg1 = (btMultiBodyFloatData *) 0 ;
btCollisionObjectFloatData *arg2 = (btCollisionObjectFloatData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btMultiBodyFloatData **)&jarg1;
arg2 = *(btCollisionObjectFloatData **)&jarg2;
if (arg1) (arg1)->m_baseCollider = arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyFloatData_1baseCollider_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btMultiBodyFloatData *arg1 = (btMultiBodyFloatData *) 0 ;
btCollisionObjectFloatData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyFloatData **)&jarg1;
result = (btCollisionObjectFloatData *) ((arg1)->m_baseCollider);
*(btCollisionObjectFloatData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyFloatData_1baseWorldTransform_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btMultiBodyFloatData *arg1 = (btMultiBodyFloatData *) 0 ;
btTransformFloatData *arg2 = (btTransformFloatData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btMultiBodyFloatData **)&jarg1;
arg2 = *(btTransformFloatData **)&jarg2;
if (arg1) (arg1)->m_baseWorldTransform = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyFloatData_1baseWorldTransform_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btMultiBodyFloatData *arg1 = (btMultiBodyFloatData *) 0 ;
btTransformFloatData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyFloatData **)&jarg1;
result = (btTransformFloatData *)& ((arg1)->m_baseWorldTransform);
*(btTransformFloatData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyFloatData_1baseInertia_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btMultiBodyFloatData *arg1 = (btMultiBodyFloatData *) 0 ;
btVector3FloatData *arg2 = (btVector3FloatData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btMultiBodyFloatData **)&jarg1;
arg2 = *(btVector3FloatData **)&jarg2;
if (arg1) (arg1)->m_baseInertia = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyFloatData_1baseInertia_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btMultiBodyFloatData *arg1 = (btMultiBodyFloatData *) 0 ;
btVector3FloatData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyFloatData **)&jarg1;
result = (btVector3FloatData *)& ((arg1)->m_baseInertia);
*(btVector3FloatData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyFloatData_1baseMass_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btMultiBodyFloatData *arg1 = (btMultiBodyFloatData *) 0 ;
float arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyFloatData **)&jarg1;
arg2 = (float)jarg2;
if (arg1) (arg1)->m_baseMass = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyFloatData_1baseMass_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btMultiBodyFloatData *arg1 = (btMultiBodyFloatData *) 0 ;
float result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyFloatData **)&jarg1;
result = (float) ((arg1)->m_baseMass);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyFloatData_1numLinks_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btMultiBodyFloatData *arg1 = (btMultiBodyFloatData *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyFloatData **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_numLinks = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyFloatData_1numLinks_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btMultiBodyFloatData *arg1 = (btMultiBodyFloatData *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyFloatData **)&jarg1;
result = (int) ((arg1)->m_numLinks);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btMultiBodyFloatData(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btMultiBodyFloatData *result = 0 ;
(void)jenv;
(void)jcls;
result = (btMultiBodyFloatData *)new btMultiBodyFloatData();
*(btMultiBodyFloatData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btMultiBodyFloatData(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btMultiBodyFloatData *arg1 = (btMultiBodyFloatData *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btMultiBodyFloatData **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyJacobianData_1jacobians_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btMultiBodyJacobianData *arg1 = (btMultiBodyJacobianData *) 0 ;
btAlignedObjectArray< btScalar > *arg2 = (btAlignedObjectArray< btScalar > *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btMultiBodyJacobianData **)&jarg1;
arg2 = *(btAlignedObjectArray< btScalar > **)&jarg2;
if (arg1) (arg1)->m_jacobians = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyJacobianData_1jacobians_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btMultiBodyJacobianData *arg1 = (btMultiBodyJacobianData *) 0 ;
btAlignedObjectArray< btScalar > *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyJacobianData **)&jarg1;
result = (btAlignedObjectArray< btScalar > *)& ((arg1)->m_jacobians);
*(btAlignedObjectArray< btScalar > **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyJacobianData_1deltaVelocitiesUnitImpulse_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btMultiBodyJacobianData *arg1 = (btMultiBodyJacobianData *) 0 ;
btAlignedObjectArray< btScalar > *arg2 = (btAlignedObjectArray< btScalar > *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btMultiBodyJacobianData **)&jarg1;
arg2 = *(btAlignedObjectArray< btScalar > **)&jarg2;
if (arg1) (arg1)->m_deltaVelocitiesUnitImpulse = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyJacobianData_1deltaVelocitiesUnitImpulse_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btMultiBodyJacobianData *arg1 = (btMultiBodyJacobianData *) 0 ;
btAlignedObjectArray< btScalar > *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyJacobianData **)&jarg1;
result = (btAlignedObjectArray< btScalar > *)& ((arg1)->m_deltaVelocitiesUnitImpulse);
*(btAlignedObjectArray< btScalar > **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyJacobianData_1deltaVelocities_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btMultiBodyJacobianData *arg1 = (btMultiBodyJacobianData *) 0 ;
btAlignedObjectArray< btScalar > *arg2 = (btAlignedObjectArray< btScalar > *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btMultiBodyJacobianData **)&jarg1;
arg2 = *(btAlignedObjectArray< btScalar > **)&jarg2;
if (arg1) (arg1)->m_deltaVelocities = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyJacobianData_1deltaVelocities_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btMultiBodyJacobianData *arg1 = (btMultiBodyJacobianData *) 0 ;
btAlignedObjectArray< btScalar > *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyJacobianData **)&jarg1;
result = (btAlignedObjectArray< btScalar > *)& ((arg1)->m_deltaVelocities);
*(btAlignedObjectArray< btScalar > **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyJacobianData_1scratch_1r_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btMultiBodyJacobianData *arg1 = (btMultiBodyJacobianData *) 0 ;
btAlignedObjectArray< btScalar > *arg2 = (btAlignedObjectArray< btScalar > *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btMultiBodyJacobianData **)&jarg1;
arg2 = *(btAlignedObjectArray< btScalar > **)&jarg2;
if (arg1) (arg1)->scratch_r = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyJacobianData_1scratch_1r_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btMultiBodyJacobianData *arg1 = (btMultiBodyJacobianData *) 0 ;
btAlignedObjectArray< btScalar > *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyJacobianData **)&jarg1;
result = (btAlignedObjectArray< btScalar > *)& ((arg1)->scratch_r);
*(btAlignedObjectArray< btScalar > **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyJacobianData_1scratch_1v_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btMultiBodyJacobianData *arg1 = (btMultiBodyJacobianData *) 0 ;
btAlignedObjectArray< btVector3 > *arg2 = (btAlignedObjectArray< btVector3 > *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btMultiBodyJacobianData **)&jarg1;
arg2 = *(btAlignedObjectArray< btVector3 > **)&jarg2;
if (arg1) (arg1)->scratch_v = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyJacobianData_1scratch_1v_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btMultiBodyJacobianData *arg1 = (btMultiBodyJacobianData *) 0 ;
btAlignedObjectArray< btVector3 > *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyJacobianData **)&jarg1;
result = (btAlignedObjectArray< btVector3 > *)& ((arg1)->scratch_v);
*(btAlignedObjectArray< btVector3 > **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyJacobianData_1scratch_1m_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btMultiBodyJacobianData *arg1 = (btMultiBodyJacobianData *) 0 ;
btAlignedObjectArray< btMatrix3x3 > *arg2 = (btAlignedObjectArray< btMatrix3x3 > *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyJacobianData **)&jarg1;
arg2 = *(btAlignedObjectArray< btMatrix3x3 > **)&jarg2;
if (arg1) (arg1)->scratch_m = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyJacobianData_1scratch_1m_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btMultiBodyJacobianData *arg1 = (btMultiBodyJacobianData *) 0 ;
btAlignedObjectArray< btMatrix3x3 > *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyJacobianData **)&jarg1;
result = (btAlignedObjectArray< btMatrix3x3 > *)& ((arg1)->scratch_m);
*(btAlignedObjectArray< btMatrix3x3 > **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyJacobianData_1solverBodyPool_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btMultiBodyJacobianData *arg1 = (btMultiBodyJacobianData *) 0 ;
btAlignedObjectArray< btSolverBody > *arg2 = (btAlignedObjectArray< btSolverBody > *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyJacobianData **)&jarg1;
arg2 = *(btAlignedObjectArray< btSolverBody > **)&jarg2;
if (arg1) (arg1)->m_solverBodyPool = arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyJacobianData_1solverBodyPool_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btMultiBodyJacobianData *arg1 = (btMultiBodyJacobianData *) 0 ;
btAlignedObjectArray< btSolverBody > *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyJacobianData **)&jarg1;
result = (btAlignedObjectArray< btSolverBody > *) ((arg1)->m_solverBodyPool);
*(btAlignedObjectArray< btSolverBody > **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyJacobianData_1fixedBodyId_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btMultiBodyJacobianData *arg1 = (btMultiBodyJacobianData *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyJacobianData **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_fixedBodyId = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyJacobianData_1fixedBodyId_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btMultiBodyJacobianData *arg1 = (btMultiBodyJacobianData *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyJacobianData **)&jarg1;
result = (int) ((arg1)->m_fixedBodyId);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btMultiBodyJacobianData(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btMultiBodyJacobianData *result = 0 ;
(void)jenv;
(void)jcls;
result = (btMultiBodyJacobianData *)new btMultiBodyJacobianData();
*(btMultiBodyJacobianData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btMultiBodyJacobianData(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btMultiBodyJacobianData *arg1 = (btMultiBodyJacobianData *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btMultiBodyJacobianData **)&jarg1;
delete arg1;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyConstraint_1operatorNew_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btMultiBodyConstraint *arg1 = (btMultiBodyConstraint *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyConstraint **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new(arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyConstraint_1operatorDelete_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btMultiBodyConstraint *arg1 = (btMultiBodyConstraint *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyConstraint **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete(arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyConstraint_1operatorNew_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btMultiBodyConstraint *arg1 = (btMultiBodyConstraint *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyConstraint **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new(arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyConstraint_1operatorDelete_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btMultiBodyConstraint *arg1 = (btMultiBodyConstraint *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyConstraint **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete(arg2,arg3);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyConstraint_1operatorNewArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btMultiBodyConstraint *arg1 = (btMultiBodyConstraint *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyConstraint **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new[](arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyConstraint_1operatorDeleteArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btMultiBodyConstraint *arg1 = (btMultiBodyConstraint *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyConstraint **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete[](arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyConstraint_1operatorNewArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btMultiBodyConstraint *arg1 = (btMultiBodyConstraint *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyConstraint **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new[](arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyConstraint_1operatorDeleteArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btMultiBodyConstraint *arg1 = (btMultiBodyConstraint *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyConstraint **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete[](arg2,arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btMultiBodyConstraint(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btMultiBodyConstraint *arg1 = (btMultiBodyConstraint *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btMultiBodyConstraint **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyConstraint_1updateJacobianSizes(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
btMultiBodyConstraint *arg1 = (btMultiBodyConstraint *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyConstraint **)&jarg1;
(arg1)->updateJacobianSizes();
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyConstraint_1allocateJacobiansMultiDof(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
btMultiBodyConstraint *arg1 = (btMultiBodyConstraint *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyConstraint **)&jarg1;
(arg1)->allocateJacobiansMultiDof();
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyConstraint_1setFrameInB(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btMultiBodyConstraint *arg1 = (btMultiBodyConstraint *) 0 ;
btMatrix3x3 *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyConstraint **)&jarg1;
btMatrix3x3 local_arg2;
gdx_setbtMatrix3x3FromMatrix3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitMatrix3 auto_commit_arg2(jenv, jarg2, &local_arg2);
(arg1)->setFrameInB((btMatrix3x3 const &)*arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyConstraint_1setPivotInB(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btMultiBodyConstraint *arg1 = (btMultiBodyConstraint *) 0 ;
btVector3 *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyConstraint **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
(arg1)->setPivotInB((btVector3 const &)*arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyConstraint_1finalizeMultiDof(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
btMultiBodyConstraint *arg1 = (btMultiBodyConstraint *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyConstraint **)&jarg1;
(arg1)->finalizeMultiDof();
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyConstraint_1getIslandIdA(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btMultiBodyConstraint *arg1 = (btMultiBodyConstraint *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyConstraint **)&jarg1;
result = (int)((btMultiBodyConstraint const *)arg1)->getIslandIdA();
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyConstraint_1getIslandIdB(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btMultiBodyConstraint *arg1 = (btMultiBodyConstraint *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyConstraint **)&jarg1;
result = (int)((btMultiBodyConstraint const *)arg1)->getIslandIdB();
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyConstraint_1createConstraintRows(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3, jobject jarg3_, jlong jarg4, jobject jarg4_) {
btMultiBodyConstraint *arg1 = (btMultiBodyConstraint *) 0 ;
btMultiBodyConstraintArray *arg2 = 0 ;
btMultiBodyJacobianData *arg3 = 0 ;
btContactSolverInfo *arg4 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg3_;
(void)jarg4_;
arg1 = *(btMultiBodyConstraint **)&jarg1;
arg2 = *(btMultiBodyConstraintArray **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btMultiBodyConstraintArray & reference is null");
return ;
}
arg3 = *(btMultiBodyJacobianData **)&jarg3;
if (!arg3) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btMultiBodyJacobianData & reference is null");
return ;
}
arg4 = *(btContactSolverInfo **)&jarg4;
if (!arg4) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btContactSolverInfo const & reference is null");
return ;
}
(arg1)->createConstraintRows(*arg2,*arg3,(btContactSolverInfo const &)*arg4);
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyConstraint_1getNumRows(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btMultiBodyConstraint *arg1 = (btMultiBodyConstraint *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyConstraint **)&jarg1;
result = (int)((btMultiBodyConstraint const *)arg1)->getNumRows();
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyConstraint_1getMultiBodyA(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btMultiBodyConstraint *arg1 = (btMultiBodyConstraint *) 0 ;
btMultiBody *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyConstraint **)&jarg1;
result = (btMultiBody *)(arg1)->getMultiBodyA();
*(btMultiBody **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyConstraint_1getMultiBodyB(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btMultiBodyConstraint *arg1 = (btMultiBodyConstraint *) 0 ;
btMultiBody *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyConstraint **)&jarg1;
result = (btMultiBody *)(arg1)->getMultiBodyB();
*(btMultiBody **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyConstraint_1internalSetAppliedImpulse(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jfloat jarg3) {
btMultiBodyConstraint *arg1 = (btMultiBodyConstraint *) 0 ;
int arg2 ;
btScalar arg3 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyConstraint **)&jarg1;
arg2 = (int)jarg2;
arg3 = (btScalar)jarg3;
(arg1)->internalSetAppliedImpulse(arg2,arg3);
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyConstraint_1getAppliedImpulse(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jfloat jresult = 0 ;
btMultiBodyConstraint *arg1 = (btMultiBodyConstraint *) 0 ;
int arg2 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyConstraint **)&jarg1;
arg2 = (int)jarg2;
result = (btScalar)(arg1)->getAppliedImpulse(arg2);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyConstraint_1getPosition(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jfloat jresult = 0 ;
btMultiBodyConstraint *arg1 = (btMultiBodyConstraint *) 0 ;
int arg2 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyConstraint **)&jarg1;
arg2 = (int)jarg2;
result = (btScalar)((btMultiBodyConstraint const *)arg1)->getPosition(arg2);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyConstraint_1setPosition(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jfloat jarg3) {
btMultiBodyConstraint *arg1 = (btMultiBodyConstraint *) 0 ;
int arg2 ;
btScalar arg3 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyConstraint **)&jarg1;
arg2 = (int)jarg2;
arg3 = (btScalar)jarg3;
(arg1)->setPosition(arg2,arg3);
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyConstraint_1isUnilateral(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jboolean jresult = 0 ;
btMultiBodyConstraint *arg1 = (btMultiBodyConstraint *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyConstraint **)&jarg1;
result = (bool)((btMultiBodyConstraint const *)arg1)->isUnilateral();
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyConstraint_1jacobianA(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jobject jresult = 0 ;
btMultiBodyConstraint *arg1 = (btMultiBodyConstraint *) 0 ;
int arg2 ;
btScalar *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyConstraint **)&jarg1;
arg2 = (int)jarg2;
result = (btScalar *)(arg1)->jacobianA(arg2);
*(btScalar **)&jresult = result;
return jresult;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyConstraint_1jacobianAConst(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jobject jresult = 0 ;
btMultiBodyConstraint *arg1 = (btMultiBodyConstraint *) 0 ;
int arg2 ;
btScalar *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyConstraint **)&jarg1;
arg2 = (int)jarg2;
result = (btScalar *)((btMultiBodyConstraint const *)arg1)->jacobianA(arg2);
*(btScalar **)&jresult = result;
return jresult;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyConstraint_1jacobianB(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jobject jresult = 0 ;
btMultiBodyConstraint *arg1 = (btMultiBodyConstraint *) 0 ;
int arg2 ;
btScalar *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyConstraint **)&jarg1;
arg2 = (int)jarg2;
result = (btScalar *)(arg1)->jacobianB(arg2);
*(btScalar **)&jresult = result;
return jresult;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyConstraint_1jacobianBConst(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jobject jresult = 0 ;
btMultiBodyConstraint *arg1 = (btMultiBodyConstraint *) 0 ;
int arg2 ;
btScalar *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyConstraint **)&jarg1;
arg2 = (int)jarg2;
result = (btScalar *)((btMultiBodyConstraint const *)arg1)->jacobianB(arg2);
*(btScalar **)&jresult = result;
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyConstraint_1getMaxAppliedImpulse(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btMultiBodyConstraint *arg1 = (btMultiBodyConstraint *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyConstraint **)&jarg1;
result = (btScalar)((btMultiBodyConstraint const *)arg1)->getMaxAppliedImpulse();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyConstraint_1setMaxAppliedImpulse(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btMultiBodyConstraint *arg1 = (btMultiBodyConstraint *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyConstraint **)&jarg1;
arg2 = (btScalar)jarg2;
(arg1)->setMaxAppliedImpulse(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyConstraint_1debugDraw(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btMultiBodyConstraint *arg1 = (btMultiBodyConstraint *) 0 ;
btIDebugDraw *arg2 = (btIDebugDraw *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btMultiBodyConstraint **)&jarg1;
arg2 = *(btIDebugDraw **)&jarg2;
(arg1)->debugDraw(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyConstraint_1setGearRatio(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btMultiBodyConstraint *arg1 = (btMultiBodyConstraint *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyConstraint **)&jarg1;
arg2 = (btScalar)jarg2;
(arg1)->setGearRatio(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyConstraint_1setGearAuxLink(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btMultiBodyConstraint *arg1 = (btMultiBodyConstraint *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyConstraint **)&jarg1;
arg2 = (int)jarg2;
(arg1)->setGearAuxLink(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyConstraint_1setRelativePositionTarget(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btMultiBodyConstraint *arg1 = (btMultiBodyConstraint *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyConstraint **)&jarg1;
arg2 = (btScalar)jarg2;
(arg1)->setRelativePositionTarget(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyConstraint_1setErp(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btMultiBodyConstraint *arg1 = (btMultiBodyConstraint *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyConstraint **)&jarg1;
arg2 = (btScalar)jarg2;
(arg1)->setErp(arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btMultiBodyGearConstraint(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jlong jarg3, jobject jarg3_, jint jarg4, jobject jarg5, jobject jarg6, jobject jarg7, jobject jarg8) {
jlong jresult = 0 ;
btMultiBody *arg1 = (btMultiBody *) 0 ;
int arg2 ;
btMultiBody *arg3 = (btMultiBody *) 0 ;
int arg4 ;
btVector3 *arg5 = 0 ;
btVector3 *arg6 = 0 ;
btMatrix3x3 *arg7 = 0 ;
btMatrix3x3 *arg8 = 0 ;
btMultiBodyGearConstraint *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg3_;
arg1 = *(btMultiBody **)&jarg1;
arg2 = (int)jarg2;
arg3 = *(btMultiBody **)&jarg3;
arg4 = (int)jarg4;
btVector3 local_arg5;
gdx_setbtVector3FromVector3(jenv, local_arg5, jarg5);
arg5 = &local_arg5;
gdxAutoCommitVector3 auto_commit_arg5(jenv, jarg5, &local_arg5);
btVector3 local_arg6;
gdx_setbtVector3FromVector3(jenv, local_arg6, jarg6);
arg6 = &local_arg6;
gdxAutoCommitVector3 auto_commit_arg6(jenv, jarg6, &local_arg6);
btMatrix3x3 local_arg7;
gdx_setbtMatrix3x3FromMatrix3(jenv, local_arg7, jarg7);
arg7 = &local_arg7;
gdxAutoCommitMatrix3 auto_commit_arg7(jenv, jarg7, &local_arg7);
btMatrix3x3 local_arg8;
gdx_setbtMatrix3x3FromMatrix3(jenv, local_arg8, jarg8);
arg8 = &local_arg8;
gdxAutoCommitMatrix3 auto_commit_arg8(jenv, jarg8, &local_arg8);
result = (btMultiBodyGearConstraint *)new btMultiBodyGearConstraint(arg1,arg2,arg3,arg4,(btVector3 const &)*arg5,(btVector3 const &)*arg6,(btMatrix3x3 const &)*arg7,(btMatrix3x3 const &)*arg8);
*(btMultiBodyGearConstraint **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btMultiBodyGearConstraint(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btMultiBodyGearConstraint *arg1 = (btMultiBodyGearConstraint *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btMultiBodyGearConstraint **)&jarg1;
delete arg1;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyGearConstraint_1getPivotInA(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btMultiBodyGearConstraint *arg1 = (btMultiBodyGearConstraint *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyGearConstraint **)&jarg1;
result = (btVector3 *) &((btMultiBodyGearConstraint const *)arg1)->getPivotInA();
jresult = gdx_getReturnVector3(jenv);
gdx_setVector3FrombtVector3(jenv, jresult, result);
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyGearConstraint_1setPivotInA(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btMultiBodyGearConstraint *arg1 = (btMultiBodyGearConstraint *) 0 ;
btVector3 *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyGearConstraint **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
(arg1)->setPivotInA((btVector3 const &)*arg2);
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyGearConstraint_1getPivotInB(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btMultiBodyGearConstraint *arg1 = (btMultiBodyGearConstraint *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyGearConstraint **)&jarg1;
result = (btVector3 *) &((btMultiBodyGearConstraint const *)arg1)->getPivotInB();
jresult = gdx_getReturnVector3(jenv);
gdx_setVector3FrombtVector3(jenv, jresult, result);
return jresult;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyGearConstraint_1getFrameInA(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btMultiBodyGearConstraint *arg1 = (btMultiBodyGearConstraint *) 0 ;
btMatrix3x3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyGearConstraint **)&jarg1;
result = (btMatrix3x3 *) &((btMultiBodyGearConstraint const *)arg1)->getFrameInA();
jresult = gdx_getReturnMatrix3(jenv);
gdx_setMatrix3FrombtMatrix3x3(jenv, jresult, result);
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyGearConstraint_1setFrameInA(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btMultiBodyGearConstraint *arg1 = (btMultiBodyGearConstraint *) 0 ;
btMatrix3x3 *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyGearConstraint **)&jarg1;
btMatrix3x3 local_arg2;
gdx_setbtMatrix3x3FromMatrix3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitMatrix3 auto_commit_arg2(jenv, jarg2, &local_arg2);
(arg1)->setFrameInA((btMatrix3x3 const &)*arg2);
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyGearConstraint_1getFrameInB(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btMultiBodyGearConstraint *arg1 = (btMultiBodyGearConstraint *) 0 ;
btMatrix3x3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyGearConstraint **)&jarg1;
result = (btMatrix3x3 *) &((btMultiBodyGearConstraint const *)arg1)->getFrameInB();
jresult = gdx_getReturnMatrix3(jenv);
gdx_setMatrix3FrombtMatrix3x3(jenv, jresult, result);
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyConstraintSolver_1operatorNew_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btMultiBodyConstraintSolver *arg1 = (btMultiBodyConstraintSolver *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyConstraintSolver **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new(arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyConstraintSolver_1operatorDelete_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btMultiBodyConstraintSolver *arg1 = (btMultiBodyConstraintSolver *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyConstraintSolver **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete(arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyConstraintSolver_1operatorNew_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btMultiBodyConstraintSolver *arg1 = (btMultiBodyConstraintSolver *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyConstraintSolver **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new(arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyConstraintSolver_1operatorDelete_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btMultiBodyConstraintSolver *arg1 = (btMultiBodyConstraintSolver *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyConstraintSolver **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete(arg2,arg3);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyConstraintSolver_1operatorNewArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btMultiBodyConstraintSolver *arg1 = (btMultiBodyConstraintSolver *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyConstraintSolver **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new[](arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyConstraintSolver_1operatorDeleteArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btMultiBodyConstraintSolver *arg1 = (btMultiBodyConstraintSolver *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyConstraintSolver **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete[](arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyConstraintSolver_1operatorNewArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btMultiBodyConstraintSolver *arg1 = (btMultiBodyConstraintSolver *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyConstraintSolver **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new[](arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyConstraintSolver_1operatorDeleteArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btMultiBodyConstraintSolver *arg1 = (btMultiBodyConstraintSolver *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyConstraintSolver **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete[](arg2,arg3);
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyConstraintSolver_1solveGroupCacheFriendlyFinish(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jint jarg3, jlong jarg4, jobject jarg4_) {
jfloat jresult = 0 ;
btMultiBodyConstraintSolver *arg1 = (btMultiBodyConstraintSolver *) 0 ;
btCollisionObject **arg2 = (btCollisionObject **) 0 ;
int arg3 ;
btContactSolverInfo *arg4 = 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg4_;
arg1 = *(btMultiBodyConstraintSolver **)&jarg1;
arg2 = *(btCollisionObject ***)&jarg2;
arg3 = (int)jarg3;
arg4 = *(btContactSolverInfo **)&jarg4;
if (!arg4) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btContactSolverInfo const & reference is null");
return 0;
}
result = (btScalar)(arg1)->solveGroupCacheFriendlyFinish(arg2,arg3,(btContactSolverInfo const &)*arg4);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyConstraintSolver_1solveMultiBodyGroup(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jint jarg3, jlong jarg4, jint jarg5, jlong jarg6, jint jarg7, jlong jarg8, jint jarg9, jlong jarg10, jobject jarg10_, jlong jarg11, jobject jarg11_, jlong jarg12, jobject jarg12_) {
btMultiBodyConstraintSolver *arg1 = (btMultiBodyConstraintSolver *) 0 ;
btCollisionObject **arg2 = (btCollisionObject **) 0 ;
int arg3 ;
btPersistentManifold **arg4 = (btPersistentManifold **) 0 ;
int arg5 ;
btTypedConstraint **arg6 = (btTypedConstraint **) 0 ;
int arg7 ;
btMultiBodyConstraint **arg8 = (btMultiBodyConstraint **) 0 ;
int arg9 ;
btContactSolverInfo *arg10 = 0 ;
btIDebugDraw *arg11 = (btIDebugDraw *) 0 ;
btDispatcher *arg12 = (btDispatcher *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg10_;
(void)jarg11_;
(void)jarg12_;
arg1 = *(btMultiBodyConstraintSolver **)&jarg1;
arg2 = *(btCollisionObject ***)&jarg2;
arg3 = (int)jarg3;
arg4 = *(btPersistentManifold ***)&jarg4;
arg5 = (int)jarg5;
arg6 = *(btTypedConstraint ***)&jarg6;
arg7 = (int)jarg7;
arg8 = *(btMultiBodyConstraint ***)&jarg8;
arg9 = (int)jarg9;
arg10 = *(btContactSolverInfo **)&jarg10;
if (!arg10) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btContactSolverInfo const & reference is null");
return ;
}
arg11 = *(btIDebugDraw **)&jarg11;
arg12 = *(btDispatcher **)&jarg12;
(arg1)->solveMultiBodyGroup(arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,(btContactSolverInfo const &)*arg10,arg11,arg12);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btMultiBodyConstraintSolver(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btMultiBodyConstraintSolver *result = 0 ;
(void)jenv;
(void)jcls;
result = (btMultiBodyConstraintSolver *)new btMultiBodyConstraintSolver();
*(btMultiBodyConstraintSolver **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btMultiBodyConstraintSolver(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btMultiBodyConstraintSolver *arg1 = (btMultiBodyConstraintSolver *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btMultiBodyConstraintSolver **)&jarg1;
delete arg1;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btMultiBodyDynamicsWorld(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_, jlong jarg4, jobject jarg4_) {
jlong jresult = 0 ;
btDispatcher *arg1 = (btDispatcher *) 0 ;
btBroadphaseInterface *arg2 = (btBroadphaseInterface *) 0 ;
btMultiBodyConstraintSolver *arg3 = (btMultiBodyConstraintSolver *) 0 ;
btCollisionConfiguration *arg4 = (btCollisionConfiguration *) 0 ;
btMultiBodyDynamicsWorld *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
(void)jarg3_;
(void)jarg4_;
arg1 = *(btDispatcher **)&jarg1;
arg2 = *(btBroadphaseInterface **)&jarg2;
arg3 = *(btMultiBodyConstraintSolver **)&jarg3;
arg4 = *(btCollisionConfiguration **)&jarg4;
result = (btMultiBodyDynamicsWorld *)new btMultiBodyDynamicsWorld(arg1,arg2,arg3,arg4);
*(btMultiBodyDynamicsWorld **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btMultiBodyDynamicsWorld(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btMultiBodyDynamicsWorld *arg1 = (btMultiBodyDynamicsWorld *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btMultiBodyDynamicsWorld **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyDynamicsWorld_1addMultiBody_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jint jarg3, jint jarg4) {
btMultiBodyDynamicsWorld *arg1 = (btMultiBodyDynamicsWorld *) 0 ;
btMultiBody *arg2 = (btMultiBody *) 0 ;
int arg3 ;
int arg4 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btMultiBodyDynamicsWorld **)&jarg1;
arg2 = *(btMultiBody **)&jarg2;
arg3 = (int)jarg3;
arg4 = (int)jarg4;
(arg1)->addMultiBody(arg2,arg3,arg4);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyDynamicsWorld_1addMultiBody_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jint jarg3) {
btMultiBodyDynamicsWorld *arg1 = (btMultiBodyDynamicsWorld *) 0 ;
btMultiBody *arg2 = (btMultiBody *) 0 ;
int arg3 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btMultiBodyDynamicsWorld **)&jarg1;
arg2 = *(btMultiBody **)&jarg2;
arg3 = (int)jarg3;
(arg1)->addMultiBody(arg2,arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyDynamicsWorld_1addMultiBody_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btMultiBodyDynamicsWorld *arg1 = (btMultiBodyDynamicsWorld *) 0 ;
btMultiBody *arg2 = (btMultiBody *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btMultiBodyDynamicsWorld **)&jarg1;
arg2 = *(btMultiBody **)&jarg2;
(arg1)->addMultiBody(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyDynamicsWorld_1removeMultiBody(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btMultiBodyDynamicsWorld *arg1 = (btMultiBodyDynamicsWorld *) 0 ;
btMultiBody *arg2 = (btMultiBody *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btMultiBodyDynamicsWorld **)&jarg1;
arg2 = *(btMultiBody **)&jarg2;
(arg1)->removeMultiBody(arg2);
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyDynamicsWorld_1getNumMultibodies(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btMultiBodyDynamicsWorld *arg1 = (btMultiBodyDynamicsWorld *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyDynamicsWorld **)&jarg1;
result = (int)((btMultiBodyDynamicsWorld const *)arg1)->getNumMultibodies();
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyDynamicsWorld_1getMultiBody(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jlong jresult = 0 ;
btMultiBodyDynamicsWorld *arg1 = (btMultiBodyDynamicsWorld *) 0 ;
int arg2 ;
btMultiBody *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyDynamicsWorld **)&jarg1;
arg2 = (int)jarg2;
result = (btMultiBody *)(arg1)->getMultiBody(arg2);
*(btMultiBody **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyDynamicsWorld_1getMultiBodyConst(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jlong jresult = 0 ;
btMultiBodyDynamicsWorld *arg1 = (btMultiBodyDynamicsWorld *) 0 ;
int arg2 ;
btMultiBody *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyDynamicsWorld **)&jarg1;
arg2 = (int)jarg2;
result = (btMultiBody *)((btMultiBodyDynamicsWorld const *)arg1)->getMultiBody(arg2);
*(btMultiBody **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyDynamicsWorld_1addMultiBodyConstraint(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btMultiBodyDynamicsWorld *arg1 = (btMultiBodyDynamicsWorld *) 0 ;
btMultiBodyConstraint *arg2 = (btMultiBodyConstraint *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btMultiBodyDynamicsWorld **)&jarg1;
arg2 = *(btMultiBodyConstraint **)&jarg2;
(arg1)->addMultiBodyConstraint(arg2);
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyDynamicsWorld_1getNumMultiBodyConstraints(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btMultiBodyDynamicsWorld *arg1 = (btMultiBodyDynamicsWorld *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyDynamicsWorld **)&jarg1;
result = (int)((btMultiBodyDynamicsWorld const *)arg1)->getNumMultiBodyConstraints();
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyDynamicsWorld_1getMultiBodyConstraint(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jlong jresult = 0 ;
btMultiBodyDynamicsWorld *arg1 = (btMultiBodyDynamicsWorld *) 0 ;
int arg2 ;
btMultiBodyConstraint *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyDynamicsWorld **)&jarg1;
arg2 = (int)jarg2;
result = (btMultiBodyConstraint *)(arg1)->getMultiBodyConstraint(arg2);
*(btMultiBodyConstraint **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyDynamicsWorld_1getMultiBodyConstraintConst(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jlong jresult = 0 ;
btMultiBodyDynamicsWorld *arg1 = (btMultiBodyDynamicsWorld *) 0 ;
int arg2 ;
btMultiBodyConstraint *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyDynamicsWorld **)&jarg1;
arg2 = (int)jarg2;
result = (btMultiBodyConstraint *)((btMultiBodyDynamicsWorld const *)arg1)->getMultiBodyConstraint(arg2);
*(btMultiBodyConstraint **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyDynamicsWorld_1removeMultiBodyConstraint(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btMultiBodyDynamicsWorld *arg1 = (btMultiBodyDynamicsWorld *) 0 ;
btMultiBodyConstraint *arg2 = (btMultiBodyConstraint *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btMultiBodyDynamicsWorld **)&jarg1;
arg2 = *(btMultiBodyConstraint **)&jarg2;
(arg1)->removeMultiBodyConstraint(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyDynamicsWorld_1integrateTransforms(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btMultiBodyDynamicsWorld *arg1 = (btMultiBodyDynamicsWorld *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyDynamicsWorld **)&jarg1;
arg2 = (btScalar)jarg2;
(arg1)->integrateTransforms(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyDynamicsWorld_1debugDrawMultiBodyConstraint(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btMultiBodyDynamicsWorld *arg1 = (btMultiBodyDynamicsWorld *) 0 ;
btMultiBodyConstraint *arg2 = (btMultiBodyConstraint *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btMultiBodyDynamicsWorld **)&jarg1;
arg2 = *(btMultiBodyConstraint **)&jarg2;
(arg1)->debugDrawMultiBodyConstraint(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyDynamicsWorld_1forwardKinematics(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
btMultiBodyDynamicsWorld *arg1 = (btMultiBodyDynamicsWorld *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyDynamicsWorld **)&jarg1;
(arg1)->forwardKinematics();
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyDynamicsWorld_1clearMultiBodyConstraintForces(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
btMultiBodyDynamicsWorld *arg1 = (btMultiBodyDynamicsWorld *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyDynamicsWorld **)&jarg1;
(arg1)->clearMultiBodyConstraintForces();
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyDynamicsWorld_1clearMultiBodyForces(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
btMultiBodyDynamicsWorld *arg1 = (btMultiBodyDynamicsWorld *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyDynamicsWorld **)&jarg1;
(arg1)->clearMultiBodyForces();
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btMultiBodyFixedConstraint_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jlong jarg3, jobject jarg3_, jobject jarg4, jobject jarg5, jobject jarg6, jobject jarg7) {
jlong jresult = 0 ;
btMultiBody *arg1 = (btMultiBody *) 0 ;
int arg2 ;
btRigidBody *arg3 = (btRigidBody *) 0 ;
btVector3 *arg4 = 0 ;
btVector3 *arg5 = 0 ;
btMatrix3x3 *arg6 = 0 ;
btMatrix3x3 *arg7 = 0 ;
btMultiBodyFixedConstraint *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg3_;
arg1 = *(btMultiBody **)&jarg1;
arg2 = (int)jarg2;
arg3 = *(btRigidBody **)&jarg3;
btVector3 local_arg4;
gdx_setbtVector3FromVector3(jenv, local_arg4, jarg4);
arg4 = &local_arg4;
gdxAutoCommitVector3 auto_commit_arg4(jenv, jarg4, &local_arg4);
btVector3 local_arg5;
gdx_setbtVector3FromVector3(jenv, local_arg5, jarg5);
arg5 = &local_arg5;
gdxAutoCommitVector3 auto_commit_arg5(jenv, jarg5, &local_arg5);
btMatrix3x3 local_arg6;
gdx_setbtMatrix3x3FromMatrix3(jenv, local_arg6, jarg6);
arg6 = &local_arg6;
gdxAutoCommitMatrix3 auto_commit_arg6(jenv, jarg6, &local_arg6);
btMatrix3x3 local_arg7;
gdx_setbtMatrix3x3FromMatrix3(jenv, local_arg7, jarg7);
arg7 = &local_arg7;
gdxAutoCommitMatrix3 auto_commit_arg7(jenv, jarg7, &local_arg7);
result = (btMultiBodyFixedConstraint *)new btMultiBodyFixedConstraint(arg1,arg2,arg3,(btVector3 const &)*arg4,(btVector3 const &)*arg5,(btMatrix3x3 const &)*arg6,(btMatrix3x3 const &)*arg7);
*(btMultiBodyFixedConstraint **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btMultiBodyFixedConstraint_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jlong jarg3, jobject jarg3_, jint jarg4, jobject jarg5, jobject jarg6, jobject jarg7, jobject jarg8) {
jlong jresult = 0 ;
btMultiBody *arg1 = (btMultiBody *) 0 ;
int arg2 ;
btMultiBody *arg3 = (btMultiBody *) 0 ;
int arg4 ;
btVector3 *arg5 = 0 ;
btVector3 *arg6 = 0 ;
btMatrix3x3 *arg7 = 0 ;
btMatrix3x3 *arg8 = 0 ;
btMultiBodyFixedConstraint *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg3_;
arg1 = *(btMultiBody **)&jarg1;
arg2 = (int)jarg2;
arg3 = *(btMultiBody **)&jarg3;
arg4 = (int)jarg4;
btVector3 local_arg5;
gdx_setbtVector3FromVector3(jenv, local_arg5, jarg5);
arg5 = &local_arg5;
gdxAutoCommitVector3 auto_commit_arg5(jenv, jarg5, &local_arg5);
btVector3 local_arg6;
gdx_setbtVector3FromVector3(jenv, local_arg6, jarg6);
arg6 = &local_arg6;
gdxAutoCommitVector3 auto_commit_arg6(jenv, jarg6, &local_arg6);
btMatrix3x3 local_arg7;
gdx_setbtMatrix3x3FromMatrix3(jenv, local_arg7, jarg7);
arg7 = &local_arg7;
gdxAutoCommitMatrix3 auto_commit_arg7(jenv, jarg7, &local_arg7);
btMatrix3x3 local_arg8;
gdx_setbtMatrix3x3FromMatrix3(jenv, local_arg8, jarg8);
arg8 = &local_arg8;
gdxAutoCommitMatrix3 auto_commit_arg8(jenv, jarg8, &local_arg8);
result = (btMultiBodyFixedConstraint *)new btMultiBodyFixedConstraint(arg1,arg2,arg3,arg4,(btVector3 const &)*arg5,(btVector3 const &)*arg6,(btMatrix3x3 const &)*arg7,(btMatrix3x3 const &)*arg8);
*(btMultiBodyFixedConstraint **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btMultiBodyFixedConstraint(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btMultiBodyFixedConstraint *arg1 = (btMultiBodyFixedConstraint *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btMultiBodyFixedConstraint **)&jarg1;
delete arg1;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyFixedConstraint_1getPivotInA(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btMultiBodyFixedConstraint *arg1 = (btMultiBodyFixedConstraint *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyFixedConstraint **)&jarg1;
result = (btVector3 *) &((btMultiBodyFixedConstraint const *)arg1)->getPivotInA();
jresult = gdx_getReturnVector3(jenv);
gdx_setVector3FrombtVector3(jenv, jresult, result);
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyFixedConstraint_1setPivotInA(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btMultiBodyFixedConstraint *arg1 = (btMultiBodyFixedConstraint *) 0 ;
btVector3 *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyFixedConstraint **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
(arg1)->setPivotInA((btVector3 const &)*arg2);
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyFixedConstraint_1getPivotInB(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btMultiBodyFixedConstraint *arg1 = (btMultiBodyFixedConstraint *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyFixedConstraint **)&jarg1;
result = (btVector3 *) &((btMultiBodyFixedConstraint const *)arg1)->getPivotInB();
jresult = gdx_getReturnVector3(jenv);
gdx_setVector3FrombtVector3(jenv, jresult, result);
return jresult;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyFixedConstraint_1getFrameInA(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btMultiBodyFixedConstraint *arg1 = (btMultiBodyFixedConstraint *) 0 ;
btMatrix3x3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyFixedConstraint **)&jarg1;
result = (btMatrix3x3 *) &((btMultiBodyFixedConstraint const *)arg1)->getFrameInA();
jresult = gdx_getReturnMatrix3(jenv);
gdx_setMatrix3FrombtMatrix3x3(jenv, jresult, result);
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyFixedConstraint_1setFrameInA(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btMultiBodyFixedConstraint *arg1 = (btMultiBodyFixedConstraint *) 0 ;
btMatrix3x3 *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyFixedConstraint **)&jarg1;
btMatrix3x3 local_arg2;
gdx_setbtMatrix3x3FromMatrix3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitMatrix3 auto_commit_arg2(jenv, jarg2, &local_arg2);
(arg1)->setFrameInA((btMatrix3x3 const &)*arg2);
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyFixedConstraint_1getFrameInB(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btMultiBodyFixedConstraint *arg1 = (btMultiBodyFixedConstraint *) 0 ;
btMatrix3x3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyFixedConstraint **)&jarg1;
result = (btMatrix3x3 *) &((btMultiBodyFixedConstraint const *)arg1)->getFrameInB();
jresult = gdx_getReturnMatrix3(jenv);
gdx_setMatrix3FrombtMatrix3x3(jenv, jresult, result);
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyJointFeedback_1reactionForces_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btMultiBodyJointFeedback *arg1 = (btMultiBodyJointFeedback *) 0 ;
btSpatialForceVector *arg2 = (btSpatialForceVector *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btMultiBodyJointFeedback **)&jarg1;
arg2 = *(btSpatialForceVector **)&jarg2;
if (arg1) (arg1)->m_reactionForces = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyJointFeedback_1reactionForces_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btMultiBodyJointFeedback *arg1 = (btMultiBodyJointFeedback *) 0 ;
btSpatialForceVector *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyJointFeedback **)&jarg1;
result = (btSpatialForceVector *)& ((arg1)->m_reactionForces);
*(btSpatialForceVector **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btMultiBodyJointFeedback(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btMultiBodyJointFeedback *result = 0 ;
(void)jenv;
(void)jcls;
result = (btMultiBodyJointFeedback *)new btMultiBodyJointFeedback();
*(btMultiBodyJointFeedback **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btMultiBodyJointFeedback(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btMultiBodyJointFeedback *arg1 = (btMultiBodyJointFeedback *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btMultiBodyJointFeedback **)&jarg1;
delete arg1;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btMultiBodyJointLimitConstraint(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jfloat jarg3, jfloat jarg4) {
jlong jresult = 0 ;
btMultiBody *arg1 = (btMultiBody *) 0 ;
int arg2 ;
btScalar arg3 ;
btScalar arg4 ;
btMultiBodyJointLimitConstraint *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
arg2 = (int)jarg2;
arg3 = (btScalar)jarg3;
arg4 = (btScalar)jarg4;
result = (btMultiBodyJointLimitConstraint *)new btMultiBodyJointLimitConstraint(arg1,arg2,arg3,arg4);
*(btMultiBodyJointLimitConstraint **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btMultiBodyJointLimitConstraint(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btMultiBodyJointLimitConstraint *arg1 = (btMultiBodyJointLimitConstraint *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btMultiBodyJointLimitConstraint **)&jarg1;
delete arg1;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btMultiBodyJointMotor_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jfloat jarg3, jfloat jarg4) {
jlong jresult = 0 ;
btMultiBody *arg1 = (btMultiBody *) 0 ;
int arg2 ;
btScalar arg3 ;
btScalar arg4 ;
btMultiBodyJointMotor *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
arg2 = (int)jarg2;
arg3 = (btScalar)jarg3;
arg4 = (btScalar)jarg4;
result = (btMultiBodyJointMotor *)new btMultiBodyJointMotor(arg1,arg2,arg3,arg4);
*(btMultiBodyJointMotor **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btMultiBodyJointMotor_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jint jarg3, jfloat jarg4, jfloat jarg5) {
jlong jresult = 0 ;
btMultiBody *arg1 = (btMultiBody *) 0 ;
int arg2 ;
int arg3 ;
btScalar arg4 ;
btScalar arg5 ;
btMultiBodyJointMotor *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
arg2 = (int)jarg2;
arg3 = (int)jarg3;
arg4 = (btScalar)jarg4;
arg5 = (btScalar)jarg5;
result = (btMultiBodyJointMotor *)new btMultiBodyJointMotor(arg1,arg2,arg3,arg4,arg5);
*(btMultiBodyJointMotor **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btMultiBodyJointMotor(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btMultiBodyJointMotor *arg1 = (btMultiBodyJointMotor *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btMultiBodyJointMotor **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyJointMotor_1setVelocityTarget_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2, jfloat jarg3) {
btMultiBodyJointMotor *arg1 = (btMultiBodyJointMotor *) 0 ;
btScalar arg2 ;
btScalar arg3 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyJointMotor **)&jarg1;
arg2 = (btScalar)jarg2;
arg3 = (btScalar)jarg3;
(arg1)->setVelocityTarget(arg2,arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyJointMotor_1setVelocityTarget_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btMultiBodyJointMotor *arg1 = (btMultiBodyJointMotor *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyJointMotor **)&jarg1;
arg2 = (btScalar)jarg2;
(arg1)->setVelocityTarget(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyJointMotor_1setPositionTarget_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2, jfloat jarg3) {
btMultiBodyJointMotor *arg1 = (btMultiBodyJointMotor *) 0 ;
btScalar arg2 ;
btScalar arg3 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyJointMotor **)&jarg1;
arg2 = (btScalar)jarg2;
arg3 = (btScalar)jarg3;
(arg1)->setPositionTarget(arg2,arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyJointMotor_1setPositionTarget_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btMultiBodyJointMotor *arg1 = (btMultiBodyJointMotor *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyJointMotor **)&jarg1;
arg2 = (btScalar)jarg2;
(arg1)->setPositionTarget(arg2);
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyJointMotor_1getErp(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btMultiBodyJointMotor *arg1 = (btMultiBodyJointMotor *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyJointMotor **)&jarg1;
result = (btScalar)((btMultiBodyJointMotor const *)arg1)->getErp();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyJointMotor_1setRhsClamp(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btMultiBodyJointMotor *arg1 = (btMultiBodyJointMotor *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyJointMotor **)&jarg1;
arg2 = (btScalar)jarg2;
(arg1)->setRhsClamp(arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultibodyLink_1operatorNew_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btMultibodyLink *arg1 = (btMultibodyLink *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultibodyLink **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new(arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultibodyLink_1operatorDelete_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btMultibodyLink *arg1 = (btMultibodyLink *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultibodyLink **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete(arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultibodyLink_1operatorNew_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btMultibodyLink *arg1 = (btMultibodyLink *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultibodyLink **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new(arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultibodyLink_1operatorDelete_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btMultibodyLink *arg1 = (btMultibodyLink *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultibodyLink **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete(arg2,arg3);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultibodyLink_1operatorNewArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btMultibodyLink *arg1 = (btMultibodyLink *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultibodyLink **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new[](arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultibodyLink_1operatorDeleteArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btMultibodyLink *arg1 = (btMultibodyLink *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultibodyLink **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete[](arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultibodyLink_1operatorNewArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btMultibodyLink *arg1 = (btMultibodyLink *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultibodyLink **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new[](arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultibodyLink_1operatorDeleteArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btMultibodyLink *arg1 = (btMultibodyLink *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultibodyLink **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete[](arg2,arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultibodyLink_1mass_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btMultibodyLink *arg1 = (btMultibodyLink *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultibodyLink **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_mass = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultibodyLink_1mass_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btMultibodyLink *arg1 = (btMultibodyLink *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultibodyLink **)&jarg1;
result = (btScalar) ((arg1)->m_mass);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultibodyLink_1inertiaLocal_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btMultibodyLink *arg1 = (btMultibodyLink *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btMultibodyLink **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->m_inertiaLocal = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultibodyLink_1inertiaLocal_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btMultibodyLink *arg1 = (btMultibodyLink *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultibodyLink **)&jarg1;
result = (btVector3 *)& ((arg1)->m_inertiaLocal);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultibodyLink_1parent_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btMultibodyLink *arg1 = (btMultibodyLink *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultibodyLink **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_parent = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultibodyLink_1parent_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btMultibodyLink *arg1 = (btMultibodyLink *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultibodyLink **)&jarg1;
result = (int) ((arg1)->m_parent);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultibodyLink_1zeroRotParentToThis_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btMultibodyLink *arg1 = (btMultibodyLink *) 0 ;
btQuaternion *arg2 = (btQuaternion *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btMultibodyLink **)&jarg1;
arg2 = *(btQuaternion **)&jarg2;
if (arg1) (arg1)->m_zeroRotParentToThis = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultibodyLink_1zeroRotParentToThis_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btMultibodyLink *arg1 = (btMultibodyLink *) 0 ;
btQuaternion *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultibodyLink **)&jarg1;
result = (btQuaternion *)& ((arg1)->m_zeroRotParentToThis);
*(btQuaternion **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultibodyLink_1dVector_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btMultibodyLink *arg1 = (btMultibodyLink *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btMultibodyLink **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->m_dVector = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultibodyLink_1dVector_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btMultibodyLink *arg1 = (btMultibodyLink *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultibodyLink **)&jarg1;
result = (btVector3 *)& ((arg1)->m_dVector);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultibodyLink_1eVector_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btMultibodyLink *arg1 = (btMultibodyLink *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btMultibodyLink **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->m_eVector = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultibodyLink_1eVector_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btMultibodyLink *arg1 = (btMultibodyLink *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultibodyLink **)&jarg1;
result = (btVector3 *)& ((arg1)->m_eVector);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultibodyLink_1absFrameTotVelocity_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btMultibodyLink *arg1 = (btMultibodyLink *) 0 ;
btSpatialMotionVector *arg2 = (btSpatialMotionVector *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btMultibodyLink **)&jarg1;
arg2 = *(btSpatialMotionVector **)&jarg2;
if (arg1) (arg1)->m_absFrameTotVelocity = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultibodyLink_1absFrameTotVelocity_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btMultibodyLink *arg1 = (btMultibodyLink *) 0 ;
btSpatialMotionVector *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultibodyLink **)&jarg1;
result = (btSpatialMotionVector *)& ((arg1)->m_absFrameTotVelocity);
*(btSpatialMotionVector **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultibodyLink_1absFrameLocVelocity_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btMultibodyLink *arg1 = (btMultibodyLink *) 0 ;
btSpatialMotionVector *arg2 = (btSpatialMotionVector *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btMultibodyLink **)&jarg1;
arg2 = *(btSpatialMotionVector **)&jarg2;
if (arg1) (arg1)->m_absFrameLocVelocity = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultibodyLink_1absFrameLocVelocity_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btMultibodyLink *arg1 = (btMultibodyLink *) 0 ;
btSpatialMotionVector *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultibodyLink **)&jarg1;
result = (btSpatialMotionVector *)& ((arg1)->m_absFrameLocVelocity);
*(btSpatialMotionVector **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultibodyLink_1axes_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btMultibodyLink *arg1 = (btMultibodyLink *) 0 ;
btSpatialMotionVector *arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btMultibodyLink **)&jarg1;
arg2 = *(btSpatialMotionVector **)&jarg2;
{
size_t ii;
btSpatialMotionVector *b = (btSpatialMotionVector *) arg1->m_axes;
for (ii = 0; ii < (size_t)6; ii++) b[ii] = *((btSpatialMotionVector *) arg2 + ii);
}
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultibodyLink_1axes_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btMultibodyLink *arg1 = (btMultibodyLink *) 0 ;
btSpatialMotionVector *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultibodyLink **)&jarg1;
result = (btSpatialMotionVector *)(btSpatialMotionVector *) ((arg1)->m_axes);
*(btSpatialMotionVector **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultibodyLink_1setAxisTop_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jobject jarg3) {
btMultibodyLink *arg1 = (btMultibodyLink *) 0 ;
int arg2 ;
btVector3 *arg3 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultibodyLink **)&jarg1;
arg2 = (int)jarg2;
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
(arg1)->setAxisTop(arg2,(btVector3 const &)*arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultibodyLink_1setAxisBottom_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jobject jarg3) {
btMultibodyLink *arg1 = (btMultibodyLink *) 0 ;
int arg2 ;
btVector3 *arg3 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultibodyLink **)&jarg1;
arg2 = (int)jarg2;
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
(arg1)->setAxisBottom(arg2,(btVector3 const &)*arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultibodyLink_1setAxisTop_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jfloat jarg3, jfloat jarg4, jfloat jarg5) {
btMultibodyLink *arg1 = (btMultibodyLink *) 0 ;
int arg2 ;
btScalar *arg3 = 0 ;
btScalar *arg4 = 0 ;
btScalar *arg5 = 0 ;
btScalar temp3 ;
btScalar temp4 ;
btScalar temp5 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultibodyLink **)&jarg1;
arg2 = (int)jarg2;
temp3 = (btScalar)jarg3;
arg3 = &temp3;
temp4 = (btScalar)jarg4;
arg4 = &temp4;
temp5 = (btScalar)jarg5;
arg5 = &temp5;
(arg1)->setAxisTop(arg2,(btScalar const &)*arg3,(btScalar const &)*arg4,(btScalar const &)*arg5);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultibodyLink_1setAxisBottom_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jfloat jarg3, jfloat jarg4, jfloat jarg5) {
btMultibodyLink *arg1 = (btMultibodyLink *) 0 ;
int arg2 ;
btScalar *arg3 = 0 ;
btScalar *arg4 = 0 ;
btScalar *arg5 = 0 ;
btScalar temp3 ;
btScalar temp4 ;
btScalar temp5 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultibodyLink **)&jarg1;
arg2 = (int)jarg2;
temp3 = (btScalar)jarg3;
arg3 = &temp3;
temp4 = (btScalar)jarg4;
arg4 = &temp4;
temp5 = (btScalar)jarg5;
arg5 = &temp5;
(arg1)->setAxisBottom(arg2,(btScalar const &)*arg3,(btScalar const &)*arg4,(btScalar const &)*arg5);
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultibodyLink_1getAxisTop(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jobject jresult = 0 ;
btMultibodyLink *arg1 = (btMultibodyLink *) 0 ;
int arg2 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultibodyLink **)&jarg1;
arg2 = (int)jarg2;
result = (btVector3 *) &((btMultibodyLink const *)arg1)->getAxisTop(arg2);
jresult = gdx_getReturnVector3(jenv);
gdx_setVector3FrombtVector3(jenv, jresult, result);
return jresult;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultibodyLink_1getAxisBottom(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jobject jresult = 0 ;
btMultibodyLink *arg1 = (btMultibodyLink *) 0 ;
int arg2 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultibodyLink **)&jarg1;
arg2 = (int)jarg2;
result = (btVector3 *) &((btMultibodyLink const *)arg1)->getAxisBottom(arg2);
jresult = gdx_getReturnVector3(jenv);
gdx_setVector3FrombtVector3(jenv, jresult, result);
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultibodyLink_1dofOffset_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btMultibodyLink *arg1 = (btMultibodyLink *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultibodyLink **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_dofOffset = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultibodyLink_1dofOffset_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btMultibodyLink *arg1 = (btMultibodyLink *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultibodyLink **)&jarg1;
result = (int) ((arg1)->m_dofOffset);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultibodyLink_1cfgOffset_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btMultibodyLink *arg1 = (btMultibodyLink *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultibodyLink **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_cfgOffset = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultibodyLink_1cfgOffset_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btMultibodyLink *arg1 = (btMultibodyLink *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultibodyLink **)&jarg1;
result = (int) ((arg1)->m_cfgOffset);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultibodyLink_1cachedRotParentToThis_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btMultibodyLink *arg1 = (btMultibodyLink *) 0 ;
btQuaternion *arg2 = (btQuaternion *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btMultibodyLink **)&jarg1;
arg2 = *(btQuaternion **)&jarg2;
if (arg1) (arg1)->m_cachedRotParentToThis = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultibodyLink_1cachedRotParentToThis_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btMultibodyLink *arg1 = (btMultibodyLink *) 0 ;
btQuaternion *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultibodyLink **)&jarg1;
result = (btQuaternion *)& ((arg1)->m_cachedRotParentToThis);
*(btQuaternion **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultibodyLink_1cachedRVector_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btMultibodyLink *arg1 = (btMultibodyLink *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btMultibodyLink **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->m_cachedRVector = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultibodyLink_1cachedRVector_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btMultibodyLink *arg1 = (btMultibodyLink *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultibodyLink **)&jarg1;
result = (btVector3 *)& ((arg1)->m_cachedRVector);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultibodyLink_1appliedForce_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btMultibodyLink *arg1 = (btMultibodyLink *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btMultibodyLink **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->m_appliedForce = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultibodyLink_1appliedForce_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btMultibodyLink *arg1 = (btMultibodyLink *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultibodyLink **)&jarg1;
result = (btVector3 *)& ((arg1)->m_appliedForce);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultibodyLink_1appliedTorque_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btMultibodyLink *arg1 = (btMultibodyLink *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btMultibodyLink **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->m_appliedTorque = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultibodyLink_1appliedTorque_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btMultibodyLink *arg1 = (btMultibodyLink *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultibodyLink **)&jarg1;
result = (btVector3 *)& ((arg1)->m_appliedTorque);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultibodyLink_1appliedConstraintForce_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btMultibodyLink *arg1 = (btMultibodyLink *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btMultibodyLink **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->m_appliedConstraintForce = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultibodyLink_1appliedConstraintForce_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btMultibodyLink *arg1 = (btMultibodyLink *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultibodyLink **)&jarg1;
result = (btVector3 *)& ((arg1)->m_appliedConstraintForce);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultibodyLink_1appliedConstraintTorque_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btMultibodyLink *arg1 = (btMultibodyLink *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btMultibodyLink **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->m_appliedConstraintTorque = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultibodyLink_1appliedConstraintTorque_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btMultibodyLink *arg1 = (btMultibodyLink *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultibodyLink **)&jarg1;
result = (btVector3 *)& ((arg1)->m_appliedConstraintTorque);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultibodyLink_1jointPos_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloatArray jarg2) {
btMultibodyLink *arg1 = (btMultibodyLink *) 0 ;
btScalar *arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultibodyLink **)&jarg1;
if (jarg2 && jenv->GetArrayLength(jarg2) != 7) {
SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, "incorrect array size");
return ;
}
arg2 = (float *)jenv->GetPrimitiveArrayCritical(jarg2, 0);
{
size_t ii;
btScalar *b = (btScalar *) arg1->m_jointPos;
for (ii = 0; ii < (size_t)7; ii++) b[ii] = *((btScalar *) arg2 + ii);
}
jenv->ReleasePrimitiveArrayCritical(jarg2, (float *)arg2, 0);
}
SWIGEXPORT jfloatArray JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultibodyLink_1jointPos_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloatArray jresult = 0 ;
btMultibodyLink *arg1 = (btMultibodyLink *) 0 ;
btScalar *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultibodyLink **)&jarg1;
result = (btScalar *)(btScalar *) ((arg1)->m_jointPos);
/*jresult = SWIG_JavaArrayOut##Float(jenv, (float *)result, 7);*/
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultibodyLink_1jointTorque_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloatArray jarg2) {
btMultibodyLink *arg1 = (btMultibodyLink *) 0 ;
btScalar *arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultibodyLink **)&jarg1;
if (jarg2 && jenv->GetArrayLength(jarg2) != 6) {
SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, "incorrect array size");
return ;
}
arg2 = (float *)jenv->GetPrimitiveArrayCritical(jarg2, 0);
{
size_t ii;
btScalar *b = (btScalar *) arg1->m_jointTorque;
for (ii = 0; ii < (size_t)6; ii++) b[ii] = *((btScalar *) arg2 + ii);
}
jenv->ReleasePrimitiveArrayCritical(jarg2, (float *)arg2, 0);
}
SWIGEXPORT jfloatArray JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultibodyLink_1jointTorque_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloatArray jresult = 0 ;
btMultibodyLink *arg1 = (btMultibodyLink *) 0 ;
btScalar *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultibodyLink **)&jarg1;
result = (btScalar *)(btScalar *) ((arg1)->m_jointTorque);
/*jresult = SWIG_JavaArrayOut##Float(jenv, (float *)result, 6);*/
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultibodyLink_1collider_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btMultibodyLink *arg1 = (btMultibodyLink *) 0 ;
btMultiBodyLinkCollider *arg2 = (btMultiBodyLinkCollider *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btMultibodyLink **)&jarg1;
arg2 = *(btMultiBodyLinkCollider **)&jarg2;
if (arg1) (arg1)->m_collider = arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultibodyLink_1collider_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btMultibodyLink *arg1 = (btMultibodyLink *) 0 ;
btMultiBodyLinkCollider *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultibodyLink **)&jarg1;
result = (btMultiBodyLinkCollider *) ((arg1)->m_collider);
*(btMultiBodyLinkCollider **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultibodyLink_1flags_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btMultibodyLink *arg1 = (btMultibodyLink *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultibodyLink **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_flags = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultibodyLink_1flags_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btMultibodyLink *arg1 = (btMultibodyLink *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultibodyLink **)&jarg1;
result = (int) ((arg1)->m_flags);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultibodyLink_1dofCount_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btMultibodyLink *arg1 = (btMultibodyLink *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultibodyLink **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_dofCount = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultibodyLink_1dofCount_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btMultibodyLink *arg1 = (btMultibodyLink *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultibodyLink **)&jarg1;
result = (int) ((arg1)->m_dofCount);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultibodyLink_1posVarCount_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btMultibodyLink *arg1 = (btMultibodyLink *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultibodyLink **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_posVarCount = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultibodyLink_1posVarCount_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btMultibodyLink *arg1 = (btMultibodyLink *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultibodyLink **)&jarg1;
result = (int) ((arg1)->m_posVarCount);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultibodyLink_1jointType_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btMultibodyLink *arg1 = (btMultibodyLink *) 0 ;
btMultibodyLink::eFeatherstoneJointType arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultibodyLink **)&jarg1;
arg2 = (btMultibodyLink::eFeatherstoneJointType)jarg2;
if (arg1) (arg1)->m_jointType = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultibodyLink_1jointType_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btMultibodyLink *arg1 = (btMultibodyLink *) 0 ;
btMultibodyLink::eFeatherstoneJointType result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultibodyLink **)&jarg1;
result = (btMultibodyLink::eFeatherstoneJointType) ((arg1)->m_jointType);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultibodyLink_1jointFeedback_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btMultibodyLink *arg1 = (btMultibodyLink *) 0 ;
btMultiBodyJointFeedback *arg2 = (btMultiBodyJointFeedback *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btMultibodyLink **)&jarg1;
arg2 = *(btMultiBodyJointFeedback **)&jarg2;
if (arg1) (arg1)->m_jointFeedback = arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultibodyLink_1jointFeedback_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btMultibodyLink *arg1 = (btMultibodyLink *) 0 ;
btMultiBodyJointFeedback *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultibodyLink **)&jarg1;
result = (btMultiBodyJointFeedback *) ((arg1)->m_jointFeedback);
*(btMultiBodyJointFeedback **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultibodyLink_1cachedWorldTransform_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btMultibodyLink *arg1 = (btMultibodyLink *) 0 ;
btTransform *arg2 = (btTransform *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btMultibodyLink **)&jarg1;
arg2 = *(btTransform **)&jarg2;
if (arg1) (arg1)->m_cachedWorldTransform = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultibodyLink_1cachedWorldTransform_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btMultibodyLink *arg1 = (btMultibodyLink *) 0 ;
btTransform *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultibodyLink **)&jarg1;
result = (btTransform *)& ((arg1)->m_cachedWorldTransform);
*(btTransform **)&jresult = result;
return jresult;
}
SWIGEXPORT jstring JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultibodyLink_1linkName_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jstring jresult = 0 ;
btMultibodyLink *arg1 = (btMultibodyLink *) 0 ;
char *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultibodyLink **)&jarg1;
result = (char *) ((arg1)->m_linkName);
if (result) jresult = jenv->NewStringUTF((const char *)result);
return jresult;
}
SWIGEXPORT jstring JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultibodyLink_1jointName_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jstring jresult = 0 ;
btMultibodyLink *arg1 = (btMultibodyLink *) 0 ;
char *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultibodyLink **)&jarg1;
result = (char *) ((arg1)->m_jointName);
if (result) jresult = jenv->NewStringUTF((const char *)result);
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultibodyLink_1userPtr_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btMultibodyLink *arg1 = (btMultibodyLink *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultibodyLink **)&jarg1;
arg2 = (void *)jarg2;
if (arg1) (arg1)->m_userPtr = (void const *)arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultibodyLink_1userPtr_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btMultibodyLink *arg1 = (btMultibodyLink *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultibodyLink **)&jarg1;
result = (void *) ((arg1)->m_userPtr);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultibodyLink_1jointDamping_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btMultibodyLink *arg1 = (btMultibodyLink *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultibodyLink **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_jointDamping = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultibodyLink_1jointDamping_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btMultibodyLink *arg1 = (btMultibodyLink *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultibodyLink **)&jarg1;
result = (btScalar) ((arg1)->m_jointDamping);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultibodyLink_1jointFriction_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btMultibodyLink *arg1 = (btMultibodyLink *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultibodyLink **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_jointFriction = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultibodyLink_1jointFriction_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btMultibodyLink *arg1 = (btMultibodyLink *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultibodyLink **)&jarg1;
result = (btScalar) ((arg1)->m_jointFriction);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultibodyLink_1jointLowerLimit_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btMultibodyLink *arg1 = (btMultibodyLink *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultibodyLink **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_jointLowerLimit = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultibodyLink_1jointLowerLimit_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btMultibodyLink *arg1 = (btMultibodyLink *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultibodyLink **)&jarg1;
result = (btScalar) ((arg1)->m_jointLowerLimit);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultibodyLink_1jointUpperLimit_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btMultibodyLink *arg1 = (btMultibodyLink *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultibodyLink **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_jointUpperLimit = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultibodyLink_1jointUpperLimit_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btMultibodyLink *arg1 = (btMultibodyLink *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultibodyLink **)&jarg1;
result = (btScalar) ((arg1)->m_jointUpperLimit);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultibodyLink_1jointMaxForce_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btMultibodyLink *arg1 = (btMultibodyLink *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultibodyLink **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_jointMaxForce = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultibodyLink_1jointMaxForce_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btMultibodyLink *arg1 = (btMultibodyLink *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultibodyLink **)&jarg1;
result = (btScalar) ((arg1)->m_jointMaxForce);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultibodyLink_1jointMaxVelocity_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btMultibodyLink *arg1 = (btMultibodyLink *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultibodyLink **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_jointMaxVelocity = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultibodyLink_1jointMaxVelocity_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btMultibodyLink *arg1 = (btMultibodyLink *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultibodyLink **)&jarg1;
result = (btScalar) ((arg1)->m_jointMaxVelocity);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btMultibodyLink(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btMultibodyLink *result = 0 ;
(void)jenv;
(void)jcls;
result = (btMultibodyLink *)new btMultibodyLink();
*(btMultibodyLink **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultibodyLink_1updateCacheMultiDof_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btMultibodyLink *arg1 = (btMultibodyLink *) 0 ;
btScalar *arg2 = (btScalar *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultibodyLink **)&jarg1;
{
arg2 = (btScalar*)jenv->GetDirectBufferAddress(jarg2);
if (arg2 == NULL) {
SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, "Unable to get address of direct buffer. Buffer must be allocated direct.");
}
}
(arg1)->updateCacheMultiDof(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultibodyLink_1updateCacheMultiDof_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
btMultibodyLink *arg1 = (btMultibodyLink *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultibodyLink **)&jarg1;
(arg1)->updateCacheMultiDof();
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btMultibodyLink(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btMultibodyLink *arg1 = (btMultibodyLink *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btMultibodyLink **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyLinkCollider_1multiBody_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btMultiBodyLinkCollider *arg1 = (btMultiBodyLinkCollider *) 0 ;
btMultiBody *arg2 = (btMultiBody *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btMultiBodyLinkCollider **)&jarg1;
arg2 = *(btMultiBody **)&jarg2;
if (arg1) (arg1)->m_multiBody = arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyLinkCollider_1multiBody_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btMultiBodyLinkCollider *arg1 = (btMultiBodyLinkCollider *) 0 ;
btMultiBody *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyLinkCollider **)&jarg1;
result = (btMultiBody *) ((arg1)->m_multiBody);
*(btMultiBody **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyLinkCollider_1link_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btMultiBodyLinkCollider *arg1 = (btMultiBodyLinkCollider *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyLinkCollider **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_link = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyLinkCollider_1link_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btMultiBodyLinkCollider *arg1 = (btMultiBodyLinkCollider *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyLinkCollider **)&jarg1;
result = (int) ((arg1)->m_link);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btMultiBodyLinkCollider(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jlong jresult = 0 ;
btMultiBody *arg1 = (btMultiBody *) 0 ;
int arg2 ;
btMultiBodyLinkCollider *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBody **)&jarg1;
arg2 = (int)jarg2;
result = (btMultiBodyLinkCollider *)new btMultiBodyLinkCollider(arg1,arg2);
*(btMultiBodyLinkCollider **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyLinkCollider_1upcast(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btCollisionObject *arg1 = (btCollisionObject *) 0 ;
btMultiBodyLinkCollider *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionObject **)&jarg1;
result = (btMultiBodyLinkCollider *)btMultiBodyLinkCollider::upcast(arg1);
*(btMultiBodyLinkCollider **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyLinkCollider_1upcastConstBtCollisionObject(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btCollisionObject *arg1 = (btCollisionObject *) 0 ;
btMultiBodyLinkCollider *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionObject **)&jarg1;
result = (btMultiBodyLinkCollider *)btMultiBodyLinkCollider::upcast((btCollisionObject const *)arg1);
*(btMultiBodyLinkCollider **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btMultiBodyLinkCollider(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btMultiBodyLinkCollider *arg1 = (btMultiBodyLinkCollider *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btMultiBodyLinkCollider **)&jarg1;
delete arg1;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyPoint2Point_1operatorNew_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btMultiBodyPoint2Point *arg1 = (btMultiBodyPoint2Point *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyPoint2Point **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new(arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyPoint2Point_1operatorDelete_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btMultiBodyPoint2Point *arg1 = (btMultiBodyPoint2Point *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyPoint2Point **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete(arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyPoint2Point_1operatorNew_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btMultiBodyPoint2Point *arg1 = (btMultiBodyPoint2Point *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyPoint2Point **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new(arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyPoint2Point_1operatorDelete_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btMultiBodyPoint2Point *arg1 = (btMultiBodyPoint2Point *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyPoint2Point **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete(arg2,arg3);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyPoint2Point_1operatorNewArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btMultiBodyPoint2Point *arg1 = (btMultiBodyPoint2Point *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyPoint2Point **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new[](arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyPoint2Point_1operatorDeleteArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btMultiBodyPoint2Point *arg1 = (btMultiBodyPoint2Point *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyPoint2Point **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete[](arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyPoint2Point_1operatorNewArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btMultiBodyPoint2Point *arg1 = (btMultiBodyPoint2Point *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyPoint2Point **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new[](arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyPoint2Point_1operatorDeleteArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btMultiBodyPoint2Point *arg1 = (btMultiBodyPoint2Point *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyPoint2Point **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete[](arg2,arg3);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btMultiBodyPoint2Point_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jlong jarg3, jobject jarg3_, jobject jarg4, jobject jarg5) {
jlong jresult = 0 ;
btMultiBody *arg1 = (btMultiBody *) 0 ;
int arg2 ;
btRigidBody *arg3 = (btRigidBody *) 0 ;
btVector3 *arg4 = 0 ;
btVector3 *arg5 = 0 ;
btMultiBodyPoint2Point *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg3_;
arg1 = *(btMultiBody **)&jarg1;
arg2 = (int)jarg2;
arg3 = *(btRigidBody **)&jarg3;
btVector3 local_arg4;
gdx_setbtVector3FromVector3(jenv, local_arg4, jarg4);
arg4 = &local_arg4;
gdxAutoCommitVector3 auto_commit_arg4(jenv, jarg4, &local_arg4);
btVector3 local_arg5;
gdx_setbtVector3FromVector3(jenv, local_arg5, jarg5);
arg5 = &local_arg5;
gdxAutoCommitVector3 auto_commit_arg5(jenv, jarg5, &local_arg5);
result = (btMultiBodyPoint2Point *)new btMultiBodyPoint2Point(arg1,arg2,arg3,(btVector3 const &)*arg4,(btVector3 const &)*arg5);
*(btMultiBodyPoint2Point **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btMultiBodyPoint2Point_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jlong jarg3, jobject jarg3_, jint jarg4, jobject jarg5, jobject jarg6) {
jlong jresult = 0 ;
btMultiBody *arg1 = (btMultiBody *) 0 ;
int arg2 ;
btMultiBody *arg3 = (btMultiBody *) 0 ;
int arg4 ;
btVector3 *arg5 = 0 ;
btVector3 *arg6 = 0 ;
btMultiBodyPoint2Point *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg3_;
arg1 = *(btMultiBody **)&jarg1;
arg2 = (int)jarg2;
arg3 = *(btMultiBody **)&jarg3;
arg4 = (int)jarg4;
btVector3 local_arg5;
gdx_setbtVector3FromVector3(jenv, local_arg5, jarg5);
arg5 = &local_arg5;
gdxAutoCommitVector3 auto_commit_arg5(jenv, jarg5, &local_arg5);
btVector3 local_arg6;
gdx_setbtVector3FromVector3(jenv, local_arg6, jarg6);
arg6 = &local_arg6;
gdxAutoCommitVector3 auto_commit_arg6(jenv, jarg6, &local_arg6);
result = (btMultiBodyPoint2Point *)new btMultiBodyPoint2Point(arg1,arg2,arg3,arg4,(btVector3 const &)*arg5,(btVector3 const &)*arg6);
*(btMultiBodyPoint2Point **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btMultiBodyPoint2Point(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btMultiBodyPoint2Point *arg1 = (btMultiBodyPoint2Point *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btMultiBodyPoint2Point **)&jarg1;
delete arg1;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyPoint2Point_1getPivotInB(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btMultiBodyPoint2Point *arg1 = (btMultiBodyPoint2Point *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodyPoint2Point **)&jarg1;
result = (btVector3 *) &((btMultiBodyPoint2Point const *)arg1)->getPivotInB();
jresult = gdx_getReturnVector3(jenv);
gdx_setVector3FrombtVector3(jenv, jresult, result);
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btMultiBodySliderConstraint_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jlong jarg3, jobject jarg3_, jobject jarg4, jobject jarg5, jobject jarg6, jobject jarg7, jobject jarg8) {
jlong jresult = 0 ;
btMultiBody *arg1 = (btMultiBody *) 0 ;
int arg2 ;
btRigidBody *arg3 = (btRigidBody *) 0 ;
btVector3 *arg4 = 0 ;
btVector3 *arg5 = 0 ;
btMatrix3x3 *arg6 = 0 ;
btMatrix3x3 *arg7 = 0 ;
btVector3 *arg8 = 0 ;
btMultiBodySliderConstraint *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg3_;
arg1 = *(btMultiBody **)&jarg1;
arg2 = (int)jarg2;
arg3 = *(btRigidBody **)&jarg3;
btVector3 local_arg4;
gdx_setbtVector3FromVector3(jenv, local_arg4, jarg4);
arg4 = &local_arg4;
gdxAutoCommitVector3 auto_commit_arg4(jenv, jarg4, &local_arg4);
btVector3 local_arg5;
gdx_setbtVector3FromVector3(jenv, local_arg5, jarg5);
arg5 = &local_arg5;
gdxAutoCommitVector3 auto_commit_arg5(jenv, jarg5, &local_arg5);
btMatrix3x3 local_arg6;
gdx_setbtMatrix3x3FromMatrix3(jenv, local_arg6, jarg6);
arg6 = &local_arg6;
gdxAutoCommitMatrix3 auto_commit_arg6(jenv, jarg6, &local_arg6);
btMatrix3x3 local_arg7;
gdx_setbtMatrix3x3FromMatrix3(jenv, local_arg7, jarg7);
arg7 = &local_arg7;
gdxAutoCommitMatrix3 auto_commit_arg7(jenv, jarg7, &local_arg7);
btVector3 local_arg8;
gdx_setbtVector3FromVector3(jenv, local_arg8, jarg8);
arg8 = &local_arg8;
gdxAutoCommitVector3 auto_commit_arg8(jenv, jarg8, &local_arg8);
result = (btMultiBodySliderConstraint *)new btMultiBodySliderConstraint(arg1,arg2,arg3,(btVector3 const &)*arg4,(btVector3 const &)*arg5,(btMatrix3x3 const &)*arg6,(btMatrix3x3 const &)*arg7,(btVector3 const &)*arg8);
*(btMultiBodySliderConstraint **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btMultiBodySliderConstraint_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jlong jarg3, jobject jarg3_, jint jarg4, jobject jarg5, jobject jarg6, jobject jarg7, jobject jarg8, jobject jarg9) {
jlong jresult = 0 ;
btMultiBody *arg1 = (btMultiBody *) 0 ;
int arg2 ;
btMultiBody *arg3 = (btMultiBody *) 0 ;
int arg4 ;
btVector3 *arg5 = 0 ;
btVector3 *arg6 = 0 ;
btMatrix3x3 *arg7 = 0 ;
btMatrix3x3 *arg8 = 0 ;
btVector3 *arg9 = 0 ;
btMultiBodySliderConstraint *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg3_;
arg1 = *(btMultiBody **)&jarg1;
arg2 = (int)jarg2;
arg3 = *(btMultiBody **)&jarg3;
arg4 = (int)jarg4;
btVector3 local_arg5;
gdx_setbtVector3FromVector3(jenv, local_arg5, jarg5);
arg5 = &local_arg5;
gdxAutoCommitVector3 auto_commit_arg5(jenv, jarg5, &local_arg5);
btVector3 local_arg6;
gdx_setbtVector3FromVector3(jenv, local_arg6, jarg6);
arg6 = &local_arg6;
gdxAutoCommitVector3 auto_commit_arg6(jenv, jarg6, &local_arg6);
btMatrix3x3 local_arg7;
gdx_setbtMatrix3x3FromMatrix3(jenv, local_arg7, jarg7);
arg7 = &local_arg7;
gdxAutoCommitMatrix3 auto_commit_arg7(jenv, jarg7, &local_arg7);
btMatrix3x3 local_arg8;
gdx_setbtMatrix3x3FromMatrix3(jenv, local_arg8, jarg8);
arg8 = &local_arg8;
gdxAutoCommitMatrix3 auto_commit_arg8(jenv, jarg8, &local_arg8);
btVector3 local_arg9;
gdx_setbtVector3FromVector3(jenv, local_arg9, jarg9);
arg9 = &local_arg9;
gdxAutoCommitVector3 auto_commit_arg9(jenv, jarg9, &local_arg9);
result = (btMultiBodySliderConstraint *)new btMultiBodySliderConstraint(arg1,arg2,arg3,arg4,(btVector3 const &)*arg5,(btVector3 const &)*arg6,(btMatrix3x3 const &)*arg7,(btMatrix3x3 const &)*arg8,(btVector3 const &)*arg9);
*(btMultiBodySliderConstraint **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btMultiBodySliderConstraint(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btMultiBodySliderConstraint *arg1 = (btMultiBodySliderConstraint *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btMultiBodySliderConstraint **)&jarg1;
delete arg1;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodySliderConstraint_1getPivotInA(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btMultiBodySliderConstraint *arg1 = (btMultiBodySliderConstraint *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodySliderConstraint **)&jarg1;
result = (btVector3 *) &((btMultiBodySliderConstraint const *)arg1)->getPivotInA();
jresult = gdx_getReturnVector3(jenv);
gdx_setVector3FrombtVector3(jenv, jresult, result);
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodySliderConstraint_1setPivotInA(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btMultiBodySliderConstraint *arg1 = (btMultiBodySliderConstraint *) 0 ;
btVector3 *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodySliderConstraint **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
(arg1)->setPivotInA((btVector3 const &)*arg2);
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodySliderConstraint_1getPivotInB(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btMultiBodySliderConstraint *arg1 = (btMultiBodySliderConstraint *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodySliderConstraint **)&jarg1;
result = (btVector3 *) &((btMultiBodySliderConstraint const *)arg1)->getPivotInB();
jresult = gdx_getReturnVector3(jenv);
gdx_setVector3FrombtVector3(jenv, jresult, result);
return jresult;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodySliderConstraint_1getFrameInA(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btMultiBodySliderConstraint *arg1 = (btMultiBodySliderConstraint *) 0 ;
btMatrix3x3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodySliderConstraint **)&jarg1;
result = (btMatrix3x3 *) &((btMultiBodySliderConstraint const *)arg1)->getFrameInA();
jresult = gdx_getReturnMatrix3(jenv);
gdx_setMatrix3FrombtMatrix3x3(jenv, jresult, result);
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodySliderConstraint_1setFrameInA(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btMultiBodySliderConstraint *arg1 = (btMultiBodySliderConstraint *) 0 ;
btMatrix3x3 *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodySliderConstraint **)&jarg1;
btMatrix3x3 local_arg2;
gdx_setbtMatrix3x3FromMatrix3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitMatrix3 auto_commit_arg2(jenv, jarg2, &local_arg2);
(arg1)->setFrameInA((btMatrix3x3 const &)*arg2);
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodySliderConstraint_1getFrameInB(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btMultiBodySliderConstraint *arg1 = (btMultiBodySliderConstraint *) 0 ;
btMatrix3x3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodySliderConstraint **)&jarg1;
result = (btMatrix3x3 *) &((btMultiBodySliderConstraint const *)arg1)->getFrameInB();
jresult = gdx_getReturnMatrix3(jenv);
gdx_setMatrix3FrombtMatrix3x3(jenv, jresult, result);
return jresult;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodySliderConstraint_1getJointAxis(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btMultiBodySliderConstraint *arg1 = (btMultiBodySliderConstraint *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodySliderConstraint **)&jarg1;
result = (btVector3 *) &((btMultiBodySliderConstraint const *)arg1)->getJointAxis();
jresult = gdx_getReturnVector3(jenv);
gdx_setVector3FrombtVector3(jenv, jresult, result);
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodySliderConstraint_1setJointAxis(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btMultiBodySliderConstraint *arg1 = (btMultiBodySliderConstraint *) 0 ;
btVector3 *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodySliderConstraint **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
(arg1)->setJointAxis((btVector3 const &)*arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodySolverConstraint_1operatorNew_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btMultiBodySolverConstraint *arg1 = (btMultiBodySolverConstraint *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodySolverConstraint **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new(arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodySolverConstraint_1operatorDelete_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btMultiBodySolverConstraint *arg1 = (btMultiBodySolverConstraint *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodySolverConstraint **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete(arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodySolverConstraint_1operatorNew_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btMultiBodySolverConstraint *arg1 = (btMultiBodySolverConstraint *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodySolverConstraint **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new(arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodySolverConstraint_1operatorDelete_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btMultiBodySolverConstraint *arg1 = (btMultiBodySolverConstraint *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodySolverConstraint **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete(arg2,arg3);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodySolverConstraint_1operatorNewArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btMultiBodySolverConstraint *arg1 = (btMultiBodySolverConstraint *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodySolverConstraint **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new[](arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodySolverConstraint_1operatorDeleteArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btMultiBodySolverConstraint *arg1 = (btMultiBodySolverConstraint *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodySolverConstraint **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete[](arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodySolverConstraint_1operatorNewArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btMultiBodySolverConstraint *arg1 = (btMultiBodySolverConstraint *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodySolverConstraint **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new[](arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodySolverConstraint_1operatorDeleteArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btMultiBodySolverConstraint *arg1 = (btMultiBodySolverConstraint *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodySolverConstraint **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete[](arg2,arg3);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btMultiBodySolverConstraint(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btMultiBodySolverConstraint *result = 0 ;
(void)jenv;
(void)jcls;
result = (btMultiBodySolverConstraint *)new btMultiBodySolverConstraint();
*(btMultiBodySolverConstraint **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodySolverConstraint_1deltaVelAindex_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btMultiBodySolverConstraint *arg1 = (btMultiBodySolverConstraint *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodySolverConstraint **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_deltaVelAindex = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodySolverConstraint_1deltaVelAindex_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btMultiBodySolverConstraint *arg1 = (btMultiBodySolverConstraint *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodySolverConstraint **)&jarg1;
result = (int) ((arg1)->m_deltaVelAindex);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodySolverConstraint_1jacAindex_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btMultiBodySolverConstraint *arg1 = (btMultiBodySolverConstraint *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodySolverConstraint **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_jacAindex = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodySolverConstraint_1jacAindex_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btMultiBodySolverConstraint *arg1 = (btMultiBodySolverConstraint *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodySolverConstraint **)&jarg1;
result = (int) ((arg1)->m_jacAindex);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodySolverConstraint_1deltaVelBindex_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btMultiBodySolverConstraint *arg1 = (btMultiBodySolverConstraint *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodySolverConstraint **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_deltaVelBindex = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodySolverConstraint_1deltaVelBindex_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btMultiBodySolverConstraint *arg1 = (btMultiBodySolverConstraint *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodySolverConstraint **)&jarg1;
result = (int) ((arg1)->m_deltaVelBindex);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodySolverConstraint_1jacBindex_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btMultiBodySolverConstraint *arg1 = (btMultiBodySolverConstraint *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodySolverConstraint **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_jacBindex = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodySolverConstraint_1jacBindex_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btMultiBodySolverConstraint *arg1 = (btMultiBodySolverConstraint *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodySolverConstraint **)&jarg1;
result = (int) ((arg1)->m_jacBindex);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodySolverConstraint_1relpos1CrossNormal_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btMultiBodySolverConstraint *arg1 = (btMultiBodySolverConstraint *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btMultiBodySolverConstraint **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->m_relpos1CrossNormal = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodySolverConstraint_1relpos1CrossNormal_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btMultiBodySolverConstraint *arg1 = (btMultiBodySolverConstraint *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodySolverConstraint **)&jarg1;
result = (btVector3 *)& ((arg1)->m_relpos1CrossNormal);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodySolverConstraint_1contactNormal1_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btMultiBodySolverConstraint *arg1 = (btMultiBodySolverConstraint *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btMultiBodySolverConstraint **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->m_contactNormal1 = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodySolverConstraint_1contactNormal1_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btMultiBodySolverConstraint *arg1 = (btMultiBodySolverConstraint *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodySolverConstraint **)&jarg1;
result = (btVector3 *)& ((arg1)->m_contactNormal1);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodySolverConstraint_1relpos2CrossNormal_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btMultiBodySolverConstraint *arg1 = (btMultiBodySolverConstraint *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btMultiBodySolverConstraint **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->m_relpos2CrossNormal = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodySolverConstraint_1relpos2CrossNormal_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btMultiBodySolverConstraint *arg1 = (btMultiBodySolverConstraint *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodySolverConstraint **)&jarg1;
result = (btVector3 *)& ((arg1)->m_relpos2CrossNormal);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodySolverConstraint_1contactNormal2_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btMultiBodySolverConstraint *arg1 = (btMultiBodySolverConstraint *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btMultiBodySolverConstraint **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->m_contactNormal2 = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodySolverConstraint_1contactNormal2_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btMultiBodySolverConstraint *arg1 = (btMultiBodySolverConstraint *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodySolverConstraint **)&jarg1;
result = (btVector3 *)& ((arg1)->m_contactNormal2);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodySolverConstraint_1angularComponentA_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btMultiBodySolverConstraint *arg1 = (btMultiBodySolverConstraint *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btMultiBodySolverConstraint **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->m_angularComponentA = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodySolverConstraint_1angularComponentA_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btMultiBodySolverConstraint *arg1 = (btMultiBodySolverConstraint *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodySolverConstraint **)&jarg1;
result = (btVector3 *)& ((arg1)->m_angularComponentA);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodySolverConstraint_1angularComponentB_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btMultiBodySolverConstraint *arg1 = (btMultiBodySolverConstraint *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btMultiBodySolverConstraint **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->m_angularComponentB = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodySolverConstraint_1angularComponentB_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btMultiBodySolverConstraint *arg1 = (btMultiBodySolverConstraint *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodySolverConstraint **)&jarg1;
result = (btVector3 *)& ((arg1)->m_angularComponentB);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodySolverConstraint_1appliedPushImpulse_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btMultiBodySolverConstraint *arg1 = (btMultiBodySolverConstraint *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodySolverConstraint **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_appliedPushImpulse = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodySolverConstraint_1appliedPushImpulse_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btMultiBodySolverConstraint *arg1 = (btMultiBodySolverConstraint *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodySolverConstraint **)&jarg1;
result = (btScalar) ((arg1)->m_appliedPushImpulse);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodySolverConstraint_1appliedImpulse_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btMultiBodySolverConstraint *arg1 = (btMultiBodySolverConstraint *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodySolverConstraint **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_appliedImpulse = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodySolverConstraint_1appliedImpulse_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btMultiBodySolverConstraint *arg1 = (btMultiBodySolverConstraint *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodySolverConstraint **)&jarg1;
result = (btScalar) ((arg1)->m_appliedImpulse);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodySolverConstraint_1friction_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btMultiBodySolverConstraint *arg1 = (btMultiBodySolverConstraint *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodySolverConstraint **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_friction = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodySolverConstraint_1friction_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btMultiBodySolverConstraint *arg1 = (btMultiBodySolverConstraint *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodySolverConstraint **)&jarg1;
result = (btScalar) ((arg1)->m_friction);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodySolverConstraint_1jacDiagABInv_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btMultiBodySolverConstraint *arg1 = (btMultiBodySolverConstraint *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodySolverConstraint **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_jacDiagABInv = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodySolverConstraint_1jacDiagABInv_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btMultiBodySolverConstraint *arg1 = (btMultiBodySolverConstraint *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodySolverConstraint **)&jarg1;
result = (btScalar) ((arg1)->m_jacDiagABInv);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodySolverConstraint_1rhs_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btMultiBodySolverConstraint *arg1 = (btMultiBodySolverConstraint *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodySolverConstraint **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_rhs = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodySolverConstraint_1rhs_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btMultiBodySolverConstraint *arg1 = (btMultiBodySolverConstraint *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodySolverConstraint **)&jarg1;
result = (btScalar) ((arg1)->m_rhs);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodySolverConstraint_1cfm_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btMultiBodySolverConstraint *arg1 = (btMultiBodySolverConstraint *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodySolverConstraint **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_cfm = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodySolverConstraint_1cfm_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btMultiBodySolverConstraint *arg1 = (btMultiBodySolverConstraint *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodySolverConstraint **)&jarg1;
result = (btScalar) ((arg1)->m_cfm);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodySolverConstraint_1lowerLimit_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btMultiBodySolverConstraint *arg1 = (btMultiBodySolverConstraint *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodySolverConstraint **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_lowerLimit = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodySolverConstraint_1lowerLimit_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btMultiBodySolverConstraint *arg1 = (btMultiBodySolverConstraint *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodySolverConstraint **)&jarg1;
result = (btScalar) ((arg1)->m_lowerLimit);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodySolverConstraint_1upperLimit_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btMultiBodySolverConstraint *arg1 = (btMultiBodySolverConstraint *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodySolverConstraint **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_upperLimit = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodySolverConstraint_1upperLimit_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btMultiBodySolverConstraint *arg1 = (btMultiBodySolverConstraint *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodySolverConstraint **)&jarg1;
result = (btScalar) ((arg1)->m_upperLimit);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodySolverConstraint_1rhsPenetration_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btMultiBodySolverConstraint *arg1 = (btMultiBodySolverConstraint *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodySolverConstraint **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_rhsPenetration = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodySolverConstraint_1rhsPenetration_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btMultiBodySolverConstraint *arg1 = (btMultiBodySolverConstraint *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodySolverConstraint **)&jarg1;
result = (btScalar) ((arg1)->m_rhsPenetration);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodySolverConstraint_1originalContactPoint_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btMultiBodySolverConstraint *arg1 = (btMultiBodySolverConstraint *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodySolverConstraint **)&jarg1;
arg2 = (void *)jarg2;
if (arg1) (arg1)->m_originalContactPoint = arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodySolverConstraint_1originalContactPoint_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btMultiBodySolverConstraint *arg1 = (btMultiBodySolverConstraint *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodySolverConstraint **)&jarg1;
result = (void *) ((arg1)->m_originalContactPoint);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodySolverConstraint_1unusedPadding4_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btMultiBodySolverConstraint *arg1 = (btMultiBodySolverConstraint *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodySolverConstraint **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_unusedPadding4 = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodySolverConstraint_1unusedPadding4_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btMultiBodySolverConstraint *arg1 = (btMultiBodySolverConstraint *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodySolverConstraint **)&jarg1;
result = (btScalar) ((arg1)->m_unusedPadding4);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodySolverConstraint_1overrideNumSolverIterations_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btMultiBodySolverConstraint *arg1 = (btMultiBodySolverConstraint *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodySolverConstraint **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_overrideNumSolverIterations = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodySolverConstraint_1overrideNumSolverIterations_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btMultiBodySolverConstraint *arg1 = (btMultiBodySolverConstraint *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodySolverConstraint **)&jarg1;
result = (int) ((arg1)->m_overrideNumSolverIterations);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodySolverConstraint_1frictionIndex_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btMultiBodySolverConstraint *arg1 = (btMultiBodySolverConstraint *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodySolverConstraint **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_frictionIndex = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodySolverConstraint_1frictionIndex_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btMultiBodySolverConstraint *arg1 = (btMultiBodySolverConstraint *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodySolverConstraint **)&jarg1;
result = (int) ((arg1)->m_frictionIndex);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodySolverConstraint_1solverBodyIdA_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btMultiBodySolverConstraint *arg1 = (btMultiBodySolverConstraint *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodySolverConstraint **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_solverBodyIdA = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodySolverConstraint_1solverBodyIdA_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btMultiBodySolverConstraint *arg1 = (btMultiBodySolverConstraint *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodySolverConstraint **)&jarg1;
result = (int) ((arg1)->m_solverBodyIdA);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodySolverConstraint_1multiBodyA_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btMultiBodySolverConstraint *arg1 = (btMultiBodySolverConstraint *) 0 ;
btMultiBody *arg2 = (btMultiBody *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btMultiBodySolverConstraint **)&jarg1;
arg2 = *(btMultiBody **)&jarg2;
if (arg1) (arg1)->m_multiBodyA = arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodySolverConstraint_1multiBodyA_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btMultiBodySolverConstraint *arg1 = (btMultiBodySolverConstraint *) 0 ;
btMultiBody *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodySolverConstraint **)&jarg1;
result = (btMultiBody *) ((arg1)->m_multiBodyA);
*(btMultiBody **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodySolverConstraint_1linkA_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btMultiBodySolverConstraint *arg1 = (btMultiBodySolverConstraint *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodySolverConstraint **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_linkA = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodySolverConstraint_1linkA_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btMultiBodySolverConstraint *arg1 = (btMultiBodySolverConstraint *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodySolverConstraint **)&jarg1;
result = (int) ((arg1)->m_linkA);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodySolverConstraint_1solverBodyIdB_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btMultiBodySolverConstraint *arg1 = (btMultiBodySolverConstraint *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodySolverConstraint **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_solverBodyIdB = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodySolverConstraint_1solverBodyIdB_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btMultiBodySolverConstraint *arg1 = (btMultiBodySolverConstraint *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodySolverConstraint **)&jarg1;
result = (int) ((arg1)->m_solverBodyIdB);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodySolverConstraint_1multiBodyB_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btMultiBodySolverConstraint *arg1 = (btMultiBodySolverConstraint *) 0 ;
btMultiBody *arg2 = (btMultiBody *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btMultiBodySolverConstraint **)&jarg1;
arg2 = *(btMultiBody **)&jarg2;
if (arg1) (arg1)->m_multiBodyB = arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodySolverConstraint_1multiBodyB_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btMultiBodySolverConstraint *arg1 = (btMultiBodySolverConstraint *) 0 ;
btMultiBody *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodySolverConstraint **)&jarg1;
result = (btMultiBody *) ((arg1)->m_multiBodyB);
*(btMultiBody **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodySolverConstraint_1linkB_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btMultiBodySolverConstraint *arg1 = (btMultiBodySolverConstraint *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodySolverConstraint **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_linkB = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodySolverConstraint_1linkB_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btMultiBodySolverConstraint *arg1 = (btMultiBodySolverConstraint *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodySolverConstraint **)&jarg1;
result = (int) ((arg1)->m_linkB);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodySolverConstraint_1orgConstraint_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btMultiBodySolverConstraint *arg1 = (btMultiBodySolverConstraint *) 0 ;
btMultiBodyConstraint *arg2 = (btMultiBodyConstraint *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btMultiBodySolverConstraint **)&jarg1;
arg2 = *(btMultiBodyConstraint **)&jarg2;
if (arg1) (arg1)->m_orgConstraint = arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodySolverConstraint_1orgConstraint_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btMultiBodySolverConstraint *arg1 = (btMultiBodySolverConstraint *) 0 ;
btMultiBodyConstraint *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodySolverConstraint **)&jarg1;
result = (btMultiBodyConstraint *) ((arg1)->m_orgConstraint);
*(btMultiBodyConstraint **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodySolverConstraint_1orgDofIndex_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btMultiBodySolverConstraint *arg1 = (btMultiBodySolverConstraint *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodySolverConstraint **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_orgDofIndex = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodySolverConstraint_1orgDofIndex_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btMultiBodySolverConstraint *arg1 = (btMultiBodySolverConstraint *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiBodySolverConstraint **)&jarg1;
result = (int) ((arg1)->m_orgDofIndex);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btMultiBodySolverConstraint(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btMultiBodySolverConstraint *arg1 = (btMultiBodySolverConstraint *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btMultiBodySolverConstraint **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDantzigScratchMemory_1scratch_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btDantzigScratchMemory *arg1 = (btDantzigScratchMemory *) 0 ;
btAlignedObjectArray< btScalar > *arg2 = (btAlignedObjectArray< btScalar > *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btDantzigScratchMemory **)&jarg1;
arg2 = *(btAlignedObjectArray< btScalar > **)&jarg2;
if (arg1) (arg1)->m_scratch = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDantzigScratchMemory_1scratch_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btDantzigScratchMemory *arg1 = (btDantzigScratchMemory *) 0 ;
btAlignedObjectArray< btScalar > *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDantzigScratchMemory **)&jarg1;
result = (btAlignedObjectArray< btScalar > *)& ((arg1)->m_scratch);
*(btAlignedObjectArray< btScalar > **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDantzigScratchMemory_1L_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btDantzigScratchMemory *arg1 = (btDantzigScratchMemory *) 0 ;
btAlignedObjectArray< btScalar > *arg2 = (btAlignedObjectArray< btScalar > *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btDantzigScratchMemory **)&jarg1;
arg2 = *(btAlignedObjectArray< btScalar > **)&jarg2;
if (arg1) (arg1)->L = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDantzigScratchMemory_1L_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btDantzigScratchMemory *arg1 = (btDantzigScratchMemory *) 0 ;
btAlignedObjectArray< btScalar > *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDantzigScratchMemory **)&jarg1;
result = (btAlignedObjectArray< btScalar > *)& ((arg1)->L);
*(btAlignedObjectArray< btScalar > **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDantzigScratchMemory_1d_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btDantzigScratchMemory *arg1 = (btDantzigScratchMemory *) 0 ;
btAlignedObjectArray< btScalar > *arg2 = (btAlignedObjectArray< btScalar > *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btDantzigScratchMemory **)&jarg1;
arg2 = *(btAlignedObjectArray< btScalar > **)&jarg2;
if (arg1) (arg1)->d = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDantzigScratchMemory_1d_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btDantzigScratchMemory *arg1 = (btDantzigScratchMemory *) 0 ;
btAlignedObjectArray< btScalar > *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDantzigScratchMemory **)&jarg1;
result = (btAlignedObjectArray< btScalar > *)& ((arg1)->d);
*(btAlignedObjectArray< btScalar > **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDantzigScratchMemory_1delta_1w_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btDantzigScratchMemory *arg1 = (btDantzigScratchMemory *) 0 ;
btAlignedObjectArray< btScalar > *arg2 = (btAlignedObjectArray< btScalar > *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btDantzigScratchMemory **)&jarg1;
arg2 = *(btAlignedObjectArray< btScalar > **)&jarg2;
if (arg1) (arg1)->delta_w = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDantzigScratchMemory_1delta_1w_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btDantzigScratchMemory *arg1 = (btDantzigScratchMemory *) 0 ;
btAlignedObjectArray< btScalar > *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDantzigScratchMemory **)&jarg1;
result = (btAlignedObjectArray< btScalar > *)& ((arg1)->delta_w);
*(btAlignedObjectArray< btScalar > **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDantzigScratchMemory_1delta_1x_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btDantzigScratchMemory *arg1 = (btDantzigScratchMemory *) 0 ;
btAlignedObjectArray< btScalar > *arg2 = (btAlignedObjectArray< btScalar > *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btDantzigScratchMemory **)&jarg1;
arg2 = *(btAlignedObjectArray< btScalar > **)&jarg2;
if (arg1) (arg1)->delta_x = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDantzigScratchMemory_1delta_1x_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btDantzigScratchMemory *arg1 = (btDantzigScratchMemory *) 0 ;
btAlignedObjectArray< btScalar > *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDantzigScratchMemory **)&jarg1;
result = (btAlignedObjectArray< btScalar > *)& ((arg1)->delta_x);
*(btAlignedObjectArray< btScalar > **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDantzigScratchMemory_1Dell_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btDantzigScratchMemory *arg1 = (btDantzigScratchMemory *) 0 ;
btAlignedObjectArray< btScalar > *arg2 = (btAlignedObjectArray< btScalar > *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btDantzigScratchMemory **)&jarg1;
arg2 = *(btAlignedObjectArray< btScalar > **)&jarg2;
if (arg1) (arg1)->Dell = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDantzigScratchMemory_1Dell_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btDantzigScratchMemory *arg1 = (btDantzigScratchMemory *) 0 ;
btAlignedObjectArray< btScalar > *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDantzigScratchMemory **)&jarg1;
result = (btAlignedObjectArray< btScalar > *)& ((arg1)->Dell);
*(btAlignedObjectArray< btScalar > **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDantzigScratchMemory_1ell_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btDantzigScratchMemory *arg1 = (btDantzigScratchMemory *) 0 ;
btAlignedObjectArray< btScalar > *arg2 = (btAlignedObjectArray< btScalar > *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btDantzigScratchMemory **)&jarg1;
arg2 = *(btAlignedObjectArray< btScalar > **)&jarg2;
if (arg1) (arg1)->ell = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDantzigScratchMemory_1ell_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btDantzigScratchMemory *arg1 = (btDantzigScratchMemory *) 0 ;
btAlignedObjectArray< btScalar > *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDantzigScratchMemory **)&jarg1;
result = (btAlignedObjectArray< btScalar > *)& ((arg1)->ell);
*(btAlignedObjectArray< btScalar > **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDantzigScratchMemory_1Arows_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btDantzigScratchMemory *arg1 = (btDantzigScratchMemory *) 0 ;
btAlignedObjectArray< btScalar * > *arg2 = (btAlignedObjectArray< btScalar * > *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDantzigScratchMemory **)&jarg1;
arg2 = *(btAlignedObjectArray< btScalar * > **)&jarg2;
if (arg1) (arg1)->Arows = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDantzigScratchMemory_1Arows_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btDantzigScratchMemory *arg1 = (btDantzigScratchMemory *) 0 ;
btAlignedObjectArray< btScalar * > *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDantzigScratchMemory **)&jarg1;
result = (btAlignedObjectArray< btScalar * > *)& ((arg1)->Arows);
*(btAlignedObjectArray< btScalar * > **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDantzigScratchMemory_1p_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btDantzigScratchMemory *arg1 = (btDantzigScratchMemory *) 0 ;
btAlignedObjectArray< int > *arg2 = (btAlignedObjectArray< int > *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDantzigScratchMemory **)&jarg1;
arg2 = *(btAlignedObjectArray< int > **)&jarg2;
if (arg1) (arg1)->p = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDantzigScratchMemory_1p_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btDantzigScratchMemory *arg1 = (btDantzigScratchMemory *) 0 ;
btAlignedObjectArray< int > *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDantzigScratchMemory **)&jarg1;
result = (btAlignedObjectArray< int > *)& ((arg1)->p);
*(btAlignedObjectArray< int > **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDantzigScratchMemory_1C_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btDantzigScratchMemory *arg1 = (btDantzigScratchMemory *) 0 ;
btAlignedObjectArray< int > *arg2 = (btAlignedObjectArray< int > *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDantzigScratchMemory **)&jarg1;
arg2 = *(btAlignedObjectArray< int > **)&jarg2;
if (arg1) (arg1)->C = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDantzigScratchMemory_1C_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btDantzigScratchMemory *arg1 = (btDantzigScratchMemory *) 0 ;
btAlignedObjectArray< int > *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDantzigScratchMemory **)&jarg1;
result = (btAlignedObjectArray< int > *)& ((arg1)->C);
*(btAlignedObjectArray< int > **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDantzigScratchMemory_1state_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btDantzigScratchMemory *arg1 = (btDantzigScratchMemory *) 0 ;
btAlignedObjectArray< bool > *arg2 = (btAlignedObjectArray< bool > *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDantzigScratchMemory **)&jarg1;
arg2 = *(btAlignedObjectArray< bool > **)&jarg2;
if (arg1) (arg1)->state = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDantzigScratchMemory_1state_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btDantzigScratchMemory *arg1 = (btDantzigScratchMemory *) 0 ;
btAlignedObjectArray< bool > *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDantzigScratchMemory **)&jarg1;
result = (btAlignedObjectArray< bool > *)& ((arg1)->state);
*(btAlignedObjectArray< bool > **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btDantzigScratchMemory(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btDantzigScratchMemory *result = 0 ;
(void)jenv;
(void)jcls;
result = (btDantzigScratchMemory *)new btDantzigScratchMemory();
*(btDantzigScratchMemory **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btDantzigScratchMemory(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btDantzigScratchMemory *arg1 = (btDantzigScratchMemory *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btDantzigScratchMemory **)&jarg1;
delete arg1;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolveDantzigLCP(JNIEnv *jenv, jclass jcls, jint jarg1, jobject jarg2, jobject jarg3, jobject jarg4, jobject jarg5, jint jarg6, jobject jarg7, jobject jarg8, jobject jarg9, jlong jarg10, jobject jarg10_) {
jboolean jresult = 0 ;
int arg1 ;
btScalar *arg2 = (btScalar *) 0 ;
btScalar *arg3 = (btScalar *) 0 ;
btScalar *arg4 = (btScalar *) 0 ;
btScalar *arg5 = (btScalar *) 0 ;
int arg6 ;
btScalar *arg7 = (btScalar *) 0 ;
btScalar *arg8 = (btScalar *) 0 ;
int *arg9 = (int *) 0 ;
btDantzigScratchMemory *arg10 = 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg10_;
arg1 = (int)jarg1;
{
arg2 = (btScalar*)jenv->GetDirectBufferAddress(jarg2);
if (arg2 == NULL) {
SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, "Unable to get address of direct buffer. Buffer must be allocated direct.");
}
}
{
arg3 = (btScalar*)jenv->GetDirectBufferAddress(jarg3);
if (arg3 == NULL) {
SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, "Unable to get address of direct buffer. Buffer must be allocated direct.");
}
}
{
arg4 = (btScalar*)jenv->GetDirectBufferAddress(jarg4);
if (arg4 == NULL) {
SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, "Unable to get address of direct buffer. Buffer must be allocated direct.");
}
}
{
arg5 = (btScalar*)jenv->GetDirectBufferAddress(jarg5);
if (arg5 == NULL) {
SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, "Unable to get address of direct buffer. Buffer must be allocated direct.");
}
}
arg6 = (int)jarg6;
{
arg7 = (btScalar*)jenv->GetDirectBufferAddress(jarg7);
if (arg7 == NULL) {
SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, "Unable to get address of direct buffer. Buffer must be allocated direct.");
}
}
{
arg8 = (btScalar*)jenv->GetDirectBufferAddress(jarg8);
if (arg8 == NULL) {
SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, "Unable to get address of direct buffer. Buffer must be allocated direct.");
}
}
{
arg9 = (int*)jenv->GetDirectBufferAddress(jarg9);
if (arg9 == NULL) {
SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, "Unable to get address of direct buffer. Buffer must be allocated direct.");
}
}
arg10 = *(btDantzigScratchMemory **)&jarg10;
if (!arg10) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btDantzigScratchMemory & reference is null");
return 0;
}
result = (bool)btSolveDantzigLCP(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,*arg10);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btMLCPSolverInterface(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btMLCPSolverInterface *arg1 = (btMLCPSolverInterface *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btMLCPSolverInterface **)&jarg1;
delete arg1;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMLCPSolverInterface_1solveMLCP_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3, jlong jarg4, jlong jarg5, jlong jarg6, jlong jarg7, jint jarg8, jboolean jarg9) {
jboolean jresult = 0 ;
btMLCPSolverInterface *arg1 = (btMLCPSolverInterface *) 0 ;
btMatrixXf *arg2 = 0 ;
btVectorXf *arg3 = 0 ;
btVectorXf *arg4 = 0 ;
btVectorXf *arg5 = 0 ;
btVectorXf *arg6 = 0 ;
btAlignedObjectArray< int > *arg7 = 0 ;
int arg8 ;
bool arg9 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMLCPSolverInterface **)&jarg1;
arg2 = *(btMatrixXf **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btMatrixXf const & reference is null");
return 0;
}
arg3 = *(btVectorXf **)&jarg3;
if (!arg3) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btVectorXf const & reference is null");
return 0;
}
arg4 = *(btVectorXf **)&jarg4;
if (!arg4) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btVectorXf & reference is null");
return 0;
}
arg5 = *(btVectorXf **)&jarg5;
if (!arg5) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btVectorXf const & reference is null");
return 0;
}
arg6 = *(btVectorXf **)&jarg6;
if (!arg6) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btVectorXf const & reference is null");
return 0;
}
arg7 = *(btAlignedObjectArray< int > **)&jarg7;
if (!arg7) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btAlignedObjectArray< int > const & reference is null");
return 0;
}
arg8 = (int)jarg8;
arg9 = jarg9 ? true : false;
result = (bool)(arg1)->solveMLCP((btMatrixXf const &)*arg2,(btVectorXf const &)*arg3,*arg4,(btVectorXf const &)*arg5,(btVectorXf const &)*arg6,(btAlignedObjectArray< int > const &)*arg7,arg8,arg9);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMLCPSolverInterface_1solveMLCP_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3, jlong jarg4, jlong jarg5, jlong jarg6, jlong jarg7, jint jarg8) {
jboolean jresult = 0 ;
btMLCPSolverInterface *arg1 = (btMLCPSolverInterface *) 0 ;
btMatrixXf *arg2 = 0 ;
btVectorXf *arg3 = 0 ;
btVectorXf *arg4 = 0 ;
btVectorXf *arg5 = 0 ;
btVectorXf *arg6 = 0 ;
btAlignedObjectArray< int > *arg7 = 0 ;
int arg8 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMLCPSolverInterface **)&jarg1;
arg2 = *(btMatrixXf **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btMatrixXf const & reference is null");
return 0;
}
arg3 = *(btVectorXf **)&jarg3;
if (!arg3) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btVectorXf const & reference is null");
return 0;
}
arg4 = *(btVectorXf **)&jarg4;
if (!arg4) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btVectorXf & reference is null");
return 0;
}
arg5 = *(btVectorXf **)&jarg5;
if (!arg5) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btVectorXf const & reference is null");
return 0;
}
arg6 = *(btVectorXf **)&jarg6;
if (!arg6) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btVectorXf const & reference is null");
return 0;
}
arg7 = *(btAlignedObjectArray< int > **)&jarg7;
if (!arg7) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btAlignedObjectArray< int > const & reference is null");
return 0;
}
arg8 = (int)jarg8;
result = (bool)(arg1)->solveMLCP((btMatrixXf const &)*arg2,(btVectorXf const &)*arg3,*arg4,(btVectorXf const &)*arg5,(btVectorXf const &)*arg6,(btAlignedObjectArray< int > const &)*arg7,arg8);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btDantzigSolver(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btDantzigSolver *result = 0 ;
(void)jenv;
(void)jcls;
result = (btDantzigSolver *)new btDantzigSolver();
*(btDantzigSolver **)&jresult = result;
return jresult;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDantzigSolver_1solveMLCP_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3, jlong jarg4, jlong jarg5, jlong jarg6, jlong jarg7, jint jarg8, jboolean jarg9) {
jboolean jresult = 0 ;
btDantzigSolver *arg1 = (btDantzigSolver *) 0 ;
btMatrixXf *arg2 = 0 ;
btVectorXf *arg3 = 0 ;
btVectorXf *arg4 = 0 ;
btVectorXf *arg5 = 0 ;
btVectorXf *arg6 = 0 ;
btAlignedObjectArray< int > *arg7 = 0 ;
int arg8 ;
bool arg9 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDantzigSolver **)&jarg1;
arg2 = *(btMatrixXf **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btMatrixXf const & reference is null");
return 0;
}
arg3 = *(btVectorXf **)&jarg3;
if (!arg3) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btVectorXf const & reference is null");
return 0;
}
arg4 = *(btVectorXf **)&jarg4;
if (!arg4) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btVectorXf & reference is null");
return 0;
}
arg5 = *(btVectorXf **)&jarg5;
if (!arg5) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btVectorXf const & reference is null");
return 0;
}
arg6 = *(btVectorXf **)&jarg6;
if (!arg6) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btVectorXf const & reference is null");
return 0;
}
arg7 = *(btAlignedObjectArray< int > **)&jarg7;
if (!arg7) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btAlignedObjectArray< int > const & reference is null");
return 0;
}
arg8 = (int)jarg8;
arg9 = jarg9 ? true : false;
result = (bool)(arg1)->solveMLCP((btMatrixXf const &)*arg2,(btVectorXf const &)*arg3,*arg4,(btVectorXf const &)*arg5,(btVectorXf const &)*arg6,(btAlignedObjectArray< int > const &)*arg7,arg8,arg9);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDantzigSolver_1solveMLCP_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3, jlong jarg4, jlong jarg5, jlong jarg6, jlong jarg7, jint jarg8) {
jboolean jresult = 0 ;
btDantzigSolver *arg1 = (btDantzigSolver *) 0 ;
btMatrixXf *arg2 = 0 ;
btVectorXf *arg3 = 0 ;
btVectorXf *arg4 = 0 ;
btVectorXf *arg5 = 0 ;
btVectorXf *arg6 = 0 ;
btAlignedObjectArray< int > *arg7 = 0 ;
int arg8 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDantzigSolver **)&jarg1;
arg2 = *(btMatrixXf **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btMatrixXf const & reference is null");
return 0;
}
arg3 = *(btVectorXf **)&jarg3;
if (!arg3) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btVectorXf const & reference is null");
return 0;
}
arg4 = *(btVectorXf **)&jarg4;
if (!arg4) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btVectorXf & reference is null");
return 0;
}
arg5 = *(btVectorXf **)&jarg5;
if (!arg5) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btVectorXf const & reference is null");
return 0;
}
arg6 = *(btVectorXf **)&jarg6;
if (!arg6) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btVectorXf const & reference is null");
return 0;
}
arg7 = *(btAlignedObjectArray< int > **)&jarg7;
if (!arg7) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btAlignedObjectArray< int > const & reference is null");
return 0;
}
arg8 = (int)jarg8;
result = (bool)(arg1)->solveMLCP((btMatrixXf const &)*arg2,(btVectorXf const &)*arg3,*arg4,(btVectorXf const &)*arg5,(btVectorXf const &)*arg6,(btAlignedObjectArray< int > const &)*arg7,arg8);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btDantzigSolver(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btDantzigSolver *arg1 = (btDantzigSolver *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btDantzigSolver **)&jarg1;
delete arg1;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btLemkeAlgorithm_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jint jarg3) {
jlong jresult = 0 ;
btMatrixXf *arg1 = 0 ;
btVectorXf *arg2 = 0 ;
int *arg3 = 0 ;
int temp3 ;
btLemkeAlgorithm *result = 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btMatrixXf **)&jarg1;
if (!arg1) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btMatrixXf const & reference is null");
return 0;
}
arg2 = *(btVectorXf **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btVectorXf const & reference is null");
return 0;
}
temp3 = (int)jarg3;
arg3 = &temp3;
result = (btLemkeAlgorithm *)new btLemkeAlgorithm((btMatrixXf const &)*arg1,(btVectorXf const &)*arg2,(int const &)*arg3);
*(btLemkeAlgorithm **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btLemkeAlgorithm_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
jlong jresult = 0 ;
btMatrixXf *arg1 = 0 ;
btVectorXf *arg2 = 0 ;
btLemkeAlgorithm *result = 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btMatrixXf **)&jarg1;
if (!arg1) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btMatrixXf const & reference is null");
return 0;
}
arg2 = *(btVectorXf **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btVectorXf const & reference is null");
return 0;
}
result = (btLemkeAlgorithm *)new btLemkeAlgorithm((btMatrixXf const &)*arg1,(btVectorXf const &)*arg2);
*(btLemkeAlgorithm **)&jresult = result;
return jresult;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btLemkeAlgorithm_1getInfo(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btLemkeAlgorithm *arg1 = (btLemkeAlgorithm *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btLemkeAlgorithm **)&jarg1;
result = (int)(arg1)->getInfo();
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btLemkeAlgorithm_1getSteps(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btLemkeAlgorithm *arg1 = (btLemkeAlgorithm *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btLemkeAlgorithm **)&jarg1;
result = (int)(arg1)->getSteps();
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btLemkeAlgorithm_1setSystem(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btLemkeAlgorithm *arg1 = (btLemkeAlgorithm *) 0 ;
btMatrixXf *arg2 = 0 ;
btVectorXf *arg3 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btLemkeAlgorithm **)&jarg1;
arg2 = *(btMatrixXf **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btMatrixXf const & reference is null");
return ;
}
arg3 = *(btVectorXf **)&jarg3;
if (!arg3) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btVectorXf const & reference is null");
return ;
}
(arg1)->setSystem((btMatrixXf const &)*arg2,(btVectorXf const &)*arg3);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btLemkeAlgorithm_1solve_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btLemkeAlgorithm *arg1 = (btLemkeAlgorithm *) 0 ;
unsigned int arg2 ;
SwigValueWrapper< btVectorX< float > > result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btLemkeAlgorithm **)&jarg1;
arg2 = (unsigned int)jarg2;
result = (arg1)->solve(arg2);
*(btVectorXf **)&jresult = new btVectorXf((const btVectorXf &)result);
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btLemkeAlgorithm_1solve_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btLemkeAlgorithm *arg1 = (btLemkeAlgorithm *) 0 ;
SwigValueWrapper< btVectorX< float > > result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btLemkeAlgorithm **)&jarg1;
result = (arg1)->solve();
*(btVectorXf **)&jresult = new btVectorXf((const btVectorXf &)result);
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btLemkeAlgorithm(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btLemkeAlgorithm *arg1 = (btLemkeAlgorithm *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btLemkeAlgorithm **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btLemkeSolver_1maxValue_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btLemkeSolver *arg1 = (btLemkeSolver *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btLemkeSolver **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_maxValue = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btLemkeSolver_1maxValue_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btLemkeSolver *arg1 = (btLemkeSolver *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btLemkeSolver **)&jarg1;
result = (btScalar) ((arg1)->m_maxValue);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btLemkeSolver_1debugLevel_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btLemkeSolver *arg1 = (btLemkeSolver *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btLemkeSolver **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_debugLevel = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btLemkeSolver_1debugLevel_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btLemkeSolver *arg1 = (btLemkeSolver *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btLemkeSolver **)&jarg1;
result = (int) ((arg1)->m_debugLevel);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btLemkeSolver_1maxLoops_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btLemkeSolver *arg1 = (btLemkeSolver *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btLemkeSolver **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_maxLoops = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btLemkeSolver_1maxLoops_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btLemkeSolver *arg1 = (btLemkeSolver *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btLemkeSolver **)&jarg1;
result = (int) ((arg1)->m_maxLoops);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btLemkeSolver_1useLoHighBounds_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jboolean jarg2) {
btLemkeSolver *arg1 = (btLemkeSolver *) 0 ;
bool arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btLemkeSolver **)&jarg1;
arg2 = jarg2 ? true : false;
if (arg1) (arg1)->m_useLoHighBounds = arg2;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btLemkeSolver_1useLoHighBounds_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jboolean jresult = 0 ;
btLemkeSolver *arg1 = (btLemkeSolver *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btLemkeSolver **)&jarg1;
result = (bool) ((arg1)->m_useLoHighBounds);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btLemkeSolver(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btLemkeSolver *result = 0 ;
(void)jenv;
(void)jcls;
result = (btLemkeSolver *)new btLemkeSolver();
*(btLemkeSolver **)&jresult = result;
return jresult;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btLemkeSolver_1solveMLCP_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3, jlong jarg4, jlong jarg5, jlong jarg6, jlong jarg7, jint jarg8, jboolean jarg9) {
jboolean jresult = 0 ;
btLemkeSolver *arg1 = (btLemkeSolver *) 0 ;
btMatrixXf *arg2 = 0 ;
btVectorXf *arg3 = 0 ;
btVectorXf *arg4 = 0 ;
btVectorXf *arg5 = 0 ;
btVectorXf *arg6 = 0 ;
btAlignedObjectArray< int > *arg7 = 0 ;
int arg8 ;
bool arg9 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btLemkeSolver **)&jarg1;
arg2 = *(btMatrixXf **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btMatrixXf const & reference is null");
return 0;
}
arg3 = *(btVectorXf **)&jarg3;
if (!arg3) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btVectorXf const & reference is null");
return 0;
}
arg4 = *(btVectorXf **)&jarg4;
if (!arg4) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btVectorXf & reference is null");
return 0;
}
arg5 = *(btVectorXf **)&jarg5;
if (!arg5) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btVectorXf const & reference is null");
return 0;
}
arg6 = *(btVectorXf **)&jarg6;
if (!arg6) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btVectorXf const & reference is null");
return 0;
}
arg7 = *(btAlignedObjectArray< int > **)&jarg7;
if (!arg7) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btAlignedObjectArray< int > const & reference is null");
return 0;
}
arg8 = (int)jarg8;
arg9 = jarg9 ? true : false;
result = (bool)(arg1)->solveMLCP((btMatrixXf const &)*arg2,(btVectorXf const &)*arg3,*arg4,(btVectorXf const &)*arg5,(btVectorXf const &)*arg6,(btAlignedObjectArray< int > const &)*arg7,arg8,arg9);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btLemkeSolver_1solveMLCP_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3, jlong jarg4, jlong jarg5, jlong jarg6, jlong jarg7, jint jarg8) {
jboolean jresult = 0 ;
btLemkeSolver *arg1 = (btLemkeSolver *) 0 ;
btMatrixXf *arg2 = 0 ;
btVectorXf *arg3 = 0 ;
btVectorXf *arg4 = 0 ;
btVectorXf *arg5 = 0 ;
btVectorXf *arg6 = 0 ;
btAlignedObjectArray< int > *arg7 = 0 ;
int arg8 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btLemkeSolver **)&jarg1;
arg2 = *(btMatrixXf **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btMatrixXf const & reference is null");
return 0;
}
arg3 = *(btVectorXf **)&jarg3;
if (!arg3) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btVectorXf const & reference is null");
return 0;
}
arg4 = *(btVectorXf **)&jarg4;
if (!arg4) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btVectorXf & reference is null");
return 0;
}
arg5 = *(btVectorXf **)&jarg5;
if (!arg5) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btVectorXf const & reference is null");
return 0;
}
arg6 = *(btVectorXf **)&jarg6;
if (!arg6) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btVectorXf const & reference is null");
return 0;
}
arg7 = *(btAlignedObjectArray< int > **)&jarg7;
if (!arg7) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btAlignedObjectArray< int > const & reference is null");
return 0;
}
arg8 = (int)jarg8;
result = (bool)(arg1)->solveMLCP((btMatrixXf const &)*arg2,(btVectorXf const &)*arg3,*arg4,(btVectorXf const &)*arg5,(btVectorXf const &)*arg6,(btAlignedObjectArray< int > const &)*arg7,arg8);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btLemkeSolver(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btLemkeSolver *arg1 = (btLemkeSolver *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btLemkeSolver **)&jarg1;
delete arg1;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btMLCPSolver(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btMLCPSolverInterface *arg1 = (btMLCPSolverInterface *) 0 ;
btMLCPSolver *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMLCPSolverInterface **)&jarg1;
result = (btMLCPSolver *)new btMLCPSolver(arg1);
*(btMLCPSolver **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btMLCPSolver(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btMLCPSolver *arg1 = (btMLCPSolver *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btMLCPSolver **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMLCPSolver_1setMLCPSolver(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btMLCPSolver *arg1 = (btMLCPSolver *) 0 ;
btMLCPSolverInterface *arg2 = (btMLCPSolverInterface *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btMLCPSolver **)&jarg1;
arg2 = *(btMLCPSolverInterface **)&jarg2;
(arg1)->setMLCPSolver(arg2);
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMLCPSolver_1getNumFallbacks(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btMLCPSolver *arg1 = (btMLCPSolver *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMLCPSolver **)&jarg1;
result = (int)((btMLCPSolver const *)arg1)->getNumFallbacks();
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMLCPSolver_1setNumFallbacks(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btMLCPSolver *arg1 = (btMLCPSolver *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMLCPSolver **)&jarg1;
arg2 = (int)jarg2;
(arg1)->setNumFallbacks(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolveProjectedGaussSeidel_1leastSquaresResidualThreshold_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btSolveProjectedGaussSeidel *arg1 = (btSolveProjectedGaussSeidel *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSolveProjectedGaussSeidel **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_leastSquaresResidualThreshold = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolveProjectedGaussSeidel_1leastSquaresResidualThreshold_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btSolveProjectedGaussSeidel *arg1 = (btSolveProjectedGaussSeidel *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSolveProjectedGaussSeidel **)&jarg1;
result = (btScalar) ((arg1)->m_leastSquaresResidualThreshold);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolveProjectedGaussSeidel_1leastSquaresResidual_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btSolveProjectedGaussSeidel *arg1 = (btSolveProjectedGaussSeidel *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSolveProjectedGaussSeidel **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_leastSquaresResidual = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolveProjectedGaussSeidel_1leastSquaresResidual_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btSolveProjectedGaussSeidel *arg1 = (btSolveProjectedGaussSeidel *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSolveProjectedGaussSeidel **)&jarg1;
result = (btScalar) ((arg1)->m_leastSquaresResidual);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btSolveProjectedGaussSeidel(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btSolveProjectedGaussSeidel *result = 0 ;
(void)jenv;
(void)jcls;
result = (btSolveProjectedGaussSeidel *)new btSolveProjectedGaussSeidel();
*(btSolveProjectedGaussSeidel **)&jresult = result;
return jresult;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolveProjectedGaussSeidel_1solveMLCP_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3, jlong jarg4, jlong jarg5, jlong jarg6, jlong jarg7, jint jarg8, jboolean jarg9) {
jboolean jresult = 0 ;
btSolveProjectedGaussSeidel *arg1 = (btSolveProjectedGaussSeidel *) 0 ;
btMatrixXf *arg2 = 0 ;
btVectorXf *arg3 = 0 ;
btVectorXf *arg4 = 0 ;
btVectorXf *arg5 = 0 ;
btVectorXf *arg6 = 0 ;
btAlignedObjectArray< int > *arg7 = 0 ;
int arg8 ;
bool arg9 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSolveProjectedGaussSeidel **)&jarg1;
arg2 = *(btMatrixXf **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btMatrixXf const & reference is null");
return 0;
}
arg3 = *(btVectorXf **)&jarg3;
if (!arg3) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btVectorXf const & reference is null");
return 0;
}
arg4 = *(btVectorXf **)&jarg4;
if (!arg4) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btVectorXf & reference is null");
return 0;
}
arg5 = *(btVectorXf **)&jarg5;
if (!arg5) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btVectorXf const & reference is null");
return 0;
}
arg6 = *(btVectorXf **)&jarg6;
if (!arg6) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btVectorXf const & reference is null");
return 0;
}
arg7 = *(btAlignedObjectArray< int > **)&jarg7;
if (!arg7) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btAlignedObjectArray< int > const & reference is null");
return 0;
}
arg8 = (int)jarg8;
arg9 = jarg9 ? true : false;
result = (bool)(arg1)->solveMLCP((btMatrixXf const &)*arg2,(btVectorXf const &)*arg3,*arg4,(btVectorXf const &)*arg5,(btVectorXf const &)*arg6,(btAlignedObjectArray< int > const &)*arg7,arg8,arg9);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolveProjectedGaussSeidel_1solveMLCP_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3, jlong jarg4, jlong jarg5, jlong jarg6, jlong jarg7, jint jarg8) {
jboolean jresult = 0 ;
btSolveProjectedGaussSeidel *arg1 = (btSolveProjectedGaussSeidel *) 0 ;
btMatrixXf *arg2 = 0 ;
btVectorXf *arg3 = 0 ;
btVectorXf *arg4 = 0 ;
btVectorXf *arg5 = 0 ;
btVectorXf *arg6 = 0 ;
btAlignedObjectArray< int > *arg7 = 0 ;
int arg8 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSolveProjectedGaussSeidel **)&jarg1;
arg2 = *(btMatrixXf **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btMatrixXf const & reference is null");
return 0;
}
arg3 = *(btVectorXf **)&jarg3;
if (!arg3) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btVectorXf const & reference is null");
return 0;
}
arg4 = *(btVectorXf **)&jarg4;
if (!arg4) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btVectorXf & reference is null");
return 0;
}
arg5 = *(btVectorXf **)&jarg5;
if (!arg5) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btVectorXf const & reference is null");
return 0;
}
arg6 = *(btVectorXf **)&jarg6;
if (!arg6) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btVectorXf const & reference is null");
return 0;
}
arg7 = *(btAlignedObjectArray< int > **)&jarg7;
if (!arg7) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btAlignedObjectArray< int > const & reference is null");
return 0;
}
arg8 = (int)jarg8;
result = (bool)(arg1)->solveMLCP((btMatrixXf const &)*arg2,(btVectorXf const &)*arg3,*arg4,(btVectorXf const &)*arg5,(btVectorXf const &)*arg6,(btAlignedObjectArray< int > const &)*arg7,arg8);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btSolveProjectedGaussSeidel(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btSolveProjectedGaussSeidel *arg1 = (btSolveProjectedGaussSeidel *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btSolveProjectedGaussSeidel **)&jarg1;
delete arg1;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btCollisionObject **)&baseptr = *(btRigidBody **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btTypedObject **)&baseptr = *(btTypedConstraint **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDynamicsWorld_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btCollisionWorld **)&baseptr = *(btDynamicsWorld **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSimpleDynamicsWorld_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btDynamicsWorld **)&baseptr = *(btSimpleDynamicsWorld **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_CustomActionInterface_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btActionInterface **)&baseptr = *(CustomActionInterface **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDiscreteDynamicsWorld_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btDynamicsWorld **)&baseptr = *(btDiscreteDynamicsWorld **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btCharacterControllerInterface_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btActionInterface **)&baseptr = *(btCharacterControllerInterface **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btKinematicCharacterController_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btCharacterControllerInterface **)&baseptr = *(btKinematicCharacterController **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfo_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btContactSolverInfoData **)&baseptr = *(btContactSolverInfo **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSequentialImpulseConstraintSolver_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btConstraintSolver **)&baseptr = *(btSequentialImpulseConstraintSolver **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btTypedConstraint **)&baseptr = *(btSliderConstraint **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btPoint2PointConstraint_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btTypedConstraint **)&baseptr = *(btPoint2PointConstraint **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraint_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btTypedConstraint **)&baseptr = *(btGeneric6DofConstraint **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btUniversalConstraint_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btGeneric6DofConstraint **)&baseptr = *(btUniversalConstraint **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactConstraint_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btTypedConstraint **)&baseptr = *(btContactConstraint **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraint_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btTypedConstraint **)&baseptr = *(btConeTwistConstraint **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpringConstraint_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btGeneric6DofConstraint **)&baseptr = *(btGeneric6DofSpringConstraint **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2Constraint_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btTypedConstraint **)&baseptr = *(btGeneric6DofSpring2Constraint **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraint_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btTypedConstraint **)&baseptr = *(btHingeConstraint **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeAccumulatedAngleConstraint_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btHingeConstraint **)&baseptr = *(btHingeAccumulatedAngleConstraint **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHinge2Constraint_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btGeneric6DofSpring2Constraint **)&baseptr = *(btHinge2Constraint **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btFixedConstraint_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btGeneric6DofSpring2Constraint **)&baseptr = *(btFixedConstraint **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRaycastVehicle_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btActionInterface **)&baseptr = *(btRaycastVehicle **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDefaultVehicleRaycaster_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btVehicleRaycaster **)&baseptr = *(btDefaultVehicleRaycaster **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_FilterableVehicleRaycaster_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btDefaultVehicleRaycaster **)&baseptr = *(FilterableVehicleRaycaster **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGearConstraint_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btTypedConstraint **)&baseptr = *(btGearConstraint **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btNNCGConstraintSolver_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btSequentialImpulseConstraintSolver **)&baseptr = *(btNNCGConstraintSolver **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConstraintSolverPoolMt_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btConstraintSolver **)&baseptr = *(btConstraintSolverPoolMt **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDiscreteDynamicsWorldMt_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btDiscreteDynamicsWorld **)&baseptr = *(btDiscreteDynamicsWorldMt **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSimulationIslandManagerMt_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btSimulationIslandManager **)&baseptr = *(btSimulationIslandManagerMt **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyGearConstraint_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btMultiBodyConstraint **)&baseptr = *(btMultiBodyGearConstraint **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyConstraintSolver_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btSequentialImpulseConstraintSolver **)&baseptr = *(btMultiBodyConstraintSolver **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyDynamicsWorld_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btDiscreteDynamicsWorld **)&baseptr = *(btMultiBodyDynamicsWorld **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyFixedConstraint_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btMultiBodyConstraint **)&baseptr = *(btMultiBodyFixedConstraint **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyJointLimitConstraint_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btMultiBodyConstraint **)&baseptr = *(btMultiBodyJointLimitConstraint **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyJointMotor_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btMultiBodyConstraint **)&baseptr = *(btMultiBodyJointMotor **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyLinkCollider_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btCollisionObject **)&baseptr = *(btMultiBodyLinkCollider **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodyPoint2Point_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btMultiBodyConstraint **)&baseptr = *(btMultiBodyPoint2Point **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMultiBodySliderConstraint_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btMultiBodyConstraint **)&baseptr = *(btMultiBodySliderConstraint **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDantzigSolver_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btMLCPSolverInterface **)&baseptr = *(btDantzigSolver **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btLemkeSolver_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btMLCPSolverInterface **)&baseptr = *(btLemkeSolver **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btMLCPSolver_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btSequentialImpulseConstraintSolver **)&baseptr = *(btMLCPSolver **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolveProjectedGaussSeidel_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btMLCPSolverInterface **)&baseptr = *(btSolveProjectedGaussSeidel **)&jarg1;
return baseptr;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_swig_1module_1init(JNIEnv *jenv, jclass jcls) {
int i;
static struct {
const char *method;
const char *signature;
} methods[3] = {
{
"SwigDirector_InternalTickCallback_onInternalTick", "(Lcom/badlogic/gdx/physics/bullet/dynamics/InternalTickCallback;JF)V"
},
{
"SwigDirector_CustomActionInterface_updateAction", "(Lcom/badlogic/gdx/physics/bullet/dynamics/CustomActionInterface;F)V"
},
{
"SwigDirector_CustomActionInterface_debugDraw", "(Lcom/badlogic/gdx/physics/bullet/dynamics/CustomActionInterface;)V"
}
};
Swig::jclass_DynamicsJNI = (jclass) jenv->NewGlobalRef(jcls);
if (!Swig::jclass_DynamicsJNI) return;
for (i = 0; i < (int) (sizeof(methods)/sizeof(methods[0])); ++i) {
Swig::director_method_ids[i] = jenv->GetStaticMethodID(jcls, methods[i].method, methods[i].signature);
if (!Swig::director_method_ids[i]) return;
}
}
#ifdef __cplusplus
}
#endif
| -1 |
libgdx/libgdx | 7,270 | Update missing build.gradle files with new syntax for registering tasks | Some Gradle build files were still using old syntax after https://github.com/libgdx/libgdx/pull/7134.
| obigu | "2023-11-05T15:31:03Z" | "2023-11-13T11:04:33Z" | 8e3b2ef2af2e1c1765b3441cb15cfbeddf4046fa | a25ceaddd8e9ea740b7e50e486ea4f815d2a3f58 | Update missing build.gradle files with new syntax for registering tasks. Some Gradle build files were still using old syntax after https://github.com/libgdx/libgdx/pull/7134.
| ./backends/gdx-backends-gwt/src/com/badlogic/gdx/backends/gwt/emu/com/badlogic/gdx/utils/reflect/Constructor.java | /*******************************************************************************
* Copyright 2011 See AUTHORS file.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
******************************************************************************/
package com.badlogic.gdx.utils.reflect;
import com.badlogic.gwtref.client.Parameter;
/** Provides information about, and access to, a single constructor for a Class.
* @author nexsoftware */
public final class Constructor {
private final com.badlogic.gwtref.client.Constructor constructor;
Constructor (com.badlogic.gwtref.client.Constructor constructor) {
this.constructor = constructor;
}
/** Returns an array of Class objects that represent the formal parameter types, in declaration order, of the constructor. */
public Class[] getParameterTypes () {
Parameter[] parameters = constructor.getParameters();
Class[] parameterTypes = new Class[parameters.length];
for (int i = 0, j = parameters.length; i < j; i++) {
parameterTypes[i] = parameters[i].getClazz();
}
return parameterTypes;
}
/** Returns the Class object representing the class or interface that declares the constructor. */
public Class getDeclaringClass () {
return constructor.getEnclosingType();
}
public boolean isAccessible () {
return constructor.isPublic();
}
public void setAccessible (boolean accessible) {
// NOOP in GWT
}
/** Uses the constructor to create and initialize a new instance of the constructor's declaring class, with the supplied
* initialization parameters. */
public Object newInstance (Object... args) throws ReflectionException {
try {
return constructor.newInstance(args);
} catch (IllegalArgumentException e) {
throw new ReflectionException("Illegal argument(s) supplied to constructor for class: " + getDeclaringClass().getName(),
e);
}
}
}
| /*******************************************************************************
* Copyright 2011 See AUTHORS file.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
******************************************************************************/
package com.badlogic.gdx.utils.reflect;
import com.badlogic.gwtref.client.Parameter;
/** Provides information about, and access to, a single constructor for a Class.
* @author nexsoftware */
public final class Constructor {
private final com.badlogic.gwtref.client.Constructor constructor;
Constructor (com.badlogic.gwtref.client.Constructor constructor) {
this.constructor = constructor;
}
/** Returns an array of Class objects that represent the formal parameter types, in declaration order, of the constructor. */
public Class[] getParameterTypes () {
Parameter[] parameters = constructor.getParameters();
Class[] parameterTypes = new Class[parameters.length];
for (int i = 0, j = parameters.length; i < j; i++) {
parameterTypes[i] = parameters[i].getClazz();
}
return parameterTypes;
}
/** Returns the Class object representing the class or interface that declares the constructor. */
public Class getDeclaringClass () {
return constructor.getEnclosingType();
}
public boolean isAccessible () {
return constructor.isPublic();
}
public void setAccessible (boolean accessible) {
// NOOP in GWT
}
/** Uses the constructor to create and initialize a new instance of the constructor's declaring class, with the supplied
* initialization parameters. */
public Object newInstance (Object... args) throws ReflectionException {
try {
return constructor.newInstance(args);
} catch (IllegalArgumentException e) {
throw new ReflectionException("Illegal argument(s) supplied to constructor for class: " + getDeclaringClass().getName(),
e);
}
}
}
| -1 |
libgdx/libgdx | 7,270 | Update missing build.gradle files with new syntax for registering tasks | Some Gradle build files were still using old syntax after https://github.com/libgdx/libgdx/pull/7134.
| obigu | "2023-11-05T15:31:03Z" | "2023-11-13T11:04:33Z" | 8e3b2ef2af2e1c1765b3441cb15cfbeddf4046fa | a25ceaddd8e9ea740b7e50e486ea4f815d2a3f58 | Update missing build.gradle files with new syntax for registering tasks. Some Gradle build files were still using old syntax after https://github.com/libgdx/libgdx/pull/7134.
| ./gdx/src/com/badlogic/gdx/math/Octree.java | /*******************************************************************************
* Copyright 2020 See AUTHORS file.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
******************************************************************************/
package com.badlogic.gdx.math;
import com.badlogic.gdx.math.collision.BoundingBox;
import com.badlogic.gdx.math.collision.Ray;
import com.badlogic.gdx.utils.Array;
import com.badlogic.gdx.utils.ObjectSet;
import com.badlogic.gdx.utils.Pool;
/** A static Octree implementation.
*
* Example of usage:
*
* <pre>
* Vector3 min = new Vector3(-10, -10, -10);
* Vector3 max = new Vector3(10, 10, 10);
* octree = new Octree<GameObject>(min, max, MAX_DEPTH, MAX_ITEMS_PER_NODE, new Octree.Collider<GameObject>() {
* @Override
* public boolean intersects (BoundingBox nodeBounds, GameObject geometry) {
* return nodeBounds.intersects(geometry.box);
* }
*
* @Override
* public boolean intersects (Frustum frustum, GameObject geometry) {
* return frustum.boundsInFrustum(geometry.box);
* }
*
* @Override
* public float intersects (Ray ray, GameObject geometry) {
* if (Intersector.intersectRayBounds(ray, geometry.box, new Vector3())) {
* return tmp.dst2(ray.origin);
* }
* return Float.MAX_VALUE;
* }
* });
*
* // Adding game objects to the octree
* octree.add(gameObject1);
* octree.add(gameObject2);
*
* // Querying the result
* ObjectSet<GameObject> result = new ObjectSet<>();
* octree.query(cam.frustum, result);
*
* // Rendering the result
* for (GameObject gameObject : result) {
* modelBatch.render(gameObject);
* }
* </pre>
*/
public class Octree<T> {
final int maxItemsPerNode;
final Pool<OctreeNode> nodePool = new Pool<OctreeNode>() {
@Override
protected OctreeNode newObject () {
return new OctreeNode();
}
};
protected OctreeNode root;
final Collider<T> collider;
static final Vector3 tmp = new Vector3();
public Octree (Vector3 minimum, Vector3 maximum, int maxDepth, int maxItemsPerNode, Collider<T> collider) {
super();
Vector3 realMin = new Vector3(Math.min(minimum.x, maximum.x), Math.min(minimum.y, maximum.y),
Math.min(minimum.z, maximum.z));
Vector3 realMax = new Vector3(Math.max(minimum.x, maximum.x), Math.max(minimum.y, maximum.y),
Math.max(minimum.z, maximum.z));
this.root = createNode(realMin, realMax, maxDepth);
this.collider = collider;
this.maxItemsPerNode = maxItemsPerNode;
}
OctreeNode createNode (Vector3 min, Vector3 max, int level) {
OctreeNode node = nodePool.obtain();
node.bounds.set(min, max);
node.level = level;
node.leaf = true;
return node;
}
public void add (T object) {
root.add(object);
}
public void remove (T object) {
root.remove(object);
}
public void update (T object) {
root.remove(object);
root.add(object);
}
/** Method to retrieve all the geometries.
* @param resultSet
* @return the result set */
public ObjectSet<T> getAll (ObjectSet<T> resultSet) {
root.getAll(resultSet);
return resultSet;
}
/** Method to query geometries inside nodes that the aabb intersects. Can be used as broad phase.
* @param aabb - The bounding box to query
* @param result - Set to be populated with objects inside the BoundingBoxes */
public ObjectSet<T> query (BoundingBox aabb, ObjectSet<T> result) {
root.query(aabb, result);
return result;
}
/** Method to query geometries inside nodes that the frustum intersects. Can be used as broad phase.
* @param frustum - The frustum to query
* @param result set populated with objects near from the frustum */
public ObjectSet<T> query (Frustum frustum, ObjectSet<T> result) {
root.query(frustum, result);
return result;
}
public T rayCast (Ray ray, RayCastResult<T> result) {
result.distance = result.maxDistanceSq;
root.rayCast(ray, result);
return result.geometry;
}
/** Method to get nodes as bounding boxes. Useful for debug purpose.
*
* @param boxes */
public ObjectSet<BoundingBox> getNodesBoxes (ObjectSet<BoundingBox> boxes) {
root.getBoundingBox(boxes);
return boxes;
}
protected class OctreeNode {
int level;
final BoundingBox bounds = new BoundingBox();
boolean leaf;
private Octree.OctreeNode[] children; // May be null when leaf is true.
private final Array<T> geometries = new Array<T>(Math.min(16, maxItemsPerNode));
private void split () {
float midx = (bounds.max.x + bounds.min.x) * 0.5f;
float midy = (bounds.max.y + bounds.min.y) * 0.5f;
float midz = (bounds.max.z + bounds.min.z) * 0.5f;
int deeperLevel = level - 1;
leaf = false;
if (children == null) children = new Octree.OctreeNode[8];
children[0] = createNode(new Vector3(bounds.min.x, midy, midz), new Vector3(midx, bounds.max.y, bounds.max.z),
deeperLevel);
children[1] = createNode(new Vector3(midx, midy, midz), new Vector3(bounds.max.x, bounds.max.y, bounds.max.z),
deeperLevel);
children[2] = createNode(new Vector3(midx, midy, bounds.min.z), new Vector3(bounds.max.x, bounds.max.y, midz),
deeperLevel);
children[3] = createNode(new Vector3(bounds.min.x, midy, bounds.min.z), new Vector3(midx, bounds.max.y, midz),
deeperLevel);
children[4] = createNode(new Vector3(bounds.min.x, bounds.min.y, midz), new Vector3(midx, midy, bounds.max.z),
deeperLevel);
children[5] = createNode(new Vector3(midx, bounds.min.y, midz), new Vector3(bounds.max.x, midy, bounds.max.z),
deeperLevel);
children[6] = createNode(new Vector3(midx, bounds.min.y, bounds.min.z), new Vector3(bounds.max.x, midy, midz),
deeperLevel);
children[7] = createNode(new Vector3(bounds.min.x, bounds.min.y, bounds.min.z), new Vector3(midx, midy, midz),
deeperLevel);
// Move geometries from parent to children
for (Octree.OctreeNode child : children) {
for (T geometry : this.geometries) {
child.add(geometry);
}
}
this.geometries.clear();
}
private void merge () {
clearChildren();
leaf = true;
}
private void free () {
geometries.clear();
if (!leaf) clearChildren();
nodePool.free(this);
}
private void clearChildren () {
for (int i = 0; i < 8; i++) {
children[i].free();
children[i] = null;
}
}
protected void add (T geometry) {
if (!collider.intersects(bounds, geometry)) {
return;
}
// If is not leaf, check children
if (!leaf) {
for (Octree.OctreeNode child : children) {
child.add(geometry);
}
} else {
if (geometries.size >= maxItemsPerNode && level > 0) {
split();
for (Octree.OctreeNode child : children) {
child.add(geometry);
}
} else {
geometries.add(geometry);
}
}
}
protected boolean remove (T object) {
if (!leaf) {
boolean removed = false;
for (Octree.OctreeNode node : children) {
removed |= node.remove(object);
}
if (removed) {
ObjectSet<T> geometrySet = new ObjectSet<T>();
for (Octree.OctreeNode node : children) {
node.getAll(geometrySet);
}
if (geometrySet.size <= maxItemsPerNode) {
for (T geometry : geometrySet) {
geometries.add(geometry);
}
merge();
}
}
return removed;
}
return geometries.removeValue(object, true);
}
protected boolean isLeaf () {
return leaf;
}
protected void query (BoundingBox aabb, ObjectSet<T> result) {
if (!aabb.intersects(bounds)) {
return;
}
if (!leaf) {
for (Octree.OctreeNode node : children) {
node.query(aabb, result);
}
} else {
for (T geometry : geometries) {
// Filter geometries using collider
if (collider.intersects(bounds, geometry)) {
result.add(geometry);
}
}
}
}
protected void query (Frustum frustum, ObjectSet<T> result) {
if (!Intersector.intersectFrustumBounds(frustum, bounds)) {
return;
}
if (!leaf) {
for (Octree.OctreeNode node : children) {
node.query(frustum, result);
}
} else {
for (T geometry : geometries) {
// Filter geometries using collider
if (collider.intersects(frustum, geometry)) {
result.add(geometry);
}
}
}
}
protected void rayCast (Ray ray, RayCastResult<T> result) {
// Check intersection with node
boolean intersect = Intersector.intersectRayBounds(ray, bounds, tmp);
if (!intersect) {
return;
} else {
float dst2 = tmp.dst2(ray.origin);
if (dst2 >= result.maxDistanceSq) {
return;
}
}
// Check intersection with children
if (!leaf) {
for (Octree.OctreeNode child : children) {
child.rayCast(ray, result);
}
} else {
for (T geometry : geometries) {
// Check intersection with geometries
float distance = collider.intersects(ray, geometry);
if (result.geometry == null || distance < result.distance) {
result.geometry = geometry;
result.distance = distance;
}
}
}
}
/** Get all geometries using Depth-First Search recursion.
* @param resultSet */
protected void getAll (ObjectSet<T> resultSet) {
if (!leaf) {
for (Octree.OctreeNode child : children) {
child.getAll(resultSet);
}
}
resultSet.addAll(geometries);
}
/** Get bounding boxes using Depth-First Search recursion.
* @param bounds */
protected void getBoundingBox (ObjectSet<BoundingBox> bounds) {
if (!leaf) {
for (Octree.OctreeNode node : children) {
node.getBoundingBox(bounds);
}
}
bounds.add(this.bounds);
}
}
/** Interface used by octree to handle geometries' collisions against BoundingBox, Frustum and Ray.
* @param <T> */
public interface Collider<T> {
/** Method to calculate intersection between aabb and the geometry.
* @param nodeBounds
* @param geometry
* @return if they are intersecting */
boolean intersects (BoundingBox nodeBounds, T geometry);
/** Method to calculate intersection between frustum and the geometry.
* @param frustum
* @param geometry
* @return if they are intersecting */
boolean intersects (Frustum frustum, T geometry);
/** Method to calculate intersection between ray and the geometry.
* @param ray
* @param geometry
* @return distance between ray and geometry */
float intersects (Ray ray, T geometry);
}
public static class RayCastResult<T> {
T geometry;
float distance;
float maxDistanceSq = Float.MAX_VALUE;
}
}
| /*******************************************************************************
* Copyright 2020 See AUTHORS file.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
******************************************************************************/
package com.badlogic.gdx.math;
import com.badlogic.gdx.math.collision.BoundingBox;
import com.badlogic.gdx.math.collision.Ray;
import com.badlogic.gdx.utils.Array;
import com.badlogic.gdx.utils.ObjectSet;
import com.badlogic.gdx.utils.Pool;
/** A static Octree implementation.
*
* Example of usage:
*
* <pre>
* Vector3 min = new Vector3(-10, -10, -10);
* Vector3 max = new Vector3(10, 10, 10);
* octree = new Octree<GameObject>(min, max, MAX_DEPTH, MAX_ITEMS_PER_NODE, new Octree.Collider<GameObject>() {
* @Override
* public boolean intersects (BoundingBox nodeBounds, GameObject geometry) {
* return nodeBounds.intersects(geometry.box);
* }
*
* @Override
* public boolean intersects (Frustum frustum, GameObject geometry) {
* return frustum.boundsInFrustum(geometry.box);
* }
*
* @Override
* public float intersects (Ray ray, GameObject geometry) {
* if (Intersector.intersectRayBounds(ray, geometry.box, new Vector3())) {
* return tmp.dst2(ray.origin);
* }
* return Float.MAX_VALUE;
* }
* });
*
* // Adding game objects to the octree
* octree.add(gameObject1);
* octree.add(gameObject2);
*
* // Querying the result
* ObjectSet<GameObject> result = new ObjectSet<>();
* octree.query(cam.frustum, result);
*
* // Rendering the result
* for (GameObject gameObject : result) {
* modelBatch.render(gameObject);
* }
* </pre>
*/
public class Octree<T> {
final int maxItemsPerNode;
final Pool<OctreeNode> nodePool = new Pool<OctreeNode>() {
@Override
protected OctreeNode newObject () {
return new OctreeNode();
}
};
protected OctreeNode root;
final Collider<T> collider;
static final Vector3 tmp = new Vector3();
public Octree (Vector3 minimum, Vector3 maximum, int maxDepth, int maxItemsPerNode, Collider<T> collider) {
super();
Vector3 realMin = new Vector3(Math.min(minimum.x, maximum.x), Math.min(minimum.y, maximum.y),
Math.min(minimum.z, maximum.z));
Vector3 realMax = new Vector3(Math.max(minimum.x, maximum.x), Math.max(minimum.y, maximum.y),
Math.max(minimum.z, maximum.z));
this.root = createNode(realMin, realMax, maxDepth);
this.collider = collider;
this.maxItemsPerNode = maxItemsPerNode;
}
OctreeNode createNode (Vector3 min, Vector3 max, int level) {
OctreeNode node = nodePool.obtain();
node.bounds.set(min, max);
node.level = level;
node.leaf = true;
return node;
}
public void add (T object) {
root.add(object);
}
public void remove (T object) {
root.remove(object);
}
public void update (T object) {
root.remove(object);
root.add(object);
}
/** Method to retrieve all the geometries.
* @param resultSet
* @return the result set */
public ObjectSet<T> getAll (ObjectSet<T> resultSet) {
root.getAll(resultSet);
return resultSet;
}
/** Method to query geometries inside nodes that the aabb intersects. Can be used as broad phase.
* @param aabb - The bounding box to query
* @param result - Set to be populated with objects inside the BoundingBoxes */
public ObjectSet<T> query (BoundingBox aabb, ObjectSet<T> result) {
root.query(aabb, result);
return result;
}
/** Method to query geometries inside nodes that the frustum intersects. Can be used as broad phase.
* @param frustum - The frustum to query
* @param result set populated with objects near from the frustum */
public ObjectSet<T> query (Frustum frustum, ObjectSet<T> result) {
root.query(frustum, result);
return result;
}
public T rayCast (Ray ray, RayCastResult<T> result) {
result.distance = result.maxDistanceSq;
root.rayCast(ray, result);
return result.geometry;
}
/** Method to get nodes as bounding boxes. Useful for debug purpose.
*
* @param boxes */
public ObjectSet<BoundingBox> getNodesBoxes (ObjectSet<BoundingBox> boxes) {
root.getBoundingBox(boxes);
return boxes;
}
protected class OctreeNode {
int level;
final BoundingBox bounds = new BoundingBox();
boolean leaf;
private Octree.OctreeNode[] children; // May be null when leaf is true.
private final Array<T> geometries = new Array<T>(Math.min(16, maxItemsPerNode));
private void split () {
float midx = (bounds.max.x + bounds.min.x) * 0.5f;
float midy = (bounds.max.y + bounds.min.y) * 0.5f;
float midz = (bounds.max.z + bounds.min.z) * 0.5f;
int deeperLevel = level - 1;
leaf = false;
if (children == null) children = new Octree.OctreeNode[8];
children[0] = createNode(new Vector3(bounds.min.x, midy, midz), new Vector3(midx, bounds.max.y, bounds.max.z),
deeperLevel);
children[1] = createNode(new Vector3(midx, midy, midz), new Vector3(bounds.max.x, bounds.max.y, bounds.max.z),
deeperLevel);
children[2] = createNode(new Vector3(midx, midy, bounds.min.z), new Vector3(bounds.max.x, bounds.max.y, midz),
deeperLevel);
children[3] = createNode(new Vector3(bounds.min.x, midy, bounds.min.z), new Vector3(midx, bounds.max.y, midz),
deeperLevel);
children[4] = createNode(new Vector3(bounds.min.x, bounds.min.y, midz), new Vector3(midx, midy, bounds.max.z),
deeperLevel);
children[5] = createNode(new Vector3(midx, bounds.min.y, midz), new Vector3(bounds.max.x, midy, bounds.max.z),
deeperLevel);
children[6] = createNode(new Vector3(midx, bounds.min.y, bounds.min.z), new Vector3(bounds.max.x, midy, midz),
deeperLevel);
children[7] = createNode(new Vector3(bounds.min.x, bounds.min.y, bounds.min.z), new Vector3(midx, midy, midz),
deeperLevel);
// Move geometries from parent to children
for (Octree.OctreeNode child : children) {
for (T geometry : this.geometries) {
child.add(geometry);
}
}
this.geometries.clear();
}
private void merge () {
clearChildren();
leaf = true;
}
private void free () {
geometries.clear();
if (!leaf) clearChildren();
nodePool.free(this);
}
private void clearChildren () {
for (int i = 0; i < 8; i++) {
children[i].free();
children[i] = null;
}
}
protected void add (T geometry) {
if (!collider.intersects(bounds, geometry)) {
return;
}
// If is not leaf, check children
if (!leaf) {
for (Octree.OctreeNode child : children) {
child.add(geometry);
}
} else {
if (geometries.size >= maxItemsPerNode && level > 0) {
split();
for (Octree.OctreeNode child : children) {
child.add(geometry);
}
} else {
geometries.add(geometry);
}
}
}
protected boolean remove (T object) {
if (!leaf) {
boolean removed = false;
for (Octree.OctreeNode node : children) {
removed |= node.remove(object);
}
if (removed) {
ObjectSet<T> geometrySet = new ObjectSet<T>();
for (Octree.OctreeNode node : children) {
node.getAll(geometrySet);
}
if (geometrySet.size <= maxItemsPerNode) {
for (T geometry : geometrySet) {
geometries.add(geometry);
}
merge();
}
}
return removed;
}
return geometries.removeValue(object, true);
}
protected boolean isLeaf () {
return leaf;
}
protected void query (BoundingBox aabb, ObjectSet<T> result) {
if (!aabb.intersects(bounds)) {
return;
}
if (!leaf) {
for (Octree.OctreeNode node : children) {
node.query(aabb, result);
}
} else {
for (T geometry : geometries) {
// Filter geometries using collider
if (collider.intersects(bounds, geometry)) {
result.add(geometry);
}
}
}
}
protected void query (Frustum frustum, ObjectSet<T> result) {
if (!Intersector.intersectFrustumBounds(frustum, bounds)) {
return;
}
if (!leaf) {
for (Octree.OctreeNode node : children) {
node.query(frustum, result);
}
} else {
for (T geometry : geometries) {
// Filter geometries using collider
if (collider.intersects(frustum, geometry)) {
result.add(geometry);
}
}
}
}
protected void rayCast (Ray ray, RayCastResult<T> result) {
// Check intersection with node
boolean intersect = Intersector.intersectRayBounds(ray, bounds, tmp);
if (!intersect) {
return;
} else {
float dst2 = tmp.dst2(ray.origin);
if (dst2 >= result.maxDistanceSq) {
return;
}
}
// Check intersection with children
if (!leaf) {
for (Octree.OctreeNode child : children) {
child.rayCast(ray, result);
}
} else {
for (T geometry : geometries) {
// Check intersection with geometries
float distance = collider.intersects(ray, geometry);
if (result.geometry == null || distance < result.distance) {
result.geometry = geometry;
result.distance = distance;
}
}
}
}
/** Get all geometries using Depth-First Search recursion.
* @param resultSet */
protected void getAll (ObjectSet<T> resultSet) {
if (!leaf) {
for (Octree.OctreeNode child : children) {
child.getAll(resultSet);
}
}
resultSet.addAll(geometries);
}
/** Get bounding boxes using Depth-First Search recursion.
* @param bounds */
protected void getBoundingBox (ObjectSet<BoundingBox> bounds) {
if (!leaf) {
for (Octree.OctreeNode node : children) {
node.getBoundingBox(bounds);
}
}
bounds.add(this.bounds);
}
}
/** Interface used by octree to handle geometries' collisions against BoundingBox, Frustum and Ray.
* @param <T> */
public interface Collider<T> {
/** Method to calculate intersection between aabb and the geometry.
* @param nodeBounds
* @param geometry
* @return if they are intersecting */
boolean intersects (BoundingBox nodeBounds, T geometry);
/** Method to calculate intersection between frustum and the geometry.
* @param frustum
* @param geometry
* @return if they are intersecting */
boolean intersects (Frustum frustum, T geometry);
/** Method to calculate intersection between ray and the geometry.
* @param ray
* @param geometry
* @return distance between ray and geometry */
float intersects (Ray ray, T geometry);
}
public static class RayCastResult<T> {
T geometry;
float distance;
float maxDistanceSq = Float.MAX_VALUE;
}
}
| -1 |
libgdx/libgdx | 7,270 | Update missing build.gradle files with new syntax for registering tasks | Some Gradle build files were still using old syntax after https://github.com/libgdx/libgdx/pull/7134.
| obigu | "2023-11-05T15:31:03Z" | "2023-11-13T11:04:33Z" | 8e3b2ef2af2e1c1765b3441cb15cfbeddf4046fa | a25ceaddd8e9ea740b7e50e486ea4f815d2a3f58 | Update missing build.gradle files with new syntax for registering tasks. Some Gradle build files were still using old syntax after https://github.com/libgdx/libgdx/pull/7134.
| ./extensions/gdx-bullet/jni/src/custom/gdx/linearmath/mathtypes.cpp | #include "mathtypes.h"
#include <stdio.h>
#include <string.h>
////////////////////////////////
//////// btVector3 ////////
////////////////////////////////
static jfieldID vector3_x = NULL, vector3_y = NULL, vector3_z = NULL;
void vector3_getFields(JNIEnv * const &jenv, jobject &v3) {
jclass cls = jenv->GetObjectClass(v3);
vector3_x = jenv->GetFieldID(cls, "x", "F");
vector3_y = jenv->GetFieldID(cls, "y", "F");
vector3_z = jenv->GetFieldID(cls, "z", "F");
jenv->DeleteLocalRef(cls);
}
inline void vector3_ensurefields(JNIEnv * const &jenv, jobject &v3) {
if (!vector3_x) vector3_getFields(jenv, v3);
}
void Vector3_to_btVector3(JNIEnv * const &jenv, btVector3 &target, jobject &source)
{
vector3_ensurefields(jenv, source);
target.setValue(jenv->GetFloatField(source, vector3_x), jenv->GetFloatField(source, vector3_y), jenv->GetFloatField(source, vector3_z));
}
void btVector3_to_Vector3(JNIEnv * const &jenv, jobject &target, const btVector3 &source)
{
vector3_ensurefields(jenv, target);
jenv->SetFloatField(target, vector3_x, source.getX());
jenv->SetFloatField(target, vector3_y, source.getY());
jenv->SetFloatField(target, vector3_z, source.getZ());
}
////////////////////////////////
//////// btQuaternion ////////
////////////////////////////////
static jfieldID quaternion_x = NULL, quaternion_y = NULL, quaternion_z = NULL, quaternion_w = NULL;
void quaternion_getFields(JNIEnv * const &jenv, jobject &q) {
jclass cls = jenv->GetObjectClass(q);
quaternion_x = jenv->GetFieldID(cls, "x", "F");
quaternion_y = jenv->GetFieldID(cls, "y", "F");
quaternion_z = jenv->GetFieldID(cls, "z", "F");
quaternion_w = jenv->GetFieldID(cls, "w", "F");
jenv->DeleteLocalRef(cls);
}
inline void quaternion_ensurefields(JNIEnv * const &jenv, jobject &q) {
if (!quaternion_x) quaternion_getFields(jenv, q);
}
void Quaternion_to_btQuaternion(JNIEnv * const &jenv, btQuaternion &target, jobject &source)
{
quaternion_ensurefields(jenv, source);
target.setValue(
jenv->GetFloatField(source, quaternion_x),
jenv->GetFloatField(source, quaternion_y),
jenv->GetFloatField(source, quaternion_z),
jenv->GetFloatField(source, quaternion_w));
}
void btQuaternion_to_Quaternion(JNIEnv * const &jenv, jobject &target, const btQuaternion & source)
{
quaternion_ensurefields(jenv, target);
jenv->SetFloatField(target, quaternion_x, source.getX());
jenv->SetFloatField(target, quaternion_y, source.getY());
jenv->SetFloatField(target, quaternion_z, source.getZ());
jenv->SetFloatField(target, quaternion_w, source.getW());
}
////////////////////////////////
//////// btMatrix3x3 ////////
////////////////////////////////
static jfieldID matrix3_val = NULL;
void matrix3_getFields(JNIEnv * const &jenv, jobject &m3) {
jclass cls = jenv->GetObjectClass(m3);
matrix3_val = jenv->GetFieldID(cls, "val", "[F");
jenv->DeleteLocalRef(cls);
}
inline void matrix3_ensurefields(JNIEnv * const &jenv, jobject &m3) {
if (!matrix3_val) matrix3_getFields(jenv, m3);
}
void Matrix3_to_btMatrix3(JNIEnv * const &jenv, btMatrix3x3 &target, jobject &source)
{
matrix3_ensurefields(jenv, source);
jfloatArray valArray = (jfloatArray) jenv->GetObjectField(source, matrix3_val);
jfloat * elements = jenv->GetFloatArrayElements(valArray, NULL);
// Convert to column-major
target.setValue(
elements[0], elements[3], elements[6],
elements[1], elements[4], elements[7],
elements[2], elements[5], elements[8]);
jenv->ReleaseFloatArrayElements(valArray, elements, JNI_ABORT);
jenv->DeleteLocalRef(valArray);
}
void btMatrix3_to_Matrix3(JNIEnv * const &jenv, jobject &target, const btMatrix3x3 &source)
{
matrix3_ensurefields(jenv, target);
jfloatArray valArray = (jfloatArray) jenv->GetObjectField(target, matrix3_val);
jfloat * elements = jenv->GetFloatArrayElements(valArray, NULL);
// Convert to column-major
elements[0] = (jfloat) source.getColumn(0).getX();
elements[1] = (jfloat) source.getColumn(0).getY();
elements[2] = (jfloat) source.getColumn(0).getZ();
elements[3] = (jfloat) source.getColumn(1).getX();
elements[4] = (jfloat) source.getColumn(1).getY();
elements[5] = (jfloat) source.getColumn(1).getZ();
elements[6] = (jfloat) source.getColumn(2).getX();
elements[7] = (jfloat) source.getColumn(2).getY();
elements[8] = (jfloat) source.getColumn(2).getZ();
jenv->ReleaseFloatArrayElements(valArray, elements, 0);
jenv->DeleteLocalRef(valArray);
}
////////////////////////////////
//////// btTransform ////////
////////////////////////////////
static jfieldID matrix4_val = NULL;
void matrix4_getFields(JNIEnv * const &jenv, jobject &m4) {
jclass cls = jenv->GetObjectClass(m4);
matrix4_val = jenv->GetFieldID(cls, "val", "[F");
jenv->DeleteLocalRef(cls);
}
inline void matrix4_ensurefields(JNIEnv * const &jenv, jobject &m4) {
if (!matrix4_val) matrix4_getFields(jenv, m4);
}
void Matrix4_to_btTransform(JNIEnv * const &jenv, btTransform &target, jobject &source)
{
matrix4_ensurefields(jenv, source);
jfloatArray valArray = (jfloatArray) jenv->GetObjectField(source, matrix4_val);
jfloat * elements = jenv->GetFloatArrayElements(valArray, NULL);
target.setFromOpenGLMatrix(elements);
jenv->ReleaseFloatArrayElements(valArray, elements, JNI_ABORT);
jenv->DeleteLocalRef(valArray);
}
void btTransform_to_Matrix4(JNIEnv * const &jenv, jobject &target, const btTransform &source)
{
matrix4_ensurefields(jenv, target);
jfloatArray valArray = (jfloatArray) jenv->GetObjectField(target, matrix4_val);
jfloat * elements = jenv->GetFloatArrayElements(valArray, NULL);
ATTRIBUTE_ALIGNED16(btScalar dst[16]);
source.getOpenGLMatrix(dst);
memcpy(elements, dst, sizeof(btScalar)*16);
jenv->ReleaseFloatArrayElements(valArray, elements, 0);
jenv->DeleteLocalRef(valArray);
} | #include "mathtypes.h"
#include <stdio.h>
#include <string.h>
////////////////////////////////
//////// btVector3 ////////
////////////////////////////////
static jfieldID vector3_x = NULL, vector3_y = NULL, vector3_z = NULL;
void vector3_getFields(JNIEnv * const &jenv, jobject &v3) {
jclass cls = jenv->GetObjectClass(v3);
vector3_x = jenv->GetFieldID(cls, "x", "F");
vector3_y = jenv->GetFieldID(cls, "y", "F");
vector3_z = jenv->GetFieldID(cls, "z", "F");
jenv->DeleteLocalRef(cls);
}
inline void vector3_ensurefields(JNIEnv * const &jenv, jobject &v3) {
if (!vector3_x) vector3_getFields(jenv, v3);
}
void Vector3_to_btVector3(JNIEnv * const &jenv, btVector3 &target, jobject &source)
{
vector3_ensurefields(jenv, source);
target.setValue(jenv->GetFloatField(source, vector3_x), jenv->GetFloatField(source, vector3_y), jenv->GetFloatField(source, vector3_z));
}
void btVector3_to_Vector3(JNIEnv * const &jenv, jobject &target, const btVector3 &source)
{
vector3_ensurefields(jenv, target);
jenv->SetFloatField(target, vector3_x, source.getX());
jenv->SetFloatField(target, vector3_y, source.getY());
jenv->SetFloatField(target, vector3_z, source.getZ());
}
////////////////////////////////
//////// btQuaternion ////////
////////////////////////////////
static jfieldID quaternion_x = NULL, quaternion_y = NULL, quaternion_z = NULL, quaternion_w = NULL;
void quaternion_getFields(JNIEnv * const &jenv, jobject &q) {
jclass cls = jenv->GetObjectClass(q);
quaternion_x = jenv->GetFieldID(cls, "x", "F");
quaternion_y = jenv->GetFieldID(cls, "y", "F");
quaternion_z = jenv->GetFieldID(cls, "z", "F");
quaternion_w = jenv->GetFieldID(cls, "w", "F");
jenv->DeleteLocalRef(cls);
}
inline void quaternion_ensurefields(JNIEnv * const &jenv, jobject &q) {
if (!quaternion_x) quaternion_getFields(jenv, q);
}
void Quaternion_to_btQuaternion(JNIEnv * const &jenv, btQuaternion &target, jobject &source)
{
quaternion_ensurefields(jenv, source);
target.setValue(
jenv->GetFloatField(source, quaternion_x),
jenv->GetFloatField(source, quaternion_y),
jenv->GetFloatField(source, quaternion_z),
jenv->GetFloatField(source, quaternion_w));
}
void btQuaternion_to_Quaternion(JNIEnv * const &jenv, jobject &target, const btQuaternion & source)
{
quaternion_ensurefields(jenv, target);
jenv->SetFloatField(target, quaternion_x, source.getX());
jenv->SetFloatField(target, quaternion_y, source.getY());
jenv->SetFloatField(target, quaternion_z, source.getZ());
jenv->SetFloatField(target, quaternion_w, source.getW());
}
////////////////////////////////
//////// btMatrix3x3 ////////
////////////////////////////////
static jfieldID matrix3_val = NULL;
void matrix3_getFields(JNIEnv * const &jenv, jobject &m3) {
jclass cls = jenv->GetObjectClass(m3);
matrix3_val = jenv->GetFieldID(cls, "val", "[F");
jenv->DeleteLocalRef(cls);
}
inline void matrix3_ensurefields(JNIEnv * const &jenv, jobject &m3) {
if (!matrix3_val) matrix3_getFields(jenv, m3);
}
void Matrix3_to_btMatrix3(JNIEnv * const &jenv, btMatrix3x3 &target, jobject &source)
{
matrix3_ensurefields(jenv, source);
jfloatArray valArray = (jfloatArray) jenv->GetObjectField(source, matrix3_val);
jfloat * elements = jenv->GetFloatArrayElements(valArray, NULL);
// Convert to column-major
target.setValue(
elements[0], elements[3], elements[6],
elements[1], elements[4], elements[7],
elements[2], elements[5], elements[8]);
jenv->ReleaseFloatArrayElements(valArray, elements, JNI_ABORT);
jenv->DeleteLocalRef(valArray);
}
void btMatrix3_to_Matrix3(JNIEnv * const &jenv, jobject &target, const btMatrix3x3 &source)
{
matrix3_ensurefields(jenv, target);
jfloatArray valArray = (jfloatArray) jenv->GetObjectField(target, matrix3_val);
jfloat * elements = jenv->GetFloatArrayElements(valArray, NULL);
// Convert to column-major
elements[0] = (jfloat) source.getColumn(0).getX();
elements[1] = (jfloat) source.getColumn(0).getY();
elements[2] = (jfloat) source.getColumn(0).getZ();
elements[3] = (jfloat) source.getColumn(1).getX();
elements[4] = (jfloat) source.getColumn(1).getY();
elements[5] = (jfloat) source.getColumn(1).getZ();
elements[6] = (jfloat) source.getColumn(2).getX();
elements[7] = (jfloat) source.getColumn(2).getY();
elements[8] = (jfloat) source.getColumn(2).getZ();
jenv->ReleaseFloatArrayElements(valArray, elements, 0);
jenv->DeleteLocalRef(valArray);
}
////////////////////////////////
//////// btTransform ////////
////////////////////////////////
static jfieldID matrix4_val = NULL;
void matrix4_getFields(JNIEnv * const &jenv, jobject &m4) {
jclass cls = jenv->GetObjectClass(m4);
matrix4_val = jenv->GetFieldID(cls, "val", "[F");
jenv->DeleteLocalRef(cls);
}
inline void matrix4_ensurefields(JNIEnv * const &jenv, jobject &m4) {
if (!matrix4_val) matrix4_getFields(jenv, m4);
}
void Matrix4_to_btTransform(JNIEnv * const &jenv, btTransform &target, jobject &source)
{
matrix4_ensurefields(jenv, source);
jfloatArray valArray = (jfloatArray) jenv->GetObjectField(source, matrix4_val);
jfloat * elements = jenv->GetFloatArrayElements(valArray, NULL);
target.setFromOpenGLMatrix(elements);
jenv->ReleaseFloatArrayElements(valArray, elements, JNI_ABORT);
jenv->DeleteLocalRef(valArray);
}
void btTransform_to_Matrix4(JNIEnv * const &jenv, jobject &target, const btTransform &source)
{
matrix4_ensurefields(jenv, target);
jfloatArray valArray = (jfloatArray) jenv->GetObjectField(target, matrix4_val);
jfloat * elements = jenv->GetFloatArrayElements(valArray, NULL);
ATTRIBUTE_ALIGNED16(btScalar dst[16]);
source.getOpenGLMatrix(dst);
memcpy(elements, dst, sizeof(btScalar)*16);
jenv->ReleaseFloatArrayElements(valArray, elements, 0);
jenv->DeleteLocalRef(valArray);
} | -1 |
libgdx/libgdx | 7,270 | Update missing build.gradle files with new syntax for registering tasks | Some Gradle build files were still using old syntax after https://github.com/libgdx/libgdx/pull/7134.
| obigu | "2023-11-05T15:31:03Z" | "2023-11-13T11:04:33Z" | 8e3b2ef2af2e1c1765b3441cb15cfbeddf4046fa | a25ceaddd8e9ea740b7e50e486ea4f815d2a3f58 | Update missing build.gradle files with new syntax for registering tasks. Some Gradle build files were still using old syntax after https://github.com/libgdx/libgdx/pull/7134.
| ./extensions/gdx-box2d/gdx-box2d-gwt/src/com/badlogic/gdx/physics/box2d/gwt/emu/org/jbox2d/common/Color3f.java | /*******************************************************************************
* Copyright (c) 2013, Daniel Murphy
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following conditions are met:
* * Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* * Redistributions in binary form must reproduce the above copyright notice,
* this list of conditions and the following disclaimer in the documentation
* and/or other materials provided with the distribution.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
* IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
* INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
* NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
* PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
* WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
******************************************************************************/
/*
* JBox2D - A Java Port of Erin Catto's Box2D
*
* JBox2D homepage: http://jbox2d.sourceforge.net/
* Box2D homepage: http://www.box2d.org
*
* This software is provided 'as-is', without any express or implied
* warranty. In no event will the authors be held liable for any damages
* arising from the use of this software.
*
* Permission is granted to anyone to use this software for any purpose,
* including commercial applications, and to alter it and redistribute it
* freely, subject to the following restrictions:
*
* 1. The origin of this software must not be misrepresented; you must not
* claim that you wrote the original software. If you use this software
* in a product, an acknowledgment in the product documentation would be
* appreciated but is not required.
* 2. Altered source versions must be plainly marked as such, and must not be
* misrepresented as being the original software.
* 3. This notice may not be removed or altered from any source distribution.
*/
package org.jbox2d.common;
// updated to rev 100
/** Similar to javax.vecmath.Color3f holder
* @author ewjordan */
public class Color3f {
public static final Color3f WHITE = new Color3f(1, 1, 1);
public static final Color3f BLACK = new Color3f(0, 0, 0);
public static final Color3f BLUE = new Color3f(0, 0, 1);
public static final Color3f GREEN = new Color3f(0, 1, 0);
public static final Color3f RED = new Color3f(1, 0, 0);
public float x;
public float y;
public float z;
public Color3f () {
x = y = z = 0;
}
public Color3f (float r, float g, float b) {
x = r;
y = g;
z = b;
}
public void set (float r, float g, float b) {
x = r;
y = g;
z = b;
}
public void set (Color3f argColor) {
x = argColor.x;
y = argColor.y;
z = argColor.z;
}
}
| /*******************************************************************************
* Copyright (c) 2013, Daniel Murphy
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following conditions are met:
* * Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* * Redistributions in binary form must reproduce the above copyright notice,
* this list of conditions and the following disclaimer in the documentation
* and/or other materials provided with the distribution.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
* IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
* INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
* NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
* PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
* WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
******************************************************************************/
/*
* JBox2D - A Java Port of Erin Catto's Box2D
*
* JBox2D homepage: http://jbox2d.sourceforge.net/
* Box2D homepage: http://www.box2d.org
*
* This software is provided 'as-is', without any express or implied
* warranty. In no event will the authors be held liable for any damages
* arising from the use of this software.
*
* Permission is granted to anyone to use this software for any purpose,
* including commercial applications, and to alter it and redistribute it
* freely, subject to the following restrictions:
*
* 1. The origin of this software must not be misrepresented; you must not
* claim that you wrote the original software. If you use this software
* in a product, an acknowledgment in the product documentation would be
* appreciated but is not required.
* 2. Altered source versions must be plainly marked as such, and must not be
* misrepresented as being the original software.
* 3. This notice may not be removed or altered from any source distribution.
*/
package org.jbox2d.common;
// updated to rev 100
/** Similar to javax.vecmath.Color3f holder
* @author ewjordan */
public class Color3f {
public static final Color3f WHITE = new Color3f(1, 1, 1);
public static final Color3f BLACK = new Color3f(0, 0, 0);
public static final Color3f BLUE = new Color3f(0, 0, 1);
public static final Color3f GREEN = new Color3f(0, 1, 0);
public static final Color3f RED = new Color3f(1, 0, 0);
public float x;
public float y;
public float z;
public Color3f () {
x = y = z = 0;
}
public Color3f (float r, float g, float b) {
x = r;
y = g;
z = b;
}
public void set (float r, float g, float b) {
x = r;
y = g;
z = b;
}
public void set (Color3f argColor) {
x = argColor.x;
y = argColor.y;
z = argColor.z;
}
}
| -1 |
libgdx/libgdx | 7,270 | Update missing build.gradle files with new syntax for registering tasks | Some Gradle build files were still using old syntax after https://github.com/libgdx/libgdx/pull/7134.
| obigu | "2023-11-05T15:31:03Z" | "2023-11-13T11:04:33Z" | 8e3b2ef2af2e1c1765b3441cb15cfbeddf4046fa | a25ceaddd8e9ea740b7e50e486ea4f815d2a3f58 | Update missing build.gradle files with new syntax for registering tasks. Some Gradle build files were still using old syntax after https://github.com/libgdx/libgdx/pull/7134.
| ./backends/gdx-backends-gwt/src/com/badlogic/gdx/backends/gwt/GwtApplicationConfiguration.java | /*******************************************************************************
* Copyright 2011 See AUTHORS file.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
******************************************************************************/
package com.badlogic.gdx.backends.gwt;
import com.badlogic.gdx.Application;
import com.badlogic.gdx.backends.gwt.GwtGraphics.OrientationLockType;
import com.google.gwt.user.client.ui.Panel;
import com.google.gwt.user.client.ui.TextArea;
public class GwtApplicationConfiguration {
/** If true, audio backend will not be used. This means {@link Application#getAudio()} returns null. */
public boolean disableAudio;
/** the width of the drawing area in pixels, or 0 for using the available space **/
public final int width;
/** the height of the drawing area in pixels, or 0 for using the available space **/
public final int height;
/** Padding to use for resizing the game content in the browser window, for resizable applications only. Defaults to 10. The
* padding is necessary to prevent the browser from showing scrollbars. This can happen if the game content is of the same size
* than the browser window. The padding is given in logical pixels, not affected by {@link #usePhysicalPixels}. */
public int padHorizontal = 10, padVertical = 10;
/** whether to use a stencil buffer **/
public boolean stencil = false;
/** whether to enable antialiasing **/
public boolean antialiasing = false;
/** the Panel to add the WebGL canvas to, can be null in which case a Panel is added automatically to the body element of the
* DOM **/
public Panel rootPanel;
/** the id of a canvas element to be used as the drawing area, can be null in which case a Panel and Canvas are added to the
* body element of the DOM **/
public String canvasId;
/** Whether to use physical device pixels or CSS pixels for scaling the canvas. Makes a difference on mobile devices and HDPI
* and Retina displays. Set to true for resizable and fullscreen games on mobile devices and for Desktops if you want to use
* the full resolution of HDPI/Retina displays.<br/>
* Setting to false mostly makes sense for fixed-size games or non-mobile games expecting performance issues on huge
* resolutions. If you target mobiles and desktops, consider using physical device pixels on mobile devices only by using the
* return value of {@link GwtApplication#isMobileDevice()} . */
public final boolean usePhysicalPixels;
/** a TextArea to log messages to, can be null in which case a TextArea will be added to the body element of the DOM. */
public TextArea log;
/** whether to use debugging mode for OpenGL calls. Errors will result in a RuntimeException being thrown. */
public boolean useDebugGL = false;
/** Whether to enable OpenGL ES 3.0 (aka WebGL2) if supported. If not supported it will fall-back to OpenGL ES 2.0. When GL ES
* 3.0 is enabled, {@link com.badlogic.gdx.Gdx#gl30} can be used to access its functionality. */
public boolean useGL30 = false;
/** preserve the back buffer, needed if you fetch a screenshot via canvas#toDataUrl, may have performance impact **/
public boolean preserveDrawingBuffer = false;
/** whether to include an alpha channel in the color buffer to combine the color buffer with the rest of the webpage
* effectively allows transparent backgrounds in GWT, at a performance cost. **/
public boolean alpha = false;
/** whether to use premultipliedalpha, may have performance impact **/
public boolean premultipliedAlpha = false;
/** screen-orientation to attempt locking as the application enters full-screen-mode. Note that on mobile browsers, full-screen
* mode can typically only be entered on a user gesture (click, tap, key-stroke) **/
public OrientationLockType fullscreenOrientation;
/* Whether openURI will open page in new tab. By default it will, however if may be blocked by popup blocker. */
/* To prevent the page from being blocked you can redirect to the new page. However this will exit your game. */
public boolean openURLInNewWindow = true;
/** whether to use the accelerometer. default: true **/
public boolean useAccelerometer = true;
/** whether to use the gyroscope. default: false **/
public boolean useGyroscope = false;
/** whether to make the webgl context compatible with WebXR, may have positive performance impact **/
public boolean xrCompatible = false;
/** Creates configuration for a resizable application, using available browser window space minus padding (see
* {@link #padVertical}, {@link #padHorizontal}). */
public GwtApplicationConfiguration () {
this(false);
}
/** Creates configuration for a resizable application, using available browser window space minus padding (see
* {@link #padVertical}, {@link #padHorizontal}). Also see {@link #usePhysicalPixels} documentation. */
public GwtApplicationConfiguration (boolean usePhysicalPixels) {
this(0, 0, usePhysicalPixels);
}
/** Creates configuration for a fixed size application */
public GwtApplicationConfiguration (int width, int height) {
this(width, height, false);
}
/** Creates configuration for a fixed size application Also see {@link #usePhysicalPixels} documentation. */
public GwtApplicationConfiguration (int width, int height, boolean usePhysicalPixels) {
this.width = width;
this.height = height;
this.usePhysicalPixels = usePhysicalPixels;
}
public boolean isFixedSizeApplication () {
return width != 0 && height != 0;
}
}
| /*******************************************************************************
* Copyright 2011 See AUTHORS file.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
******************************************************************************/
package com.badlogic.gdx.backends.gwt;
import com.badlogic.gdx.Application;
import com.badlogic.gdx.backends.gwt.GwtGraphics.OrientationLockType;
import com.google.gwt.user.client.ui.Panel;
import com.google.gwt.user.client.ui.TextArea;
public class GwtApplicationConfiguration {
/** If true, audio backend will not be used. This means {@link Application#getAudio()} returns null. */
public boolean disableAudio;
/** the width of the drawing area in pixels, or 0 for using the available space **/
public final int width;
/** the height of the drawing area in pixels, or 0 for using the available space **/
public final int height;
/** Padding to use for resizing the game content in the browser window, for resizable applications only. Defaults to 10. The
* padding is necessary to prevent the browser from showing scrollbars. This can happen if the game content is of the same size
* than the browser window. The padding is given in logical pixels, not affected by {@link #usePhysicalPixels}. */
public int padHorizontal = 10, padVertical = 10;
/** whether to use a stencil buffer **/
public boolean stencil = false;
/** whether to enable antialiasing **/
public boolean antialiasing = false;
/** the Panel to add the WebGL canvas to, can be null in which case a Panel is added automatically to the body element of the
* DOM **/
public Panel rootPanel;
/** the id of a canvas element to be used as the drawing area, can be null in which case a Panel and Canvas are added to the
* body element of the DOM **/
public String canvasId;
/** Whether to use physical device pixels or CSS pixels for scaling the canvas. Makes a difference on mobile devices and HDPI
* and Retina displays. Set to true for resizable and fullscreen games on mobile devices and for Desktops if you want to use
* the full resolution of HDPI/Retina displays.<br/>
* Setting to false mostly makes sense for fixed-size games or non-mobile games expecting performance issues on huge
* resolutions. If you target mobiles and desktops, consider using physical device pixels on mobile devices only by using the
* return value of {@link GwtApplication#isMobileDevice()} . */
public final boolean usePhysicalPixels;
/** a TextArea to log messages to, can be null in which case a TextArea will be added to the body element of the DOM. */
public TextArea log;
/** whether to use debugging mode for OpenGL calls. Errors will result in a RuntimeException being thrown. */
public boolean useDebugGL = false;
/** Whether to enable OpenGL ES 3.0 (aka WebGL2) if supported. If not supported it will fall-back to OpenGL ES 2.0. When GL ES
* 3.0 is enabled, {@link com.badlogic.gdx.Gdx#gl30} can be used to access its functionality. */
public boolean useGL30 = false;
/** preserve the back buffer, needed if you fetch a screenshot via canvas#toDataUrl, may have performance impact **/
public boolean preserveDrawingBuffer = false;
/** whether to include an alpha channel in the color buffer to combine the color buffer with the rest of the webpage
* effectively allows transparent backgrounds in GWT, at a performance cost. **/
public boolean alpha = false;
/** whether to use premultipliedalpha, may have performance impact **/
public boolean premultipliedAlpha = false;
/** screen-orientation to attempt locking as the application enters full-screen-mode. Note that on mobile browsers, full-screen
* mode can typically only be entered on a user gesture (click, tap, key-stroke) **/
public OrientationLockType fullscreenOrientation;
/* Whether openURI will open page in new tab. By default it will, however if may be blocked by popup blocker. */
/* To prevent the page from being blocked you can redirect to the new page. However this will exit your game. */
public boolean openURLInNewWindow = true;
/** whether to use the accelerometer. default: true **/
public boolean useAccelerometer = true;
/** whether to use the gyroscope. default: false **/
public boolean useGyroscope = false;
/** whether to make the webgl context compatible with WebXR, may have positive performance impact **/
public boolean xrCompatible = false;
/** Creates configuration for a resizable application, using available browser window space minus padding (see
* {@link #padVertical}, {@link #padHorizontal}). */
public GwtApplicationConfiguration () {
this(false);
}
/** Creates configuration for a resizable application, using available browser window space minus padding (see
* {@link #padVertical}, {@link #padHorizontal}). Also see {@link #usePhysicalPixels} documentation. */
public GwtApplicationConfiguration (boolean usePhysicalPixels) {
this(0, 0, usePhysicalPixels);
}
/** Creates configuration for a fixed size application */
public GwtApplicationConfiguration (int width, int height) {
this(width, height, false);
}
/** Creates configuration for a fixed size application Also see {@link #usePhysicalPixels} documentation. */
public GwtApplicationConfiguration (int width, int height, boolean usePhysicalPixels) {
this.width = width;
this.height = height;
this.usePhysicalPixels = usePhysicalPixels;
}
public boolean isFixedSizeApplication () {
return width != 0 && height != 0;
}
}
| -1 |
libgdx/libgdx | 7,270 | Update missing build.gradle files with new syntax for registering tasks | Some Gradle build files were still using old syntax after https://github.com/libgdx/libgdx/pull/7134.
| obigu | "2023-11-05T15:31:03Z" | "2023-11-13T11:04:33Z" | 8e3b2ef2af2e1c1765b3441cb15cfbeddf4046fa | a25ceaddd8e9ea740b7e50e486ea4f815d2a3f58 | Update missing build.gradle files with new syntax for registering tasks. Some Gradle build files were still using old syntax after https://github.com/libgdx/libgdx/pull/7134.
| ./backends/gdx-backend-robovm-metalangle/src/com/badlogic/gdx/backends/iosrobovm/objectal/ALSoundSourcePool.java | /*DO NOT EDIT THIS FILE - it is machine generated*/
package com.badlogic.gdx.backends.iosrobovm.objectal;
import org.robovm.apple.foundation.NSArray;
import org.robovm.apple.foundation.NSObject;
import org.robovm.objc.ObjCRuntime;
import org.robovm.objc.annotation.NativeClass;
import org.robovm.objc.annotation.Property;
import org.robovm.rt.bro.annotation.Library;
/** DO NOT EDIT THIS FILE - it is machine generated */
@Library(Library.INTERNAL)
@NativeClass
public class ALSoundSourcePool extends NSObject {
static {
ObjCRuntime.bind(ALSoundSourcePool.class);
}
@Property(selector = "sources")
public native NSArray<ALSource> getSources ();
}
| /*DO NOT EDIT THIS FILE - it is machine generated*/
package com.badlogic.gdx.backends.iosrobovm.objectal;
import org.robovm.apple.foundation.NSArray;
import org.robovm.apple.foundation.NSObject;
import org.robovm.objc.ObjCRuntime;
import org.robovm.objc.annotation.NativeClass;
import org.robovm.objc.annotation.Property;
import org.robovm.rt.bro.annotation.Library;
/** DO NOT EDIT THIS FILE - it is machine generated */
@Library(Library.INTERNAL)
@NativeClass
public class ALSoundSourcePool extends NSObject {
static {
ObjCRuntime.bind(ALSoundSourcePool.class);
}
@Property(selector = "sources")
public native NSArray<ALSource> getSources ();
}
| -1 |
libgdx/libgdx | 7,270 | Update missing build.gradle files with new syntax for registering tasks | Some Gradle build files were still using old syntax after https://github.com/libgdx/libgdx/pull/7134.
| obigu | "2023-11-05T15:31:03Z" | "2023-11-13T11:04:33Z" | 8e3b2ef2af2e1c1765b3441cb15cfbeddf4046fa | a25ceaddd8e9ea740b7e50e486ea4f815d2a3f58 | Update missing build.gradle files with new syntax for registering tasks. Some Gradle build files were still using old syntax after https://github.com/libgdx/libgdx/pull/7134.
| ./backends/gdx-backend-android/src/com/badlogic/gdx/backends/android/AsynchronousAndroidAudio.java |
package com.badlogic.gdx.backends.android;
import android.content.Context;
import android.os.Handler;
import android.os.HandlerThread;
import com.badlogic.gdx.audio.Sound;
import com.badlogic.gdx.files.FileHandle;
/** A performance oriented implementation of the {@link AndroidAudio} interface.
*
* Sounds are played on a separate thread. This avoids waiting for sound ids on methods that can potentially lock main thread for
* considerable amount of time, especially when playing several sounds at the same time. The limitation of this approach is that
* methods that require a sound id are not supported. */
public class AsynchronousAndroidAudio extends DefaultAndroidAudio {
private final HandlerThread handlerThread;
private final Handler handler;
public AsynchronousAndroidAudio (Context context, AndroidApplicationConfiguration config) {
super(context, config);
if (!config.disableAudio) {
handlerThread = new HandlerThread("libGDX Sound Management");
handlerThread.start();
handler = new Handler(handlerThread.getLooper());
} else {
handler = null;
handlerThread = null;
}
}
@Override
public void dispose () {
super.dispose();
if (handlerThread != null) {
handlerThread.quit();
}
}
@Override
public Sound newSound (FileHandle file) {
Sound sound = super.newSound(file);
return new AsynchronousSound(sound, handler);
}
}
|
package com.badlogic.gdx.backends.android;
import android.content.Context;
import android.os.Handler;
import android.os.HandlerThread;
import com.badlogic.gdx.audio.Sound;
import com.badlogic.gdx.files.FileHandle;
/** A performance oriented implementation of the {@link AndroidAudio} interface.
*
* Sounds are played on a separate thread. This avoids waiting for sound ids on methods that can potentially lock main thread for
* considerable amount of time, especially when playing several sounds at the same time. The limitation of this approach is that
* methods that require a sound id are not supported. */
public class AsynchronousAndroidAudio extends DefaultAndroidAudio {
private final HandlerThread handlerThread;
private final Handler handler;
public AsynchronousAndroidAudio (Context context, AndroidApplicationConfiguration config) {
super(context, config);
if (!config.disableAudio) {
handlerThread = new HandlerThread("libGDX Sound Management");
handlerThread.start();
handler = new Handler(handlerThread.getLooper());
} else {
handler = null;
handlerThread = null;
}
}
@Override
public void dispose () {
super.dispose();
if (handlerThread != null) {
handlerThread.quit();
}
}
@Override
public Sound newSound (FileHandle file) {
Sound sound = super.newSound(file);
return new AsynchronousSound(sound, handler);
}
}
| -1 |
libgdx/libgdx | 7,270 | Update missing build.gradle files with new syntax for registering tasks | Some Gradle build files were still using old syntax after https://github.com/libgdx/libgdx/pull/7134.
| obigu | "2023-11-05T15:31:03Z" | "2023-11-13T11:04:33Z" | 8e3b2ef2af2e1c1765b3441cb15cfbeddf4046fa | a25ceaddd8e9ea740b7e50e486ea4f815d2a3f58 | Update missing build.gradle files with new syntax for registering tasks. Some Gradle build files were still using old syntax after https://github.com/libgdx/libgdx/pull/7134.
| ./extensions/gdx-bullet/jni/swig-src/softbody/com/badlogic/gdx/physics/bullet/softbody/btSoftBodyJointData.java | /* ----------------------------------------------------------------------------
* 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.softbody;
import com.badlogic.gdx.physics.bullet.BulletBase;
import com.badlogic.gdx.physics.bullet.linearmath.*;
import com.badlogic.gdx.physics.bullet.collision.*;
import com.badlogic.gdx.physics.bullet.dynamics.*;
public class btSoftBodyJointData extends BulletBase {
private long swigCPtr;
protected btSoftBodyJointData (final String className, long cPtr, boolean cMemoryOwn) {
super(className, cPtr, cMemoryOwn);
swigCPtr = cPtr;
}
/** Construct a new btSoftBodyJointData, normally you should not need this constructor it's intended for low-level usage. */
public btSoftBodyJointData (long cPtr, boolean cMemoryOwn) {
this("btSoftBodyJointData", cPtr, cMemoryOwn);
construct();
}
@Override
protected void reset (long cPtr, boolean cMemoryOwn) {
if (!destroyed) destroy();
super.reset(swigCPtr = cPtr, cMemoryOwn);
}
public static long getCPtr (btSoftBodyJointData 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;
SoftbodyJNI.delete_btSoftBodyJointData(swigCPtr);
}
swigCPtr = 0;
}
super.delete();
}
public void setBodyA (long value) {
SoftbodyJNI.btSoftBodyJointData_bodyA_set(swigCPtr, this, value);
}
public long getBodyA () {
return SoftbodyJNI.btSoftBodyJointData_bodyA_get(swigCPtr, this);
}
public void setBodyB (long value) {
SoftbodyJNI.btSoftBodyJointData_bodyB_set(swigCPtr, this, value);
}
public long getBodyB () {
return SoftbodyJNI.btSoftBodyJointData_bodyB_get(swigCPtr, this);
}
public void setRefs (btVector3FloatData value) {
SoftbodyJNI.btSoftBodyJointData_refs_set(swigCPtr, this, btVector3FloatData.getCPtr(value), value);
}
public btVector3FloatData getRefs () {
long cPtr = SoftbodyJNI.btSoftBodyJointData_refs_get(swigCPtr, this);
return (cPtr == 0) ? null : new btVector3FloatData(cPtr, false);
}
public void setCfm (float value) {
SoftbodyJNI.btSoftBodyJointData_cfm_set(swigCPtr, this, value);
}
public float getCfm () {
return SoftbodyJNI.btSoftBodyJointData_cfm_get(swigCPtr, this);
}
public void setErp (float value) {
SoftbodyJNI.btSoftBodyJointData_erp_set(swigCPtr, this, value);
}
public float getErp () {
return SoftbodyJNI.btSoftBodyJointData_erp_get(swigCPtr, this);
}
public void setSplit (float value) {
SoftbodyJNI.btSoftBodyJointData_split_set(swigCPtr, this, value);
}
public float getSplit () {
return SoftbodyJNI.btSoftBodyJointData_split_get(swigCPtr, this);
}
public void setDelete (int value) {
SoftbodyJNI.btSoftBodyJointData_delete_set(swigCPtr, this, value);
}
public int getDelete () {
return SoftbodyJNI.btSoftBodyJointData_delete_get(swigCPtr, this);
}
public void setRelPosition (btVector3FloatData value) {
SoftbodyJNI.btSoftBodyJointData_relPosition_set(swigCPtr, this, btVector3FloatData.getCPtr(value), value);
}
public btVector3FloatData getRelPosition () {
long cPtr = SoftbodyJNI.btSoftBodyJointData_relPosition_get(swigCPtr, this);
return (cPtr == 0) ? null : new btVector3FloatData(cPtr, false);
}
public void setBodyAtype (int value) {
SoftbodyJNI.btSoftBodyJointData_bodyAtype_set(swigCPtr, this, value);
}
public int getBodyAtype () {
return SoftbodyJNI.btSoftBodyJointData_bodyAtype_get(swigCPtr, this);
}
public void setBodyBtype (int value) {
SoftbodyJNI.btSoftBodyJointData_bodyBtype_set(swigCPtr, this, value);
}
public int getBodyBtype () {
return SoftbodyJNI.btSoftBodyJointData_bodyBtype_get(swigCPtr, this);
}
public void setJointType (int value) {
SoftbodyJNI.btSoftBodyJointData_jointType_set(swigCPtr, this, value);
}
public int getJointType () {
return SoftbodyJNI.btSoftBodyJointData_jointType_get(swigCPtr, this);
}
public void setPad (int value) {
SoftbodyJNI.btSoftBodyJointData_pad_set(swigCPtr, this, value);
}
public int getPad () {
return SoftbodyJNI.btSoftBodyJointData_pad_get(swigCPtr, this);
}
public btSoftBodyJointData () {
this(SoftbodyJNI.new_btSoftBodyJointData(), true);
}
}
| /* ----------------------------------------------------------------------------
* 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.softbody;
import com.badlogic.gdx.physics.bullet.BulletBase;
import com.badlogic.gdx.physics.bullet.linearmath.*;
import com.badlogic.gdx.physics.bullet.collision.*;
import com.badlogic.gdx.physics.bullet.dynamics.*;
public class btSoftBodyJointData extends BulletBase {
private long swigCPtr;
protected btSoftBodyJointData (final String className, long cPtr, boolean cMemoryOwn) {
super(className, cPtr, cMemoryOwn);
swigCPtr = cPtr;
}
/** Construct a new btSoftBodyJointData, normally you should not need this constructor it's intended for low-level usage. */
public btSoftBodyJointData (long cPtr, boolean cMemoryOwn) {
this("btSoftBodyJointData", cPtr, cMemoryOwn);
construct();
}
@Override
protected void reset (long cPtr, boolean cMemoryOwn) {
if (!destroyed) destroy();
super.reset(swigCPtr = cPtr, cMemoryOwn);
}
public static long getCPtr (btSoftBodyJointData 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;
SoftbodyJNI.delete_btSoftBodyJointData(swigCPtr);
}
swigCPtr = 0;
}
super.delete();
}
public void setBodyA (long value) {
SoftbodyJNI.btSoftBodyJointData_bodyA_set(swigCPtr, this, value);
}
public long getBodyA () {
return SoftbodyJNI.btSoftBodyJointData_bodyA_get(swigCPtr, this);
}
public void setBodyB (long value) {
SoftbodyJNI.btSoftBodyJointData_bodyB_set(swigCPtr, this, value);
}
public long getBodyB () {
return SoftbodyJNI.btSoftBodyJointData_bodyB_get(swigCPtr, this);
}
public void setRefs (btVector3FloatData value) {
SoftbodyJNI.btSoftBodyJointData_refs_set(swigCPtr, this, btVector3FloatData.getCPtr(value), value);
}
public btVector3FloatData getRefs () {
long cPtr = SoftbodyJNI.btSoftBodyJointData_refs_get(swigCPtr, this);
return (cPtr == 0) ? null : new btVector3FloatData(cPtr, false);
}
public void setCfm (float value) {
SoftbodyJNI.btSoftBodyJointData_cfm_set(swigCPtr, this, value);
}
public float getCfm () {
return SoftbodyJNI.btSoftBodyJointData_cfm_get(swigCPtr, this);
}
public void setErp (float value) {
SoftbodyJNI.btSoftBodyJointData_erp_set(swigCPtr, this, value);
}
public float getErp () {
return SoftbodyJNI.btSoftBodyJointData_erp_get(swigCPtr, this);
}
public void setSplit (float value) {
SoftbodyJNI.btSoftBodyJointData_split_set(swigCPtr, this, value);
}
public float getSplit () {
return SoftbodyJNI.btSoftBodyJointData_split_get(swigCPtr, this);
}
public void setDelete (int value) {
SoftbodyJNI.btSoftBodyJointData_delete_set(swigCPtr, this, value);
}
public int getDelete () {
return SoftbodyJNI.btSoftBodyJointData_delete_get(swigCPtr, this);
}
public void setRelPosition (btVector3FloatData value) {
SoftbodyJNI.btSoftBodyJointData_relPosition_set(swigCPtr, this, btVector3FloatData.getCPtr(value), value);
}
public btVector3FloatData getRelPosition () {
long cPtr = SoftbodyJNI.btSoftBodyJointData_relPosition_get(swigCPtr, this);
return (cPtr == 0) ? null : new btVector3FloatData(cPtr, false);
}
public void setBodyAtype (int value) {
SoftbodyJNI.btSoftBodyJointData_bodyAtype_set(swigCPtr, this, value);
}
public int getBodyAtype () {
return SoftbodyJNI.btSoftBodyJointData_bodyAtype_get(swigCPtr, this);
}
public void setBodyBtype (int value) {
SoftbodyJNI.btSoftBodyJointData_bodyBtype_set(swigCPtr, this, value);
}
public int getBodyBtype () {
return SoftbodyJNI.btSoftBodyJointData_bodyBtype_get(swigCPtr, this);
}
public void setJointType (int value) {
SoftbodyJNI.btSoftBodyJointData_jointType_set(swigCPtr, this, value);
}
public int getJointType () {
return SoftbodyJNI.btSoftBodyJointData_jointType_get(swigCPtr, this);
}
public void setPad (int value) {
SoftbodyJNI.btSoftBodyJointData_pad_set(swigCPtr, this, value);
}
public int getPad () {
return SoftbodyJNI.btSoftBodyJointData_pad_get(swigCPtr, this);
}
public btSoftBodyJointData () {
this(SoftbodyJNI.new_btSoftBodyJointData(), true);
}
}
| -1 |
libgdx/libgdx | 7,270 | Update missing build.gradle files with new syntax for registering tasks | Some Gradle build files were still using old syntax after https://github.com/libgdx/libgdx/pull/7134.
| obigu | "2023-11-05T15:31:03Z" | "2023-11-13T11:04:33Z" | 8e3b2ef2af2e1c1765b3441cb15cfbeddf4046fa | a25ceaddd8e9ea740b7e50e486ea4f815d2a3f58 | Update missing build.gradle files with new syntax for registering tasks. Some Gradle build files were still using old syntax after https://github.com/libgdx/libgdx/pull/7134.
| ./extensions/gdx-bullet/jni/swig-src/linearmath/com/badlogic/gdx/physics/bullet/linearmath/HullLibrary.java | /* ----------------------------------------------------------------------------
* 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.linearmath;
import com.badlogic.gdx.physics.bullet.BulletBase;
public class HullLibrary extends BulletBase {
private long swigCPtr;
protected HullLibrary (final String className, long cPtr, boolean cMemoryOwn) {
super(className, cPtr, cMemoryOwn);
swigCPtr = cPtr;
}
/** Construct a new HullLibrary, normally you should not need this constructor it's intended for low-level usage. */
public HullLibrary (long cPtr, boolean cMemoryOwn) {
this("HullLibrary", cPtr, cMemoryOwn);
construct();
}
@Override
protected void reset (long cPtr, boolean cMemoryOwn) {
if (!destroyed) destroy();
super.reset(swigCPtr = cPtr, cMemoryOwn);
}
public static long getCPtr (HullLibrary 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;
LinearMathJNI.delete_HullLibrary(swigCPtr);
}
swigCPtr = 0;
}
super.delete();
}
public void setVertexIndexMapping (SWIGTYPE_p_btAlignedObjectArrayT_int_t value) {
LinearMathJNI.HullLibrary_vertexIndexMapping_set(swigCPtr, this, SWIGTYPE_p_btAlignedObjectArrayT_int_t.getCPtr(value));
}
public SWIGTYPE_p_btAlignedObjectArrayT_int_t getVertexIndexMapping () {
long cPtr = LinearMathJNI.HullLibrary_vertexIndexMapping_get(swigCPtr, this);
return (cPtr == 0) ? null : new SWIGTYPE_p_btAlignedObjectArrayT_int_t(cPtr, false);
}
public int CreateConvexHull (HullDesc desc, HullResult result) {
return LinearMathJNI.HullLibrary_CreateConvexHull(swigCPtr, this, HullDesc.getCPtr(desc), desc, HullResult.getCPtr(result),
result);
}
public int ReleaseResult (HullResult result) {
return LinearMathJNI.HullLibrary_ReleaseResult(swigCPtr, this, HullResult.getCPtr(result), result);
}
public HullLibrary () {
this(LinearMathJNI.new_HullLibrary(), true);
}
}
| /* ----------------------------------------------------------------------------
* 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.linearmath;
import com.badlogic.gdx.physics.bullet.BulletBase;
public class HullLibrary extends BulletBase {
private long swigCPtr;
protected HullLibrary (final String className, long cPtr, boolean cMemoryOwn) {
super(className, cPtr, cMemoryOwn);
swigCPtr = cPtr;
}
/** Construct a new HullLibrary, normally you should not need this constructor it's intended for low-level usage. */
public HullLibrary (long cPtr, boolean cMemoryOwn) {
this("HullLibrary", cPtr, cMemoryOwn);
construct();
}
@Override
protected void reset (long cPtr, boolean cMemoryOwn) {
if (!destroyed) destroy();
super.reset(swigCPtr = cPtr, cMemoryOwn);
}
public static long getCPtr (HullLibrary 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;
LinearMathJNI.delete_HullLibrary(swigCPtr);
}
swigCPtr = 0;
}
super.delete();
}
public void setVertexIndexMapping (SWIGTYPE_p_btAlignedObjectArrayT_int_t value) {
LinearMathJNI.HullLibrary_vertexIndexMapping_set(swigCPtr, this, SWIGTYPE_p_btAlignedObjectArrayT_int_t.getCPtr(value));
}
public SWIGTYPE_p_btAlignedObjectArrayT_int_t getVertexIndexMapping () {
long cPtr = LinearMathJNI.HullLibrary_vertexIndexMapping_get(swigCPtr, this);
return (cPtr == 0) ? null : new SWIGTYPE_p_btAlignedObjectArrayT_int_t(cPtr, false);
}
public int CreateConvexHull (HullDesc desc, HullResult result) {
return LinearMathJNI.HullLibrary_CreateConvexHull(swigCPtr, this, HullDesc.getCPtr(desc), desc, HullResult.getCPtr(result),
result);
}
public int ReleaseResult (HullResult result) {
return LinearMathJNI.HullLibrary_ReleaseResult(swigCPtr, this, HullResult.getCPtr(result), result);
}
public HullLibrary () {
this(LinearMathJNI.new_HullLibrary(), true);
}
}
| -1 |
libgdx/libgdx | 7,270 | Update missing build.gradle files with new syntax for registering tasks | Some Gradle build files were still using old syntax after https://github.com/libgdx/libgdx/pull/7134.
| obigu | "2023-11-05T15:31:03Z" | "2023-11-13T11:04:33Z" | 8e3b2ef2af2e1c1765b3441cb15cfbeddf4046fa | a25ceaddd8e9ea740b7e50e486ea4f815d2a3f58 | Update missing build.gradle files with new syntax for registering tasks. Some Gradle build files were still using old syntax after https://github.com/libgdx/libgdx/pull/7134.
| ./tests/gdx-tests-android/assets/data/sphere.obj | # Exported from Wings 3D 1.2
mtllib sphere.mtl
o sphere1
#114 vertices, 224 faces
v 0.38268343 0.92387953 0.0000000e+0
v 0.35355339 0.92387953 0.14644661
v 0.27059805 0.92387953 0.27059805
v 0.14644661 0.92387953 0.35355339
v 2.3432602e-17 0.92387953 0.38268343
v -0.14644661 0.92387953 0.35355339
v -0.27059805 0.92387953 0.27059805
v -0.35355339 0.92387953 0.14644661
v -0.38268343 0.92387953 4.6865204e-17
v -0.35355339 0.92387953 -0.14644661
v -0.27059805 0.92387953 -0.27059805
v -0.14644661 0.92387953 -0.35355339
v -7.0297806e-17 0.92387953 -0.38268343
v 0.14644661 0.92387953 -0.35355339
v 0.27059805 0.92387953 -0.27059805
v 0.35355339 0.92387953 -0.14644661
v 0.70710678 0.70710678 0.0000000e+0
v 0.65328148 0.70710678 0.27059805
v 0.50000000 0.70710678 0.50000000
v 0.27059805 0.70710678 0.65328148
v 4.3297803e-17 0.70710678 0.70710678
v -0.27059805 0.70710678 0.65328148
v -0.50000000 0.70710678 0.50000000
v -0.65328148 0.70710678 0.27059805
v -0.70710678 0.70710678 8.6595606e-17
v -0.65328148 0.70710678 -0.27059805
v -0.50000000 0.70710678 -0.50000000
v -0.27059805 0.70710678 -0.65328148
v -1.2989341e-16 0.70710678 -0.70710678
v 0.27059805 0.70710678 -0.65328148
v 0.50000000 0.70710678 -0.50000000
v 0.65328148 0.70710678 -0.27059805
v 0.92387953 0.38268343 0.0000000e+0
v 0.85355339 0.38268343 0.35355339
v 0.65328148 0.38268343 0.65328148
v 0.35355339 0.38268343 0.85355339
v 5.6571306e-17 0.38268343 0.92387953
v -0.35355339 0.38268343 0.85355339
v -0.65328148 0.38268343 0.65328148
v -0.85355339 0.38268343 0.35355339
v -0.92387953 0.38268343 1.1314261e-16
v -0.85355339 0.38268343 -0.35355339
v -0.65328148 0.38268343 -0.65328148
v -0.35355339 0.38268343 -0.85355339
v -1.6971392e-16 0.38268343 -0.92387953
v 0.35355339 0.38268343 -0.85355339
v 0.65328148 0.38268343 -0.65328148
v 0.85355339 0.38268343 -0.35355339
v 1.00000000 6.1232340e-17 0.0000000e+0
v 0.92387953 6.1232340e-17 0.38268343
v 0.70710678 6.1232340e-17 0.70710678
v 0.38268343 6.1232340e-17 0.92387953
v 6.1232340e-17 6.1232340e-17 1.00000000
v -0.38268343 6.1232340e-17 0.92387953
v -0.70710678 6.1232340e-17 0.70710678
v -0.92387953 6.1232340e-17 0.38268343
v -1.00000000 6.1232340e-17 1.2246468e-16
v -0.92387953 6.1232340e-17 -0.38268343
v -0.70710678 6.1232340e-17 -0.70710678
v -0.38268343 6.1232340e-17 -0.92387953
v -1.8369702e-16 6.1232340e-17 -1.00000000
v 0.38268343 6.1232340e-17 -0.92387953
v 0.70710678 6.1232340e-17 -0.70710678
v 0.92387953 6.1232340e-17 -0.38268343
v 0.92387953 -0.38268343 0.0000000e+0
v 0.85355339 -0.38268343 0.35355339
v 0.65328148 -0.38268343 0.65328148
v 0.35355339 -0.38268343 0.85355339
v 5.6571306e-17 -0.38268343 0.92387953
v -0.35355339 -0.38268343 0.85355339
v -0.65328148 -0.38268343 0.65328148
v -0.85355339 -0.38268343 0.35355339
v -0.92387953 -0.38268343 1.1314261e-16
v -0.85355339 -0.38268343 -0.35355339
v -0.65328148 -0.38268343 -0.65328148
v -0.35355339 -0.38268343 -0.85355339
v -1.6971392e-16 -0.38268343 -0.92387953
v 0.35355339 -0.38268343 -0.85355339
v 0.65328148 -0.38268343 -0.65328148
v 0.85355339 -0.38268343 -0.35355339
v 0.70710678 -0.70710678 0.0000000e+0
v 0.65328148 -0.70710678 0.27059805
v 0.50000000 -0.70710678 0.50000000
v 0.27059805 -0.70710678 0.65328148
v 4.3297803e-17 -0.70710678 0.70710678
v -0.27059805 -0.70710678 0.65328148
v -0.50000000 -0.70710678 0.50000000
v -0.65328148 -0.70710678 0.27059805
v -0.70710678 -0.70710678 8.6595606e-17
v -0.65328148 -0.70710678 -0.27059805
v -0.50000000 -0.70710678 -0.50000000
v -0.27059805 -0.70710678 -0.65328148
v -1.2989341e-16 -0.70710678 -0.70710678
v 0.27059805 -0.70710678 -0.65328148
v 0.50000000 -0.70710678 -0.50000000
v 0.65328148 -0.70710678 -0.27059805
v 0.38268343 -0.92387953 0.0000000e+0
v 0.35355339 -0.92387953 0.14644661
v 0.27059805 -0.92387953 0.27059805
v 0.14644661 -0.92387953 0.35355339
v 2.3432602e-17 -0.92387953 0.38268343
v -0.14644661 -0.92387953 0.35355339
v -0.27059805 -0.92387953 0.27059805
v -0.35355339 -0.92387953 0.14644661
v -0.38268343 -0.92387953 4.6865204e-17
v -0.35355339 -0.92387953 -0.14644661
v -0.27059805 -0.92387953 -0.27059805
v -0.14644661 -0.92387953 -0.35355339
v -7.0297806e-17 -0.92387953 -0.38268343
v 0.14644661 -0.92387953 -0.35355339
v 0.27059805 -0.92387953 -0.27059805
v 0.35355339 -0.92387953 -0.14644661
v 0.0000000e+0 1.00000000 0.0000000e+0
v 0.0000000e+0 -1.00000000 0.0000000e+0
vn 0.44254783 0.89674490 -8.0352547e-17
vn 0.35310199 0.92408176 0.14625963
vn 0.31292857 0.89674490 0.31292857
vn 0.14625963 0.92408176 0.35310199
vn 2.3633102e-18 0.89674490 0.44254783
vn -0.14625963 0.92408176 0.35310199
vn -0.31292857 0.89674490 0.31292857
vn -0.35310199 0.92408176 0.14625963
vn -0.44254783 0.89674490 2.5996412e-17
vn -0.35310199 0.92408176 -0.14625963
vn -0.31292857 0.89674490 -0.31292857
vn -0.14625963 0.92408176 -0.35310199
vn -3.7812963e-17 0.89674490 -0.44254783
vn 0.14625963 0.92408176 -0.35310199
vn 0.31292857 0.89674490 -0.31292857
vn 0.35310199 0.92408176 -0.14625963
vn 0.70658450 0.70762868 1.3574215e-16
vn 0.65279895 0.70762868 0.27039818
vn 0.49963069 0.70762868 0.49963069
vn 0.27039818 0.70762868 0.65279895
vn 7.1443235e-18 0.70762868 0.70658450
vn -0.27039818 0.70762868 0.65279895
vn -0.49963069 0.70762868 0.49963069
vn -0.65279895 0.70762868 0.27039818
vn -0.70658450 0.70762868 1.1430918e-16
vn -0.65279895 0.70762868 -0.27039818
vn -0.49963069 0.70762868 -0.49963069
vn -0.27039818 0.70762868 -0.65279895
vn 1.4288647e-17 0.70762868 -0.70658450
vn 0.27039818 0.70762868 -0.65279895
vn 0.49963069 0.70762868 -0.49963069
vn 0.65279895 0.70762868 -0.27039818
vn 0.92368212 0.38315969 -8.6274346e-17
vn 0.85337100 0.38315969 0.35347784
vn 0.65314189 0.38315969 0.65314189
vn 0.35347784 0.38315969 0.85337100
vn 1.0784293e-17 0.38315969 0.92368212
vn -0.35347784 0.38315969 0.85337100
vn -0.65314189 0.38315969 0.65314189
vn -0.85337100 0.38315969 0.35347784
vn -0.92368212 0.38315969 1.4738534e-16
vn -0.85337100 0.38315969 -0.35347784
vn -0.65314189 0.38315969 -0.65314189
vn -0.35347784 0.38315969 -0.85337100
vn -4.3137173e-17 0.38315969 -0.92368212
vn 0.35347784 0.38315969 -0.85337100
vn 0.65314189 0.38315969 -0.65314189
vn 0.85337100 0.38315969 -0.35347784
vn 1.00000000 0.0000000e+0 -1.0812319e-16
vn 0.92387953 -1.8020531e-17 0.38268343
vn 0.70710678 0.0000000e+0 0.70710678
vn 0.38268343 3.6041063e-17 0.92387953
vn 0.0000000e+0 7.2082126e-18 1.00000000
vn -0.38268343 1.8020531e-17 0.92387953
vn -0.70710678 1.4416425e-17 0.70710678
vn -0.92387953 3.6041063e-18 0.38268343
vn -1.00000000 -7.2082126e-18 1.4416425e-16
vn -0.92387953 -5.4061594e-17 -0.38268343
vn -0.70710678 -8.6498551e-17 -0.70710678
vn -0.38268343 -1.4416425e-17 -0.92387953
vn -3.6761884e-16 7.2082126e-18 -1.00000000
vn 0.38268343 0.0000000e+0 -0.92387953
vn 0.70710678 1.4416425e-17 -0.70710678
vn 0.92387953 -3.6041063e-17 -0.38268343
vn 0.92368212 -0.38315969 -1.4019581e-16
vn 0.85337100 -0.38315969 0.35347784
vn 0.65314189 -0.38315969 0.65314189
vn 0.35347784 -0.38315969 0.85337100
vn 7.1895288e-18 -0.38315969 0.92368212
vn -0.35347784 -0.38315969 0.85337100
vn -0.65314189 -0.38315969 0.65314189
vn -0.85337100 -0.38315969 0.35347784
vn -0.92368212 -0.38315969 1.5816963e-16
vn -0.85337100 -0.38315969 -0.35347784
vn -0.65314189 -0.38315969 -0.65314189
vn -0.35347784 -0.38315969 -0.85337100
vn 7.1895288e-18 -0.38315969 -0.92368212
vn 0.35347784 -0.38315969 -0.85337100
vn 0.65314189 -0.38315969 -0.65314189
vn 0.85337100 -0.38315969 -0.35347784
vn 0.70658450 -0.70762868 -6.7871073e-17
vn 0.65279895 -0.70762868 0.27039818
vn 0.49963069 -0.70762868 0.49963069
vn 0.27039818 -0.70762868 0.65279895
vn 1.0716485e-17 -0.70762868 0.70658450
vn -0.27039818 -0.70762868 0.65279895
vn -0.49963069 -0.70762868 0.49963069
vn -0.65279895 -0.70762868 0.27039818
vn -0.70658450 -0.70762868 1.1430918e-16
vn -0.65279895 -0.70762868 -0.27039818
vn -0.49963069 -0.70762868 -0.49963069
vn -0.27039818 -0.70762868 -0.65279895
vn 3.5721617e-18 -0.70762868 -0.70658450
vn 0.27039818 -0.70762868 -0.65279895
vn 0.49963069 -0.70762868 -0.49963069
vn 0.65279895 -0.70762868 -0.27039818
vn 0.44254783 -0.89674490 2.1033461e-16
vn 0.35310199 -0.92408176 0.14625963
vn 0.31292857 -0.89674490 0.31292857
vn 0.14625963 -0.92408176 0.35310199
vn 2.3633102e-17 -0.89674490 0.44254783
vn -0.14625963 -0.92408176 0.35310199
vn -0.31292857 -0.89674490 0.31292857
vn -0.35310199 -0.92408176 0.14625963
vn -0.44254783 -0.89674490 5.4356134e-17
vn -0.35310199 -0.92408176 -0.14625963
vn -0.31292857 -0.89674490 -0.31292857
vn -0.14625963 -0.92408176 -0.35310199
vn -3.5449653e-17 -0.89674490 -0.44254783
vn 0.14625963 -0.92408176 -0.35310199
vn 0.31292857 -0.89674490 -0.31292857
vn 0.35310199 -0.92408176 -0.14625963
vn -7.0801599e-18 1.00000000 -4.3365979e-17
vn -8.8501998e-18 -1.00000000 -6.2393909e-17
g sphere1_default
usemtl default
s 1
f 1//1 18//18 17//17
f 1//1 32//32 16//16
f 1//1 113//113 2//2
f 2//2 18//18 1//1
f 2//2 113//113 3//3
f 3//3 18//18 2//2
f 3//3 20//20 19//19
f 3//3 113//113 4//4
f 4//4 20//20 3//3
f 4//4 113//113 5//5
f 5//5 20//20 4//4
f 5//5 22//22 21//21
f 5//5 113//113 6//6
f 6//6 22//22 5//5
f 6//6 113//113 7//7
f 7//7 22//22 6//6
f 7//7 24//24 23//23
f 7//7 113//113 8//8
f 8//8 24//24 7//7
f 8//8 113//113 9//9
f 9//9 24//24 8//8
f 9//9 26//26 25//25
f 9//9 113//113 10//10
f 10//10 26//26 9//9
f 10//10 113//113 11//11
f 11//11 26//26 10//10
f 11//11 28//28 27//27
f 11//11 113//113 12//12
f 12//12 28//28 11//11
f 12//12 113//113 13//13
f 13//13 28//28 12//12
f 13//13 30//30 29//29
f 13//13 113//113 14//14
f 14//14 30//30 13//13
f 14//14 113//113 15//15
f 15//15 30//30 14//14
f 15//15 32//32 31//31
f 15//15 113//113 16//16
f 16//16 32//32 15//15
f 16//16 113//113 1//1
f 17//17 32//32 1//1
f 17//17 33//33 32//32
f 18//18 33//33 17//17
f 18//18 35//35 34//34
f 19//19 18//18 3//3
f 19//19 35//35 18//18
f 20//20 35//35 19//19
f 20//20 37//37 36//36
f 21//21 20//20 5//5
f 21//21 37//37 20//20
f 22//22 37//37 21//21
f 22//22 39//39 38//38
f 23//23 22//22 7//7
f 23//23 39//39 22//22
f 24//24 39//39 23//23
f 24//24 41//41 40//40
f 25//25 24//24 9//9
f 25//25 41//41 24//24
f 26//26 41//41 25//25
f 26//26 43//43 42//42
f 27//27 26//26 11//11
f 27//27 43//43 26//26
f 28//28 43//43 27//27
f 28//28 45//45 44//44
f 29//29 28//28 13//13
f 29//29 45//45 28//28
f 30//30 45//45 29//29
f 30//30 47//47 46//46
f 31//31 30//30 15//15
f 31//31 47//47 30//30
f 32//32 33//33 48//48
f 32//32 47//47 31//31
f 33//33 50//50 49//49
f 33//33 64//64 48//48
f 34//34 33//33 18//18
f 34//34 50//50 33//33
f 35//35 50//50 34//34
f 35//35 52//52 51//51
f 36//36 35//35 20//20
f 36//36 52//52 35//35
f 37//37 52//52 36//36
f 37//37 54//54 53//53
f 38//38 37//37 22//22
f 38//38 54//54 37//37
f 39//39 54//54 38//38
f 39//39 56//56 55//55
f 40//40 39//39 24//24
f 40//40 56//56 39//39
f 41//41 56//56 40//40
f 41//41 58//58 57//57
f 42//42 41//41 26//26
f 42//42 58//58 41//41
f 43//43 58//58 42//42
f 43//43 60//60 59//59
f 44//44 43//43 28//28
f 44//44 60//60 43//43
f 45//45 60//60 44//44
f 45//45 62//62 61//61
f 46//46 45//45 30//30
f 46//46 62//62 45//45
f 47//47 62//62 46//46
f 47//47 64//64 63//63
f 48//48 47//47 32//32
f 48//48 64//64 47//47
f 49//49 64//64 33//33
f 49//49 65//65 64//64
f 50//50 65//65 49//49
f 50//50 67//67 66//66
f 51//51 50//50 35//35
f 51//51 67//67 50//50
f 52//52 67//67 51//51
f 52//52 69//69 68//68
f 53//53 52//52 37//37
f 53//53 69//69 52//52
f 54//54 69//69 53//53
f 54//54 71//71 70//70
f 55//55 54//54 39//39
f 55//55 71//71 54//54
f 56//56 71//71 55//55
f 56//56 73//73 72//72
f 57//57 56//56 41//41
f 57//57 73//73 56//56
f 58//58 73//73 57//57
f 58//58 75//75 74//74
f 59//59 58//58 43//43
f 59//59 75//75 58//58
f 60//60 75//75 59//59
f 60//60 77//77 76//76
f 61//61 60//60 45//45
f 61//61 77//77 60//60
f 62//62 77//77 61//61
f 62//62 79//79 78//78
f 63//63 62//62 47//47
f 63//63 79//79 62//62
f 64//64 65//65 80//80
f 64//64 79//79 63//63
f 65//65 82//82 81//81
f 65//65 96//96 80//80
f 66//66 65//65 50//50
f 66//66 82//82 65//65
f 67//67 82//82 66//66
f 67//67 84//84 83//83
f 68//68 67//67 52//52
f 68//68 84//84 67//67
f 69//69 84//84 68//68
f 69//69 86//86 85//85
f 70//70 69//69 54//54
f 70//70 86//86 69//69
f 71//71 86//86 70//70
f 71//71 88//88 87//87
f 72//72 71//71 56//56
f 72//72 88//88 71//71
f 73//73 88//88 72//72
f 73//73 90//90 89//89
f 74//74 73//73 58//58
f 74//74 90//90 73//73
f 75//75 90//90 74//74
f 75//75 92//92 91//91
f 76//76 75//75 60//60
f 76//76 92//92 75//75
f 77//77 92//92 76//76
f 77//77 94//94 93//93
f 78//78 77//77 62//62
f 78//78 94//94 77//77
f 79//79 94//94 78//78
f 79//79 96//96 95//95
f 80//80 79//79 64//64
f 80//80 96//96 79//79
f 81//81 96//96 65//65
f 81//81 97//97 96//96
f 82//82 97//97 81//81
f 82//82 99//99 98//98
f 83//83 82//82 67//67
f 83//83 99//99 82//82
f 84//84 99//99 83//83
f 84//84 101//101 100//100
f 85//85 84//84 69//69
f 85//85 101//101 84//84
f 86//86 101//101 85//85
f 86//86 103//103 102//102
f 87//87 86//86 71//71
f 87//87 103//103 86//86
f 88//88 103//103 87//87
f 88//88 105//105 104//104
f 89//89 88//88 73//73
f 89//89 105//105 88//88
f 90//90 105//105 89//89
f 90//90 107//107 106//106
f 91//91 90//90 75//75
f 91//91 107//107 90//90
f 92//92 107//107 91//91
f 92//92 109//109 108//108
f 93//93 92//92 77//77
f 93//93 109//109 92//92
f 94//94 109//109 93//93
f 94//94 111//111 110//110
f 95//95 94//94 79//79
f 95//95 111//111 94//94
f 96//96 97//97 112//112
f 96//96 111//111 95//95
f 97//97 114//114 112//112
f 98//98 97//97 82//82
f 98//98 114//114 97//97
f 99//99 114//114 98//98
f 100//100 99//99 84//84
f 100//100 114//114 99//99
f 101//101 114//114 100//100
f 102//102 101//101 86//86
f 102//102 114//114 101//101
f 103//103 114//114 102//102
f 104//104 103//103 88//88
f 104//104 114//114 103//103
f 105//105 114//114 104//104
f 106//106 105//105 90//90
f 106//106 114//114 105//105
f 107//107 114//114 106//106
f 108//108 107//107 92//92
f 108//108 114//114 107//107
f 109//109 114//114 108//108
f 110//110 109//109 94//94
f 110//110 114//114 109//109
f 111//111 114//114 110//110
f 112//112 111//111 96//96
f 112//112 114//114 111//111
| # Exported from Wings 3D 1.2
mtllib sphere.mtl
o sphere1
#114 vertices, 224 faces
v 0.38268343 0.92387953 0.0000000e+0
v 0.35355339 0.92387953 0.14644661
v 0.27059805 0.92387953 0.27059805
v 0.14644661 0.92387953 0.35355339
v 2.3432602e-17 0.92387953 0.38268343
v -0.14644661 0.92387953 0.35355339
v -0.27059805 0.92387953 0.27059805
v -0.35355339 0.92387953 0.14644661
v -0.38268343 0.92387953 4.6865204e-17
v -0.35355339 0.92387953 -0.14644661
v -0.27059805 0.92387953 -0.27059805
v -0.14644661 0.92387953 -0.35355339
v -7.0297806e-17 0.92387953 -0.38268343
v 0.14644661 0.92387953 -0.35355339
v 0.27059805 0.92387953 -0.27059805
v 0.35355339 0.92387953 -0.14644661
v 0.70710678 0.70710678 0.0000000e+0
v 0.65328148 0.70710678 0.27059805
v 0.50000000 0.70710678 0.50000000
v 0.27059805 0.70710678 0.65328148
v 4.3297803e-17 0.70710678 0.70710678
v -0.27059805 0.70710678 0.65328148
v -0.50000000 0.70710678 0.50000000
v -0.65328148 0.70710678 0.27059805
v -0.70710678 0.70710678 8.6595606e-17
v -0.65328148 0.70710678 -0.27059805
v -0.50000000 0.70710678 -0.50000000
v -0.27059805 0.70710678 -0.65328148
v -1.2989341e-16 0.70710678 -0.70710678
v 0.27059805 0.70710678 -0.65328148
v 0.50000000 0.70710678 -0.50000000
v 0.65328148 0.70710678 -0.27059805
v 0.92387953 0.38268343 0.0000000e+0
v 0.85355339 0.38268343 0.35355339
v 0.65328148 0.38268343 0.65328148
v 0.35355339 0.38268343 0.85355339
v 5.6571306e-17 0.38268343 0.92387953
v -0.35355339 0.38268343 0.85355339
v -0.65328148 0.38268343 0.65328148
v -0.85355339 0.38268343 0.35355339
v -0.92387953 0.38268343 1.1314261e-16
v -0.85355339 0.38268343 -0.35355339
v -0.65328148 0.38268343 -0.65328148
v -0.35355339 0.38268343 -0.85355339
v -1.6971392e-16 0.38268343 -0.92387953
v 0.35355339 0.38268343 -0.85355339
v 0.65328148 0.38268343 -0.65328148
v 0.85355339 0.38268343 -0.35355339
v 1.00000000 6.1232340e-17 0.0000000e+0
v 0.92387953 6.1232340e-17 0.38268343
v 0.70710678 6.1232340e-17 0.70710678
v 0.38268343 6.1232340e-17 0.92387953
v 6.1232340e-17 6.1232340e-17 1.00000000
v -0.38268343 6.1232340e-17 0.92387953
v -0.70710678 6.1232340e-17 0.70710678
v -0.92387953 6.1232340e-17 0.38268343
v -1.00000000 6.1232340e-17 1.2246468e-16
v -0.92387953 6.1232340e-17 -0.38268343
v -0.70710678 6.1232340e-17 -0.70710678
v -0.38268343 6.1232340e-17 -0.92387953
v -1.8369702e-16 6.1232340e-17 -1.00000000
v 0.38268343 6.1232340e-17 -0.92387953
v 0.70710678 6.1232340e-17 -0.70710678
v 0.92387953 6.1232340e-17 -0.38268343
v 0.92387953 -0.38268343 0.0000000e+0
v 0.85355339 -0.38268343 0.35355339
v 0.65328148 -0.38268343 0.65328148
v 0.35355339 -0.38268343 0.85355339
v 5.6571306e-17 -0.38268343 0.92387953
v -0.35355339 -0.38268343 0.85355339
v -0.65328148 -0.38268343 0.65328148
v -0.85355339 -0.38268343 0.35355339
v -0.92387953 -0.38268343 1.1314261e-16
v -0.85355339 -0.38268343 -0.35355339
v -0.65328148 -0.38268343 -0.65328148
v -0.35355339 -0.38268343 -0.85355339
v -1.6971392e-16 -0.38268343 -0.92387953
v 0.35355339 -0.38268343 -0.85355339
v 0.65328148 -0.38268343 -0.65328148
v 0.85355339 -0.38268343 -0.35355339
v 0.70710678 -0.70710678 0.0000000e+0
v 0.65328148 -0.70710678 0.27059805
v 0.50000000 -0.70710678 0.50000000
v 0.27059805 -0.70710678 0.65328148
v 4.3297803e-17 -0.70710678 0.70710678
v -0.27059805 -0.70710678 0.65328148
v -0.50000000 -0.70710678 0.50000000
v -0.65328148 -0.70710678 0.27059805
v -0.70710678 -0.70710678 8.6595606e-17
v -0.65328148 -0.70710678 -0.27059805
v -0.50000000 -0.70710678 -0.50000000
v -0.27059805 -0.70710678 -0.65328148
v -1.2989341e-16 -0.70710678 -0.70710678
v 0.27059805 -0.70710678 -0.65328148
v 0.50000000 -0.70710678 -0.50000000
v 0.65328148 -0.70710678 -0.27059805
v 0.38268343 -0.92387953 0.0000000e+0
v 0.35355339 -0.92387953 0.14644661
v 0.27059805 -0.92387953 0.27059805
v 0.14644661 -0.92387953 0.35355339
v 2.3432602e-17 -0.92387953 0.38268343
v -0.14644661 -0.92387953 0.35355339
v -0.27059805 -0.92387953 0.27059805
v -0.35355339 -0.92387953 0.14644661
v -0.38268343 -0.92387953 4.6865204e-17
v -0.35355339 -0.92387953 -0.14644661
v -0.27059805 -0.92387953 -0.27059805
v -0.14644661 -0.92387953 -0.35355339
v -7.0297806e-17 -0.92387953 -0.38268343
v 0.14644661 -0.92387953 -0.35355339
v 0.27059805 -0.92387953 -0.27059805
v 0.35355339 -0.92387953 -0.14644661
v 0.0000000e+0 1.00000000 0.0000000e+0
v 0.0000000e+0 -1.00000000 0.0000000e+0
vn 0.44254783 0.89674490 -8.0352547e-17
vn 0.35310199 0.92408176 0.14625963
vn 0.31292857 0.89674490 0.31292857
vn 0.14625963 0.92408176 0.35310199
vn 2.3633102e-18 0.89674490 0.44254783
vn -0.14625963 0.92408176 0.35310199
vn -0.31292857 0.89674490 0.31292857
vn -0.35310199 0.92408176 0.14625963
vn -0.44254783 0.89674490 2.5996412e-17
vn -0.35310199 0.92408176 -0.14625963
vn -0.31292857 0.89674490 -0.31292857
vn -0.14625963 0.92408176 -0.35310199
vn -3.7812963e-17 0.89674490 -0.44254783
vn 0.14625963 0.92408176 -0.35310199
vn 0.31292857 0.89674490 -0.31292857
vn 0.35310199 0.92408176 -0.14625963
vn 0.70658450 0.70762868 1.3574215e-16
vn 0.65279895 0.70762868 0.27039818
vn 0.49963069 0.70762868 0.49963069
vn 0.27039818 0.70762868 0.65279895
vn 7.1443235e-18 0.70762868 0.70658450
vn -0.27039818 0.70762868 0.65279895
vn -0.49963069 0.70762868 0.49963069
vn -0.65279895 0.70762868 0.27039818
vn -0.70658450 0.70762868 1.1430918e-16
vn -0.65279895 0.70762868 -0.27039818
vn -0.49963069 0.70762868 -0.49963069
vn -0.27039818 0.70762868 -0.65279895
vn 1.4288647e-17 0.70762868 -0.70658450
vn 0.27039818 0.70762868 -0.65279895
vn 0.49963069 0.70762868 -0.49963069
vn 0.65279895 0.70762868 -0.27039818
vn 0.92368212 0.38315969 -8.6274346e-17
vn 0.85337100 0.38315969 0.35347784
vn 0.65314189 0.38315969 0.65314189
vn 0.35347784 0.38315969 0.85337100
vn 1.0784293e-17 0.38315969 0.92368212
vn -0.35347784 0.38315969 0.85337100
vn -0.65314189 0.38315969 0.65314189
vn -0.85337100 0.38315969 0.35347784
vn -0.92368212 0.38315969 1.4738534e-16
vn -0.85337100 0.38315969 -0.35347784
vn -0.65314189 0.38315969 -0.65314189
vn -0.35347784 0.38315969 -0.85337100
vn -4.3137173e-17 0.38315969 -0.92368212
vn 0.35347784 0.38315969 -0.85337100
vn 0.65314189 0.38315969 -0.65314189
vn 0.85337100 0.38315969 -0.35347784
vn 1.00000000 0.0000000e+0 -1.0812319e-16
vn 0.92387953 -1.8020531e-17 0.38268343
vn 0.70710678 0.0000000e+0 0.70710678
vn 0.38268343 3.6041063e-17 0.92387953
vn 0.0000000e+0 7.2082126e-18 1.00000000
vn -0.38268343 1.8020531e-17 0.92387953
vn -0.70710678 1.4416425e-17 0.70710678
vn -0.92387953 3.6041063e-18 0.38268343
vn -1.00000000 -7.2082126e-18 1.4416425e-16
vn -0.92387953 -5.4061594e-17 -0.38268343
vn -0.70710678 -8.6498551e-17 -0.70710678
vn -0.38268343 -1.4416425e-17 -0.92387953
vn -3.6761884e-16 7.2082126e-18 -1.00000000
vn 0.38268343 0.0000000e+0 -0.92387953
vn 0.70710678 1.4416425e-17 -0.70710678
vn 0.92387953 -3.6041063e-17 -0.38268343
vn 0.92368212 -0.38315969 -1.4019581e-16
vn 0.85337100 -0.38315969 0.35347784
vn 0.65314189 -0.38315969 0.65314189
vn 0.35347784 -0.38315969 0.85337100
vn 7.1895288e-18 -0.38315969 0.92368212
vn -0.35347784 -0.38315969 0.85337100
vn -0.65314189 -0.38315969 0.65314189
vn -0.85337100 -0.38315969 0.35347784
vn -0.92368212 -0.38315969 1.5816963e-16
vn -0.85337100 -0.38315969 -0.35347784
vn -0.65314189 -0.38315969 -0.65314189
vn -0.35347784 -0.38315969 -0.85337100
vn 7.1895288e-18 -0.38315969 -0.92368212
vn 0.35347784 -0.38315969 -0.85337100
vn 0.65314189 -0.38315969 -0.65314189
vn 0.85337100 -0.38315969 -0.35347784
vn 0.70658450 -0.70762868 -6.7871073e-17
vn 0.65279895 -0.70762868 0.27039818
vn 0.49963069 -0.70762868 0.49963069
vn 0.27039818 -0.70762868 0.65279895
vn 1.0716485e-17 -0.70762868 0.70658450
vn -0.27039818 -0.70762868 0.65279895
vn -0.49963069 -0.70762868 0.49963069
vn -0.65279895 -0.70762868 0.27039818
vn -0.70658450 -0.70762868 1.1430918e-16
vn -0.65279895 -0.70762868 -0.27039818
vn -0.49963069 -0.70762868 -0.49963069
vn -0.27039818 -0.70762868 -0.65279895
vn 3.5721617e-18 -0.70762868 -0.70658450
vn 0.27039818 -0.70762868 -0.65279895
vn 0.49963069 -0.70762868 -0.49963069
vn 0.65279895 -0.70762868 -0.27039818
vn 0.44254783 -0.89674490 2.1033461e-16
vn 0.35310199 -0.92408176 0.14625963
vn 0.31292857 -0.89674490 0.31292857
vn 0.14625963 -0.92408176 0.35310199
vn 2.3633102e-17 -0.89674490 0.44254783
vn -0.14625963 -0.92408176 0.35310199
vn -0.31292857 -0.89674490 0.31292857
vn -0.35310199 -0.92408176 0.14625963
vn -0.44254783 -0.89674490 5.4356134e-17
vn -0.35310199 -0.92408176 -0.14625963
vn -0.31292857 -0.89674490 -0.31292857
vn -0.14625963 -0.92408176 -0.35310199
vn -3.5449653e-17 -0.89674490 -0.44254783
vn 0.14625963 -0.92408176 -0.35310199
vn 0.31292857 -0.89674490 -0.31292857
vn 0.35310199 -0.92408176 -0.14625963
vn -7.0801599e-18 1.00000000 -4.3365979e-17
vn -8.8501998e-18 -1.00000000 -6.2393909e-17
g sphere1_default
usemtl default
s 1
f 1//1 18//18 17//17
f 1//1 32//32 16//16
f 1//1 113//113 2//2
f 2//2 18//18 1//1
f 2//2 113//113 3//3
f 3//3 18//18 2//2
f 3//3 20//20 19//19
f 3//3 113//113 4//4
f 4//4 20//20 3//3
f 4//4 113//113 5//5
f 5//5 20//20 4//4
f 5//5 22//22 21//21
f 5//5 113//113 6//6
f 6//6 22//22 5//5
f 6//6 113//113 7//7
f 7//7 22//22 6//6
f 7//7 24//24 23//23
f 7//7 113//113 8//8
f 8//8 24//24 7//7
f 8//8 113//113 9//9
f 9//9 24//24 8//8
f 9//9 26//26 25//25
f 9//9 113//113 10//10
f 10//10 26//26 9//9
f 10//10 113//113 11//11
f 11//11 26//26 10//10
f 11//11 28//28 27//27
f 11//11 113//113 12//12
f 12//12 28//28 11//11
f 12//12 113//113 13//13
f 13//13 28//28 12//12
f 13//13 30//30 29//29
f 13//13 113//113 14//14
f 14//14 30//30 13//13
f 14//14 113//113 15//15
f 15//15 30//30 14//14
f 15//15 32//32 31//31
f 15//15 113//113 16//16
f 16//16 32//32 15//15
f 16//16 113//113 1//1
f 17//17 32//32 1//1
f 17//17 33//33 32//32
f 18//18 33//33 17//17
f 18//18 35//35 34//34
f 19//19 18//18 3//3
f 19//19 35//35 18//18
f 20//20 35//35 19//19
f 20//20 37//37 36//36
f 21//21 20//20 5//5
f 21//21 37//37 20//20
f 22//22 37//37 21//21
f 22//22 39//39 38//38
f 23//23 22//22 7//7
f 23//23 39//39 22//22
f 24//24 39//39 23//23
f 24//24 41//41 40//40
f 25//25 24//24 9//9
f 25//25 41//41 24//24
f 26//26 41//41 25//25
f 26//26 43//43 42//42
f 27//27 26//26 11//11
f 27//27 43//43 26//26
f 28//28 43//43 27//27
f 28//28 45//45 44//44
f 29//29 28//28 13//13
f 29//29 45//45 28//28
f 30//30 45//45 29//29
f 30//30 47//47 46//46
f 31//31 30//30 15//15
f 31//31 47//47 30//30
f 32//32 33//33 48//48
f 32//32 47//47 31//31
f 33//33 50//50 49//49
f 33//33 64//64 48//48
f 34//34 33//33 18//18
f 34//34 50//50 33//33
f 35//35 50//50 34//34
f 35//35 52//52 51//51
f 36//36 35//35 20//20
f 36//36 52//52 35//35
f 37//37 52//52 36//36
f 37//37 54//54 53//53
f 38//38 37//37 22//22
f 38//38 54//54 37//37
f 39//39 54//54 38//38
f 39//39 56//56 55//55
f 40//40 39//39 24//24
f 40//40 56//56 39//39
f 41//41 56//56 40//40
f 41//41 58//58 57//57
f 42//42 41//41 26//26
f 42//42 58//58 41//41
f 43//43 58//58 42//42
f 43//43 60//60 59//59
f 44//44 43//43 28//28
f 44//44 60//60 43//43
f 45//45 60//60 44//44
f 45//45 62//62 61//61
f 46//46 45//45 30//30
f 46//46 62//62 45//45
f 47//47 62//62 46//46
f 47//47 64//64 63//63
f 48//48 47//47 32//32
f 48//48 64//64 47//47
f 49//49 64//64 33//33
f 49//49 65//65 64//64
f 50//50 65//65 49//49
f 50//50 67//67 66//66
f 51//51 50//50 35//35
f 51//51 67//67 50//50
f 52//52 67//67 51//51
f 52//52 69//69 68//68
f 53//53 52//52 37//37
f 53//53 69//69 52//52
f 54//54 69//69 53//53
f 54//54 71//71 70//70
f 55//55 54//54 39//39
f 55//55 71//71 54//54
f 56//56 71//71 55//55
f 56//56 73//73 72//72
f 57//57 56//56 41//41
f 57//57 73//73 56//56
f 58//58 73//73 57//57
f 58//58 75//75 74//74
f 59//59 58//58 43//43
f 59//59 75//75 58//58
f 60//60 75//75 59//59
f 60//60 77//77 76//76
f 61//61 60//60 45//45
f 61//61 77//77 60//60
f 62//62 77//77 61//61
f 62//62 79//79 78//78
f 63//63 62//62 47//47
f 63//63 79//79 62//62
f 64//64 65//65 80//80
f 64//64 79//79 63//63
f 65//65 82//82 81//81
f 65//65 96//96 80//80
f 66//66 65//65 50//50
f 66//66 82//82 65//65
f 67//67 82//82 66//66
f 67//67 84//84 83//83
f 68//68 67//67 52//52
f 68//68 84//84 67//67
f 69//69 84//84 68//68
f 69//69 86//86 85//85
f 70//70 69//69 54//54
f 70//70 86//86 69//69
f 71//71 86//86 70//70
f 71//71 88//88 87//87
f 72//72 71//71 56//56
f 72//72 88//88 71//71
f 73//73 88//88 72//72
f 73//73 90//90 89//89
f 74//74 73//73 58//58
f 74//74 90//90 73//73
f 75//75 90//90 74//74
f 75//75 92//92 91//91
f 76//76 75//75 60//60
f 76//76 92//92 75//75
f 77//77 92//92 76//76
f 77//77 94//94 93//93
f 78//78 77//77 62//62
f 78//78 94//94 77//77
f 79//79 94//94 78//78
f 79//79 96//96 95//95
f 80//80 79//79 64//64
f 80//80 96//96 79//79
f 81//81 96//96 65//65
f 81//81 97//97 96//96
f 82//82 97//97 81//81
f 82//82 99//99 98//98
f 83//83 82//82 67//67
f 83//83 99//99 82//82
f 84//84 99//99 83//83
f 84//84 101//101 100//100
f 85//85 84//84 69//69
f 85//85 101//101 84//84
f 86//86 101//101 85//85
f 86//86 103//103 102//102
f 87//87 86//86 71//71
f 87//87 103//103 86//86
f 88//88 103//103 87//87
f 88//88 105//105 104//104
f 89//89 88//88 73//73
f 89//89 105//105 88//88
f 90//90 105//105 89//89
f 90//90 107//107 106//106
f 91//91 90//90 75//75
f 91//91 107//107 90//90
f 92//92 107//107 91//91
f 92//92 109//109 108//108
f 93//93 92//92 77//77
f 93//93 109//109 92//92
f 94//94 109//109 93//93
f 94//94 111//111 110//110
f 95//95 94//94 79//79
f 95//95 111//111 94//94
f 96//96 97//97 112//112
f 96//96 111//111 95//95
f 97//97 114//114 112//112
f 98//98 97//97 82//82
f 98//98 114//114 97//97
f 99//99 114//114 98//98
f 100//100 99//99 84//84
f 100//100 114//114 99//99
f 101//101 114//114 100//100
f 102//102 101//101 86//86
f 102//102 114//114 101//101
f 103//103 114//114 102//102
f 104//104 103//103 88//88
f 104//104 114//114 103//103
f 105//105 114//114 104//104
f 106//106 105//105 90//90
f 106//106 114//114 105//105
f 107//107 114//114 106//106
f 108//108 107//107 92//92
f 108//108 114//114 107//107
f 109//109 114//114 108//108
f 110//110 109//109 94//94
f 110//110 114//114 109//109
f 111//111 114//114 110//110
f 112//112 111//111 96//96
f 112//112 114//114 111//111
| -1 |