Home
last modified time | relevance | path

Searched refs:dotProduct (Results 1 – 3 of 3) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/platform/audio/
DCone.cpp58 double dotProduct = sourceToListener.dot(normalizedSourceOrientation); in gain() local
59 double angle = 180.0 * acos(dotProduct) / piDouble; in gain()
/external/deqp/framework/referencerenderer/
DrrRasterizer.cpp213 const deInt64 dotProduct = dot(v, cornerExitNormal); in lineInCornerAngleRange() local
216 if (dotProduct < 0) in lineInCornerAngleRange()
218 return 2 * dotProduct * dotProduct > tcu::lengthSquared(v)*tcu::lengthSquared(cornerExitNormal); in lineInCornerAngleRange()
226 const deInt64 dotProduct = dot(v, cornerExitNormal); in lineInCornerOutsideAngleRange() local
229 if (dotProduct >= 0) in lineInCornerOutsideAngleRange()
231 …return 2 * (-dotProduct) * (-dotProduct) < tcu::lengthSquared(v)*tcu::lengthSquared(cornerExitNorm… in lineInCornerOutsideAngleRange()
/external/pdfium/core/include/fxcrt/
Dfx_coordinates.h209 FX_FLOAT dotProduct = v1.DotProduct(v2); in Cosine() local
210 return dotProduct / (FX_FLOAT)FXSYS_sqrt(v1.SquareLength() * v2.SquareLength()); in Cosine()