/dports/graphics/lazpaint/lazpaint-7.1.6/bgrabitmapnew/test/testvirtualscreen/ |
H A D | unit1.pas | 33 ballRadius: integer; 61 Bitmap.EllipseAntialias(ballPos.x,ballPos.y, ballRadius,ballRadius, BGRABlack, 1, ballColor); 100 if BallPos.Y >= VirtualScreen.BitmapHeight-ballRadius then 102 ballPos.Y := VirtualScreen.BitmapHeight-ballRadius; 105 if (BallPos.X < -ballRadius) or (BallPos.X > VirtualScreen.BitmapWidth+ballRadius) then 115 BallPos.X := VirtualScreen.BitmapWidth-ballRadius; 118 if BallPos.X <= ballRadius then 120 BallPos.X := ballRadius; 160 ballRadius := round(20*scale); 168 result := Rect(ballPos.X-ballRadius, ballPos.Y-ballRadius, [all …]
|
/dports/editors/cudatext/CudaText-1.151.0/bgrabitmap/test/testvirtualscreen/ |
H A D | unit1.pas | 33 ballRadius: integer; 61 Bitmap.EllipseAntialias(ballPos.x,ballPos.y, ballRadius,ballRadius, BGRABlack, 1, ballColor); 100 if BallPos.Y >= VirtualScreen.BitmapHeight-ballRadius then 102 ballPos.Y := VirtualScreen.BitmapHeight-ballRadius; 105 if (BallPos.X < -ballRadius) or (BallPos.X > VirtualScreen.BitmapWidth+ballRadius) then 115 BallPos.X := VirtualScreen.BitmapWidth-ballRadius; 118 if BallPos.X <= ballRadius then 120 BallPos.X := ballRadius; 160 ballRadius := round(20*scale); 168 result := Rect(ballPos.X-ballRadius, ballPos.Y-ballRadius, [all …]
|
/dports/devel/sfml/SFML-2.5.1/examples/pong/ |
H A D | Pong.cpp | 27 float ballRadius = 10.f; in main() local 58 ball.setRadius(ballRadius - 3); in main() 62 ball.setOrigin(ballRadius / 2, ballRadius / 2); in main() 166 if (ball.getPosition().x - ballRadius < 0.f) in main() 171 if (ball.getPosition().x + ballRadius > gameWidth) in main() 176 if (ball.getPosition().y - ballRadius < 0.f) in main() 180 ball.setPosition(ball.getPosition().x, ballRadius + 0.1f); in main() 182 if (ball.getPosition().y + ballRadius > gameHeight) in main() 186 ball.setPosition(ball.getPosition().x, gameHeight - ballRadius - 0.1f); in main() 192 ball.getPosition().x - ballRadius > leftPaddle.getPosition().x && in main() [all …]
|
/dports/devel/raylib/raylib-3.7.0/examples/shapes/ |
H A D | shapes_bouncing_ball.c | 25 int ballRadius = 20; in main() local 46 …if ((ballPosition.x >= (GetScreenWidth() - ballRadius)) || (ballPosition.x <= ballRadius)) ballSpe… in main() 47 …if ((ballPosition.y >= (GetScreenHeight() - ballRadius)) || (ballPosition.y <= ballRadius)) ballSp… in main() 58 DrawCircleV(ballPosition, ballRadius, MAROON); in main()
|
H A D | shapes_easings_ball_anim.c | 27 int ballRadius = 20; in main() local 55 ballRadius = EaseElasticIn(framesCounter, 20, 500, 200); in main() 80 ballRadius = 20; in main() 96 DrawCircle(ballPositionX, 200, ballRadius, Fade(RED, 1.0f - ballAlpha)); in main()
|
/dports/devel/raylib/raylib-3.7.0/examples/core/ |
H A D | core_window_flags.c | 44 float ballRadius = 20; in main() local 130 …if ((ballPosition.x >= (GetScreenWidth() - ballRadius)) || (ballPosition.x <= ballRadius)) ballSpe… in main() 131 …if ((ballPosition.y >= (GetScreenHeight() - ballRadius)) || (ballPosition.y <= ballRadius)) ballSp… in main() 141 DrawCircleV(ballPosition, ballRadius, MAROON); in main()
|
/dports/security/hs-cryptol/cryptol-2.11.0/_cabal_deps/lens-5.0.1/examples/ |
H A D | Pong.hs | 40 ballRadius, speedIncrease, losingAccuracy, winningAccuracy, function 42 ballRadius = 0.02 function 89 o = 1 - ballRadius 121 ballPos.both %= clamp ballRadius 180 edge = 1 - ballRadius 215 drawBall = circleSolid ballRadius
|
/dports/www/hs-postgrest/postgrest-8.0.0/_cabal_deps/lens-4.19.2/examples/ |
H A D | Pong.hs | 40 ballRadius, speedIncrease, losingAccuracy, winningAccuracy, function 42 ballRadius = 0.02 function 89 o = 1 - ballRadius 121 ballPos.both %= clamp ballRadius 180 edge = 1 - ballRadius 215 drawBall = circleSolid ballRadius
|
/dports/devel/hs-git-annex/git-annex-8.20210903/_cabal_deps/lens-4.19.1/examples/ |
H A D | Pong.hs | 40 ballRadius, speedIncrease, losingAccuracy, winningAccuracy, function 42 ballRadius = 0.02 function 89 o = 1 - ballRadius 121 ballPos.both %= clamp ballRadius 180 edge = 1 - ballRadius 215 drawBall = circleSolid ballRadius
|
/dports/devel/hs-haskell-language-server/haskell-language-server-1.4.0/_cabal_deps/lens-5.0.1/examples/ |
H A D | Pong.hs | 40 ballRadius, speedIncrease, losingAccuracy, winningAccuracy, function 42 ballRadius = 0.02 function 89 o = 1 - ballRadius 121 ballPos.both %= clamp ballRadius 180 edge = 1 - ballRadius 215 drawBall = circleSolid ballRadius
|
/dports/www/hs-DAV/DAV-1.3.4/_cabal_deps/lens-4.19.2/examples/ |
H A D | Pong.hs | 40 ballRadius, speedIncrease, losingAccuracy, winningAccuracy, function 42 ballRadius = 0.02 function 89 o = 1 - ballRadius 121 ballPos.both %= clamp ballRadius 180 edge = 1 - ballRadius 215 drawBall = circleSolid ballRadius
|
/dports/science/opensim-core/opensim-core-4.1/OpenSim/Analyses/Test/ |
H A D | testOutputReporter.cpp | 115 double ballRadius = 0.05; in simulateMuscle() local 134 ballMass*SimTK::Inertia::sphere(ballRadius)); in simulateMuscle() 136 ball->attachGeometry(new Sphere(ballRadius)); in simulateMuscle() 165 muscle->addNewPathPoint("muscle-ball", *ball, Vec3(-ballRadius, 0, 0)); in simulateMuscle()
|
/dports/databases/grass7/grass-7.8.6/raster3d/r3.showdspf/ |
H A D | BallMath.c | 8 HVect MouseOnSphere(HVect mouse, HVect ballCenter, double ballRadius) in MouseOnSphere() argument 13 ballMouse.x = (mouse.x - ballCenter.x) / ballRadius; in MouseOnSphere() 14 ballMouse.y = (mouse.y - ballCenter.y) / ballRadius; in MouseOnSphere()
|
H A D | BallMath.h | 7 HVect MouseOnSphere(HVect mouse, HVect ballCenter, double ballRadius);
|
/dports/games/lwjgl/lwjgl-2df01dd/src/java/org/lwjgl/test/opengl/sprites/ |
H A D | SpriteShootout.java | 445 final float ballRadius = ballSize * 0.5f; in animate() local 446 final float boundW = SCREEN_WIDTH - ballRadius; in animate() 447 final float boundH = SCREEN_HEIGHT - ballRadius; in animate() 454 if ( x < ballRadius ) { in animate() 455 x = ballRadius; in animate() 467 if ( y < ballRadius ) { in animate() 468 y = ballRadius; in animate()
|
H A D | SpriteShootoutMapped.java | 526 final float ballRadius = ballSize * 0.5f; in animate() local 527 final float boundW = SCREEN_WIDTH - ballRadius; in animate() 528 final float boundH = SCREEN_HEIGHT - ballRadius; in animate() 537 if ( x < ballRadius ) { in animate() 538 x = ballRadius; in animate() 553 if ( y < ballRadius ) { in animate() 554 y = ballRadius; in animate()
|
/dports/audio/audacity/audacity-Audacity-3.1.3/src/ |
H A D | Lyrics.cpp | 654 int ballRadius = (int)(mTextHeight / 8.0); in HandlePaint_BouncingBall() local 655 int bounceTop = ballRadius * 2; in HandlePaint_BouncingBall() 660 wxRect ball(ctr - ballRadius, yi - ballRadius, 2 * ballRadius, 2 * ballRadius); in HandlePaint_BouncingBall()
|
/dports/science/simbody/simbody-Simbody-3.7/Simbody/tests/adhoc/ |
H A D | SBPendulum1.cpp | 163 const Real ballRadius = 2; in main() local 164 const MassProperties ballMProps(ballMass, Vec3(0), ballMass*UnitInertia::sphere(ballRadius)); in main() 186 contact.addSphere(aBall, Vec3(0), ballRadius, k, c); // r,k,c in main() 187 contact.addSphere(aBall2, Vec3(0), ballRadius, k, c); // r,k,c in main() 199 DecorativeSphere bouncer(ballRadius); in main()
|
/dports/science/opensim-core/opensim-core-4.1/OpenSim/Simulation/Test/ |
H A D | testProbes.cpp | 195 double ballRadius = 0.05; in simulateMuscle() local 214 ballMass*SimTK::Inertia::sphere(ballRadius)); in simulateMuscle() 216 ball->attachGeometry(new Sphere(ballRadius)); in simulateMuscle() 251 aMuscle->addNewPathPoint("muscle-ball", *ball, Vec3(-ballRadius, 0, 0)); in simulateMuscle()
|
/dports/graphics/gimp-app/gimp-2.10.30/plug-ins/map-object/ |
H A D | arcball.c | 65 static HVect MouseOnSphere(HVect mouse, HVect ballCenter, double ballRadius); 414 double ballRadius) in MouseOnSphere() argument 419 ballMouse.x = (mouse.x - ballCenter.x) / ballRadius; in MouseOnSphere() 420 ballMouse.y = (mouse.y - ballCenter.y) / ballRadius; in MouseOnSphere()
|
/dports/science/opensim-core/opensim-core-4.1/OpenSim/Actuators/Test/ |
H A D | testMuscles.cpp | 193 double ballRadius = 0.05; in simulateMuscle() local 214 ballMass*SimTK::Inertia::sphere(ballRadius)); in simulateMuscle() 216 ball->attachGeometry(new Sphere(ballRadius)); in simulateMuscle() 251 aMuscle->addNewPathPoint("muscle-ball", *ball, Vec3(-ballRadius,0,0)); in simulateMuscle()
|
/dports/games/xpilot-ng-server/xpilot-ng-4.7.3/src/server/ |
H A D | option.h | 224 double ballRadius; member
|
/dports/biology/ncbi-cxx-toolkit/ncbi_cxx--25_2_0/src/app/cn3d/ |
H A D | style_manager.hpp | 170 double spaceFillProportion, ballRadius, stickRadius, tubeRadius, tubeWormRadius, member in StyleSettings
|
H A D | style_manager.cpp | 139 styleASN->SetBall_radius((int) (ballRadius * SCALE)); in SaveSettingsToASN() 349 ballRadius = 0.4; in SetRenderingStyle() 702 atomStyle->radius = settings.ballRadius; in GetAtomStyle()
|
/dports/games/xpilot-ng-server/xpilot-ng-4.7.3/contrib/jxpmap/org/xpilot/jxpmap/ |
H A D | defopts | 148 ballRadius: 10.0
|