Searched refs:dot01 (Results 1 – 2 of 2) sorted by relevance
63 float dot01 = dot(v0, v1); in isPointInTriangle() local69 float invDenom = 1.0f / (dot00 * dot11 - dot01 * dot01); in isPointInTriangle()70 float u = (dot11 * dot02 - dot01 * dot12) * invDenom; in isPointInTriangle()71 float v = (dot00 * dot12 - dot01 * dot02) * invDenom; in isPointInTriangle()
159 float dot01 = x0 * x1 + y0 * y1; in pointInTriangle() local163 float denominator = dot00 * dot11 - dot01 * dot01; in pointInTriangle()169 float u = (dot11 * dot02 - dot01 * dot12) * inverseDenominator; in pointInTriangle()170 float v = (dot00 * dot12 - dot01 * dot02) * inverseDenominator; in pointInTriangle()