Searched refs:dotProduct (Results 1 – 2 of 2) sorted by relevance
101 const float dotProduct = ray1x * ray2x + ray1y * ray2y; in pointToLineSegSquaredDistanceFloat() local108 const float projectionLengthSqr = dotProduct / lineLengthSqr; in pointToLineSegSquaredDistanceFloat()
149 public static float dotProduct(float[] a, float[] b) { in dotProduct() method in GeometryMathUtils164 return dotProduct(a, b) / length; in scalarProjection()