Home
last modified time | relevance | path

Searched refs:yvel (Results 1 – 25 of 317) sorted by relevance

12345678910>>...13

/dports/graphics/processing/processing-1.5.1/modes/android/examples/Topics/Simulate/Smoke/
H A DSmoke.pde100 float yvel;
128 yvel += (1-ay)*v[vi][vu].yvel*0.05;
131 yvel += ax*v[vi+1][vu].yvel*0.05;
134 yvel += ay*v[vi][vu+1].yvel*0.05;
139 if(v[vi][vu].yvel < 0) v[vi][vu].yvel *= 1.00025;
142 y += yvel;
151 yvel *= 0.6;
160 float yvel;
175 …essurey = (v[i-1][u-1].yvel*0.5 + v[i][u-1].yvel + v[i+1][u-1].yvel*0.5 - v[i-1][u+1].yvel*0.5 - v…
185 float yvel;
[all …]
/dports/graphics/processing/processing-1.5.1/modes/java/examples/Topics/Simulate/Smoke/
H A DSmoke.pde100 float yvel;
128 yvel += (1-ay)*v[vi][vu].yvel*0.05;
131 yvel += ax*v[vi+1][vu].yvel*0.05;
134 yvel += ay*v[vi][vu+1].yvel*0.05;
139 if(v[vi][vu].yvel < 0) v[vi][vu].yvel *= 1.00025;
142 y += yvel;
151 yvel *= 0.6;
160 float yvel;
175 …essurey = (v[i-1][u-1].yvel*0.5 + v[i][u-1].yvel + v[i+1][u-1].yvel*0.5 - v[i-1][u+1].yvel*0.5 - v…
185 float yvel;
[all …]
/dports/graphics/processing/processing-1.5.1/modes/android/examples/Topics/Simulate/Fluid/
H A DFluid.pde74 float yvel;
92 yvel += (1-ay)*v[vi][vu].yvel*0.05;
95 yvel += ax*v[vi+1][vu].yvel*0.05;
98 yvel += ay*v[vi][vu+1].yvel*0.05;
103 y += yvel;
109 yvel = 0;
113 yvel *= 0.5;
121 float yvel;
136 …essurey = (v[i-1][u-1].yvel*0.5 + v[i][u-1].yvel + v[i+1][u-1].yvel*0.5 - v[i-1][u+1].yvel*0.5 - v…
146 float yvel;
[all …]
/dports/graphics/processing/processing-1.5.1/modes/java/examples/Topics/Simulate/Fluid/
H A DFluid.pde74 float yvel;
92 yvel += (1-ay)*v[vi][vu].yvel*0.05;
95 yvel += ax*v[vi+1][vu].yvel*0.05;
98 yvel += ay*v[vi][vu+1].yvel*0.05;
103 y += yvel;
109 yvel = 0;
113 yvel *= 0.5;
121 float yvel;
136 …essurey = (v[i-1][u-1].yvel*0.5 + v[i][u-1].yvel + v[i+1][u-1].yvel*0.5 - v[i-1][u+1].yvel*0.5 - v…
146 float yvel;
[all …]
/dports/games/NBlood/NBlood-a1689a4/source/exhumed/src/
H A Dmummy.cpp101 sprite[nSprite].yvel = 0; in BuildMummy()
217 sprite[nSprite].yvel = 0; in FuncMummy()
308 if (sprite[nSprite].yvel > 0) in FuncMummy()
310 sprite[nSprite].yvel -= 1024; in FuncMummy()
312 sprite[nSprite].yvel = 0; in FuncMummy()
317 sprite[nSprite].yvel += 1024; in FuncMummy()
319 sprite[nSprite].yvel = 0; in FuncMummy()
448 sprite[nSprite].yvel >>= 1; in FuncMummy()
454 sprite[nSprite].yvel = 0; in FuncMummy()
507 sprite[nSprite].yvel = 0; in FuncMummy()
[all …]
H A Dlion.cpp113 sprite[nSprite].yvel = 0; in BuildLion()
179 sprite[nSprite].yvel = 0; in FuncLion()
219 sprite[nSprite].yvel = 0; in FuncLion()
232 sprite[nSprite].yvel = 0; in FuncLion()
309 sprite[nSprite].yvel = 0; in FuncLion()
330 sprite[nSprite].yvel = Sin(nAng) * 2; in FuncLion()
335 sprite[nSprite].yvel = Sin(nAng) >> 1; in FuncLion()
348 sprite[nSprite].yvel = Sin(sprite[nSprite].ang) >> 1; in FuncLion()
360 sprite[nSprite].yvel = 0; in FuncLion()
421 sprite[nSprite].yvel >>= 1; in FuncLion()
[all …]
/dports/devel/sdl20/SDL2-2.0.18/Xcode-iOS/Demos/src/
H A Dfireworks.c97 curr->yvel += ACCEL * deltaMilliseconds; in stepParticles()
99 curr->y += curr->yvel * deltaMilliseconds; in stepParticles()
107 if (curr->yvel > 0.0) { in stepParticles()
112 SDL_sqrt(curr->xvel * curr->xvel + curr->yvel * curr->yvel); in stepParticles()
117 float normy = curr->yvel / speed; in stepParticles()
120 curr->yvel -= in stepParticles()
123 curr->xvel = curr->yvel = 0; /* stop particle */ in stepParticles()
205 p->yvel = speed * SDL_sin(theta); in explodeEmitter()
207 p->y = emitter->y + emitter->yvel; in explodeEmitter()
239 p->yvel = emitter->yvel + 0.1; in spawnTrailFromEmitter()
[all …]
H A Dhappy.c18 float xvel, yvel; /* velocity of happyface */ member
37 faces[i].yvel = randomFloat(-60.0f, 60.0f); in initializeHappyFaces()
78 faces[i].y += faces[i].yvel * deltaTime; in render()
84 faces[i].yvel = -faces[i].yvel; in render()
91 faces[i].yvel = -faces[i].yvel; in render()
/dports/emulators/mess/mame-mame0226/3rdparty/SDL2/Xcode-iOS/Demos/src/
H A Dfireworks.c97 curr->yvel += ACCEL * deltaMilliseconds; in stepParticles()
99 curr->y += curr->yvel * deltaMilliseconds; in stepParticles()
107 if (curr->yvel > 0.0) { in stepParticles()
112 sqrt(curr->xvel * curr->xvel + curr->yvel * curr->yvel); in stepParticles()
117 float normy = curr->yvel / speed; in stepParticles()
120 curr->yvel -= in stepParticles()
123 curr->xvel = curr->yvel = 0; /* stop particle */ in stepParticles()
205 p->yvel = speed * sin(theta); in explodeEmitter()
207 p->y = emitter->y + emitter->yvel; in explodeEmitter()
239 p->yvel = emitter->yvel + 0.1; in spawnTrailFromEmitter()
[all …]
H A Dhappy.c18 float xvel, yvel; /* velocity of happyface */ member
37 faces[i].yvel = randomFloat(-60.0f, 60.0f); in initializeHappyFaces()
78 faces[i].y += faces[i].yvel * deltaTime; in render()
84 faces[i].yvel = -faces[i].yvel; in render()
91 faces[i].yvel = -faces[i].yvel; in render()
/dports/emulators/mame/mame-mame0226/3rdparty/SDL2/Xcode-iOS/Demos/src/
H A Dfireworks.c97 curr->yvel += ACCEL * deltaMilliseconds; in stepParticles()
99 curr->y += curr->yvel * deltaMilliseconds; in stepParticles()
107 if (curr->yvel > 0.0) { in stepParticles()
112 sqrt(curr->xvel * curr->xvel + curr->yvel * curr->yvel); in stepParticles()
117 float normy = curr->yvel / speed; in stepParticles()
120 curr->yvel -= in stepParticles()
123 curr->xvel = curr->yvel = 0; /* stop particle */ in stepParticles()
205 p->yvel = speed * sin(theta); in explodeEmitter()
207 p->y = emitter->y + emitter->yvel; in explodeEmitter()
239 p->yvel = emitter->yvel + 0.1; in spawnTrailFromEmitter()
[all …]
H A Dhappy.c18 float xvel, yvel; /* velocity of happyface */ member
37 faces[i].yvel = randomFloat(-60.0f, 60.0f); in initializeHappyFaces()
78 faces[i].y += faces[i].yvel * deltaTime; in render()
84 faces[i].yvel = -faces[i].yvel; in render()
91 faces[i].yvel = -faces[i].yvel; in render()
/dports/x11/controllermap/SDL2-2.0.18/Xcode-iOS/Demos/src/
H A Dfireworks.c97 curr->yvel += ACCEL * deltaMilliseconds; in stepParticles()
99 curr->y += curr->yvel * deltaMilliseconds; in stepParticles()
107 if (curr->yvel > 0.0) { in stepParticles()
112 SDL_sqrt(curr->xvel * curr->xvel + curr->yvel * curr->yvel); in stepParticles()
117 float normy = curr->yvel / speed; in stepParticles()
120 curr->yvel -= in stepParticles()
123 curr->xvel = curr->yvel = 0; /* stop particle */ in stepParticles()
205 p->yvel = speed * SDL_sin(theta); in explodeEmitter()
207 p->y = emitter->y + emitter->yvel; in explodeEmitter()
239 p->yvel = emitter->yvel + 0.1; in spawnTrailFromEmitter()
[all …]
H A Dhappy.c18 float xvel, yvel; /* velocity of happyface */ member
37 faces[i].yvel = randomFloat(-60.0f, 60.0f); in initializeHappyFaces()
78 faces[i].y += faces[i].yvel * deltaTime; in render()
84 faces[i].yvel = -faces[i].yvel; in render()
91 faces[i].yvel = -faces[i].yvel; in render()
/dports/lang/basic256/basic256-2.0.0.11/Examples/
H A Dballaccel.kbs7 yvel = -1.0
16 yvel = yvel + yacc
19 y = y + yvel
23 if y > 289 then yvel = -0.9 * yvel : y = 289 : xvel = xvel * 0.9
H A Dbasic256_icon.kbs10 yvel = -1.0 * graphheight / 300
20 yvel = yvel + yacc
23 y = y + yvel
27 if y > graphheight - r - 1 then yvel = -0.9 * yvel : y = graphheight - r - 1 : xvel = xvel * 0.9
H A Dballaccel_2.kbs9 yvel = -1.0
17 yvel = yvel + yacc
20 y = y + yvel
24 if y > 289 then yvel = -0.9 * yvel : y = 289 : xvel = xvel * 0.9
H A Dbasic256_icon_googlePlay.kbs11 yvel = -1.0 * graphheight / 300
21 yvel = yvel + yacc
24 y = y + yvel
28 if y > graphheight - r - 1 then yvel = -0.9 * yvel : y = graphheight - r - 1 : xvel = xvel * 0.9
H A Dbasic256_icon_V1.kbs10 yvel = -1.3 * graphheight / 300
23 yvel = yvel + yacc
26 y = y + yvel
31 yvel = -0.9 * yvel
/dports/games/abuse_sdl/abuse-0.8/data/addon/leon/lisp/
H A Dgrenade.lsp7 (set_yvel (- (yvel) 7) )
10 (if (eq (yvel) 0 )
11 (set_yvel (+ (yvel) 1) )
14 (let ( (xv (xvel)) (yv (yvel)) (tk (tick)) )
41 (if (eq (yvel) 0 )
50 (if (or (> (yvel) 0) (< (yvel) 0) (> (xvel) 0) (< (xvel) 0) )
/dports/graphics/libvisual04-plugins/libvisual-plugins-0.4.0/plugins/actor/corona/
H A Dcorona.cpp74 it->xvel = it->yvel = 0; in Corona()
129 m_particles[i].xvel = m_particles[i].yvel = 0; in setUpSurface()
254 int yv = (int) (it->yvel * m_height); in drawParticules()
267 int yv = (int) (it->yvel * m_height); in drawParticulesWithShift()
412 it->yvel += 0.01 * bv * exp(-1000.0 * x * x); in update()
439 it->yvel -= 0.0006; // the gravity value in update()
454 it->yvel += random(-0.0002, 0.0002); in update()
459 if (it->yvel < -0.1 ) it->yvel = -0.1; in update()
460 if (it->yvel > 0.1 ) it->yvel = 0.1; in update()
467 it->xvel = it->yvel = 0; in update()
[all …]
/dports/games/flobopuyo/flobopuyo-0.20/
H A Dcorona.cpp53 it->xvel = it->yvel = 0; in Corona()
108 m_particles[i].xvel = m_particles[i].yvel = 0; in setUpSurface()
230 int yv = (int) (it->yvel * m_height); in drawParticules()
243 int yv = (int) (it->yvel * m_height); in drawParticulesWithShift()
350 it->yvel += 0.01 * bv * exp(-1000.0 * x * x); in update()
377 it->yvel -= 0.0006; // the gravity value in update()
392 it->yvel += random(-0.0002, 0.0002); in update()
397 if (it->yvel < -0.1 ) it->yvel = -0.1; in update()
398 if (it->yvel > 0.1 ) it->yvel = 0.1; in update()
405 it->xvel = it->yvel = 0; in update()
[all …]
/dports/games/abuse_sdl/abuse-0.8/data/lisp/
H A Dflyer.lsp50 (if (> (yvel) max_yvel)
51 (set_yvel (- (yvel) 1))
52 (set_yvel (+ (yvel) 1)))
55 (if (< (yvel) (- 0 max_yvel))
56 (set_yvel (+ (yvel) 1))
57 (set_yvel (- (yvel) 1)))))
64 (set_yvel (+ (yvel) 1))
66 (set_yvel (- (yvel) 1))))
71 '(set_yvel (/ (yvel) 2)) '(set_yvel (/ (yvel) 2)) nil)
85 (playery (+ (- (with_object (bg) (y)) 15) (with_object (bg) (* (yvel) 2)))))
[all …]
/dports/games/NBlood/NBlood-a1689a4/source/blood/src/
H A Dcallback.cpp71 yvel[pFX->index] = yvel[nSprite] + Random2(-dy); in fxFlameLick()
129 yvel[pFX->index] = yvel[nSprite] + Random2(0x1aaaa); in fxFlareSpark()
142 yvel[pFX->index] = yvel[nSprite] + Random2(0x1aaaa); in fxFlareSparkLite()
161 yvel[pFX->index] = yvel[nSprite] + Random2(0x11111); in fxZombieBloodSpurt()
185 yvel[pFX->index] = yvel[nSprite]>>8; in fxBloodSpurt()
199 yvel[pFX->index] = yvel[nSprite] + Random2(0x10000); in fxArcSpark()
219 yvel[pFX->index] = yvel[nSprite]; in fxDynPuff()
332 yvel[pFX->index] = yvel[nSprite] + Random2(0x1aaaa); in PlayerBubble()
356 yvel[pFX->index] = yvel[nSprite] + Random2(0x1aaaa); in EnemyBubble()
433 yvel[pFX->index] = yvel[nSprite] + Random2(0x1aaaa); in fxTeslaAlt()
[all …]
/dports/games/abuse_sdl/abuse-0.8/data/addon/twist/
H A Df2ai.lsp42 (if (and (< (distx) (xvel)) (< (disty) (yvel)))
63 (y1 (- (y) (yvel)))
65 (y2 (+ (y) (yvel)))
75 (if (and (< (distx) (xvel)) (< (disty) (yvel)))
100 (y1 (- (y) (yvel)))
102 (y2 (+ (y) (yvel)))
112 (if (and (< (distx) (xvel)) (< (disty) (yvel)))
136 (y1 (- (y) (yvel)))
138 (y2 (+ (y) (yvel)))
252 (y1 (- (y) (yvel)))
[all …]

12345678910>>...13