/dports/japanese/im-ja/im-ja-1.5/src/kanjipad/ |
H A D | util.c | 70 Long Angle32(Long xdif, Long ydif) { in Angle32() argument 76 if ((yneg = (ydif < -0.1))) in Angle32() 77 ydif = -ydif; in Angle32() 78 if ((xyflip = (ydif < xdif))) { in Angle32() 79 xtmp = xdif; xdif = ydif; ydif = xtmp; in Angle32() 83 if (ydif == 0) in Angle32() 96 islope = (100 * xdif) / ydif; in Angle32()
|
H A D | jstroke.h | 118 Long Angle32(Long xdif, Long ydif);
|
/dports/games/scummvm/scummvm-2.5.1/engines/griffon/ |
H A D | logic.cpp | 197 if (ydif < 4) in updateNPCs() 199 if (ydif > -4) in updateNPCs() 207 if (ydif < 4) in updateNPCs() 209 if (ydif > -4) in updateNPCs() 275 if (ydif < 4) in updateNPCs() 285 if (ydif < 4) in updateNPCs() 287 if (ydif > -4) in updateNPCs() 565 float dist = sqrt(xdif * xdif + ydif * ydif); in updateNPCs() 671 float dist = sqrt(xdif * xdif + ydif * ydif); in updateNPCs() 851 float dist = sqrt(xdif * xdif + ydif * ydif); in updateNPCs() [all …]
|
H A D | input.cpp | 504 int ydif = _player.py - npy; in handleWalking() local 507 if (ABS(xdif) <= 8 && ydif > 0 && ydif < 8) in handleWalking() 510 if (ABS(xdif) <= 8 && ydif < 0 && ydif > -8) in handleWalking() 513 if (ABS(ydif) <= 8 && xdif > 0 && xdif < 8) in handleWalking() 516 if (ABS(ydif) <= 8 && xdif < 0 && xdif > -8) in handleWalking()
|
H A D | gfx.cpp | 130 int ydif = y2 - y1; in drawLine() local 139 if (ydif == 0) { in drawLine()
|
H A D | combat.cpp | 511 float ydif = _player.py - npy; in checkHit() local 526 if (ABS(xdif) <= 8 && ydif >= 0 && ydif < 8) in checkHit() 529 if (ABS(xdif) <= 8 && ydif <= 0 && ydif > -8) in checkHit() 532 if (ABS(ydif) <= 8 && xdif >= -8 && xdif < 8) in checkHit() 535 if (ABS(ydif) <= 8 && xdif <= 8 && xdif > -8) in checkHit()
|
/dports/editors/yudit/yudit-3.0.7/bin/ |
H A D | angles.pl | 68 my ($xdif, $ydif) = @_; 75 if ($ydif < -0.1) { 76 $ydif = -$ydif; $yneg = 1; 78 if (int($ydif) < int($xdif)) { 79 $xtmp = $xdif; $xdif = $ydif; $ydif = $xtmp; $xyflip = 1; 83 if (-0.1 < $ydif && $ydif < 0.1) { 95 $islope = int ((100 * $xdif) / $ydif);
|
/dports/math/chaco/Chaco-2.2/code/inertial/ |
H A D | inertial3d.c | 31 double xdif, ydif; /* deviation from center of mass */ local 72 ydif = y[i] - ycm; 75 yy += graph[i]->vwgt * ydif * ydif; 77 xy += graph[i]->vwgt * xdif * ydif; 79 yz += graph[i]->vwgt * ydif * zdif; 85 ydif = y[i] - ycm; 88 yy += ydif * ydif; 90 xy += xdif * ydif; 92 yz += ydif * zdif;
|
H A D | inertial2d.c | 30 double xdif, ydif; /* deviation from center of mass */ local 68 ydif = y[i] - ycm; 70 yy += graph[i]->vwgt * ydif * ydif; 71 xy += graph[i]->vwgt * xdif * ydif; 77 ydif = y[i] - ycm; 79 yy += ydif * ydif; 80 xy += xdif * ydif;
|
/dports/science/cdk/cdk-cdk-2.3/descriptor/qsarmolecular/src/main/java/org/openscience/cdk/qsar/descriptors/molecular/ |
H A D | MomentOfInertiaDescriptor.java | 195 double ydif; in calculate() local 208 ydif = currentAtom.getPoint3d().y - centerOfMass.y; in calculate() 211 ysq = ydif * ydif; in calculate() 218 imat[1][0] += -1 * mass * ydif * xdif; in calculate() 224 imat[2][1] += -1 * mass * ydif * zdif; in calculate()
|
/dports/devel/upp/upp/bazaar/PixRaster/lib/ |
H A D | rotateamlow.c | 59 l_int32 xdif, ydif, xpm, ypm, xp, yp, xf, yf; in rotateAMColorLow() local 73 ydif = ycen - i; in rotateAMColorLow() 77 xpm = (l_int32)(-xdif * cosa - ydif * sina); in rotateAMColorLow() 78 ypm = (l_int32)(-ydif * cosa + xdif * sina); in rotateAMColorLow() 135 l_int32 xdif, ydif, xpm, ypm, xp, yp, xf, yf; in rotateAMGrayLow() local 149 ydif = ycen - i; in rotateAMGrayLow() 153 xpm = (l_int32)(-xdif * cosa - ydif * sina); in rotateAMGrayLow() 154 ypm = (l_int32)(-ydif * cosa + xdif * sina); in rotateAMGrayLow() 404 l_int32 xdif, ydif, xpm, ypm, xp, yp, xf, yf; in rotateAMColorFastLow() local 417 ydif = ycen - i; in rotateAMColorFastLow() [all …]
|
H A D | boxfunc2.c | 257 l_float32 sina, cosa, xdif, ydif, rx, ry, rw, rh; in boxTransformOrdered() local 285 ydif = ty + 0.5 * th - ycent; in boxTransformOrdered() 305 ydif = ty + 0.5 * th - ycent; in boxTransformOrdered() 323 ydif = by + 0.5 * bh - ycen; in boxTransformOrdered() 326 rx = xcen + xdif * cosa - ydif * sina - 0.5 * rw; in boxTransformOrdered() 327 ry = ycen + ydif * cosa + xdif * sina - 0.5 * rh; in boxTransformOrdered() 344 ydif = by + 0.5 * bh - ycen; in boxTransformOrdered() 347 rx = xcen + xdif * cosa - ydif * sina - 0.5 * rw; in boxTransformOrdered() 348 ry = ycen + ydif * cosa + xdif * sina - 0.5 * rh; in boxTransformOrdered() 367 ydif = ty + 0.5 * bh - ycen; in boxTransformOrdered() [all …]
|
H A D | rotate.c | 294 l_int32 w, h, d, i, j, x, y, xdif, ydif, wm1, hm1, wpld; in pixRotateBySampling() local 330 ydif = ycen - i; in pixRotateBySampling() 333 x = xcen + (l_int32)(-xdif * cosa - ydif * sina); in pixRotateBySampling() 335 y = ycen + (l_int32)(-ydif * cosa + xdif * sina); in pixRotateBySampling() 353 ydif = ycen - i; in pixRotateBySampling() 356 x = xcen + (l_int32)(-xdif * cosa - ydif * sina); in pixRotateBySampling() 358 y = ycen + (l_int32)(-ydif * cosa + xdif * sina); in pixRotateBySampling()
|
/dports/games/spring/spring_98.0/rts/Rendering/Env/ |
H A D | CubeMapHandler.cpp | 262 const float3& ydif, in CreateSpecularFacePart() argument 268 const float3 dir = (cdir + (xdif * (x + 0.5f)) / size + (ydif * (y + 0.5f)) / size).Normalize(); in CreateSpecularFacePart() 284 const float3& ydif) in CreateSpecularFace() argument 289 CreateSpecularFacePart(texType, size, cdir, xdif, ydif, y, &buf[y * size * 4]); in CreateSpecularFace() 301 const float3& ydif, in UpdateSpecularFace() argument 305 CreateSpecularFacePart(texType, size, cdir, xdif, ydif, y, buf); in UpdateSpecularFace()
|
H A D | BasicSky.cpp | 323 int yam2 = ydif[(ast - 2) & CLOUD_MASK]; in UpdatePart() 324 int yam1 = ydif[(ast - 1) & CLOUD_MASK]; in UpdatePart() 325 int yaa = ydif[(ast) & CLOUD_MASK]; in UpdatePart() 335 …int yap1 = ydif[ap1] += (int) cloudThickness[a3c += 4] - cloudThickness[a += 4] * 2 + cloudThickne… in UpdatePart() 344 (ydif[ap1] >> 2); in UpdatePart() 462 ydif[a] = in Update() 472 …ydif[0] += cloudThickness[(0+CLOUD_SIZE*(CLOUD_SIZE-3))*4+3] - cloudThickness[0*4+3]*2 + cloudThic… in Update()
|
H A D | AdvSky.cpp | 337 int yam2 = ydif[(ast - 2) & CLOUD_MASK]; in UpdatePart() 338 int yam1 = ydif[(ast - 1) & CLOUD_MASK]; in UpdatePart() 339 int yaa = ydif[(ast) & CLOUD_MASK]; in UpdatePart() 346 …int yap1 = ydif[ap1] += (int) cloudThickness[++a3c] - cloudThickness[++a] * 2 + cloudThickness[++a… in UpdatePart() 355 (ydif[ap1] >> 2); in UpdatePart() 472 ydif[a] = in Update() 482 …ydif[0] += cloudThickness[0+CLOUD_SIZE*(CLOUD_SIZE-3)] - cloudThickness[0]*2 + cloudThickness[0+4*… in Update()
|
H A D | BasicSky.h | 77 int ydif[CLOUD_SIZE]; variable
|
H A D | AdvSky.h | 92 int ydif[CLOUD_SIZE]; variable
|
/dports/graphics/leptonica/leptonica-1.76.0/src/ |
H A D | rotate.c | 328 l_int32 w, h, d, i, j, x, y, xdif, ydif, wm1, hm1, wpld; in pixRotateBySampling() local 364 ydif = ycen - i; in pixRotateBySampling() 367 x = xcen + (l_int32)(-xdif * cosa - ydif * sina); in pixRotateBySampling() 369 y = ycen + (l_int32)(-ydif * cosa + xdif * sina); in pixRotateBySampling() 386 ydif = ycen - i; in pixRotateBySampling() 389 x = xcen + (l_int32)(-xdif * cosa - ydif * sina); in pixRotateBySampling() 391 y = ycen + (l_int32)(-ydif * cosa + xdif * sina); in pixRotateBySampling()
|
H A D | boxfunc2.c | 292 l_float32 sina, cosa, xdif, ydif, rx, ry, rw, rh; in boxTransformOrdered() local 322 ydif = ty + 0.5 * th - ycent; in boxTransformOrdered() 341 ydif = ty + 0.5 * th - ycent; in boxTransformOrdered() 357 ydif = by + 0.5 * bh - ycen; in boxTransformOrdered() 360 rx = xcen + xdif * cosa - ydif * sina - 0.5 * rw; in boxTransformOrdered() 361 ry = ycen + ydif * cosa + xdif * sina - 0.5 * rh; in boxTransformOrdered() 376 ydif = by + 0.5 * bh - ycen; in boxTransformOrdered() 379 rx = xcen + xdif * cosa - ydif * sina - 0.5 * rw; in boxTransformOrdered() 380 ry = ycen + ydif * cosa + xdif * sina - 0.5 * rh; in boxTransformOrdered() 397 ydif = ty + 0.5 * bh - ycen; in boxTransformOrdered() [all …]
|
H A D | rotateam.c | 308 l_int32 xdif, ydif, xpm, ypm, xp, yp, xf, yf; in rotateAMColorLow() local 322 ydif = ycen - i; in rotateAMColorLow() 326 xpm = (l_int32)(-xdif * cosa - ydif * sina); in rotateAMColorLow() 327 ypm = (l_int32)(-ydif * cosa + xdif * sina); in rotateAMColorLow() 379 l_int32 xdif, ydif, xpm, ypm, xp, yp, xf, yf; in rotateAMGrayLow() local 393 ydif = ycen - i; in rotateAMGrayLow() 397 xpm = (l_int32)(-xdif * cosa - ydif * sina); in rotateAMGrayLow() 398 ypm = (l_int32)(-ydif * cosa + xdif * sina); in rotateAMGrayLow() 850 l_int32 xdif, ydif, xpm, ypm, xp, yp, xf, yf; in rotateAMColorFastLow() local 863 ydif = ycen - i; in rotateAMColorFastLow() [all …]
|
/dports/graphics/leptonica/leptonica-1.76.0/prog/ |
H A D | rotatefastalt.c | 204 l_int32 xdif, ydif, xpm, ypm, xp, yp, xf, yf; in rotateAMColorFastLow2() local 218 ydif = ycen - i; in rotateAMColorFastLow2() 222 xpm = (l_int32)(-xdif * cosa - ydif * sina + 0.5); in rotateAMColorFastLow2() 223 ypm = (l_int32)(-ydif * cosa + xdif * sina + 0.5); in rotateAMColorFastLow2()
|
/dports/games/icebreaker/icebreaker-1.9.8/ |
H A D | level.c | 679 int x,y,xdif,ydif; in levelaction_startclick() local 683 xdif=mousex-x; ydif=mousey-y; in levelaction_startclick() 695 (ydif<BLOCKHEIGHT/2) ? startline(&line1,UP,x,y) : startline(&line1,UP,x,y+BLOCKHEIGHT); in levelaction_startclick() 697 (ydif<BLOCKHEIGHT/2) ? startline(&line2,DOWN,x,y) : startline(&line2,DOWN,x,y+BLOCKHEIGHT); in levelaction_startclick()
|
/dports/science/tinker/tinker/other/ |
H A D | virial2.f | 50 real*8 xdif,ydif,zdif,bolt 317 ydif = yicm - yjcm 321 y(m) = y(m) + ydif
|
/dports/games/libretro-scummvm/scummvm-7b1e929/engines/cine/ |
H A D | various.cpp | 224 int16 objX, objY, frame, part, threshold, height, xdif, ydif; in getObjectUnderCursor() local 258 ydif = y - objY; in getObjectUnderCursor() 260 …if ((xdif < 0) || ((threshold << 4) <= xdif) || (ydif <= 0) || (ydif >= height) || !g_cine->_animD… in getObjectUnderCursor() 272 if (it->type == 0 && g_cine->_animDataTable[frame].getColor(xdif, ydif) != (part & 0x0F)) { in getObjectUnderCursor() 274 …} else if (it->type == 1 && gfxGetBit(xdif, ydif, g_cine->_animDataTable[frame].data(), g_cine->_a… in getObjectUnderCursor() 278 …if (gfxGetBit(xdif, ydif, g_cine->_animDataTable[frame].mask(), g_cine->_animDataTable[frame]._wid… in getObjectUnderCursor() 282 …if (gfxGetBit(xdif, ydif, g_cine->_animDataTable[frame].data(), g_cine->_animDataTable[frame]._wid… in getObjectUnderCursor()
|