Searched refs:dotProduct (Results 1 – 3 of 3) sorted by relevance
58 double dotProduct = sourceToListener.dot(normalizedSourceOrientation); in gain() local59 double angle = 180.0 * acos(dotProduct) / piDouble; in gain()
213 const deInt64 dotProduct = dot(v, cornerExitNormal); in lineInCornerAngleRange() local216 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() local229 if (dotProduct >= 0) in lineInCornerOutsideAngleRange()231 …return 2 * (-dotProduct) * (-dotProduct) < tcu::lengthSquared(v)*tcu::lengthSquared(cornerExitNorm… in lineInCornerOutsideAngleRange()
209 FX_FLOAT dotProduct = v1.DotProduct(v2); in Cosine() local210 return dotProduct / (FX_FLOAT)FXSYS_sqrt(v1.SquareLength() * v2.SquareLength()); in Cosine()