Home
last modified time | relevance | path

Searched refs:oldDist (Results 1 – 22 of 22) sorted by relevance

/dports/www/beehive/beehive-0.4.0/vendor/github.com/golang/freetype/truetype/
H A Dhint.go658 if oldDist != 0 {
662 newDist = -oldDist
731 distance = oldDist
1147 oldDist := fixed.Int26_6(0)
1156 oldDist = h.font.scale(h.scale * oldDist)
1161 if oldDist >= 0 {
1170 distance := oldDist
1172 distance = h.round(oldDist)
1177 if oldDist >= 0 {
1245 distance = oldDist
[all …]
/dports/www/mattermost-server/mattermost-server-6.0.2/vendor/github.com/golang/freetype/truetype/
H A Dhint.go658 if oldDist != 0 {
662 newDist = -oldDist
731 distance = oldDist
1147 oldDist := fixed.Int26_6(0)
1156 oldDist = h.font.scale(h.scale * oldDist)
1161 if oldDist >= 0 {
1170 distance := oldDist
1172 distance = h.round(oldDist)
1177 if oldDist >= 0 {
1245 distance = oldDist
[all …]
/dports/net-mgmt/bosun/bosun-0.9.0-preview/vendor/github.com/golang/freetype/truetype/
H A Dhint.go651 if oldDist != 0 {
655 newDist = -oldDist
724 distance = oldDist
1140 oldDist := fixed.Int26_6(0)
1149 oldDist = h.font.scale(h.scale * oldDist)
1154 if oldDist >= 0 {
1163 distance := oldDist
1165 distance = h.round(oldDist)
1170 if oldDist >= 0 {
1238 distance = oldDist
[all …]
/dports/games/ecwolf/ecwolf-1.3.3-src/android-libs/TouchControls/
H A DTouchControls.cpp295 oldDist.x = fabs(finger1.x - finger2.x); in processPointer()
296 oldDist.y = fabs(finger1.y - finger2.y); in processPointer()
347 if (fabs(newDistX - oldDist.x)>((float)1/(float)ScaleX)) in processPointer()
349 selectedCtrl->controlPos.right += (newDistX - oldDist.x); in processPointer()
350 oldDist.x = newDistX; in processPointer()
363 if (fabs(newDistY - oldDist.y)>((float)1/(float)ScaleY)) in processPointer()
365 selectedCtrl->controlPos.bottom += (newDistY - oldDist.y); in processPointer()
366 oldDist.y = newDistY; in processPointer()
H A DTouchControls.h68 PointF oldDist; variable
/dports/graphics/radiance/radiance-baf2c40/resources/library/effects/
H A Dscramble.glsl36 float oldDist = distance(newColor.xy, uv);
38 float improvement = oldDist - newDist; // positive means reverting to normal
/dports/math/vtk6/VTK-6.2.0/Interaction/Style/
H A DvtkInteractorStyleMultiTouchCamera.cxx209 …double oldDist = distance2D(rwi->GetLastEventPositions(otherPI), rwi->GetLastEventPositions(eventP… in AdjustCamera() local
212 double dyf = newDist/oldDist; in AdjustCamera()
/dports/audio/tiatracker/tiatracker-1.3/
H A Dwaveformshaper.cpp132 TiaSound::Distortion oldDist = (*values)[column]; in wheelEvent() local
133 int oldIndex = PercussionTab::availableWaveforms.indexOf(oldDist); in wheelEvent()
/dports/games/hyperrogue/hyperrogue-12.0f/devmods/
H A Dautoplay.cpp140 int oldDist = celldistAltRelative(cwt.at); in cellToTarget() local
141 if (oldDist > 3) { in cellToTarget()
146 printf("Trying to teleport near the round table (%d to %d)\n", oldDist, dist); in cellToTarget()
/dports/games/gemrb/gemrb-0.9.0/gemrb/core/
H A DPathFinder.cpp331 unsigned short oldDist = distFromStart[smptChild.y * Width + smptChild.x]; in FindPath() local
336 if (newDist < oldDist) { in FindPath()
343 if (newDist < oldDist) { in FindPath()
349 if (distFromStart[smptChild.y * Width + smptChild.x] < oldDist) { in FindPath()
/dports/graphics/digikam/digikam-7.4.0/core/libs/widgets/colors/
H A Ddgradientslider.cpp281 double oldDist = d->rightCursor - d->leftCursor; in adjustMiddleValue() local
283 d->middleCursor = oldPos * newDist / oldDist + newLeftValue; in adjustMiddleValue()
/dports/games/0ad/0ad-0.0.23b-alpha/source/ps/
H A DTouchInput.cpp149 float oldDist = (m_Prev[id] - m_Pos[1 - id]).Length(); in OnFingerMotion() local
151 float zoomDist = (newDist - oldDist) * -0.005f * m_PanDist; in OnFingerMotion()
/dports/cad/magic/magic-8.3.245/extract/
H A DExtLength.c1009 extPathTileDist(p1, p2, tile, oldDist) in extPathTileDist() argument
1012 int oldDist;
1016 newDist = oldDist + ABSDIFF(p1->p_x, p2->p_x) + ABSDIFF(p1->p_y, p2->p_y);
/dports/devel/vcglib/vcglib-2020.09/vcg/complex/algorithms/
H A Disotropic_remeshing.h555 int oldDist = 0, newDist = 0, idealV, actualV; in testSwap() local
565 oldDist += abs(idealV - actualV); newDist += abs(idealV - (actualV - 1)); in testSwap()
571 oldDist += abs(idealV - actualV); newDist += abs(idealV - (actualV + 1)); in testSwap()
577 oldDist += abs(idealV - actualV); newDist += abs(idealV - (actualV - 1)); in testSwap()
583 oldDist += abs(idealV - actualV); newDist += abs(idealV - (actualV + 1)); in testSwap()
588 return (newDist < oldDist && qNew >= qOld * 0.50f) || in testSwap()
589 (newDist == oldDist && qNew > qOld * 1.f) || qNew > 1.5f * qOld; in testSwap()
/dports/net/yggdrasil/yggdrasil-go-0.3.11/misc/sim/
H A Dtreesim-forward.py210 oldDist = len(oldPeer.coords)
218 elif newDist < oldDist: current[coord] = (peer.nodeID, next)
219 elif newDist == oldDist and newDeg > oldDeg: current[coord] = (peer.nodeID, next)
/dports/science/py-ase/ase-3.22.0/ase/
H A Datoms.py1806 oldDist = self.get_distance(a0, a1, mic=mic)
1808 newDist = oldDist * distance
1810 newDist = oldDist + distance
/dports/games/barony/Barony-3.3.7/src/
H A Dactgeneral.cpp1407 real_t oldDist = dist; in handleTextSourceScript() local
1409 if ( dist < sightrange && dist <= oldDist ) in handleTextSourceScript()
1423 dist = oldDist; in handleTextSourceScript()
H A Dactmonster.cpp3824 real_t oldDist = dist; in actMonster() local
3826 if ( dist < sightranges[myStats->type] && dist <= oldDist ) in actMonster()
5651 real_t oldDist = dist; in actMonster() local
5653 if ( dist < sightranges[myStats->type] && dist <= oldDist ) in actMonster()
5687 real_t oldDist = dist; in actMonster() local
5689 if ( dist < sightranges[myStats->type] && dist <= oldDist ) in actMonster()
5776 real_t oldDist = dist; in actMonster() local
5778 if ( dist < sightranges[myStats->type] && dist <= oldDist ) in actMonster()
/dports/devel/stack/stack-2.7.3/src/Stack/Build/
H A DExecute.hs1088 let oldDist = dir </> relDirDist function
1090 exists <- doesDirExist oldDist
1098 renameDir oldDist newDist
/dports/games/scummvm/scummvm-2.5.1/engines/grim/
H A Dactor.cpp874 float oldDist = dist; in walkForward() local
945 if (oldDist <= dist + 0.001f) { in walkForward()
/dports/games/residualvm/residualvm-0.3.1/engines/grim/
H A Dactor.cpp874 float oldDist = dist; in walkForward() local
945 if (oldDist <= dist + 0.001f) { in walkForward()
/dports/misc/openvdb/openvdb-9.0.0/openvdb/openvdb/tools/
H A DMeshToVolume.h2182 const ValueType oldDist = data.distAcc.getValue(ijk); in updateDistance() local
2184 if (dist < oldDist) { in updateDistance()
2187 } else if (math::isExactlyEqual(dist, oldDist)) { in updateDistance()