Home
last modified time | relevance | path

Searched refs:newPt (Results 1 – 8 of 8) sorted by relevance

/external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletCollision/CollisionDispatch/
DbtManifoldResult.cpp104 btManifoldPoint newPt(localA,localB,normalOnBInWorld,depth); in addContactPoint() local
105 newPt.m_positionWorldOnA = pointA; in addContactPoint()
106 newPt.m_positionWorldOnB = pointInWorld; in addContactPoint()
108 int insertIndex = m_manifoldPtr->getCacheEntry(newPt); in addContactPoint()
110newPt.m_combinedFriction = calculateCombinedFriction(m_body0Wrap->getCollisionObject(),m_body1Wrap… in addContactPoint()
111newPt.m_combinedRestitution = calculateCombinedRestitution(m_body0Wrap->getCollisionObject(),m_bod… in addContactPoint()
112newPt.m_combinedRollingFriction = calculateCombinedRollingFriction(m_body0Wrap->getCollisionObject… in addContactPoint()
113 btPlaneSpace1(newPt.m_normalWorldOnB,newPt.m_lateralFrictionDir1,newPt.m_lateralFrictionDir2); in addContactPoint()
120 newPt.m_partId0 = m_partId1; in addContactPoint()
121 newPt.m_partId1 = m_partId0; in addContactPoint()
[all …]
DbtCollisionWorld.cpp1092 btManifoldPoint newPt(localA,localB,normalOnBInWorld,depth); in addContactPoint() local
1093 newPt.m_positionWorldOnA = pointA; in addContactPoint()
1094 newPt.m_positionWorldOnB = pointInWorld; in addContactPoint()
1099 newPt.m_partId0 = m_partId1; in addContactPoint()
1100 newPt.m_partId1 = m_partId0; in addContactPoint()
1101 newPt.m_index0 = m_index1; in addContactPoint()
1102 newPt.m_index1 = m_index0; in addContactPoint()
1105 newPt.m_partId0 = m_partId0; in addContactPoint()
1106 newPt.m_partId1 = m_partId1; in addContactPoint()
1107 newPt.m_index0 = m_index0; in addContactPoint()
[all …]
/external/skia/src/gpu/batches/
DGrAAConvexTessellator.cpp616 SkPoint newPt = lastRing.bisector(minEdgeIdx); in createInsetRing() local
617 newPt.scale(minT); in createInsetRing()
618 newPt += this->point(lastRing.index(minEdgeIdx)); in createInsetRing()
620 SkScalar depth = this->computeDepthFromEdge(lastRing.origEdgeID(minEdgeIdx), newPt); in createInsetRing()
637 depth, &newPt)) { in createInsetRing()
641 dst[0] = fCandidateVerts.addNewPt(newPt, in createInsetRing()
650 depth, &newPt)) { in createInsetRing()
654 if (!duplicate_pt(newPt, fCandidateVerts.lastPoint())) { in createInsetRing()
655 dst[cur] = fCandidateVerts.addNewPt(newPt, in createInsetRing()
668 depth, &newPt)) { in createInsetRing()
[all …]
DGrAAConvexTessellator.h81 int addNewPt(const SkPoint& newPt, int originatingIdx, int origEdge, bool needsToBeNew) { in addNewPt() argument
83 pt->fPt = newPt; in addNewPt()
/external/skia/src/pathops/
DSkOpCoincidence.cpp109 SkOpPtT* newPt; in addExpanded() local
112 newPt = oStart->segment()->addT(newT, SkOpSegment::kAllowAlias, allocator); in addExpanded()
113 if (!newPt) { in addExpanded()
116 newPt->fPt = test->pt(); in addExpanded()
117 test->ptT()->addOpp(newPt); in addExpanded()
120 newPt = start->segment()->addT(newT, SkOpSegment::kAllowAlias, allocator); in addExpanded()
121 if (!newPt) { in addExpanded()
124 newPt->fPt = oTest->pt(); in addExpanded()
125 oTest->ptT()->addOpp(newPt); in addExpanded()
DSkOpSegment.cpp164 const SkPoint& newPt = endPtT.fPt; in addAlignIntersection() local
165 if (newPt == oldPt) { in addAlignIntersection()
168 SkPoint line[2] = { newPt, oldPt }; in addAlignIntersection()
183 if (newPt == segment->fPts[0]) { in addAlignIntersection()
186 if (newPt == segment->fPts[SkPathOpsVerbToPoints(segment->fVerb)]) { in addAlignIntersection()
234 ptT->fPt = newPt; in addAlignIntersection()
DSkPathOpsDebug.cpp417 const SkPoint& newPt = endPtT.fPt; in debugAddAlignIntersection() local
418 if (newPt == oldPt) { in debugAddAlignIntersection()
421 SkPoint line[2] = { newPt, oldPt }; in debugAddAlignIntersection()
436 if (newPt == segment->fPts[0]) { in debugAddAlignIntersection()
439 if (newPt == segment->fPts[SkPathOpsVerbToPoints(segment->fVerb)]) { in debugAddAlignIntersection()
486 log->record(kMissingIntersection_Glitch, id, checkSpan, segment, i[0][0], newPt); in debugAddAlignIntersection()
/external/skia/tests/
DPathTest.cpp2322 SkPoint newPt = SkPoint::Make(pts[i].fX * 2, pts[i].fY * 3); in test_transform() local
2323 REPORTER_ASSERT(reporter, newPt == pts1[i]); in test_transform()