Home
last modified time | relevance | path

Searched refs:closestX (Results 1 – 9 of 9) sorted by relevance

/dports/games/libretro-scummvm/scummvm-7b1e929/engines/sludge/
H A Dfloor.cpp284 bool FloorManager::closestPointOnLine(int &closestX, int &closestY, int x1, int y1, int x2, int y2,… in closestPointOnLine() argument
292 closestX = x1; in closestPointOnLine()
295 closestX = x2; in closestPointOnLine()
298 closestX = x1 + m * xDiff; in closestPointOnLine()
306 …int gotX = 320, gotY = 200, gotPoly = -1, i, j, xTest1, yTest1, xTest2, yTest2, closestX, closestY… in handleClosestPoint() local
315 closestPointOnLine(closestX, closestY, xTest1, yTest1, xTest2, yTest2, setX, setY); in handleClosestPoint()
316 xTest1 = setX - closestX; in handleClosestPoint()
322 gotX = closestX; in handleClosestPoint()
H A Dfloor.h72 …bool closestPointOnLine(int &closestX, int &closestY, int x1, int y1, int x2, int y2, int xP, int …
/dports/games/scummvm/scummvm-2.5.1/engines/sludge/
H A Dfloor.cpp303 bool FloorManager::closestPointOnLine(int &closestX, int &closestY, int x1, int y1, int x2, int y2,… in closestPointOnLine() argument
311 closestX = x1; in closestPointOnLine()
314 closestX = x2; in closestPointOnLine()
317 closestX = x1 + m * xDiff; in closestPointOnLine()
325 …int gotX = 320, gotY = 200, gotPoly = -1, i, j, xTest1, yTest1, xTest2, yTest2, closestX, closestY… in handleClosestPoint() local
334 closestPointOnLine(closestX, closestY, xTest1, yTest1, xTest2, yTest2, setX, setY); in handleClosestPoint()
335 xTest1 = setX - closestX; in handleClosestPoint()
341 gotX = closestX; in handleClosestPoint()
H A Dfloor.h76 …bool closestPointOnLine(int &closestX, int &closestY, int x1, int y1, int x2, int y2, int xP, int …
/dports/games/cultivation/Cultivation_8_UnixSource/game2/gameSource/
H A DSoilMap.cpp430 int closestX = -1; in getClosestBoundaryPoint() local
487 closestX = xIndex; in getClosestBoundaryPoint()
501 double worldX = (double)closestX / (double)mWaterBoundaryImageSize; in getClosestBoundaryPoint()
/dports/graphics/qgis/qgis-3.22.3/src/app/labeling/
H A Dqgsmaptoolmovelabel.cpp601 double closestX = 0; in snapCalloutPointToCommonAngle() local
616 closestX = minDistX; in snapCalloutPointToCommonAngle()
625 return QgsPointXY( closestX, closestY ); in snapCalloutPointToCommonAngle()
/dports/games/libretro-scummvm/scummvm-7b1e929/engines/bladerunner/
H A Dactor.cpp564 float closestX = x0; in loopWalkToSceneObject() local
569 closestX = x1; in loopWalkToSceneObject()
576 closestX = x1; in loopWalkToSceneObject()
583 closestX = x0; in loopWalkToSceneObject()
588 float y = _vm->_scene->_set->getAltitudeAtXZ(closestX, closestZ, &inWalkbox); in loopWalkToSceneObject()
589 Vector3 destination(closestX, y, closestZ); in loopWalkToSceneObject()
/dports/games/scummvm/scummvm-2.5.1/engines/bladerunner/
H A Dactor.cpp650 float closestX = x0; in loopWalkToSceneObject() local
655 closestX = x1; in loopWalkToSceneObject()
662 closestX = x1; in loopWalkToSceneObject()
669 closestX = x0; in loopWalkToSceneObject()
674 float y = _vm->_scene->_set->getAltitudeAtXZ(closestX, closestZ, &inWalkbox); in loopWalkToSceneObject()
675 Vector3 destination(closestX, y, closestZ); in loopWalkToSceneObject()
/dports/math/vtk9/VTK-9.1.0/Common/DataModel/
H A DvtkTriangle.cxx582 double closestX[3] = { 0., 0., 0. }; in IntersectWithLine() local
597 closestX[j] = x[j]; in IntersectWithLine()
614 x[i] = closestX[i]; in IntersectWithLine()