Home
last modified time | relevance | path

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

/dports/x11-toolkits/plib/plib-1.8.5/src/sg/
H A DsgdIsect.cxx102 SGDfloat tmp = sgdScalarProductVec3 ( l_vec, plane ) ; in sgdIsectInfLinePlane()
109 sgdScaleVec3 ( dst, l_vec, -( sgdScalarProductVec3 ( l_org, plane ) in sgdIsectInfLinePlane()
142 SGDfloat dist = sgdScalarProductVec3 ( perp, perp ) ; in sgdIsectInfLineInfLine()
211 SGDfloat p = sgdScalarProductVec3 ( plane, delta ) ; in sgdIsectLinesegPlane()
219 float s = (float) (- ( sgdScalarProductVec3 ( plane, v1 ) + plane[3] ) / p) ; in sgdIsectLinesegPlane()
H A Dsgd.cxx235 if ( (sgdScalarProductVec3(temp, normal))<0 ) in sgdAngleBetweenNormalizedVec3()
257 SProduct = sgdScalarProductVec3(first, second); in sgdAngleBetweenNormalizedVec3()
853 return sgdScalarProductVec3 ( r, r ) - in sgdDistSquaredToLineVec3()
865 SGDfloat r1_dot_v = sgdScalarProductVec3 ( r1, v ) ; in sgdDistSquaredToLineSegmentVec3()
868 return sgdScalarProductVec3 ( r1, r1 ) ; in sgdDistSquaredToLineSegmentVec3()
872 SGDfloat r2_dot_v = sgdScalarProductVec3 ( r2, v ) ; in sgdDistSquaredToLineSegmentVec3()
875 return sgdScalarProductVec3 ( r2, r2 ) ; in sgdDistSquaredToLineSegmentVec3()
879 return sgdScalarProductVec3 ( r1, r1 ) - r1_dot_v * r1_dot_v / sgdScalarProductVec3 ( v, v ) ; in sgdDistSquaredToLineSegmentVec3()
1836 sx = sgdScalarProductVec3 ( m[0], m[0] ) ; in sgdClassifyMat4()
1837 sy = sgdScalarProductVec3 ( m[1], m[1] ) ; in sgdClassifyMat4()
[all …]
H A Dsg.h1927 inline SGDfloat sgdScalarProductVec3 ( const sgdVec3 a, const sgdVec3 b ) in sgdScalarProductVec3() function
2028 return sgdSqrt ( sgdScalarProductVec3 ( src, src ) ) ; in sgdLengthVec3()
2043 return sgdScalarProductVec3 ( src, src ) ; in sgdLengthSquaredVec3()
2199 return sgdScalarProductVec3 ( plane, pnt ) + plane[3] ; in sgdDistToPlaneVec3()
2227 dst [ 3 ] = - sgdScalarProductVec3 ( normal, pnt ) ; in sgdMakePlane()
2241 dst [ 3 ] = - sgdScalarProductVec3 ( dst, a ) ; in sgdMakePlane()
2250 SGDfloat f = sgdScalarProductVec3 ( v1, v2 ) ; in sgdAngleBetweenNormalizedVec3()
/dports/games/torcs/torcs-1.3.7/src/windows/include/plib/
H A Dsg.h1927 inline SGDfloat sgdScalarProductVec3 ( const sgdVec3 a, const sgdVec3 b ) in sgdScalarProductVec3() function
2028 return sgdSqrt ( sgdScalarProductVec3 ( src, src ) ) ; in sgdLengthVec3()
2043 return sgdScalarProductVec3 ( src, src ) ; in sgdLengthSquaredVec3()
2199 return sgdScalarProductVec3 ( plane, pnt ) + plane[3] ; in sgdDistToPlaneVec3()
2227 dst [ 3 ] = - sgdScalarProductVec3 ( normal, pnt ) ; in sgdMakePlane()
2241 dst [ 3 ] = - sgdScalarProductVec3 ( dst, a ) ; in sgdMakePlane()
2250 SGDfloat f = sgdScalarProductVec3 ( v1, v2 ) ; in sgdAngleBetweenNormalizedVec3()