Home
last modified time | relevance | path

Searched refs:vel (Results 1 – 25 of 5687) sorted by relevance

12345678910>>...228

/dports/net/tigervnc-server/tigervnc-1.12.0/unix/xserver/dix/
H A Dptrveloc.c143 schemeData->vel = vel; in InitPredictableAccelerationScheme()
163 if (vel) { in AccelerationDefaultCleanup()
202 if (!vel) in AccelSetProfileProperty()
247 if (!vel) in AccelSetDecelProperty()
338 if (!vel) in AccelSetScaleProperty()
376 if (!vel) in InitializePredictableAccelerationProperties()
409 if (vel) { in DeletePredictableAccelerationProperties()
569 n = (vel->cur_tracker + 1) % vel->num_tracker; in FeedTrackers()
696 vel->last_velocity = vel->velocity; in ProcessVelocityData2D()
786 if (vel->average_accel && vel->velocity != vel->last_velocity) { in ComputeAcceleration()
[all …]
/dports/x11-servers/xephyr/xorg-server-1.20.13/dix/
H A Dptrveloc.c143 schemeData->vel = vel; in InitPredictableAccelerationScheme()
163 if (vel) { in AccelerationDefaultCleanup()
202 if (!vel) in AccelSetProfileProperty()
247 if (!vel) in AccelSetDecelProperty()
338 if (!vel) in AccelSetScaleProperty()
376 if (!vel) in InitializePredictableAccelerationProperties()
409 if (vel) { in DeletePredictableAccelerationProperties()
569 n = (vel->cur_tracker + 1) % vel->num_tracker; in FeedTrackers()
696 vel->last_velocity = vel->velocity; in ProcessVelocityData2D()
786 if (vel->average_accel && vel->velocity != vel->last_velocity) { in ComputeAcceleration()
[all …]
/dports/x11-servers/xorg-vfbserver/xorg-server-1.20.13/dix/
H A Dptrveloc.c143 schemeData->vel = vel; in InitPredictableAccelerationScheme()
163 if (vel) { in AccelerationDefaultCleanup()
202 if (!vel) in AccelSetProfileProperty()
247 if (!vel) in AccelSetDecelProperty()
338 if (!vel) in AccelSetScaleProperty()
376 if (!vel) in InitializePredictableAccelerationProperties()
409 if (vel) { in DeletePredictableAccelerationProperties()
569 n = (vel->cur_tracker + 1) % vel->num_tracker; in FeedTrackers()
696 vel->last_velocity = vel->velocity; in ProcessVelocityData2D()
786 if (vel->average_accel && vel->velocity != vel->last_velocity) { in ComputeAcceleration()
[all …]
/dports/x11-servers/xwayland-devel/xorg-xserver-xorg-server-21.0.99.1-177-g9e5a37961/dix/
H A Dptrveloc.c143 schemeData->vel = vel; in InitPredictableAccelerationScheme()
163 if (vel) { in AccelerationDefaultCleanup()
202 if (!vel) in AccelSetProfileProperty()
247 if (!vel) in AccelSetDecelProperty()
338 if (!vel) in AccelSetScaleProperty()
376 if (!vel) in InitializePredictableAccelerationProperties()
409 if (vel) { in DeletePredictableAccelerationProperties()
569 n = (vel->cur_tracker + 1) % vel->num_tracker; in FeedTrackers()
696 vel->last_velocity = vel->velocity; in ProcessVelocityData2D()
786 if (vel->average_accel && vel->velocity != vel->last_velocity) { in ComputeAcceleration()
[all …]
/dports/x11-servers/xorg-dmx/xorg-server-1.20.13/dix/
H A Dptrveloc.c143 schemeData->vel = vel; in InitPredictableAccelerationScheme()
163 if (vel) { in AccelerationDefaultCleanup()
202 if (!vel) in AccelSetProfileProperty()
247 if (!vel) in AccelSetDecelProperty()
338 if (!vel) in AccelSetScaleProperty()
376 if (!vel) in InitializePredictableAccelerationProperties()
409 if (vel) { in DeletePredictableAccelerationProperties()
569 n = (vel->cur_tracker + 1) % vel->num_tracker; in FeedTrackers()
696 vel->last_velocity = vel->velocity; in ProcessVelocityData2D()
786 if (vel->average_accel && vel->velocity != vel->last_velocity) { in ComputeAcceleration()
[all …]
/dports/x11-servers/xorg-server/xorg-server-1.20.13/dix/
H A Dptrveloc.c143 schemeData->vel = vel; in InitPredictableAccelerationScheme()
163 if (vel) { in AccelerationDefaultCleanup()
202 if (!vel) in AccelSetProfileProperty()
247 if (!vel) in AccelSetDecelProperty()
338 if (!vel) in AccelSetScaleProperty()
376 if (!vel) in InitializePredictableAccelerationProperties()
409 if (vel) { in DeletePredictableAccelerationProperties()
569 n = (vel->cur_tracker + 1) % vel->num_tracker; in FeedTrackers()
696 vel->last_velocity = vel->velocity; in ProcessVelocityData2D()
786 if (vel->average_accel && vel->velocity != vel->last_velocity) { in ComputeAcceleration()
[all …]
/dports/x11-servers/xorg-nestserver/xorg-server-1.20.13/dix/
H A Dptrveloc.c143 schemeData->vel = vel; in InitPredictableAccelerationScheme()
163 if (vel) { in AccelerationDefaultCleanup()
202 if (!vel) in AccelSetProfileProperty()
247 if (!vel) in AccelSetDecelProperty()
338 if (!vel) in AccelSetScaleProperty()
376 if (!vel) in InitializePredictableAccelerationProperties()
409 if (vel) { in DeletePredictableAccelerationProperties()
569 n = (vel->cur_tracker + 1) % vel->num_tracker; in FeedTrackers()
696 vel->last_velocity = vel->velocity; in ProcessVelocityData2D()
786 if (vel->average_accel && vel->velocity != vel->last_velocity) { in ComputeAcceleration()
[all …]
/dports/x11-servers/xarcan/xarcan-0.6.0/dix/
H A Dptrveloc.c143 schemeData->vel = vel; in InitPredictableAccelerationScheme()
163 if (vel) { in AccelerationDefaultCleanup()
202 if (!vel) in AccelSetProfileProperty()
247 if (!vel) in AccelSetDecelProperty()
338 if (!vel) in AccelSetScaleProperty()
376 if (!vel) in InitializePredictableAccelerationProperties()
409 if (vel) { in DeletePredictableAccelerationProperties()
569 n = (vel->cur_tracker + 1) % vel->num_tracker; in FeedTrackers()
696 vel->last_velocity = vel->velocity; in ProcessVelocityData2D()
786 if (vel->average_accel && vel->velocity != vel->last_velocity) { in ComputeAcceleration()
[all …]
/dports/x11-servers/xwayland/xorg-server-1.20.13/dix/
H A Dptrveloc.c143 schemeData->vel = vel; in InitPredictableAccelerationScheme()
163 if (vel) { in AccelerationDefaultCleanup()
202 if (!vel) in AccelSetProfileProperty()
247 if (!vel) in AccelSetDecelProperty()
338 if (!vel) in AccelSetScaleProperty()
376 if (!vel) in InitializePredictableAccelerationProperties()
409 if (vel) { in DeletePredictableAccelerationProperties()
569 n = (vel->cur_tracker + 1) % vel->num_tracker; in FeedTrackers()
696 vel->last_velocity = vel->velocity; in ProcessVelocityData2D()
786 if (vel->average_accel && vel->velocity != vel->last_velocity) { in ComputeAcceleration()
[all …]
/dports/graphics/reallyslick/rss-glx_0.9.1/src/
H A Dskyrocket_particle.cpp358 newp->vel = vel; in initSucker()
453 newp->vel = vel; in initShockwave()
522 newp->vel = vel; in initStretcher()
612 newp->vel = vel; in initBigmama()
623 newp->vel = vel; in initBigmama()
633 newp->vel = vel; in initBigmama()
643 newp->vel = vel; in initBigmama()
653 newp->vel = vel; in initBigmama()
663 newp->vel = vel; in initBigmama()
673 newp->vel = vel; in initBigmama()
[all …]
/dports/games/blobby/blobby-1.0/src/
H A DBotAPICalculations.cpp53 if( vel.x == 0 ) in time_to_x()
118 float spos = pos.x + vel.x*time; in predict_x()
139 float time = time_to_x(pos, vel, destination); in y_at_x()
140 return predict_y(pos, vel, time); in y_at_x()
144 float time = time_to_y(pos, vel, destination); in x_at_y()
145 return predict_x(pos, vel, time); in x_at_y()
153 if( vel.x > 0 ) in next_event()
189 return (destination - pos) / vel; in time_to_x_direct()
199 float sq = vel*vel + 2*grav*(destination - pos); in parabel_time_first()
208 float tmin = (-vel - sq) / grav; in parabel_time_first()
[all …]
/dports/cad/calculix-ccx/CalculiX/ccx_2.18/src/
H A Dcalcgammav.f46 dvel1=dsqrt(vel(iel1,1)**2+vel(iel1,2)**2+vel(iel1,3)**2)
47 dvel2=dsqrt(vel(iel2,1)**2+vel(iel2,2)**2+vel(iel2,3)**2)
56 & (vel(iel1,1)*gradvel(1,1,iel1)+
57 & vel(iel1,2)*gradvel(2,1,iel1)+
59 & (vel(iel1,1)*gradvel(1,2,iel1)+
60 & vel(iel1,2)*gradvel(2,2,iel1)+
62 & (vel(iel1,1)*gradvel(1,3,iel1)+
63 & vel(iel1,2)*gradvel(2,3,iel1)+
68 & (vel(iel2,1)*gradvel(1,1,iel2)+
69 & vel(iel2,2)*gradvel(2,1,iel2)+
[all …]
H A Dnewtincf.f50 u=dsqrt(vel(i,1)**2+vel(i,2)**2+vel(i,3)**2)
70 dd=dabs(xn(1)*vel(i,1)+xn(2)*vel(i,2)+xn(3)*vel(i,3))
110 if(vel(i,5).gt.0.d0) then
112 & (vel(i,5)*hdiff))
114 elseif(vel(i,5)*vel(i,7).gt.0.d0) then
116 & (umel(i)/vel(i,5)+vel(i,6)/vel(i,7))/hdiff)
150 u=dsqrt(vel(i,1)**2+vel(i,2)**2+vel(i,3)**2)
171 dd=dabs(xn(1)*vel(i,1)+xn(2)*vel(i,2)+xn(3)*vel(i,3))
189 if(vel(i,5).gt.0.d0) then
193 elseif(vel(i,5)*vel(i,7).gt.0.d0) then
[all …]
H A Dhrt_mod_smart.f50 vfa(0,i)=vel(iel1,0)
56 vcd=vel(iel1,0)-vel(iel2,0)
68 vfa(0,i)=vel(iel1,0)
79 vfa(0,i)=vel(iel1,0)
81 vfa(0,i)=3.d0*vel(iel1,0)-2.d0*vel(iel2,0)+2.d0*vud
83 vfa(0,i)=3.d0*vel(iel1,0)/4.d0+vel(iel2,0)/4.d0+vud/8.d0
85 vfa(0,i)=vel(iel1,0)/3.d0+2.d0*vel(iel2,0)/3.d0
89 vcd=vel(iel2,0)-vel(iel1,0)
114 vfa(0,i)=3.d0*vel(iel2,0)-2.d0*vel(iel1,0)+2.d0*vud
116 vfa(0,i)=3.d0*vel(iel2,0)/4.d0+vel(iel1,0)/4.d0+vud/8.d0
[all …]
H A Dhrv_mod_smart.f54 vfa(j,i)=vel(iel1,j)
62 vcd=vel(iel1,j)-vel(iel2,j)
74 vfa(j,i)=vel(iel1,j)
84 vfa(j,i)=vel(iel1,j)
86 vfa(j,i)=3.d0*vel(iel1,j)-2.d0*vel(iel2,j)+2.d0*vud
88 vfa(j,i)=3.d0*vel(iel1,j)/4.d0+vel(iel2,j)/4.d0
91 vfa(j,i)=vel(iel1,j)/3.d0+2.d0*vel(iel2,j)/3.d0
97 vcd=vel(iel2,j)-vel(iel1,j)
121 vfa(j,i)=3.d0*vel(iel2,j)-2.d0*vel(iel1,j)+2.d0*vud
123 vfa(j,i)=3.d0*vel(iel2,j)/4.d0+vel(iel1,j)/4.d0
[all …]
H A Dhrr_mod_smart.f67 vcd=vel(iel1,4)-vel(iel2,4)
79 vfa(5,i)=vel(iel1,4)/(r*vfa(0,i))
89 vfa(5,i)=vel(iel1,4)
91 vfa(5,i)=3.d0*vel(iel1,4)-2.d0*vel(iel2,4)+2.d0*vud
93 vfa(5,i)=3.d0*vel(iel1,4)/4.d0+vel(iel2,4)/4.d0+vud/8.d0
95 vfa(5,i)=vel(iel1,4)/3.d0+2.d0*vel(iel2,4)/3.d0
100 vcd=vel(iel2,4)-vel(iel1,4)
122 vfa(5,i)=vel(iel2,4)
124 vfa(5,i)=3.d0*vel(iel2,4)-2.d0*vel(iel1,4)+2.d0*vud
126 vfa(5,i)=3.d0*vel(iel2,4)/4.d0+vel(iel1,4)/4.d0+vud/8.d0
[all …]
H A Dextrapol_vel1.f48 vfap(j,i)=xl1*vel(iel1,j)+xl2*vel(iel2,j)
53 & (c(j,1)*vel(iel2,1)
54 & +c(j,2)*vel(iel2,2)
55 & +c(j,3)*vel(iel2,3))
60 & (c(1,j)*vel(iel2,1)
61 & +c(2,j)*vel(iel2,2)
62 & +c(3,j)*vel(iel2,3))
83 vfap(1,i)=xl1*vel(iel1,1)+xrlfa(3,i)*vel(iel3,1)
97 vfap(2,i)=xl1*vel(iel1,2)+xrlfa(3,i)*vel(iel3,2)
111 vfap(3,i)=xl1*vel(iel1,3)+xrlfa(3,i)*vel(iel3,3)
[all …]
/dports/benchmarks/libcelero/Celero-2.8.2/experiments/ExperimentParticles/
H A DParticles.h19 float vel[4]; variable
33 vel[0] = randF(); in generate()
34 vel[1] = randF(); in generate()
35 vel[2] = randF(); in generate()
36 vel[3] = vel[1] + vel[2]; in generate()
43 vel[0] += acc[0] * dt; in update()
44 vel[1] += acc[1] * dt; in update()
45 vel[2] += acc[2] * dt; in update()
46 vel[3] += acc[3] * dt; in update()
55 rot += vel[3] * dt; in update()
[all …]
/dports/games/openomf/openomf-c36c421/src/game/objects/
H A Dscrap.c11 vec2f vel = object_get_vel(obj); in scrap_move() local
17 pos.x += vel.x; in scrap_move()
18 vel.y += obj->gravity; in scrap_move()
19 pos.y += vel.y; in scrap_move()
25 vel.x = -vel.x * dampen; in scrap_move()
29 vel.x = -vel.x * dampen; in scrap_move()
33 vel.y = -vel.y * dampen; in scrap_move()
34 vel.x = vel.x * dampen; in scrap_move()
36 if(IS_ZERO(vel.x)) vel.x = 0; in scrap_move()
38 object_set_vel(obj, vel); in scrap_move()
[all …]
/dports/net/ns3/ns-allinone-3.35/ns-3.35/src/mobility/test/
H A Dmobility-trace-example.mob1 now=+0ns node=0 pos=1.000:1.000:0.000 vel=-0.293:-0.956:0.000
2 now=+0ns node=1 pos=6.000:1.000:0.000 vel=0.844:-0.537:0.000
3 now=+0ns node=2 pos=11.000:1.000:0.000 vel=0.875:-0.485:0.000
4 now=+0ns node=3 pos=1.000:6.000:0.000 vel=0.574:-0.819:0.000
7 now=+2e+09ns node=2 pos=12.750:0.031:0.000 vel=-0.952:-0.305:0.000
8 now=+2e+09ns node=3 pos=2.148:4.362:0.000 vel=-0.932:-0.362:0.000
9 now=+2e+09ns node=0 pos=0.413:0.912:0.000 vel=-0.320:-0.947:0.000
10 now=+2e+09ns node=1 pos=7.688:0.073:0.000 vel=-1.000:0.013:0.000
14 now=+4e+09ns node=3 pos=0.284:3.638:0.000 vel=0.891:-0.455:0.000
15 now=+4e+09ns node=1 pos=5.688:0.099:0.000 vel=0.923:0.384:0.000
[all …]
/dports/audio/supercollider/SuperCollider-3.11.0-Source/server/plugins/
H A DPhysicalModelingUGens.cpp87 …(inNumSamples, float force = ZXP(in) * c - pos * spring; vel = (force + vel) * damping; pos += vel; in Spring_next()
91 unit->m_vel = vel; in Spring_next()
128 vel = 0.f; in Ball_next()
131 vel = vel_diff * inter + vel; in Ball_next()
142 vel += dither; in Ball_next()
147 unit->m_vel = vel; in Ball_next()
185 vel = 0.f; in TBall_next()
188 vel = vel_diff * inter + vel; in TBall_next()
193 vel = floorvel - vel; in TBall_next()
195 outval = vel; in TBall_next()
[all …]
/dports/games/uhexen2/hexen2source-1.5.9/engine/hexenworld/client/
H A Dr_part.c136 VectorScale (dir, vel, p->vel); in R_DarkFieldParticles()
826 VectorScale (dir, vel, p->vel); in R_LavaSplash()
872 VectorScale (dir, vel, p->vel); in R_TargetBallEffect()
914 VectorScale (dir, vel, p->vel); in R_BrightFieldSource()
938 VectorScale (dir, vel, p->vel); in R_BrightFieldSource()
979 VectorScale (dir, vel, p->vel); in R_TeleportSplash()
1749 p->vel[i] += p->vel[i]*dvel; in R_DrawParticles()
1760 p->vel[i] -= p->vel[i] * frametime; in R_DrawParticles()
1771 p->vel[i] += p->vel[i]*dvel; in R_DrawParticles()
1788 p->vel[i] += p->vel[i]*dvel; in R_DrawParticles()
[all …]
/dports/games/uhexen2/hexen2source-1.5.9/engine/hexen2/
H A Dr_part.c149 VectorScale (dir, vel, p->vel); in R_DarkFieldParticles()
722 VectorScale (dir, vel, p->vel); in R_LavaSplash()
765 VectorScale (dir, vel, p->vel); in R_TeleportSplash()
1616 if (p->vel[0] == 0 && p->vel[1] == 0 && p->vel[2] == 0) in R_UpdateParticles()
1652 p->vel[1] * p->vel[1] + in R_UpdateParticles()
1653 p->vel[2] * p->vel[2]; in R_UpdateParticles()
1745 p->vel[0] = p->vel[1] = p->vel[2] = 0; in R_UpdateParticles()
1780 p->vel[i] += p->vel[i]*dvel; in R_UpdateParticles()
1791 p->vel[i] -= p->vel[i] * frametime; in R_UpdateParticles()
1802 p->vel[i] += p->vel[i]*dvel; in R_UpdateParticles()
[all …]
/dports/devel/py-game/pygame-2.1.0/examples/
H A Dstars.py28 return vel, WINCENTER[:]
36 vel, pos = star
40 vel[0] = vel[0] * (steps * 0.09)
41 vel[1] = vel[1] * (steps * 0.09)
49 for vel, pos in stars:
56 for vel, pos in stars:
57 pos[0] = pos[0] + vel[0]
58 pos[1] = pos[1] + vel[1]
60 vel[:], pos[:] = init_star()
62 vel[0] = vel[0] * 1.05
[all …]
/dports/games/quantumminigolf/quantumminigolf-1.1.1.src/
H A DClassicSimulator.cpp42 vel[0] = vx, vel[1] = vy; in setVelocity()
60 float speed = sqrt(vel[0]*vel[0] + vel[1]*vel[1]); in propagate()
67 float nvx = vel[0]/speed; in propagate()
68 float nvy = vel[1]/speed; in propagate()
140 float sp = vel[0]*wx + vel[1]*wy; in propagate()
141 float cvx = vel[0] - sp*wx; in propagate()
143 vel[0] = -wx*sp +cvx; vel[1] = -wy*sp + cvy; in propagate()
145 nvx = vel[0]/speed; in propagate()
146 nvy = vel[1]/speed; in propagate()
161 speed = sqrt(vel[0]*vel[0] + vel[1]*vel[1]); in propagate()
[all …]

12345678910>>...228