Home
last modified time | relevance | path

Searched refs:velocity (Results 1 – 25 of 75) sorted by relevance

123

/external/quake/quake/src/QW/client/
Dpmove.c124 VectorCopy (pmove.velocity, original_velocity); in PM_FlyMove()
125 VectorCopy (pmove.velocity, primal_velocity); in PM_FlyMove()
133 end[i] = pmove.origin[i] + time_left * pmove.velocity[i]; in PM_FlyMove()
139 VectorCopy (vec3_origin, pmove.velocity); in PM_FlyMove()
170 VectorCopy (vec3_origin, pmove.velocity); in PM_FlyMove()
182 PM_ClipVelocity (original_velocity, planes[i], pmove.velocity, 1); in PM_FlyMove()
186 if (DotProduct (pmove.velocity, planes[j]) < 0) in PM_FlyMove()
201 VectorCopy (vec3_origin, pmove.velocity); in PM_FlyMove()
205 d = DotProduct (dir, pmove.velocity); in PM_FlyMove()
206 VectorScale (dir, d, pmove.velocity); in PM_FlyMove()
[all …]
Dcl_pred.c83 VectorCopy (from->velocity, pmove.velocity); in CL_PredictUsercmd()
99 VectorCopy (pmove.velocity, to->velocity); in CL_PredictUsercmd()
157 VectorCopy (from->playerstate[cl.playernum].velocity, cl.simvel); in CL_PredictMove()
200 VectorCopy (to->playerstate[cl.playernum].velocity, cl.simvel); in CL_PredictMove()
209 cl.simvel[i] = from->playerstate[cl.playernum].velocity[i] in CL_PredictMove()
210 + f*(to->playerstate[cl.playernum].velocity[i] - from->playerstate[cl.playernum].velocity[i]); in CL_PredictMove()
Dview.h30 float V_CalcRoll (vec3_t angles, vec3_t velocity);
/external/quake/quake/src/WinQuake/
Dsv_phys.cpp99 if (IS_NAN(ent->u.v.velocity[i])) in SV_CheckVelocity()
102 ent->u.v.velocity[i] = 0; in SV_CheckVelocity()
109 if (ent->u.v.velocity[i] > sv_maxvelocity.value) in SV_CheckVelocity()
110 ent->u.v.velocity[i] = sv_maxvelocity.value; in SV_CheckVelocity()
111 else if (ent->u.v.velocity[i] < -sv_maxvelocity.value) in SV_CheckVelocity()
112 ent->u.v.velocity[i] = -sv_maxvelocity.value; in SV_CheckVelocity()
246 VectorCopy (ent->u.v.velocity, original_velocity); in SV_FlyMove()
247 VectorCopy (ent->u.v.velocity, primal_velocity); in SV_FlyMove()
254 if (!ent->u.v.velocity[0] && !ent->u.v.velocity[1] && !ent->u.v.velocity[2]) in SV_FlyMove()
258 end[i] = ent->u.v.origin[i] + time_left * ent->u.v.velocity[i]; in SV_FlyMove()
[all …]
Dsv_user.cpp38 float *velocity; variable
130 vel = velocity; in SV_UserFriction()
179 VectorSubtract (wishvel, velocity, pushvec);
187 velocity[i] += accelspeed*pushvec[i];
195 currentspeed = DotProduct (velocity, wishdir); in SV_Accelerate()
204 velocity[i] += accelspeed*wishdir[i]; in SV_Accelerate()
215 currentspeed = DotProduct (velocity, wishveloc); in SV_AirAccelerate()
225 velocity[i] += accelspeed*wishveloc[i]; in SV_AirAccelerate()
277 speed = Length (velocity); in SV_WaterMove()
283 VectorScale (velocity, newspeed/speed, velocity); in SV_WaterMove()
[all …]
Dview.h33 float V_CalcRoll (vec3_t angles, vec3_t velocity);
Dview.cpp81 float V_CalcRoll (vec3_t angles, vec3_t velocity) in V_CalcRoll() argument
88 side = DotProduct (velocity, right); in V_CalcRoll()
127 bob = sqrt(cl.velocity[0]*cl.velocity[0] + cl.velocity[1]*cl.velocity[1]) * cl_bob.value; in V_CalcBob()
812 side = V_CalcRoll (cl_entities[cl.viewentity].angles, cl.velocity); in V_CalcViewRoll()
/external/quake/quake/src/QW/server/
Dsv_phys.c99 if (IS_NAN(ent->v.velocity[i])) in SV_CheckVelocity()
102 ent->v.velocity[i] = 0; in SV_CheckVelocity()
109 if (ent->v.velocity[i] > sv_maxvelocity.value) in SV_CheckVelocity()
110 ent->v.velocity[i] = sv_maxvelocity.value; in SV_CheckVelocity()
111 else if (ent->v.velocity[i] < -sv_maxvelocity.value) in SV_CheckVelocity()
112 ent->v.velocity[i] = -sv_maxvelocity.value; in SV_CheckVelocity()
255 VectorCopy (ent->v.velocity, original_velocity); in SV_FlyMove()
256 VectorCopy (ent->v.velocity, primal_velocity); in SV_FlyMove()
264 end[i] = ent->v.origin[i] + time_left * ent->v.velocity[i]; in SV_FlyMove()
270 VectorCopy (vec3_origin, ent->v.velocity); in SV_FlyMove()
[all …]
Dnewnet.txt72 velocity
86 velocity
/external/webkit/Source/WebCore/webaudio/
DAudioListener.h67 void setVelocity(const FloatPoint3D &velocity) { m_velocity = velocity; } in setVelocity() argument
68 const FloatPoint3D& velocity() const { return m_velocity; } in velocity() function
/external/quake/quake/src/QW/progs/
Dcombat.qc167 // targ.velocity = targ.velocity + dir * damage * 11;
170 // for blast velocity
171 targ.velocity = targ.velocity + dir * damage * 8;
175 targ.velocity = targ.velocity + dir * damage * rj;
Dsubs.qc49 calculate self.velocity and self.nextthink to reach dest from
77 self.velocity = '0 0 0';
97 // scale the destdelta vector by the time spent traveling to get velocity
98 self.velocity = vdestdelta * (1/traveltime); // qcc won't take vec/float
109 self.velocity = '0 0 0';
155 // scale the destdelta vector by the time spent traveling to get velocity
Dweapons.qc81 vel = normalize (self.velocity);
107 missile.velocity = vel;
400 self.origin = self.origin - 8 * normalize(self.velocity);
437 newmis.velocity = aim(self, 1000);
438 newmis.velocity = newmis.velocity * 1000;
439 newmis.angles = vectoangles(newmis.velocity);
622 if (self.velocity == '0 0 0')
653 newmis.velocity = v_forward*600 + v_up * 200 + crandom()*v_right*10 + crandom()*v_up*10;
656 newmis.velocity = aim(self, 10000);
657 newmis.velocity = newmis.velocity * 600;
[all …]
Dmisc.qc189 fireball.velocity = '0 0 1000';
314 org = self.origin - 8*normalize(self.velocity);
356 newmis.velocity = vec * 600;
357 newmis.angles = vectoangles(newmis.velocity);
375 newmis.velocity = self.movedir * 500;
385 newmis.velocity = self.movedir * 500;
458 bubble.velocity = '0 0 15';
478 bubble.velocity = self.velocity;
/external/chromium/chrome/browser/resources/touch_ntp/
Dslider.js259 var velocity = this.touchHandler_.getEndVelocity().x;
263 if (newCardIndex == this.currentCard && Math.abs(velocity) >
268 newCardIndex += velocity > 0 ? -1 : 1;
/external/sonivox/jet_tools/JetCreator/
Dmidifile.py395 def __init__ (self, ticks, seq, channel, note, velocity): argument
402 self.velocity = velocity
408 velocity = ReadByte(stream)
412 return NoteOffEvent(ticks, seq, channel, note, velocity)
415 if self.velocity > 0:
416 self.WriteRunningStatus(stream, track, filters, NOTE_ON, self.note, self.velocity)
418 self.WriteRunningStatus(stream, track, filters, NOTE_ON, self.note, self.velocity)
422 return '%s: ch=%d n=%d v=%d' % (self.name, self.channel, self.note, self.velocity)
428 def __init__ (self, ticks, seq, channel, note, velocity, note_length, note_off_velocity): argument
435 self.velocity = velocity
[all …]
/external/chromium/chrome/browser/resources/ntp4/
Dcard_slider.js303 var velocity = this.touchHandler_.getEndVelocity().x;
307 if (newCardIndex == this.currentCard && Math.abs(velocity) >
312 newCardIndex += velocity > 0 ? -1 : 1;
/external/sonivox/arm-wt-22k/lib_src/
Deas_dlssynth.c185 …Voice, const S_DLS_ARTICULATION *pDLSArt, S_SYNTH_CHANNEL *pChannel, EAS_I32 gain, EAS_U8 velocity) in DLS_UpdateGain() argument
232 temp = velocity << 8; in DLS_UpdateGain()
281 cutoff += (pVoice->velocity * pDLSArt->velToFc) >> 7; in DLS_UpdateFilter()
337 …(EAS_I16) DLS_UpdateGain(pWTVoice, pDLSArt, pChannel, pDLSRegion->wtRegion.gain, pVoice->velocity); in DLS_StartVoice()
414 …nTarget = DLS_UpdateGain(pWTVoice, pDLSArt, pChannel, pDLSRegion->wtRegion.gain, pVoice->velocity); in DLS_UpdateVoice()
494 temp = pEnvParams->attackTime + ((pEnvParams->velToAttack * pVoice->velocity) >> 7); in DLS_UpdateEnvelope()
Deas_voicemgt.c182 pVoice->velocity = pVoice->nextVelocity = DEFAULT_VELOCITY; in InitVoice()
1271 … S_SYNTH *pSynth, EAS_I32 voiceNum, EAS_U8 channel, EAS_U8 note, EAS_U8 velocity, EAS_U16 regionIn… in VMStolenVoice() argument
1285 pVoice->nextVelocity = velocity; in VMStolenVoice()
1410 pVoice->velocity = pVoice->nextVelocity; in VMRetargetStolenVoice()
1535 …CE_MGR *pVoiceMgr, S_SYNTH *pSynth, EAS_U8 channel, EAS_U8 note, EAS_U8 velocity, EAS_U16 regionIn… in VMCheckPolyphonyLimiting() argument
1594 VMStolenVoice(pVoiceMgr, pSynth, oldestVoiceNum, channel, note, velocity, regionIndex); in VMCheckPolyphonyLimiting()
1610 …CE_MGR *pVoiceMgr, S_SYNTH *pSynth, EAS_U8 channel, EAS_U8 note, EAS_U8 velocity, EAS_U16 regionIn… in VMStartVoice() argument
1660 …if (VMCheckPolyphonyLimiting(pVoiceMgr, pSynth, channel, note, velocity, regionIndex, lowVoice, hi… in VMStartVoice()
1694 pVoiceMgr->voices[voiceNum].velocity = velocity; in VMStartVoice()
1713 VMStolenVoice(pVoiceMgr, pSynth, voiceNum, channel, note, velocity, regionIndex); in VMStartVoice()
[all …]
Deas_vm_protos.h182 …MStartNote (S_VOICE_MGR *pVoiceMgr, S_SYNTH *pSynth, EAS_U8 channel, EAS_U8 note, EAS_U8 velocity);
234 …CE_MGR *pVoiceMgr, S_SYNTH *pSynth, EAS_U8 channel, EAS_U8 note, EAS_U8 velocity, EAS_U16 regionIn…
256 … VMStopNote (S_VOICE_MGR *pVoiceMgr, S_SYNTH *pSynth, EAS_U8 channel, EAS_U8 key, EAS_U8 velocity);
/external/sonivox/arm-hybrid-22k/lib_src/
Deas_voicemgt.c182 pVoice->velocity = pVoice->nextVelocity = DEFAULT_VELOCITY; in InitVoice()
1271 … S_SYNTH *pSynth, EAS_I32 voiceNum, EAS_U8 channel, EAS_U8 note, EAS_U8 velocity, EAS_U16 regionIn… in VMStolenVoice() argument
1285 pVoice->nextVelocity = velocity; in VMStolenVoice()
1410 pVoice->velocity = pVoice->nextVelocity; in VMRetargetStolenVoice()
1535 …CE_MGR *pVoiceMgr, S_SYNTH *pSynth, EAS_U8 channel, EAS_U8 note, EAS_U8 velocity, EAS_U16 regionIn… in VMCheckPolyphonyLimiting() argument
1594 VMStolenVoice(pVoiceMgr, pSynth, oldestVoiceNum, channel, note, velocity, regionIndex); in VMCheckPolyphonyLimiting()
1610 …CE_MGR *pVoiceMgr, S_SYNTH *pSynth, EAS_U8 channel, EAS_U8 note, EAS_U8 velocity, EAS_U16 regionIn… in VMStartVoice() argument
1660 …if (VMCheckPolyphonyLimiting(pVoiceMgr, pSynth, channel, note, velocity, regionIndex, lowVoice, hi… in VMStartVoice()
1694 pVoiceMgr->voices[voiceNum].velocity = velocity; in VMStartVoice()
1713 VMStolenVoice(pVoiceMgr, pSynth, voiceNum, channel, note, velocity, regionIndex); in VMStartVoice()
[all …]
Deas_vm_protos.h182 …MStartNote (S_VOICE_MGR *pVoiceMgr, S_SYNTH *pSynth, EAS_U8 channel, EAS_U8 note, EAS_U8 velocity);
234 …CE_MGR *pVoiceMgr, S_SYNTH *pSynth, EAS_U8 channel, EAS_U8 note, EAS_U8 velocity, EAS_U16 regionIn…
256 … VMStopNote (S_VOICE_MGR *pVoiceMgr, S_SYNTH *pSynth, EAS_U8 channel, EAS_U8 key, EAS_U8 velocity);
/external/sonivox/arm-fm-22k/lib_src/
Deas_voicemgt.c182 pVoice->velocity = pVoice->nextVelocity = DEFAULT_VELOCITY; in InitVoice()
1271 … S_SYNTH *pSynth, EAS_I32 voiceNum, EAS_U8 channel, EAS_U8 note, EAS_U8 velocity, EAS_U16 regionIn… in VMStolenVoice() argument
1285 pVoice->nextVelocity = velocity; in VMStolenVoice()
1410 pVoice->velocity = pVoice->nextVelocity; in VMRetargetStolenVoice()
1535 …CE_MGR *pVoiceMgr, S_SYNTH *pSynth, EAS_U8 channel, EAS_U8 note, EAS_U8 velocity, EAS_U16 regionIn… in VMCheckPolyphonyLimiting() argument
1594 VMStolenVoice(pVoiceMgr, pSynth, oldestVoiceNum, channel, note, velocity, regionIndex); in VMCheckPolyphonyLimiting()
1610 …CE_MGR *pVoiceMgr, S_SYNTH *pSynth, EAS_U8 channel, EAS_U8 note, EAS_U8 velocity, EAS_U16 regionIn… in VMStartVoice() argument
1660 …if (VMCheckPolyphonyLimiting(pVoiceMgr, pSynth, channel, note, velocity, regionIndex, lowVoice, hi… in VMStartVoice()
1694 pVoiceMgr->voices[voiceNum].velocity = velocity; in VMStartVoice()
1713 VMStolenVoice(pVoiceMgr, pSynth, voiceNum, channel, note, velocity, regionIndex); in VMStartVoice()
[all …]
Deas_vm_protos.h182 …MStartNote (S_VOICE_MGR *pVoiceMgr, S_SYNTH *pSynth, EAS_U8 channel, EAS_U8 note, EAS_U8 velocity);
234 …CE_MGR *pVoiceMgr, S_SYNTH *pSynth, EAS_U8 channel, EAS_U8 note, EAS_U8 velocity, EAS_U16 regionIn…
256 … VMStopNote (S_VOICE_MGR *pVoiceMgr, S_SYNTH *pSynth, EAS_U8 channel, EAS_U8 key, EAS_U8 velocity);
Deas_otadata.h74 EAS_U8 velocity; /* current volume */ member

123