Home
last modified time | relevance | path

Searched refs:vDir (Results 1 – 4 of 4) sorted by relevance

/external/skqp/tests/
DPathOpsAngleIdeas.cpp462 double vDir[2] = { v1s.cross(v1e), v2s.cross(v2e) }; in testQuadAngles() local
463 bool ray1In2 = v1s.cross(v2s) * vDir[1] <= 0 && v1s.cross(v2e) * vDir[1] >= 0; in testQuadAngles()
464 bool ray2In1 = v2s.cross(v1s) * vDir[0] <= 0 && v2s.cross(v1e) * vDir[0] >= 0; in testQuadAngles()
469 bool ctrl1In2 = v1e.cross(v2s) * vDir[1] <= 0 && v1e.cross(v2e) * vDir[1] >= 0; in testQuadAngles()
471 bool ctrl2In1 = v2e.cross(v1s) * vDir[0] <= 0 && v2e.cross(v1e) * vDir[0] >= 0; in testQuadAngles()
541 rayDist > endDist, sIndex == 0, vDir[sIndex] < 0, midXray < 0); in testQuadAngles()
544 == SkScalarSignAsInt(SkDoubleToScalar(vDir[sIndex]))); in testQuadAngles()
545 firstInside = (rayDist > endDist) ^ (sIndex == 0) ^ (vDir[sIndex] < 0); in testQuadAngles()
/external/skia/tests/
DPathOpsAngleIdeas.cpp462 double vDir[2] = { v1s.cross(v1e), v2s.cross(v2e) }; in testQuadAngles() local
463 bool ray1In2 = v1s.cross(v2s) * vDir[1] <= 0 && v1s.cross(v2e) * vDir[1] >= 0; in testQuadAngles()
464 bool ray2In1 = v2s.cross(v1s) * vDir[0] <= 0 && v2s.cross(v1e) * vDir[0] >= 0; in testQuadAngles()
469 bool ctrl1In2 = v1e.cross(v2s) * vDir[1] <= 0 && v1e.cross(v2e) * vDir[1] >= 0; in testQuadAngles()
471 bool ctrl2In1 = v2e.cross(v1s) * vDir[0] <= 0 && v2e.cross(v1e) * vDir[0] >= 0; in testQuadAngles()
541 rayDist > endDist, sIndex == 0, vDir[sIndex] < 0, midXray < 0); in testQuadAngles()
544 == SkScalarSignAsInt(SkDoubleToScalar(vDir[sIndex]))); in testQuadAngles()
545 firstInside = (rayDist > endDist) ^ (sIndex == 0) ^ (vDir[sIndex] < 0); in testQuadAngles()
/external/swiftshader/third_party/PowerVR_SDK/Tools/
DPVRTModelPOD.h630 PVRTVECTOR3 &vDir,
DPVRTModelPOD.cpp2827 PVRTVECTOR3 &vDir, argument
2846 vDir.x = -mTmp.f[4];
2847 vDir.y = -mTmp.f[5];
2848 vDir.z = -mTmp.f[6];
2859 PVRTVec3 vPos, vDir; local
2860 GetLight(vPos,vDir,u32Idx);
2875 PVRTVec3 vPos, vDir; local
2876 GetLight(vPos,vDir,u32Idx);
2880 return PVRTVec4(vDir,0);