Home
last modified time | relevance | path

Searched refs:vLineDir (Results 1 – 2 of 2) sorted by relevance

/dports/games/SRB2/SRB2-SRB2_release_2.2.9/src/
H A Dm_fixed.c652 vector3_t vLineDir; // Variables to hold the point and the line's direction in FV3_IntersectionPoint() local
659 FV3_Point2Vec(&vLine[1], &vLine[0], &vLineDir); // Get the Vector of the line in FV3_IntersectionPoint()
660 FV3_NormalizeEx(&vLineDir, &vLineDir); // Normalize the lines vector in FV3_IntersectionPoint()
674 …Denominator = FV3_Dot(vNormal, &vLineDir); // Get the dot product of the line's vector and the no… in FV3_IntersectionPoint()
709 ReturnVec->x = vLine[0].x + FixedMul(vLineDir.x, dist); in FV3_IntersectionPoint()
710 ReturnVec->y = vLine[0].y + FixedMul(vLineDir.y, dist); in FV3_IntersectionPoint()
711 ReturnVec->z = vLine[0].z + FixedMul(vLineDir.z, dist); in FV3_IntersectionPoint()
/dports/games/astromenace/astromenace-1.4.1/src/core/collision_detection/
H A Dcollision_detection.cpp500 sVECTOR3D vLineDir{Object2Location - Object2PrevLocation}; in vw_SphereMeshCollision() local
507 float Denominator{NormalVector * vLineDir}; in vw_SphereMeshCollision()
512 sVECTOR3D IntercPoint{Object2PrevLocation + (vLineDir ^ dist)}; in vw_SphereMeshCollision()