Home
last modified time | relevance | path

Searched refs:toMin (Results 1 – 25 of 87) sorted by relevance

1234

/dports/graphics/blender/blender-2.91.0/source/blender/gpu/shaders/material/
H A Dgpu_shader_material_map_range.glsl10 float toMin,
16 result = toMin + ((value - fromMin) / (fromMax - fromMin)) * (toMax - toMin);
26 float toMin,
34 result = toMin + factor * (toMax - toMin);
44 float toMin,
52 result = toMin + factor * (toMax - toMin);
62 float toMin,
70 result = toMin + factor * (toMax - toMin);
/dports/textproc/jade/jade-1.2.1/include/
H A DRangeMap.cxx27 to = r.toMin + (from - r.fromMin); in map()
53 if (r.toMin <= to && to <= r.toMin + (r.fromMax - r.fromMin)) { in inverseMap()
54 From n = r.fromMin + (to - r.toMin); in inverseMap()
74 else if (ret == 0 && r.toMin > to && (r.toMin - to < count)) in inverseMap()
75 count = r.toMin - to; in inverseMap()
90 void RangeMap<From, To>::addRange(From fromMin, From fromMax, To toMin) in addRange() argument
101 && ranges_[i - 1].toMin + (fromMin - ranges_[i - 1].fromMin) == toMin) { in addRange()
110 if (toMin + (ranges_[i].fromMin - fromMin) == ranges_[i].toMin) { in addRange()
120 if (ranges_[i].toMin + (fromMin - ranges_[i].fromMin) == toMin) { in addRange()
135 ranges_[i].toMin = toMin; in addRange()
H A DRangeMap.h21 To toMin; member
43 Boolean next(From &fromMin, From &fromMax, To &toMin) { in next() argument
49 toMin = ptr_->toMin; in next()
/dports/textproc/opensp/OpenSP-1.5.2/include/
H A DRangeMap.cxx28 to = r.toMin + (from - r.fromMin); in map()
54 if (r.toMin <= to && to <= r.toMin + (r.fromMax - r.fromMin)) { in inverseMap()
55 From n = r.fromMin + (to - r.toMin); in inverseMap()
75 else if (ret == 0 && r.toMin > to && (r.toMin - to < count)) in inverseMap()
76 count = r.toMin - to; in inverseMap()
91 void RangeMap<From, To>::addRange(From fromMin, From fromMax, To toMin) in addRange() argument
102 && ranges_[i - 1].toMin + (fromMin - ranges_[i - 1].fromMin) == toMin) { in addRange()
111 if (toMin + (ranges_[i].fromMin - fromMin) == ranges_[i].toMin) { in addRange()
121 if (ranges_[i].toMin + (fromMin - ranges_[i].fromMin) == toMin) { in addRange()
136 ranges_[i].toMin = toMin; in addRange()
H A DRangeMap.h22 To toMin; member
44 Boolean next(From &fromMin, From &fromMax, To &toMin) { in next() argument
50 toMin = ptr_->toMin; in next()
/dports/textproc/jade/jade-1.2.1/lib/
H A DUnivCharsetDesc.cxx103 UnivChar toMin = extractChar(tem, min); in univToDesc() local
104 if (toMin <= to && to <= toMin + (max - min)) { in univToDesc()
105 Char n = min + (to - toMin); in univToDesc()
129 else if (ret == 0 && toMin > to && toMin - to < count) in univToDesc()
130 count = toMin - to; in univToDesc()
/dports/textproc/opensp/OpenSP-1.5.2/lib/
H A DUnivCharsetDesc.cxx103 UnivChar toMin = extractChar(tem, min); in univToDesc() local
104 if (toMin <= to && to <= toMin + (max - min)) { in univToDesc()
105 Char n = min + (to - toMin); in univToDesc()
129 else if (ret == 0 && toMin > to && toMin - to < count) in univToDesc()
130 count = toMin - to; in univToDesc()
/dports/graphics/opencolorio/OpenColorIO-1.1.1/share/nuke/examples/
H A Docio_to_colorlookup_all.py21 def Fit(value, fromMin, fromMax, toMin, toMax): argument
24 return (value - fromMin) / (fromMax - fromMin) * (toMax - toMin) + toMin
/dports/graphics/opencolorio-tools/OpenColorIO-1.1.1/share/nuke/examples/
H A Docio_to_colorlookup_all.py21 def Fit(value, fromMin, fromMax, toMin, toMax): argument
24 return (value - fromMin) / (fromMax - fromMin) * (toMax - toMin) + toMin
/dports/graphics/photoflow/.build/data/ocio-configs/aces_0.7.1/luts/
H A Dslog2.py34 def Fit(value, fromMin, fromMax, toMin, toMax): argument
37 return (value - fromMin) / (fromMax - fromMin) * (toMax - toMin) + toMin
H A Dlogc800.py39 def Fit(value, fromMin, fromMax, toMin, toMax): argument
42 return (value - fromMin) / (fromMax - fromMin) * (toMax - toMin) + toMin
H A Dslog.py28 def Fit(value, fromMin, fromMax, toMin, toMax): argument
31 return (value - fromMin) / (fromMax - fromMin) * (toMax - toMin) + toMin
H A Dadx_cid_to_rle.py81 def Fit(value, fromMin, fromMax, toMin, toMax): argument
84 return (value - fromMin) / (fromMax - fromMin) * (toMax - toMin) + toMin
/dports/graphics/py-opencolorio/OpenColorIO-1.1.1/share/nuke/examples/
H A Docio_to_colorlookup_all.py21 def Fit(value, fromMin, fromMax, toMin, toMax): argument
24 return (value - fromMin) / (fromMax - fromMin) * (toMax - toMin) + toMin
/dports/graphics/photoflow/.build/data/ocio-configs/aces_0.1.1/luts/arri/
H A Dlogc800.py39 def Fit(value, fromMin, fromMax, toMin, toMax): argument
42 return (value - fromMin) / (fromMax - fromMin) * (toMax - toMin) + toMin
/dports/graphics/photoflow/.build/data/ocio-configs/aces_0.1.1/luts/sony/
H A Dslog1.py28 def Fit(value, fromMin, fromMax, toMin, toMax): argument
31 return (value - fromMin) / (fromMax - fromMin) * (toMax - toMin) + toMin
H A Dslog2.py12 def Fit(value, fromMin, fromMax, toMin, toMax): argument
15 return (value - fromMin) / (fromMax - fromMin) * (toMax - toMin) + toMin
/dports/graphics/photoflow/.build/data/ocio-configs/aces_0.1.1/luts/unbuild/
H A Dadx_cid_to_rle.py81 def Fit(value, fromMin, fromMax, toMin, toMax): argument
84 return (value - fromMin) / (fromMax - fromMin) * (toMax - toMin) + toMin
/dports/devel/icu/icu/source/test/cintltst/
H A Dutmstest.c187 … int64_t toMin = utmscale_getTimeScaleValue((UDateTimeScale)scale, UTSV_TO_MIN_VALUE, &status); in TestToLimits() local
190 toLimitTest(toMin, fromMin, (UDateTimeScale)scale); in TestToLimits()
269 int64_t toMin, toMax; in TestToInt64() local
272 toMin = utmscale_getTimeScaleValue((UDateTimeScale)scale, UTSV_TO_MIN_VALUE, &status); in TestToInt64()
282 result = utmscale_toInt64(toMin, (UDateTimeScale)scale, &status); in TestToInt64()
287 if (toMin > U_INT64_MIN) { in TestToInt64()
289 result = utmscale_toInt64(toMin - 1, (UDateTimeScale)scale, &status); in TestToInt64()
/dports/devel/icu-lx/icu/source/test/cintltst/
H A Dutmstest.c187 … int64_t toMin = utmscale_getTimeScaleValue((UDateTimeScale)scale, UTSV_TO_MIN_VALUE, &status); in TestToLimits() local
190 toLimitTest(toMin, fromMin, (UDateTimeScale)scale); in TestToLimits()
269 int64_t toMin, toMax; in TestToInt64() local
272 toMin = utmscale_getTimeScaleValue((UDateTimeScale)scale, UTSV_TO_MIN_VALUE, &status); in TestToInt64()
282 result = utmscale_toInt64(toMin, (UDateTimeScale)scale, &status); in TestToInt64()
287 if (toMin > U_INT64_MIN) { in TestToInt64()
289 result = utmscale_toInt64(toMin - 1, (UDateTimeScale)scale, &status); in TestToInt64()
/dports/games/0ad/0ad-0.0.23b-alpha/source/simulation2/helpers/
H A DSpatial.h157 void Add(uint32_t item, CFixedVector2D toMin, CFixedVector2D toMax) in Add() argument
159 ENSURE(toMin.X <= toMax.X && toMin.Y <= toMax.Y); in Add()
161 u32 i0 = GetI0(toMin.X); in Add()
162 u32 j0 = GetJ0(toMin.Y); in Add()
208 …void Move(uint32_t item, CFixedVector2D fromMin, CFixedVector2D fromMax, CFixedVector2D toMin, CFi… in Move() argument
211 if (GetIndex0(fromMin) == GetIndex0(toMin) && GetIndex1(fromMax) == GetIndex1(toMax)) in Move()
215 Add(item, toMin, toMax); in Move()
/dports/textproc/retext/retext-7.2.2/ReText/
H A Dsyncscroll.py72 def _linearScale(self, fromValue, fromMin, fromMax, toMin, toMax): argument
74 toRange = toMax - toMin
76 toValue = toMin
/dports/devel/fuzzylite/fuzzylite-6.0/fuzzylite/fl/
H A DOperation.h180 scalar toMin, scalar toMax);
197 scalar toMin, scalar toMax, bool bounded);
656 …inline scalar Operation::scale(scalar x, scalar fromMin, scalar fromMax, scalar toMin, scalar toMa… in scale() argument
657 return (toMax - toMin) / (fromMax - fromMin) * (x - fromMin) + toMin; in scale()
660 …inline scalar Operation::scale(scalar x, scalar fromMin, scalar fromMax, scalar toMin, scalar toMa… in scale() argument
661 scalar result = (toMax - toMin) / (fromMax - fromMin) * (x - fromMin) + toMin; in scale()
662 return bounded ? Op::bound(result, toMin, toMax) : result; in scale()
/dports/games/trenchbroom/TrenchBroom-ed46601/common/src/View/
H A DCreateEntityTool.cpp93 const Vec3 toMin = m_referenceBounds.min - pickRay.origin; in updateEntityPosition2D() local
95 …const Vec3 anchor = toMin.dot(pickRay.direction) > toMax.dot(pickRay.direction) ? m_referenceBound… in updateEntityPosition2D()
H A DMapView2D.cpp166 const Vec3 toMin = referenceBounds.min - pickRay.origin; in doGetPasteObjectsDelta() local
168 …const Vec3 anchor = toMin.dot(pickRay.direction) > toMax.dot(pickRay.direction) ? referenceBounds.… in doGetPasteObjectsDelta()
294 const Vec3 toMin = referenceBounds.min - pickRay.origin; in doComputePointEntityPosition() local
296 …const Vec3 anchor = toMin.dot(pickRay.direction) > toMax.dot(pickRay.direction) ? referenceBounds.… in doComputePointEntityPosition()

1234