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

12

/external/chromium_org/third_party/flot/
H A Djquery.flot.symbol.min.js10 symbol: "square" // or "diamond", "triangle", "cross"
14 */(function(e){function t(e,t,n){var r={square:function(e,t,n,r,i){var s=r*Math.sqrt(Math.PI)/2;e.rect(t-s,n-s,s+s,s+s)},diamond:function(e,t,n,r,i){var s=r*Math.sqrt(Math.PI/2);e.moveTo(t-s,n),e.lineTo(t,n-s),e.lineTo(t+s,n),e.lineTo(t,n+s),e.lineTo(t-s,n)},triangle:function(e,t,n,r,i){var s=r*Math.sqrt(2*Math.PI/Math.sin(Math.PI/3)),o=s*Math.sin(Math.PI/3);e.moveTo(t-s/2,n+o/2),e.lineTo(t+s/2,n+o/2),i||(e.lineTo(t,n-o/2),e.lineTo(t-s/2,n+o/2))},cross:function(e,t,n,r,i){var s=r*Math.sqrt(Math.PI)/2;e.moveTo(t-s,n-s),e.lineTo(t+s,n+s),e.moveTo(t-s, (…) method
/external/chromium_org/third_party/angle/samples/angle/sample_util/
H A DVector.cpp96 Vector3 Vector3::cross(const Vector3 &a, const Vector3 &b) function in class:Vector3
/external/eigen/Eigen/src/Geometry/
H A DOrthoMethods.h18 * \returns the cross product of \c *this and \a other
20 * Here is a very good explanation of cross-product: http://xkcd.com/199/
26 MatrixBase<Derived>::cross(const MatrixBase<OtherDerived>& other) const function in class:Eigen::MatrixBase
64 * \returns the cross product of \c *this and \a other using only the x, y, and z coefficients
69 * \sa MatrixBase::cross()
89 /** \returns a matrix expression of the cross product of each column or row
97 * \sa MatrixBase::cross() */
101 VectorwiseOp<ExpressionType,Direction>::cross(const MatrixBase<OtherDerived>& other) const function in class:Eigen::VectorwiseOp
206 * \sa cross()
/external/chromium_org/third_party/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/chromium_org/third_party/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/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/sunspider-1.0/
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/chromium-trace/trace-viewer/third_party/gl-matrix/src/gl-matrix/
H A Dvec2.js330 * Computes the cross product of two vec2's
331 * Note that the cross product must by definition produce a 3D vector
338 vec2.cross = function(out, a, b) {
H A Dvec3.js351 * Computes the cross product of two vec3's
358 vec3.cross = function(out, a, b) {
/external/chromium_org/third_party/WebKit/Source/platform/geometry/
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:blink::FloatPoint3D
112 // Convenience function returning "this cross point" as a
114 FloatPoint3D cross(const FloatPoint3D& point) const function in class:blink::FloatPoint3D
117 result.cross(*this, point);
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/nv50/codegen/
H A Dnv50_ir_graph.cpp79 case CROSS: return "cross";
286 Stack bb, cross; local
309 cross.push(ei.getNode());
319 cross.moveTo(bb);
/external/chromium_org/third_party/mesa/src/src/mesa/swrast/
H A Ds_aatriangle.c223 /* cross product determines if sample is inside or outside each edge */
224 GLfloat cross = (dx0 * (sy - v0[1]) - dy0 * (sx - v0[0])); local
225 /* Check if the sample is exactly on an edge. If so, let cross be a
228 if (cross == 0.0F)
229 cross = dx0 + dy0;
230 if (cross < 0.0F) {
237 cross = (dx1 * (sy - v1[1]) - dy1 * (sx - v1[0]));
238 if (cross == 0.0F)
239 cross = dx1 + dy1;
240 if (cross < 0.
[all...]
/external/chromium_org/third_party/skia/src/pathops/
H A DSkPathOpsPoint.h53 double cross(const SkDVector& a) const { function in struct:SkDVector
57 // similar to cross, this bastardization considers nearly coincident to be zero
/external/chromium_org/third_party/webrtc/modules/audio_coding/codecs/ilbc/
H A Ddo_plc.c41 int32_t cross, ener, cross_comp, ener_comp = 0; local
90 WebRtcIlbcfix_CompCorr( &cross, &ener,
93 /* Normalize and store cross^2 and the number of shifts */
94 shiftMax = WebRtcSpl_GetSizeInBits(WEBRTC_SPL_ABS_W32(cross))-15;
95 crossSquareMax = (int16_t)WEBRTC_SPL_MUL_16_16_RSFT(WEBRTC_SPL_SHIFT_W32(cross, -shiftMax),
96 WEBRTC_SPL_SHIFT_W32(cross, -shiftMax), 15);
104 do a cross multiplication */
131 cross = cross_comp;
160 /* Square the cross correlation and norm it such that max_perSquare
164 tmp1 = (int16_t)WEBRTC_SPL_SHIFT_W32(cross, (totscal
[all...]
/external/mesa3d/src/gallium/drivers/nv50/codegen/
H A Dnv50_ir_graph.cpp79 case CROSS: return "cross";
286 Stack bb, cross; local
309 cross.push(ei.getNode());
319 cross.moveTo(bb);
/external/mesa3d/src/mesa/swrast/
H A Ds_aatriangle.c223 /* cross product determines if sample is inside or outside each edge */
224 GLfloat cross = (dx0 * (sy - v0[1]) - dy0 * (sx - v0[0])); local
225 /* Check if the sample is exactly on an edge. If so, let cross be a
228 if (cross == 0.0F)
229 cross = dx0 + dy0;
230 if (cross < 0.0F) {
237 cross = (dx1 * (sy - v1[1]) - dy1 * (sx - v1[0]));
238 if (cross == 0.0F)
239 cross = dx1 + dy1;
240 if (cross < 0.
[all...]
/external/skia/src/pathops/
H A DSkPathOpsPoint.h53 double cross(const SkDVector& a) const { function in struct:SkDVector
57 // similar to cross, this bastardization considers nearly coincident to be zero
/external/chromium_org/third_party/skia/include/core/
H A DSkPoint.h149 /** Returns the cross product of a and b, treating them as 2D vectors
439 /** Returns the cross product of a and b, treating them as 2D vectors
445 SkScalar cross(const SkPoint& vec) const { function in struct:SkPoint
465 * the values are consistent with the sign of (b-a) cross (pt-a)
/external/chromium_org/third_party/skia/src/utils/
H A DSkCamera.cpp52 void SkUnit3D::Cross(const SkUnit3D& a, const SkUnit3D& b, SkUnit3D* cross) { argument
53 SkASSERT(cross);
55 // use x,y,z, in case &a == cross or &b == cross
61 cross->set(x, y, z);
215 SkUnit3D axis, zenith, cross; local
229 SkUnit3D::Cross(axis, zenith, &cross);
237 orien->set(SkMatrix::kMScaleX, x * axis.fX - z * cross.fX);
238 orien->set(SkMatrix::kMSkewX, x * axis.fY - z * cross.fY);
239 orien->set(SkMatrix::kMTransX, x * axis.fZ - z * cross
[all...]
/external/deqp/framework/common/
H A DtcuVectorUtil.hpp163 inline Vector<T, Size> cross (const Vector<T, Size>& a, const Vector<T, Size>& b) function in namespace:tcu
/external/skia/include/core/
H A DSkPoint.h149 /** Returns the cross product of a and b, treating them as 2D vectors
439 /** Returns the cross product of a and b, treating them as 2D vectors
445 SkScalar cross(const SkPoint& vec) const { function in struct:SkPoint
465 * the values are consistent with the sign of (b-a) cross (pt-a)
/external/skia/src/utils/
H A DSkCamera.cpp52 void SkUnit3D::Cross(const SkUnit3D& a, const SkUnit3D& b, SkUnit3D* cross) { argument
53 SkASSERT(cross);
55 // use x,y,z, in case &a == cross or &b == cross
61 cross->set(x, y, z);
215 SkUnit3D axis, zenith, cross; local
229 SkUnit3D::Cross(axis, zenith, &cross);
237 orien->set(SkMatrix::kMScaleX, x * axis.fX - z * cross.fX);
238 orien->set(SkMatrix::kMSkewX, x * axis.fY - z * cross.fY);
239 orien->set(SkMatrix::kMTransX, x * axis.fZ - z * cross
[all...]
/external/chromium_org/third_party/skia/experimental/Intersection/
H A DDataTypes.h233 double cross(const _Vector& a) const { function in struct:_Vector
/external/deqp/modules/gles2/scripts/
H A Dgenutil.py177 def cross(a, b): return a.cross(b) member in class:GenMath
449 def cross(self, v): member in class:Vec3
/external/deqp/modules/gles3/scripts/
H A Dgenutil.py187 def cross(a, b): return a.cross(b) member in class:GenMath
536 def cross(self, v): member in class:Vec3
/external/deqp/modules/gles31/scripts/
H A Dgenutil.py187 def cross(a, b): return a.cross(b) member in class:GenMath
538 def cross(self, v): member in class:Vec3

Completed in 643 milliseconds

12