Home
last modified time | relevance | path

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

/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/skia/tests/
H A DRRectInPathTest.cpp285 SkPoint halfPoint = { SkScalarHalf(kWidth), SkScalarHalf(kHeight) }; in test_round_rect_basic() local
291 SkVector rr2_2_radii[4] = { { halfPoint.fX, halfPoint.fY }, in test_round_rect_basic()
292 { halfPoint.fX, halfPoint.fY }, in test_round_rect_basic()
293 { halfPoint.fX, halfPoint.fY }, in test_round_rect_basic()
294 { halfPoint.fX, halfPoint.fY } }; in test_round_rect_basic()
298 rr2_3.setNinePatch(rect, halfPoint.fX, halfPoint.fY, halfPoint.fX, halfPoint.fY); in test_round_rect_basic()
H A DRoundRectTest.cpp210 SkPoint halfPoint = { SkScalarHalf(kWidth), SkScalarHalf(kHeight) }; in test_round_rect_basic() local
220 halfPoint)); in test_round_rect_basic()
223 SkVector rr2_2_radii[4] = { { halfPoint.fX, halfPoint.fY }, { halfPoint.fX, halfPoint.fY }, in test_round_rect_basic()
224 { halfPoint.fX, halfPoint.fY }, { halfPoint.fX, halfPoint.fY } }; in test_round_rect_basic()
228 rr2_3.setNinePatch(rect, halfPoint.fX, halfPoint.fY, halfPoint.fX, halfPoint.fY); in test_round_rect_basic()
/dports/games/dhewm3/dhewm3-1.5.1/neo/game/
H A DSecurityCamera.cpp231 idVec3 lastPoint, point, lastHalfPoint, halfPoint, center; in DrawFov() local
255 halfPoint = dir + right * s * halfRadius + up * c * halfRadius; in DrawFov()
256 halfPoint.Normalize(); in DrawFov()
257 halfPoint = GetPhysics()->GetOrigin() + halfPoint * scanDist; in DrawFov()
258 gameRenderWorld->DebugLine( color2, point, halfPoint ); in DrawFov()
259 gameRenderWorld->DebugLine( color2, lastHalfPoint, halfPoint ); in DrawFov()
260 lastHalfPoint = halfPoint; in DrawFov()
262 gameRenderWorld->DebugLine( color2, halfPoint, center ); in DrawFov()
/dports/games/dhewm3/dhewm3-1.5.1/neo/d3xp/
H A DSecurityCamera.cpp231 idVec3 lastPoint, point, lastHalfPoint, halfPoint, center; in DrawFov() local
255 halfPoint = dir + right * s * halfRadius + up * c * halfRadius; in DrawFov()
256 halfPoint.Normalize(); in DrawFov()
257 halfPoint = GetPhysics()->GetOrigin() + halfPoint * scanDist; in DrawFov()
258 gameRenderWorld->DebugLine( color2, point, halfPoint ); in DrawFov()
259 gameRenderWorld->DebugLine( color2, lastHalfPoint, halfPoint ); in DrawFov()
260 lastHalfPoint = halfPoint; in DrawFov()
262 gameRenderWorld->DebugLine( color2, halfPoint, center ); in DrawFov()
/dports/devel/stb/stb-f54acd4/
H A Dstb_dxt.h226 int c0Point, halfPoint, c3Point; in stb__MatchColorsBlock() local
243 halfPoint = (stops[3] + stops[2]) >> 1; in stb__MatchColorsBlock()
252 if(dot < halfPoint) in stb__MatchColorsBlock()
263 halfPoint <<= 4; in stb__MatchColorsBlock()
273 if(dot < halfPoint) in stb__MatchColorsBlock()
281 if(dot < halfPoint) in stb__MatchColorsBlock()
289 if(dot < halfPoint) in stb__MatchColorsBlock()
297 if(dot < halfPoint) in stb__MatchColorsBlock()
/dports/net-im/uTox/uTox/third-party/stb/
H A Dstb_dxt.h222 int c0Point, halfPoint, c3Point; in stb__MatchColorsBlock() local
239 halfPoint = (stops[3] + stops[2]) >> 1; in stb__MatchColorsBlock()
248 if(dot < halfPoint) in stb__MatchColorsBlock()
259 halfPoint <<= 4; in stb__MatchColorsBlock()
269 if(dot < halfPoint) in stb__MatchColorsBlock()
277 if(dot < halfPoint) in stb__MatchColorsBlock()
285 if(dot < halfPoint) in stb__MatchColorsBlock()
293 if(dot < halfPoint) in stb__MatchColorsBlock()
/dports/cad/cura-engine/CuraEngine-fadb5d6b/include/stb/
H A Dstb_dxt.h224 int c0Point, halfPoint, c3Point; in stb__MatchColorsBlock() local
241 halfPoint = (stops[3] + stops[2]) >> 1; in stb__MatchColorsBlock()
250 if(dot < halfPoint) in stb__MatchColorsBlock()
261 halfPoint <<= 4; in stb__MatchColorsBlock()
271 if(dot < halfPoint) in stb__MatchColorsBlock()
279 if(dot < halfPoint) in stb__MatchColorsBlock()
287 if(dot < halfPoint) in stb__MatchColorsBlock()
295 if(dot < halfPoint) in stb__MatchColorsBlock()
/dports/security/ridl/ridl-11b3240/stb/
H A Dstb_dxt.h224 int c0Point, halfPoint, c3Point; in stb__MatchColorsBlock() local
241 halfPoint = (stops[3] + stops[2]) >> 1; in stb__MatchColorsBlock()
250 if(dot < halfPoint) in stb__MatchColorsBlock()
261 halfPoint <<= 4; in stb__MatchColorsBlock()
271 if(dot < halfPoint) in stb__MatchColorsBlock()
279 if(dot < halfPoint) in stb__MatchColorsBlock()
287 if(dot < halfPoint) in stb__MatchColorsBlock()
295 if(dot < halfPoint) in stb__MatchColorsBlock()
/dports/cad/PrusaSlicer/PrusaSlicer-version_2.3.3/src/stb_dxt/
H A Dstb_dxt.h233 int c0Point, halfPoint, c3Point; in stb__MatchColorsBlock() local
250 halfPoint = (stops[3] + stops[2]) >> 1; in stb__MatchColorsBlock()
265 int bits =( (dot < halfPoint) ? 4 : 0 ) in stb__MatchColorsBlock()
277 if(dot < halfPoint) in stb__MatchColorsBlock()
290 halfPoint <<= 4; in stb__MatchColorsBlock()
300 if(dot < halfPoint) in stb__MatchColorsBlock()
308 if(dot < halfPoint) in stb__MatchColorsBlock()
316 if(dot < halfPoint) in stb__MatchColorsBlock()
324 if(dot < halfPoint) in stb__MatchColorsBlock()