Home
last modified time | relevance | path

Searched refs:world (Results 1 – 25 of 514) sorted by relevance

12345678910>>...21

/external/libgdx/extensions/gdx-box2d/gdx-box2d/jni/
Dcom.badlogic.gdx.physics.box2d.World.cpp149 b2World* world = new b2World( b2Vec2( gravityX, gravityY )); in Java_com_badlogic_gdx_physics_box2d_World_newWorld() local
150 world->SetAllowSleeping( doSleep ); in Java_com_badlogic_gdx_physics_box2d_World_newWorld()
151 return (jlong)world; in Java_com_badlogic_gdx_physics_box2d_World_newWorld()
186 b2World* world = (b2World*)addr; in Java_com_badlogic_gdx_physics_box2d_World_jniCreateBody() local
187 b2Body* body = world->CreateBody( &bodyDef ); in Java_com_badlogic_gdx_physics_box2d_World_jniCreateBody()
198 b2World* world = (b2World*)addr; in Java_com_badlogic_gdx_physics_box2d_World_jniDestroyBody() local
202 world->SetContactFilter(&contactFilter); in Java_com_badlogic_gdx_physics_box2d_World_jniDestroyBody()
203 world->SetContactListener(&contactListener); in Java_com_badlogic_gdx_physics_box2d_World_jniDestroyBody()
204 world->DestroyBody(body); in Java_com_badlogic_gdx_physics_box2d_World_jniDestroyBody()
205 world->SetContactFilter(&defaultFilter); in Java_com_badlogic_gdx_physics_box2d_World_jniDestroyBody()
[all …]
/external/libgdx/extensions/gdx-box2d/gdx-box2d-gwt/src/com/badlogic/gdx/physics/box2d/gwt/emu/org/jbox2d/common/
DOBBViewportTransform.java120 public void getScreenVectorToWorld(Vec2 screen, Vec2 world) { in getScreenVectorToWorld() argument
122 inv.mulToOut(screen, world); in getScreenVectorToWorld()
124 yFlipMat.mulToOut(world, world); in getScreenVectorToWorld()
128 public void getWorldVectorToScreen(Vec2 world, Vec2 screen) { in getWorldVectorToScreen() argument
129 box.R.mulToOut(world, screen); in getWorldVectorToScreen()
135 public void getWorldToScreen(Vec2 world, Vec2 screen) { in getWorldToScreen() argument
136 screen.x = world.x - box.center.x; in getWorldToScreen()
137 screen.y = world.y - box.center.y; in getWorldToScreen()
148 public void getScreenToWorld(Vec2 screen, Vec2 world) { in getScreenToWorld() argument
149 world.x = screen.x - box.extents.x; in getScreenToWorld()
[all …]
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/bullet/
DRayPickRagdollTest.java59world.addConstructor("pelvis", new BulletConstructor(createCapsuleModel(0.15f, 0.2f), 1f, new btCa… in create()
60 world in create()
62world.addConstructor("head", new BulletConstructor(createCapsuleModel(0.1f, 0.05f), 1f, new btCaps… in create()
63world.addConstructor("upperleg", new BulletConstructor(createCapsuleModel(0.07f, 0.45f), 1f, new b… in create()
65world.addConstructor("lowerleg", new BulletConstructor(createCapsuleModel(0.05f, 0.37f), 1f, new b… in create()
67world.addConstructor("upperarm", new BulletConstructor(createCapsuleModel(0.05f, 0.33f), 1f, new b… in create()
69world.addConstructor("lowerarm", new BulletConstructor(createCapsuleModel(0.04f, 0.25f), 1f, new b… in create()
72world.add("ground", 0f, 0f, 0f).setColor(0.25f + 0.5f * (float)Math.random(), 0.25f + 0.5f * (floa… in create()
83 ((btDynamicsWorld)world.collisionWorld).removeConstraint(constraints.get(i)); in dispose()
97 world.collisionWorld.rayTest(ray.origin, tmpV1, cb); in touchDown()
[all …]
DCollisionWorldTest.java71 Model groundModel = world.getConstructor("ground").model; in create()
72 Model boxModel = world.getConstructor("box").model; in create()
74 world.addConstructor("collisionGround", new BulletConstructor(groundModel)); in create()
75 world.addConstructor("collisionBox", new BulletConstructor(boxModel)); in create()
77world.add("collisionGround", 0f, 0f, 0f).setColor(0.25f + 0.5f * (float)Math.random(), 0.25f + 0.5… in create()
80world.add("collisionBox", 0f, 1f, 5f).setColor(0.5f + 0.5f * (float)Math.random(), 0.5f + 0.5f * (… in create()
82world.add("collisionBox", 0f, 1f, -5f).setColor(0.5f + 0.5f * (float)Math.random(), 0.5f + 0.5f * … in create()
84world.add("collisionBox", 5f, 1f, 0f).setColor(0.5f + 0.5f * (float)Math.random(), 0.5f + 0.5f * (… in create()
86world.add("collisionBox", -5f, 1f, 0f).setColor(0.5f + 0.5f * (float)Math.random(), 0.5f + 0.5f * … in create()
88 movingBox = world.add("collisionBox", -5f, 1f, 0f); in create()
[all …]
DBasicShapesTest.java47 world.addConstructor("sphere", new BulletConstructor(sphere, 10f, new btSphereShape(2f))); in create()
51world.addConstructor("cylinder", new BulletConstructor(cylinder, 10f, new btCylinderShape(tmpV1.se… in create()
55 world.addConstructor("capsule", new BulletConstructor(capsule, 10f, new btCapsuleShape(2f, 2f))); in create()
59world.addConstructor("box2", new BulletConstructor(box, 10f, new btBoxShape(tmpV1.set(2f, 2f, 1f))… in create()
63 world.addConstructor("cone", new BulletConstructor(cone, 10f, new btConeShape(2f, 6f))); in create()
66world.add("ground", 0f, 0f, 0f).setColor(0.25f + 0.5f * (float)Math.random(), 0.25f + 0.5f * (floa… in create()
68 world.add("sphere", 0, 5, 5); in create()
69 world.add("cylinder", 5, 5, 0); in create()
70 world.add("box2", 0, 5, 0); in create()
71 world.add("capsule", 5, 5, 5); in create()
[all …]
DBaseBulletTest.java70 public BulletWorld world; field in BaseBulletTest
97 world = createWorld(); in create()
98 world.performanceCounter = performanceCounter; in create()
135 world.addConstructor("ground", new BulletConstructor(groundModel, 0f)); // mass = 0: static body in create()
136 world.addConstructor("box", new BulletConstructor(boxModel, 1f)); // mass = 1kg: dynamic body in create()
137 world.addConstructor("staticbox", new BulletConstructor(boxModel, 0f)); // mass = 0: static body in create()
142 world.dispose(); in dispose()
143 world = null; in dispose()
177 if (debugMode != DebugDrawModes.DBG_NoDebug) world.setDebugMode(debugMode); in render()
196 world.render(shadowBatch, null); in renderWorld()
[all …]
DFrustumCullingTest.java100 …public static Array<BulletEntity> getEntitiesCollidingWithObject (final BulletWorld world, final b… in getEntitiesCollidingWithObject() argument
103 btBroadphasePairArray arr = world.broadphase.getOverlappingPairCache().getOverlappingPairArray(); in getEntitiesCollidingWithObject()
109 out.add(world.entities.get(ptrs[i])); in getEntitiesCollidingWithObject()
144 world.addConstructor("collisionBox", new BulletConstructor(world.getConstructor("box").model)); in create()
151world.add("collisionBox", BOX_X_MIN + dX * (float)Math.random(), BOX_Y_MIN + dY * (float)Math.rand… in create()
167 world.add(frustumEntity = new BulletEntity(frustumModel, frustumObject, 0, 0, 0)); in create()
186 if (world.performanceCounter != null) world.performanceCounter.start(); in update()
187 world.collisionWorld.performDiscreteCollisionDetection(); in update()
188 if (world.performanceCounter != null) world.performanceCounter.stop(); in update()
216 if (world.performanceCounter != null) world.performanceCounter.start(); in renderWorld()
[all …]
DConstraintsTest.java43 world.addConstructor("bar", new BulletConstructor(barModel, 0f)); // mass = 0: static body in create()
46world.add("ground", 0f, 0f, 0f).setColor(0.25f + 0.5f * (float)Math.random(), 0.25f + 0.5f * (floa… in create()
49 BulletEntity bar = world.add("bar", 0f, 7f, 0f); in create()
53 BulletEntity box1 = world.add("box", -4.5f, 6f, 0f); in create()
58 ((btDynamicsWorld)world.collisionWorld).addConstraint(constraint, false); in create()
63 box2 = world.add("box", -3.5f + (float)i, 6f, 0f); in create()
69 box1 = world.add("box", -3.5f + (float)i, 6f, 0f); in create()
75 ((btDynamicsWorld)world.collisionWorld).addConstraint(constraint, false); in create()
80 ((btDynamicsWorld)world.collisionWorld).addConstraint(constraint, false); in create()
87 ((btDynamicsWorld)world.collisionWorld).removeConstraint(constraints.get(i)); in dispose()
/external/libgdx/extensions/gdx-box2d/gdx-box2d/src/com/badlogic/gdx/physics/box2d/graphics/
DParticleEmitterBox2D.java39 final World world; field in ParticleEmitterBox2D
61 public ParticleEmitterBox2D (World world) { in ParticleEmitterBox2D() argument
63 this.world = world; in ParticleEmitterBox2D()
72 public ParticleEmitterBox2D (World world, BufferedReader reader) throws IOException { in ParticleEmitterBox2D() argument
74 this.world = world; in ParticleEmitterBox2D()
82 public ParticleEmitterBox2D (World world, ParticleEmitter emitter) { in ParticleEmitterBox2D() argument
84 this.world = world; in ParticleEmitterBox2D()
116 if (world != null) world.rayCast(rayCallBack, startPoint, endPoint); in translate()
/external/markdown/tests/safe_mode/
Dunsafe_urls.txt3 [link](javascript:alert%28'Hello%20world!'%29)
4 [link](vbscript:msgbox%28%22Hello%20world!%22%29)
5 [link](livescript:alert%28'Hello%20world!'%29)
7 [link](jAvAsCrIpT:alert%28'Hello%20world!'%29)
8 [link](ja&#32;vas&#32;cr&#32;ipt:alert%28'Hello%20world!'%29)
9 [link](ja&#00032;vas&#32;cr&#32;ipt:alert%28'Hello%20world!'%29)
10 [link](ja&#x00020;vas&#32;cr&#32;ipt:alert%28'Hello%20world!'%29)
11 [link](ja%09&#x20;%0Avas&#32;cr&#x0a;ipt:alert%28'Hello%20world!'%29)
12 [link](ja%20vas%20cr%20ipt:alert%28'Hello%20world!'%29)
13 [link](live%20script:alert%28'Hello%20world!'%29)
Dscript_tags.txt4 alert("Hello world!")
11 alert("Hello world!")
18 alert("Hello world!")
24 alert("Hello world!")
31 alert("Hello world!")
/external/libgdx/extensions/gdx-box2d/gdx-box2d-gwt/src/com/badlogic/gdx/physics/box2d/gwt/emu/org/jbox2d/dynamics/joints/
DJoint.java41 public static Joint create(World world, JointDef def) { in create() argument
45 return new MouseJoint(world.getPool(), (MouseJointDef) def); in create()
47 return new DistanceJoint(world.getPool(), (DistanceJointDef) def); in create()
49 return new PrismaticJoint(world.getPool(), (PrismaticJointDef) def); in create()
51 return new RevoluteJoint(world.getPool(), (RevoluteJointDef) def); in create()
53 return new WeldJoint(world.getPool(), (WeldJointDef) def); in create()
55 return new FrictionJoint(world.getPool(), (FrictionJointDef) def); in create()
57 return new WheelJoint(world.getPool(), (WheelJointDef) def); in create()
59 return new GearJoint(world.getPool(), (GearJointDef) def); in create()
61 return new PulleyJoint(world.getPool(), (PulleyJointDef) def); in create()
[all …]
/external/libgdx/extensions/gdx-box2d/gdx-box2d-gwt/src/com/badlogic/gdx/physics/box2d/gwt/emu/com/badlogic/gdx/physics/box2d/
DWorld.java50 org.jbox2d.dynamics.World world; field in World
61 world = new org.jbox2d.dynamics.World(tmp.set(gravity.x, gravity.y)); in World()
62 world.setAllowSleep(doSleep); in World()
73 world.setContactFilter(new org.jbox2d.callbacks.ContactFilter() { in setContactFilter()
80 world.setContactFilter(new org.jbox2d.callbacks.ContactFilter()); in setContactFilter()
91 world.setContactListener(new org.jbox2d.callbacks.ContactListener() { in setContactListener()
119 world.setContactListener(null); in setContactListener()
143 org.jbox2d.dynamics.Body b = world.createBody(bd); in createBody()
157 world.destroyJoint(jointEdge.joint); in destroyBody()
161 world.destroyBody(body.body); in destroyBody()
[all …]
DContact.java25 final World world; field in Contact
30 Contact (World world) { in Contact() argument
31 this.world = world; in Contact()
34 protected Contact (World world, org.jbox2d.dynamics.contacts.Contact contact) { in Contact() argument
35 this.world = world; in Contact()
69 return world.fixtures.get(contact.m_fixtureA); in getFixtureA()
74 return world.fixtures.get(contact.m_fixtureB); in getFixtureB()
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/box2d/
DBox2DTest.java65 protected World world; field in Box2DTest
76 protected abstract void createWorld (World world); in createWorld() argument
85 world.step(Gdx.app.getGraphics().getDeltaTime(), 3, 3); in render()
94 renderer.render(world, camera.combined); in render()
118 world = new World(new Vector2(0, -10), true); in create()
123 groundBody = world.createBody(bodyDef); in create()
126 createWorld(world); in create()
135 world.dispose(); in dispose()
138 world = null; in dispose()
180world.QueryAABB(callback, testPoint.x - 0.0001f, testPoint.y - 0.0001f, testPoint.x + 0.0001f, tes… in touchDown()
[all …]
DCantilever.java47 protected void createWorld (World world) { in createWorld() argument
51 ground = world.createBody(bd); in createWorld()
74 Body body = world.createBody(bd); in createWorld()
79 world.createJoint(jd); in createWorld()
102 Body body = world.createBody(bd); in createWorld()
107 world.createJoint(jd); in createWorld()
130 Body body = world.createBody(bd); in createWorld()
136 world.createJoint(jd); in createWorld()
161 Body body = world.createBody(bd); in createWorld()
167 world.createJoint(jd); in createWorld()
[all …]
DCollisionFiltering.java56 protected void createWorld (World world) { in createWorld() argument
66 Body ground = world.createBody(bd); in createWorld()
90 Body body1 = world.createBody(triangleBodyDef); in createWorld()
102 Body body2 = world.createBody(triangleBodyDef); in createWorld()
109 Body body = world.createBody(bd); in createWorld()
125 world.createJoint(jd); in createWorld()
144 Body body3 = world.createBody(boxBodyDef); in createWorld()
151 Body body4 = world.createBody(boxBodyDef); in createWorld()
169 Body body5 = world.createBody(circleBodyDef); in createWorld()
176 Body body6 = world.createBody(circleBodyDef); in createWorld()
DCharacterCollision.java44 protected void createWorld (World world) { in createWorld() argument
47 Body ground = world.createBody(bd); in createWorld()
57 Body ground = world.createBody(bd); in createWorld()
72 Body ground = world.createBody(bd); in createWorld()
86 Body ground = world.createBody(bd); in createWorld()
109 Body body = world.createBody(bd); in createWorld()
128 Body body = world.createBody(bd); in createWorld()
155 Body body = world.createBody(bd); in createWorld()
/external/llvm/test/MC/ELF/
Dcomdat-reloc.s7 call world
10 .section .text.world,"axG",@progbits,world,comdat
11 .type world,@function
12 world: label
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/
DBox2DTest.java72 private World world; field in Box2DTest
120 world = new World(new Vector2(0, -10), true); in createPhysicsWorld()
141 groundBody = world.createBody(groundBodyDef); in createPhysicsWorld()
159 Body chainBody = world.createBody(chainBodyDef); in createPhysicsWorld()
166 world.setContactListener(new ContactListener() { in createPhysicsWorld()
217 Body boxBody = world.createBody(boxBodyDef); in createBoxes()
236 world.step(Gdx.graphics.getDeltaTime(), 8, 3); in render()
270 debugRenderer.render(world, camera.combined); in render()
276 for (int i = 0; i < world.getContactCount(); i++) { in render()
277 Contact contact = world.getContactList().get(i); in render()
[all …]
DKinematicBodyTest.java35 World world; field in KinematicBodyTest
43 world = new World(new Vector2(0, -10), true); in create()
44 Body body = world.createBody(new BodyDef()); in create()
60 world.step(Math.min(0.032f, Gdx.graphics.getDeltaTime()), 3, 4); in render()
62 renderer.render(world, cam.combined); in render()
67 world.dispose(); in dispose()
/external/e2fsprogs/lib/ss/
Dtest_script_expected4 Hello, world!
7 Hello, world!
10 Hello, world!
17 Hello, world!
21 Hello, world!
/external/libgdx/extensions/gdx-box2d/gdx-box2d/src/com/badlogic/gdx/physics/box2d/
DContact.java34 protected World world; field in Contact
39 protected Contact (World world, long addr) { in Contact() argument
41 this.world = world; in Contact()
116 return world.fixtures.get(jniGetFixtureA(addr)); in getFixtureA()
126 return world.fixtures.get(jniGetFixtureB(addr)); in getFixtureB()
DJoint.java31 private final World world; field in Joint
47 protected Joint (World world, long addr) { in Joint() argument
48 this.world = world; in Joint()
68 return world.bodies.get(jniGetBodyA(addr)); in getBodyA()
78 return world.bodies.get(jniGetBodyB(addr)); in getBodyB()
/external/llvm/test/CodeGen/X86/
D2009-03-25-TestBug.ll8 @world = internal constant [7 x i8] c"world\0A\00"
15 br i1 %tmp178, label %hello, label %world
21 world:
22 …%w = tail call i32 (i8*, ...) @printf( i8* getelementptr ([7 x i8], [7 x i8]* @world, i32 0, i32 0…

12345678910>>...21