Home
last modified time | relevance | path

Searched refs:p1y (Results 1 – 15 of 15) sorted by relevance

/external/libgdx/gdx/src/com/badlogic/gdx/math/
DEarClippingTriangulator.java159 float p1x = vertices[p1], p1y = vertices[p1 + 1]; in isEarTip() local
175 if (computeSpannedAreaSign(p3x, p3y, p1x, p1y, vx, vy) >= 0) { in isEarTip()
176 if (computeSpannedAreaSign(p1x, p1y, p2x, p2y, vx, vy) >= 0) { in isEarTip()
208 float area = 0, p1x, p1y, p2x, p2y; in areVerticesClockwise() local
211 p1y = vertices[i + 1]; in areVerticesClockwise()
214 area += p1x * p2y - p2x * p1y; in areVerticesClockwise()
217 p1y = vertices[offset + count - 1]; in areVerticesClockwise()
220 return area + p1x * p2y - p2x * p1y < 0; in areVerticesClockwise()
223 …static private int computeSpannedAreaSign (float p1x, float p1y, float p2x, float p2y, float p3x, … in computeSpannedAreaSign() argument
225 area += p2x * (p1y - p3y); in computeSpannedAreaSign()
[all …]
DGeometryUtils.java213 float area = 0, p1x, p1y, p2x, p2y; in areVerticesClockwise() local
216 p1y = polygon[i + 1]; in areVerticesClockwise()
219 area += p1x * p2y - p2x * p1y; in areVerticesClockwise()
222 p1y = polygon[count - 1]; in areVerticesClockwise()
225 return area + p1x * p2y - p2x * p1y < 0; in areVerticesClockwise()
DConvexHull.java157 float p1y = hull.get(size - 3); in ccw() local
160 return (p2x - p1x) * (p3y - p1y) - (p2y - p1y) * (p3x - p1x); in ccw()
/external/libgdx/extensions/gdx-box2d/gdx-box2d-gwt/src/com/badlogic/gdx/physics/box2d/gwt/emu/org/jbox2d/collision/broadphase/
DDynamicTreeFlatNodes.java207 float p1x = p1.x, p2x = p2.x, p1y = p1.y, p2y = p2.y; in raycast() local
215 r.y = p2y - p1y; in raycast()
240 tempy = (p2y - p1y) * maxFraction + p1y; in raycast()
242 segAABB.lowerBound.y = p1y < tempy ? p1y : tempy; in raycast()
244 segAABB.upperBound.y = p1y > tempy ? p1y : tempy; in raycast()
269 tempy = p1y - cy; in raycast()
278 subInput.p1.y = p1y; in raycast()
297 tempy = (p2y - p1y) * maxFraction + p1y; in raycast()
299 segAABB.lowerBound.y = p1y < tempy ? p1y : tempy; in raycast()
301 segAABB.upperBound.y = p1y > tempy ? p1y : tempy; in raycast()
DDynamicTree.java200 float p1x = p1.x, p2x = p2.x, p1y = p1.y, p2y = p2.y; in raycast() local
208 r.y = p2y - p1y; in raycast()
233 tempy = (p2y - p1y) * maxFraction + p1y; in raycast()
235 segAABB.lowerBound.y = p1y < tempy ? p1y : tempy; in raycast()
237 segAABB.upperBound.y = p1y > tempy ? p1y : tempy; in raycast()
262 tempy = p1y - cy; in raycast()
270 subInput.p1.y = p1y; in raycast()
289 tempy = (p2y - p1y) * maxFraction + p1y; in raycast()
291 segAABB.lowerBound.y = p1y < tempy ? p1y : tempy; in raycast()
293 segAABB.upperBound.y = p1y > tempy ? p1y : tempy; in raycast()
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/g2d/
DSpriteBatch.java258 final float p1y = fy; in draw() local
280 x1 = cos * p1x - sin * p1y; in draw()
281 y1 = sin * p1x + cos * p1y; in draw()
293 y1 = p1y; in draw()
670 final float p1y = fy; in draw() local
692 x1 = cos * p1x - sin * p1y; in draw()
693 y1 = sin * p1x + cos * p1y; in draw()
705 y1 = p1y; in draw()
790 final float p1y = fy; in draw() local
812 x1 = cos * p1x - sin * p1y; in draw()
[all …]
DCpuSpriteBatch.java313 final float p1y = fy; in drawAdjustedUV() local
335 x1 = cos * p1x - sin * p1y; in drawAdjustedUV()
336 y1 = sin * p1x + cos * p1y; in drawAdjustedUV()
348 y1 = p1y; in drawAdjustedUV()
435 final float p1y = fy; in drawAdjusted() local
457 x1 = cos * p1x - sin * p1y; in drawAdjusted()
458 y1 = sin * p1x + cos * p1y; in drawAdjusted()
470 y1 = p1y; in drawAdjusted()
DPolygonSpriteBatch.java403 final float p1y = fy; in draw() local
425 x1 = cos * p1x - sin * p1y; in draw()
426 y1 = sin * p1x + cos * p1y; in draw()
438 y1 = p1y; in draw()
881 final float p1y = fy; in draw() local
903 x1 = cos * p1x - sin * p1y; in draw()
904 y1 = sin * p1x + cos * p1y; in draw()
916 y1 = p1y; in draw()
1012 final float p1y = fy; in draw() local
1034 x1 = cos * p1x - sin * p1y; in draw()
[all …]
DSpriteCache.java518 final float p1y = fy; in add() local
540 x1 = cos * p1x - sin * p1y; in add()
541 y1 = sin * p1x + cos * p1y; in add()
553 y1 = p1y; in add()
723 final float p1y = fy; in add() local
745 x1 = cos * p1x - sin * p1y; in add()
746 y1 = sin * p1x + cos * p1y; in add()
758 y1 = p1y; in add()
/external/libgdx/extensions/gdx-box2d/gdx-box2d-gwt/src/com/badlogic/gdx/physics/box2d/gwt/emu/org/jbox2d/collision/shapes/
DEdgeShape.java144 final float p1y = -xfq.s * tempx + xfq.c * tempy; in raycast() local
152 final float dy = p2y - p1y; in raycast()
166 tempy = v1.y - p1y; in raycast()
181 final float qy = p1y + t * dy; in raycast()
DPolygonShape.java443 final float p1y = -xfqs * tempx + xfqc * tempy; in raycast() local
451 final float dy = p2y - p1y; in raycast()
464 float tempyn = vertex.y - p1y; in raycast()
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/
DPolygonRegionTest.java204 final float p1y = fy1; in draw() local
223 x1 = cos * p1x - sin * p1y; in draw()
224 y1 = sin * p1x + cos * p1y; in draw()
236 y1 = p1y; in draw()
/external/libgdx/extensions/gdx-box2d/gdx-box2d-gwt/src/com/badlogic/gdx/physics/box2d/gwt/emu/org/jbox2d/particle/
DParticleSystem.java671 final float p1y = p1.y;
673 final float p2y = p1y + step.dt * v.y;
675 final float by = p1y < p2y ? p1y : p2y;
679 final float b1y = p1y > p2y ? p1y : p2y;
/external/skia/src/core/
DSkPath.cpp2557 double p1y = SkScalarToDouble(p1.fY); in cross_prod() local
2563 (p1y - p0y) * (p2x - p0x)); in cross_prod()
/external/chromium-trace/catapult/tracing/test_data/
Dddms_calculator_start.trace122263 �@�p1y�;�
351765 ���p1y�!n��