Home
last modified time | relevance | path

Searched refs:gravity (Results 1 – 25 of 27) sorted by relevance

12

/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowToast.java24 private int gravity; field in ShadowToast
58 public void setGravity(int gravity, int xOffset, int yOffset) { in setGravity() argument
59 this.gravity = gravity; in setGravity()
64 return gravity; in getGravity()
DShadowTextView.java43 private int gravity; field in ShadowTextView
309 return gravity; in getGravity()
313 public void setGravity(int gravity) { in setGravity() argument
314 this.gravity = gravity; in setGravity()
/external/jmonkeyengine/engine/src/core/com/jme3/effect/
DParticleEmitter.java96 private Vector3f gravity = new Vector3f(0.0f, 0.1f, 0.0f); field in ParticleEmitter
579 return gravity; in getGravity()
587 public void setGravity(Vector3f gravity) { in setGravity() argument
588 this.gravity.set(gravity); in setGravity()
599 this.gravity.x = x; in setGravity()
600 this.gravity.y = y; in setGravity()
601 this.gravity.z = z; in setGravity()
946 p.velocity.x -= gravity.x * tpf; in updateParticle()
947 p.velocity.y -= gravity.y * tpf; in updateParticle()
948 p.velocity.z -= gravity.z * tpf; in updateParticle()
[all …]
/external/jmonkeyengine/engine/src/bullet/com/jme3/bullet/objects/
DPhysicsRigidBody.java341 public Vector3f getGravity(Vector3f gravity) { in getGravity() argument
342 if (gravity == null) { in getGravity()
343 gravity = new Vector3f(); in getGravity()
345 getGravity(objectId, gravity); in getGravity()
346 return gravity; in getGravity()
349 private native void getGravity(long objectId, Vector3f gravity); in getGravity() argument
357 public void setGravity(Vector3f gravity) { in setGravity() argument
358 setGravity(objectId, gravity); in setGravity()
361 private native void setGravity(long objectId, Vector3f gravity); in setGravity() argument
DPhysicsCharacter.java168 private native void setGravity(long characterId, float gravity); in setGravity() argument
/external/replicaisland/src/com/replica/replicaisland/
DPhysicsComponent.java84 GravityComponent gravity = parentObject.findByClass(GravityComponent.class); in update() local
87 && gravity != null) { in update()
88 final Vector2 gravityVector = gravity.getGravity(); in update()
DOrbitalMagnetComponent.java85 GravityComponent gravity = target.findByClass(GravityComponent.class); in applyMagnetism() local
86 final Vector2 gravityVector = gravity.getGravity(); in applyMagnetism()
DGameObjectFactory.java706 GameComponent gravity = allocateComponent(GravityComponent.class);
848 staticData.add(gravity);
1176 GameComponent gravity = allocateComponent(GravityComponent.class);
1220 staticData.add(gravity);
1352 GameComponent gravity = allocateComponent(GravityComponent.class);
1396 staticData.add(gravity);
1715 GameComponent gravity = allocateComponent(GravityComponent.class);
1816 staticData.add(gravity);
1898 GameComponent gravity = allocateComponent(GravityComponent.class);
1965 staticData.add(gravity);
[all …]
/external/jmonkeyengine/engine/src/jbullet/com/jme3/bullet/objects/
DPhysicsRigidBody.java339 public Vector3f getGravity(Vector3f gravity) { in getGravity() argument
340 if (gravity == null) { in getGravity()
341 gravity = new Vector3f(); in getGravity()
344 return Converter.convert(tempVec, gravity); in getGravity()
353 public void setGravity(Vector3f gravity) { in setGravity() argument
354 rBody.setGravity(Converter.convert(gravity, tempVec)); in setGravity()
/external/quake/quake/src/QW/
Dqwchangelog.txt81 vars such as gravity, maxspeed, etc. are supported again
82 - full server controlled localized client maxspeed and gravity is in
83 Create to new fields in the QC, .float gravity and .float maxspeed. .maxspeed
84 defaults to sv_maxspeed (320), .gravity defaults to 1.0 (full gravity).
96 - support for server controlled maxspeed and gravity multiplier.
Dqwrlnote.txt169 - support for server controlled maxspeed and gravity multiplier.
221 vars such as gravity, maxspeed, etc. are supported again
222 - Full server controlled localized client maxspeed and gravity is in
223 Create to new fields in the QC, .float gravity and .float maxspeed.
224 .maxspeed defaults to sv_maxspeed (320), .gravity defaults to 1.0
225 (full gravity).
Dqw2do.txt10 x- restore 2.1 movement code, but use new gravity application from 2.2, friction is still 4
/external/quake/quake/src/QW/client/
Dpmove.h75 float gravity; member
Dpmove.c543 pmove.velocity[2] -= movevars.entgravity * movevars.gravity * frametime; in PM_AirMove()
551 pmove.velocity[2] -= movevars.entgravity * movevars.gravity * frametime; in PM_AirMove()
Dcl_demo.c445 MSG_WriteFloat(&buf, movevars.gravity); in CL_Record_f()
Dcl_parse.c586 movevars.gravity = MSG_ReadFloat(); in CL_ParseServerData()
/external/jmonkeyengine/engine/src/bullet-native/
Dcom_jme3_bullet_PhysicsSpace.cpp370 btVector3 gravity = btVector3(); in Java_com_jme3_bullet_PhysicsSpace_setGravity() local
371 jmeBulletUtil::convert(env, vector, &gravity); in Java_com_jme3_bullet_PhysicsSpace_setGravity()
372 space->getDynamicsWorld()->setGravity(gravity); in Java_com_jme3_bullet_PhysicsSpace_setGravity()
/external/jmonkeyengine/engine/src/bullet/com/jme3/bullet/
DPhysicsSpace.java644 public void setGravity(Vector3f gravity) { in setGravity() argument
646 setGravity(physicsSpaceId, gravity); in setGravity()
649 private native void setGravity(long spaceId, Vector3f gravity); in setGravity() argument
/external/quake/quake/src/WinQuake/
Dprogdefs.q285 float gravity;
Dquake-rogue.spec.sh46 gravity and allows the player to make difficult jumps.
Dsv_phys.cpp376 if (ent->u.v.gravity) in SV_AddGravity()
377 ent_gravity = ent->u.v.gravity; in SV_AddGravity()
/external/quake/quake/src/QW/server/
Dsv_phys.c379 ent->v.velocity[2] -= scale * movevars.gravity * host_frametime; in SV_AddGravity()
797 if (ent->v.velocity[2] < movevars.gravity*-0.1) in SV_Physics_Step()
937 movevars.gravity = sv_gravity.value; in SV_SetMoveVars()
Dsv_user.c99 MSG_WriteFloat(&host_client->netchan.message, movevars.gravity); in SV_New_f()
/external/jmonkeyengine/engine/src/jbullet/com/jme3/bullet/
DPhysicsSpace.java590 public void setGravity(Vector3f gravity) { in setGravity() argument
591 dynamicsWorld.setGravity(Converter.convert(gravity)); in setGravity()
/external/quake/quake/src/QW/progs/
Ddefs.qc252 float MOVETYPE_TOSS = 6; // gravity
498 .float gravity; // Gravity Multiplier (0 to 1.0)

12