/external/jmonkeyengine/engine/src/core/com/jme3/collision/ |
H A D | MotionAllowedListener.java | 40 * Check if motion allowed. Modify position and velocity vectors 44 * @param velocity 46 public void checkMotionAllowed(Vector3f position, Vector3f velocity); argument
|
H A D | SweepSphere.java | 45 private Vector3f velocity = new Vector3f(); field in class:SweepSphere 86 return velocity; 89 public void setVelocity(Vector3f velocity) { argument 90 this.velocity.set(velocity); 146 // A = velocity * velocity 147 // B = 2 * (velocity . (center - vertex)); 203 // Vector3f sVelocity = velocity.mult(invDim); 205 velocity [all...] |
/external/jmonkeyengine/engine/src/core/com/jme3/audio/ |
H A D | Listener.java | 41 private Vector3f velocity; field in class:Listener 48 velocity = new Vector3f(); 54 velocity = source.velocity.clone(); 82 return velocity; 109 public void setVelocity(Vector3f velocity) { argument 110 this.velocity.set(velocity);
|
H A D | AudioNode.java | 57 * or velocity does not influence how it is played. 75 protected Vector3f velocity = new Vector3f(); field in class:AudioNode 461 * @return The velocity of the audio node. 466 return velocity; 470 * Set the velocity of the audio node. The velocity is expected 473 * @param velocity The velocity to set. 476 public void setVelocity(Vector3f velocity) { argument 477 this.velocity [all...] |
/external/quake/quake/src/QW/client/ |
H A D | view.h | 30 float V_CalcRoll (vec3_t angles, vec3_t velocity);
|
H A D | pmove.c | 124 VectorCopy (pmove.velocity, original_velocity); 125 VectorCopy (pmove.velocity, primal_velocity); 133 end[i] = pmove.origin[i] + time_left * pmove.velocity[i]; 139 VectorCopy (vec3_origin, pmove.velocity); 170 VectorCopy (vec3_origin, pmove.velocity); 182 PM_ClipVelocity (original_velocity, planes[i], pmove.velocity, 1); 186 if (DotProduct (pmove.velocity, planes[j]) < 0) 200 // Con_Printf ("clip velocity, numplanes == %i\n",numplanes); 201 VectorCopy (vec3_origin, pmove.velocity); 205 d = DotProduct (dir, pmove.velocity); [all...] |
H A D | cl_pred.c | 83 VectorCopy (from->velocity, pmove.velocity); 99 VectorCopy (pmove.velocity, to->velocity); 157 VectorCopy (from->playerstate[cl.playernum].velocity, cl.simvel); 200 VectorCopy (to->playerstate[cl.playernum].velocity, cl.simvel); 209 cl.simvel[i] = from->playerstate[cl.playernum].velocity[i] 210 + f*(to->playerstate[cl.playernum].velocity[i] - from->playerstate[cl.playernum].velocity[i]);
|
H A D | pmove.h | 56 vec3_t velocity;
member in struct:__anon11397
|
/external/quake/quake/src/WinQuake/ |
H A D | view.h | 33 float V_CalcRoll (vec3_t angles, vec3_t velocity);
|
H A D | sv_user.cpp | 38 float *velocity; variable 130 vel = velocity; 179 VectorSubtract (wishvel, velocity, pushvec); 187 velocity[i] += accelspeed*pushvec[i]; 195 currentspeed = DotProduct (velocity, wishdir); 204 velocity[i] += accelspeed*wishdir[i]; 215 currentspeed = DotProduct (velocity, wishveloc); 225 velocity[i] += accelspeed*wishveloc[i]; 277 speed = Length (velocity); 283 VectorScale (velocity, newspee [all...] |
H A D | sv_phys.cpp | 95 // bound velocity 99 if (IS_NAN(ent->u.v.velocity[i])) 101 Con_Printf ("Got a NaN velocity on %s\n", pr_strings + ent->u.v.classname); 102 ent->u.v.velocity[i] = 0; 109 if (ent->u.v.velocity[i] > sv_maxvelocity.value) 110 ent->u.v.velocity[i] = sv_maxvelocity.value; 111 else if (ent->u.v.velocity[i] < -sv_maxvelocity.value) 112 ent->u.v.velocity[i] = -sv_maxvelocity.value; 221 Returns the clipflags if the velocity was modified (hit something solid) 246 VectorCopy (ent->u.v.velocity, original_velocit [all...] |
/external/replicaisland/src/com/replica/replicaisland/ |
H A D | NPCAnimationComponent.java | 125 final Vector2 velocity = parentObject.getVelocity(); 126 if (velocity.y < FALL_SPEED_THRESHOLD) { 137 final Vector2 velocity = parentObject.getVelocity(); 138 if (velocity.y > JUMP_SPEED_THRESHOLD) { 148 final Vector2 velocity = parentObject.getVelocity(); 149 if (Math.abs(velocity.x) >= RUN_SPEED_THRESHOLD) { 158 final Vector2 velocity = parentObject.getVelocity(); 161 if ((velocity.x < 0.0f && parentObject.touchingLeftWall()) 162 || (velocity.x > 0.0f && parentObject.touchingRightWall())) { 193 final Vector2 velocity [all...] |
H A D | Interpolator.java | 20 * Helper class for interpolating velocity over time given a target velocity and acceleration. 21 * The current velocity will be accelerated towards the target until the target is reached. 23 * the target velocity. 35 // Rather than simply interpolating acceleration and velocity for each time step 36 // (as in, position += (velocity * time); velocity += (acceleration * time);), 37 // we actually perform the work needed to calculate the integral of velocity with respect to 40 // The integral of velocity is: 49 // change in position = velocity * tim 106 calculateAcceleration(float velocity, float acceleration, float target) argument [all...] |
H A D | PhysicsComponent.java | 118 // velocity. 129 protected void resolveCollision(Vector2 velocity, Vector2 impulse, Vector2 opposingNormal, argument 139 Vector2 relativeVelocity = vectorPool.allocate(velocity); 169 protected void resolveCollision(Vector2 velocity, Vector2 impulse, Vector2 opposingNormal, argument 177 Vector2 entity1Velocity = vectorPool.allocate(velocity);
|
/external/jmonkeyengine/engine/src/core/com/jme3/effect/influencers/ |
H A D | NewtonianParticleInfluencer.java | 14 * This influencer calculates initial velocity with the use of the emitter's shape. 27 * Constructor. Sets velocity variation to 0.0f. 35 emitterShape.getRandomPointAndNormal(particle.position, particle.velocity); 36 // influencing the particle's velocity 38 particle.velocity.multLocal(normalVelocity); 40 // calculating surface tangent (velocity contains the 'normal' value) 41 temp.set(particle.velocity.z * surfaceTangentFactor, particle.velocity.y * surfaceTangentFactor, -particle.velocity.x * surfaceTangentFactor); 44 m.fromAngleNormalAxis(FastMath.PI * surfaceTangentRotation, particle.velocity); [all...] |
H A D | DefaultParticleInfluencer.java | 15 * The direction may vary a little if the velocity variation is non zero. 23 /** The initial velocity of the particles. */ 25 /** The velocity's variation of the particles. */ 35 * This method applies the variation to the particle with already set velocity. 40 particle.velocity.set(startVelocity); 45 particle.velocity.interpolate(temp, velocityVariation);
|
/external/jmonkeyengine/engine/src/core/com/jme3/effect/ |
H A D | Particle.java | 46 * Particle velocity. 48 public final Vector3f velocity = new Vector3f(); field in class:Particle
|
/external/webkit/Source/WebCore/webaudio/ |
H A D | AudioListener.h | 67 void setVelocity(const FloatPoint3D &velocity) { m_velocity = velocity; } argument 68 const FloatPoint3D& velocity() const { return m_velocity; } function in class:WebCore::AudioListener
|
/external/sonivox/arm-fm-22k/lib_src/ |
H A D | eas_otadata.h | 74 EAS_U8 velocity; /* current volume */ member in struct:__anon12185
|
/external/sonivox/arm-hybrid-22k/lib_src/ |
H A D | eas_otadata.h | 74 EAS_U8 velocity; /* current volume */ member in struct:__anon12235
|
/external/sonivox/arm-wt-22k/lib_src/ |
H A D | eas_otadata.h | 74 EAS_U8 velocity; /* current volume */ member in struct:__anon12287
|
/external/quake/quake/src/QW/server/ |
H A D | sv_phys.c | 95 // bound velocity 99 if (IS_NAN(ent->v.velocity[i])) 101 Con_Printf ("Got a NaN velocity on %s\n", PR_GetString(ent->v.classname)); 102 ent->v.velocity[i] = 0; 109 if (ent->v.velocity[i] > sv_maxvelocity.value) 110 ent->v.velocity[i] = sv_maxvelocity.value; 111 else if (ent->v.velocity[i] < -sv_maxvelocity.value) 112 ent->v.velocity[i] = -sv_maxvelocity.value; 230 Returns the clipflags if the velocity was modified (hit something solid) 255 VectorCopy (ent->v.velocity, original_velocit [all...] |
/external/qemu/distrib/sdl-1.2.15/test/ |
H A D | testsprite.c | 65 SDL_Rect area, *position, *velocity; local 76 velocity = &velocities[i]; 77 position->x += velocity->x; 79 velocity->x = -velocity->x; 80 position->x += velocity->x; 82 position->y += velocity->y; 84 velocity->y = -velocity->y; 85 position->y += velocity [all...] |
/external/chromium/chrome/browser/resources/touch_ntp/ |
H A D | slider.js | 99 * The minimum velocity required to transition cards if they did not drag past 253 * on the ending position of the drag and the velocity of the drag. 259 var velocity = this.touchHandler_.getEndVelocity().x; 263 if (newCardIndex == this.currentCard && Math.abs(velocity) > 265 // If the drag wasn't far enough to change cards but the velocity was 266 // high enough to transition anyways. If the velocity is to the left 268 newCardIndex += velocity > 0 ? -1 : 1;
|
/external/chromium/chrome/browser/resources/ntp4/ |
H A D | card_slider.js | 99 * The minimum velocity required to transition cards if they did not drag past 297 * on the ending position of the drag and the velocity of the drag. 303 var velocity = this.touchHandler_.getEndVelocity().x; 307 if (newCardIndex == this.currentCard && Math.abs(velocity) > 309 // If the drag wasn't far enough to change cards but the velocity was 310 // high enough to transition anyways. If the velocity is to the left 312 newCardIndex += velocity > 0 ? -1 : 1;
|