/external/jmonkeyengine/engine/src/core/com/jme3/collision/ |
D | SweepSphere.java | 154 float newT = getLowestRoot(a, b, c, t); in collideWithVertex() local 164 return newT; in collideWithVertex() 187 float newT = getLowestRoot(a, b, c, t); in collideWithSegment() local 188 if (!Float.isNaN(newT)){ in collideWithSegment() 189 float f = (EdotV * newT - EdotB) / edgeSquared; in collideWithSegment() 192 return newT; in collideWithSegment() 296 float newT; in collideWithTriangle() local 297 newT = collideWithVertex(sCenter, sVelocity, velocitySquared, v1, minT); in collideWithTriangle() 298 if (!Float.isNaN(newT)){ in collideWithTriangle() 299 minT = newT; in collideWithTriangle() [all …]
|
/external/chromium_org/third_party/skia/src/pathops/ |
D | SkIntersectionHelper.h | 45 int addT(const SkIntersectionHelper& other, const SkPoint& pt, double newT) { in addT() argument 46 return fContour->addT(fIndex, other.fContour, other.fIndex, pt, newT); in addT() 49 int addSelfT(const SkIntersectionHelper& other, const SkPoint& pt, double newT) { in addSelfT() argument 50 return fContour->addSelfT(fIndex, other.fContour, other.fIndex, pt, newT); in addSelfT()
|
D | SkDCubicToQuads.cpp | 108 double newT = start + (index / parts) * (end - start); in addTs() local 109 if (newT > 0 && newT < 1) { in addTs() 110 ts->push_back(newT); in addTs()
|
D | SkOpContour.h | 75 int addT(int segIndex, SkOpContour* other, int otherIndex, const SkPoint& pt, double newT) { in addT() argument 77 return fSegments[segIndex].addT(&other->fSegments[otherIndex], pt, newT); in addT() 80 int addSelfT(int segIndex, SkOpContour* other, int otherIndex, const SkPoint& pt, double newT) { in addSelfT() argument 82 return fSegments[segIndex].addSelfT(&other->fSegments[otherIndex], pt, newT); in addSelfT()
|
D | SkOpSegment.cpp | 410 int SkOpSegment::addT(SkOpSegment* other, const SkPoint& pt, double newT) { in addT() argument 411 if (precisely_zero(newT)) { in addT() 412 newT = 0; in addT() 413 } else if (precisely_equal(newT, 1)) { in addT() 414 newT = 1; in addT() 430 if (newT < span.fT) { in addT() 434 if (newT == span.fT) { in addT() 439 if ((pt == firstPt && newT == 0) || (span.fPt == lastPt && newT == 1)) { in addT() 452 span->fT = newT; in addT() 457 SkASSERT(approximately_equal(xyAtT(newT).fX, pt.fX) in addT() [all …]
|
D | SkOpSegment.h | 243 int addSelfT(SkOpSegment* other, const SkPoint& pt, double newT); 244 int addT(SkOpSegment* other, const SkPoint& pt, double newT);
|
/external/skia/src/pathops/ |
D | SkIntersectionHelper.h | 45 int addT(const SkIntersectionHelper& other, const SkPoint& pt, double newT) { in addT() argument 46 return fContour->addT(fIndex, other.fContour, other.fIndex, pt, newT); in addT() 49 int addSelfT(const SkIntersectionHelper& other, const SkPoint& pt, double newT) { in addSelfT() argument 50 return fContour->addSelfT(fIndex, other.fContour, other.fIndex, pt, newT); in addSelfT()
|
D | SkDCubicToQuads.cpp | 108 double newT = start + (index / parts) * (end - start); in addTs() local 109 if (newT > 0 && newT < 1) { in addTs() 110 ts->push_back(newT); in addTs()
|
D | SkOpContour.h | 75 int addT(int segIndex, SkOpContour* other, int otherIndex, const SkPoint& pt, double newT) { in addT() argument 77 return fSegments[segIndex].addT(&other->fSegments[otherIndex], pt, newT); in addT() 80 int addSelfT(int segIndex, SkOpContour* other, int otherIndex, const SkPoint& pt, double newT) { in addSelfT() argument 82 return fSegments[segIndex].addSelfT(&other->fSegments[otherIndex], pt, newT); in addSelfT()
|
D | SkOpSegment.cpp | 410 int SkOpSegment::addT(SkOpSegment* other, const SkPoint& pt, double newT) { in addT() argument 411 if (precisely_zero(newT)) { in addT() 412 newT = 0; in addT() 413 } else if (precisely_equal(newT, 1)) { in addT() 414 newT = 1; in addT() 430 if (newT < span.fT) { in addT() 434 if (newT == span.fT) { in addT() 439 if ((pt == firstPt && newT == 0) || (span.fPt == lastPt && newT == 1)) { in addT() 452 span->fT = newT; in addT() 457 SkASSERT(approximately_equal(xyAtT(newT).fX, pt.fX) in addT() [all …]
|
D | SkOpSegment.h | 243 int addSelfT(SkOpSegment* other, const SkPoint& pt, double newT); 244 int addT(SkOpSegment* other, const SkPoint& pt, double newT);
|
/external/skia/include/core/ |
D | SkTArray.h | 164 T* newT = reinterpret_cast<T*>(this->push_back_raw(1)); in push_back() local 165 SkNEW_PLACEMENT(newT, T); in push_back() 166 return *newT; in push_back() 173 T* newT = reinterpret_cast<T*>(this->push_back_raw(1)); in push_back() local 174 SkNEW_PLACEMENT_ARGS(newT, T, (t)); in push_back() 175 return *newT; in push_back()
|
/external/chromium_org/third_party/skia/include/core/ |
D | SkTArray.h | 164 T* newT = reinterpret_cast<T*>(this->push_back_raw(1)); in push_back() local 165 SkNEW_PLACEMENT(newT, T); in push_back() 166 return *newT; in push_back() 173 T* newT = reinterpret_cast<T*>(this->push_back_raw(1)); in push_back() local 174 SkNEW_PLACEMENT_ARGS(newT, T, (t)); in push_back() 175 return *newT; in push_back()
|