Home
last modified time | relevance | path

Searched refs:bodyDef (Results 1 – 3 of 3) sorted by relevance

/external/libgdx/extensions/gdx-box2d/gdx-box2d/jni/
Dcom.badlogic.gdx.physics.box2d.World.cpp171 b2BodyDef bodyDef; in Java_com_badlogic_gdx_physics_box2d_World_jniCreateBody() local
172 bodyDef.type = getBodyType(type); in Java_com_badlogic_gdx_physics_box2d_World_jniCreateBody()
173 bodyDef.position.Set( positionX, positionY ); in Java_com_badlogic_gdx_physics_box2d_World_jniCreateBody()
174 bodyDef.angle = angle; in Java_com_badlogic_gdx_physics_box2d_World_jniCreateBody()
175 bodyDef.linearVelocity.Set( linearVelocityX, linearVelocityY ); in Java_com_badlogic_gdx_physics_box2d_World_jniCreateBody()
176 bodyDef.angularVelocity = angularVelocity; in Java_com_badlogic_gdx_physics_box2d_World_jniCreateBody()
177 bodyDef.linearDamping = linearDamping; in Java_com_badlogic_gdx_physics_box2d_World_jniCreateBody()
178 bodyDef.angularDamping = angularDamping; in Java_com_badlogic_gdx_physics_box2d_World_jniCreateBody()
179 bodyDef.allowSleep = allowSleep; in Java_com_badlogic_gdx_physics_box2d_World_jniCreateBody()
180 bodyDef.awake = awake; in Java_com_badlogic_gdx_physics_box2d_World_jniCreateBody()
[all …]
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/box2d/
DConveyorBelt.java42 BodyDef bodyDef = new BodyDef(); in createWorld() local
43 groundBody = world.createBody(bodyDef); in createWorld()
DBox2DTest.java122 BodyDef bodyDef = new BodyDef(); in create() local
123 groundBody = world.createBody(bodyDef); in create()