Searched defs:cross (Results 1 - 12 of 12) sorted by relevance

/external/webkit/PerformanceTests/SunSpider/tests/sunspider-0.9/
H A D3d-raytrace.js87 function cross(v1, v2) { function
128 var normal = cross(edge1, edge2);
263 var xaxis = normaliseVector(cross(up, zaxis));
264 var yaxis = normaliseVector(cross(xaxis, subVector([0,0,0], zaxis)));
/external/webkit/PerformanceTests/SunSpider/tests/sunspider-0.9.1/
H A D3d-raytrace.js87 function cross(v1, v2) { function
128 var normal = cross(edge1, edge2);
263 var xaxis = normaliseVector(cross(up, zaxis));
264 var yaxis = normaliseVector(cross(xaxis, subVector([0,0,0], zaxis)));
/external/skia/include/core/
H A DSkPoint.h136 /** Returns the cross product of a and b, treating them as 2D vectors
344 /** Returns the cross product of a and b, treating them as 2D vectors
350 SkScalar cross(const SkPoint& vec) const { function in struct:SkPoint
/external/webkit/Source/WebCore/platform/graphics/
H A DFloatPoint3D.h99 // Sets this FloatPoint3D to the cross product of the passed two.
102 void cross(const FloatPoint3D& a, const FloatPoint3D& b) function in class:WebCore::FloatPoint3D
112 // Convenience function returning "this cross point" as a
114 FloatPoint3D cross(const FloatPoint3D& point) const function in class:WebCore::FloatPoint3D
117 result.cross(*this, point);
/external/skia/src/utils/
H A DSkCamera.cpp112 void SkUnit3D::Cross(const SkUnit3D& a, const SkUnit3D& b, SkUnit3D* cross) { argument
113 SkASSERT(cross);
115 // use x,y,z, in case &a == cross or &b == cross
121 cross->set(x, y, z);
275 SkUnit3D axis, zenith, cross; local
289 SkUnit3D::Cross(axis, zenith, &cross);
297 orien->set(SkMatrix::kMScaleX, SkUnitScalarMul(x, axis.fX) - SkUnitScalarMul(z, cross.fX));
298 orien->set(SkMatrix::kMSkewX, SkUnitScalarMul(x, axis.fY) - SkUnitScalarMul(z, cross.fY));
299 orien->set(SkMatrix::kMTransX, SkUnitScalarMul(x, axis.fZ) - SkUnitScalarMul(z, cross
[all...]
/external/webkit/Source/WebCore/platform/graphics/openvg/
H A DPathOpenVG.cpp243 double cross = v01.width() * v21.height() - v01.height() * v21.width(); local
245 if (fabs(cross) < 1E-10) {
253 double angle = (piDouble - fabs(asin(cross / (d01 * d21)))) * 0.5;
269 const bool anticlockwise = cross < 0;
/external/opencv/cvaux/src/
H A Dcv3dtracker.cpp531 CvPoint3D32f cross = cvPoint3D32f(d1.y*d2.z - d1.z*d2.y, local
534 double den = cross.x*cross.x + cross.y*cross.y + cross.z*cross.z;
539 double t1 = det(x, d2, cross) / den;
540 double t2 = det(x, d1, cross) / den;
H A Dcvepilines.cpp413 if( pointB[2] < 0 )/* If negative use other lines for cross */
878 {/* We have not cross */
895 /* We have cross. And it's result cross for up line. Set result coefs */
913 {/* Line 1 cross image 2 */
951 {/* We have not cross */
969 /* We have cross. And it's result cross for down line. Set result coefs */
987 {/* Line 2 cross image 2 */
1013 /* Get cross fo
1018 icvGetCrossDirectDirect( CvVect64d direct1,CvVect64d direct2, CvPoint2D64d *cross,int* result) argument
1053 icvGetCrossPieceDirect( CvPoint2D64d p_start,CvPoint2D64d p_end, double a,double b,double c, CvPoint2D64d *cross,int* result) argument
1095 icvGetCrossPiecePiece( CvPoint2D64d p1_start,CvPoint2D64d p1_end, CvPoint2D64d p2_start,CvPoint2D64d p2_end, CvPoint2D64d* cross, int* result) argument
1181 CvPoint2D64d cross[4]; local
2190 CvPoint2D32f cross[4]; local
[all...]
/external/qemu/android/skin/
H A Dargb.h309 static inline int cross( int x, int y ) { function
375 ARGB_REDUCE(spix,cross(fx1,fy1));
387 ARGB_REDUCE(spix,cross(fx2,fy1));
416 ARGB_REDUCE(spix,cross(fx1,fy2));
428 ARGB_REDUCE(spix,cross(fx2,fy2));
/external/quake/quake/src/QW/client/
H A Dmathlib.c361 void CrossProduct (vec3_t v1, vec3_t v2, vec3_t cross) argument
363 cross[0] = v1[1]*v2[2] - v1[2]*v2[1];
364 cross[1] = v1[2]*v2[0] - v1[0]*v2[2];
365 cross[2] = v1[0]*v2[1] - v1[1]*v2[0];
/external/quake/quake/src/WinQuake/
H A Dmathlib.cpp363 void CrossProduct (vec3_t v1, vec3_t v2, vec3_t cross) argument
365 cross[0] = v1[1]*v2[2] - v1[2]*v2[1];
366 cross[1] = v1[2]*v2[0] - v1[0]*v2[2];
367 cross[2] = v1[0]*v2[1] - v1[1]*v2[0];
/external/webkit/Source/WebCore/platform/graphics/wince/
H A DPlatformPathWinCE.cpp663 double cross = v01.m_x * v21.m_y - v01.m_y * v21.m_x; local
665 if (fabs(cross) < 1E-10) {
673 double angle = (piDouble - fabs(asin(cross / (d01 * d21)))) * 0.5;
704 cross < 0

Completed in 790 milliseconds