Home
last modified time | relevance | path

Searched refs:CrossProduct (Results 1 – 12 of 12) sorted by relevance

/external/swiftshader/third_party/PowerVR_SDK/Tools/
DPVRTQuaternionF.cpp278 PVRTVECTOR3f CrossProduct; in PVRTMatrixQuaternionMultiplyF() local
285 CrossProduct.x = qA.y*qB.z - qA.z*qB.y; in PVRTMatrixQuaternionMultiplyF()
286 CrossProduct.y = qA.z*qB.x - qA.x*qB.z; in PVRTMatrixQuaternionMultiplyF()
287 CrossProduct.z = qA.x*qB.y - qA.y*qB.x; in PVRTMatrixQuaternionMultiplyF()
290 qRet.x = (qA.w * qB.x) + (qB.w * qA.x) + CrossProduct.x; in PVRTMatrixQuaternionMultiplyF()
291 qRet.y = (qA.w * qB.y) + (qB.w * qA.y) + CrossProduct.y; in PVRTMatrixQuaternionMultiplyF()
292 qRet.z = (qA.w * qB.z) + (qB.w * qA.z) + CrossProduct.z; in PVRTMatrixQuaternionMultiplyF()
DPVRTQuaternionX.cpp289 PVRTVECTOR3x CrossProduct; in PVRTMatrixQuaternionMultiplyX() local
296 CrossProduct.x = PVRTXMUL(qA.y, qB.z) - PVRTXMUL(qA.z, qB.y); in PVRTMatrixQuaternionMultiplyX()
297 CrossProduct.y = PVRTXMUL(qA.z, qB.x) - PVRTXMUL(qA.x, qB.z); in PVRTMatrixQuaternionMultiplyX()
298 CrossProduct.z = PVRTXMUL(qA.x, qB.y) - PVRTXMUL(qA.y, qB.x); in PVRTMatrixQuaternionMultiplyX()
301 qOut.x = PVRTXMUL(qA.w, qB.x) + PVRTXMUL(qB.w, qA.x) + CrossProduct.x; in PVRTMatrixQuaternionMultiplyX()
302 qOut.y = PVRTXMUL(qA.w, qB.y) + PVRTXMUL(qB.w, qA.y) + CrossProduct.y; in PVRTMatrixQuaternionMultiplyX()
303 qOut.z = PVRTXMUL(qA.w, qB.z) + PVRTXMUL(qB.w, qA.z) + CrossProduct.z; in PVRTMatrixQuaternionMultiplyX()
DPVRTShadowVol.cpp175 static void CrossProduct( in CrossProduct() function
269 CrossProduct(&psMesh->pT[psMesh->nT].vNormal, pv0, pv1, pv2); in FindOrCreateTriangle()
/external/webrtc/webrtc/modules/audio_processing/beamformer/
Darray_util_unittest.cc51 TEST(ArrayUtilTest, CrossProduct) { in TEST() argument
53 CrossProduct(Point(0.f, 0.f, 0.f), Point(1.f, 2.f, 3.f))); in TEST()
55 CrossProduct(Point(1.f, 0.f, 0.f), Point(0.f, 1.f, 0.f))); in TEST()
57 CrossProduct(Point(0.f, 1.f, 0.f), Point(0.f, 0.f, 1.f))); in TEST()
59 CrossProduct(Point(1.f, 0.f, 0.f), Point(0.f, 0.f, 1.f))); in TEST()
61 CrossProduct(Point(1.f, -2.f, 3.f), Point(-3.f, 2.f, -1.f))); in TEST()
Darray_util.cc45 Point CrossProduct(const Point& a, const Point& b) { in CrossProduct() function
51 Point cross_product = CrossProduct(a, b); in AreParallel()
92 CrossProduct(first_pair_direction, pair_direction); in GetNormalIfPlanar()
Darray_util.h51 Point CrossProduct(const Point& a, const Point& b);
/external/skia/include/core/
DSkPoint.h151 static int32_t CrossProduct(const SkIPoint& a, const SkIPoint& b) { in CrossProduct() function
460 static SkScalar CrossProduct(const SkPoint& a, const SkPoint& b) { in CrossProduct() function
465 return CrossProduct(*this, vec); in cross()
/external/regex-re2/re2/
Dprefilter.cc301 static void CrossProduct(const set<string>& a, in CrossProduct() function
318 CrossProduct(a->exact_, b->exact_, &ab->exact_); in Concat()
/external/skia/src/core/
DSkPath.cpp1487 SkScalar sinh = SkPoint::CrossProduct(before, after); in arcTo()
2347 SkScalar cross = SkPoint::CrossProduct(fLastVec, curVec); in directionChange()
2585 SkScalar cross = SkPoint::CrossProduct(p1 - p0, p2 - p0); in cross_prod()
DSkGeometry.cpp1300 SkScalar y = SkPoint::CrossProduct(uStart, uStop); in BuildUnitArc()
/external/skia/src/gpu/ops/
DGrAAConvexPathRenderer.cpp86 SkScalar t = SkPoint::CrossProduct(pi, pj); in center_of_mass()
DGrAAConvexTessellator.cpp425 SkScalar cross = SkPoint::CrossProduct(fNorms[0], fNorms.top()); in extractFromPath()