/dports/math/vtk6/VTK-6.2.0/Rendering/Volume/ |
H A D | vtkVolumeRayCastMapper.cxx | 1738 float *rayStart, *rayEnd; in ClipRayAgainstClippingPlanes() local 1772 rayStart[0] = point[0]; in ClipRayAgainstClippingPlanes() 1773 rayStart[1] = point[1]; in ClipRayAgainstClippingPlanes() 1774 rayStart[2] = point[2]; in ClipRayAgainstClippingPlanes() 1824 rayStart[0] < bounds[0] || in ClipRayAgainstVolume() 1825 rayStart[1] < bounds[2] || in ClipRayAgainstVolume() 1826 rayStart[2] < bounds[4] ) in ClipRayAgainstVolume() 1870 rayStart[2] < bounds[4] ) in ClipRayAgainstVolume() 1924 rayStart[0] += offset; in ClipRayAgainstVolume() 1928 rayStart[1] += offset; in ClipRayAgainstVolume() [all …]
|
H A D | vtkFixedPointVolumeRayCastMapper.cxx | 1747 float rayStart[4], rayEnd[4]; in ComputeRayInfo() local 1858 if ( rayStart[0] > 0.0 && rayStart[1] > 0.0 && rayStart[2] > 0.0 ) in ComputeRayInfo() 2573 rayStart[0] = point[0]; in ClipRayAgainstClippingPlanes() 2574 rayStart[1] = point[1]; in ClipRayAgainstClippingPlanes() 2575 rayStart[2] = point[2]; in ClipRayAgainstClippingPlanes() 2609 float side = planePtr[0]*rayStart[0] + planePtr[1]*rayStart[1] + in ClipRayAgainstClippingPlanes() 2637 rayStart[2] < bounds[4] ) in ClipRayAgainstVolume() 2681 rayStart[2] < bounds[4] ) in ClipRayAgainstVolume() 2735 rayStart[0] += offset; in ClipRayAgainstVolume() 2739 rayStart[1] += offset; in ClipRayAgainstVolume() [all …]
|
/dports/devel/bullet/bullet3-3.21/Extras/ConvexDecomposition/ |
H A D | raytri.cpp | 94 bool lineIntersectsTriangle(const float *rayStart, const float *rayEnd, const float *p1, const floa… in lineIntersectsTriangle() argument 98 dir[0] = rayEnd[0] - rayStart[0]; in lineIntersectsTriangle() 99 dir[1] = rayEnd[1] - rayStart[1]; in lineIntersectsTriangle() 100 dir[2] = rayEnd[2] - rayStart[2]; in lineIntersectsTriangle() 111 bool ret = rayIntersectsTriangle(rayStart, dir, p1, p2, p3, t); in lineIntersectsTriangle() 117 sect[0] = rayStart[0] + dir[0] * t; in lineIntersectsTriangle() 118 sect[1] = rayStart[1] + dir[1] * t; in lineIntersectsTriangle() 119 sect[2] = rayStart[2] + dir[2] * t; in lineIntersectsTriangle()
|
H A D | raytri.h | 40 bool lineIntersectsTriangle(const float *rayStart, const float *rayEnd, const float *p1, const floa…
|
/dports/science/chrono/chrono-7.0.1/src/chrono/collision/gimpact/ConvexDecomposition/ |
H A D | raytri.cpp | 99 bool lineIntersectsTriangle(const float *rayStart,const float *rayEnd,const float *p1,const float *… in lineIntersectsTriangle() argument 103 dir[0] = rayEnd[0] - rayStart[0]; in lineIntersectsTriangle() 104 dir[1] = rayEnd[1] - rayStart[1]; in lineIntersectsTriangle() 105 dir[2] = rayEnd[2] - rayStart[2]; in lineIntersectsTriangle() 117 bool ret = rayIntersectsTriangle(rayStart, dir, p1, p2, p3, t ); in lineIntersectsTriangle() 123 sect[0] = rayStart[0] + dir[0]*t; in lineIntersectsTriangle() 124 sect[1] = rayStart[1] + dir[1]*t; in lineIntersectsTriangle() 125 sect[2] = rayStart[2] + dir[2]*t; in lineIntersectsTriangle()
|
H A D | raytri.h | 42 bool lineIntersectsTriangle(const float *rayStart,const float *rayEnd,const float *p1,const float *…
|
/dports/devel/emscripten/emscripten-2.0.3/tests/third_party/bullet/Extras/ConvexDecomposition/ |
H A D | raytri.cpp | 99 bool lineIntersectsTriangle(const float *rayStart,const float *rayEnd,const float *p1,const float *… in lineIntersectsTriangle() argument 103 dir[0] = rayEnd[0] - rayStart[0]; in lineIntersectsTriangle() 104 dir[1] = rayEnd[1] - rayStart[1]; in lineIntersectsTriangle() 105 dir[2] = rayEnd[2] - rayStart[2]; in lineIntersectsTriangle() 117 bool ret = rayIntersectsTriangle(rayStart, dir, p1, p2, p3, t ); in lineIntersectsTriangle() 123 sect[0] = rayStart[0] + dir[0]*t; in lineIntersectsTriangle() 124 sect[1] = rayStart[1] + dir[1]*t; in lineIntersectsTriangle() 125 sect[2] = rayStart[2] + dir[2]*t; in lineIntersectsTriangle()
|
H A D | raytri.h | 42 bool lineIntersectsTriangle(const float *rayStart,const float *rayEnd,const float *p1,const float *…
|
/dports/devel/py-bullet3/bullet3-3.21/Extras/ConvexDecomposition/ |
H A D | raytri.cpp | 94 bool lineIntersectsTriangle(const float *rayStart, const float *rayEnd, const float *p1, const floa… in lineIntersectsTriangle() argument 98 dir[0] = rayEnd[0] - rayStart[0]; in lineIntersectsTriangle() 99 dir[1] = rayEnd[1] - rayStart[1]; in lineIntersectsTriangle() 100 dir[2] = rayEnd[2] - rayStart[2]; in lineIntersectsTriangle() 111 bool ret = rayIntersectsTriangle(rayStart, dir, p1, p2, p3, t); in lineIntersectsTriangle() 117 sect[0] = rayStart[0] + dir[0] * t; in lineIntersectsTriangle() 118 sect[1] = rayStart[1] + dir[1] * t; in lineIntersectsTriangle() 119 sect[2] = rayStart[2] + dir[2] * t; in lineIntersectsTriangle()
|
H A D | raytri.h | 40 bool lineIntersectsTriangle(const float *rayStart, const float *rayEnd, const float *p1, const floa…
|
/dports/math/vtk9/VTK-9.1.0/Rendering/Volume/ |
H A D | vtkFixedPointVolumeRayCastMapper.cxx | 1617 double rayStart[4], rayEnd[4]; in ComputeRayInfo() local 1721 if (rayStart[0] > 0.0 && rayStart[1] > 0.0 && rayStart[2] > 0.0) in ComputeRayInfo() 2371 t = -(planePtr[0] * rayStart[0] + planePtr[1] * rayStart[1] + planePtr[2] * rayStart[2] + in ClipRayAgainstClippingPlanes() 2418 float side = planePtr[0] * rayStart[0] + planePtr[1] * rayStart[1] + in ClipRayAgainstClippingPlanes() 2438 if (rayStart[0] >= bounds[1] || rayStart[1] >= bounds[3] || rayStart[2] >= bounds[5] || in ClipRayAgainstVolume() 2439 rayStart[0] < bounds[0] || rayStart[1] < bounds[2] || rayStart[2] < bounds[4]) in ClipRayAgainstVolume() 2478 if (rayStart[0] >= bounds[1] || rayStart[1] >= bounds[3] || rayStart[2] >= bounds[5] || in ClipRayAgainstVolume() 2479 rayStart[0] < bounds[0] || rayStart[1] < bounds[2] || rayStart[2] < bounds[4]) in ClipRayAgainstVolume() 2529 rayStart[0] += offset; in ClipRayAgainstVolume() 2533 rayStart[1] += offset; in ClipRayAgainstVolume() [all …]
|
/dports/math/vtk8/VTK-8.2.0/Rendering/Volume/ |
H A D | vtkFixedPointVolumeRayCastMapper.cxx | 1716 float rayStart[4], rayEnd[4]; in ComputeRayInfo() local 1827 if ( rayStart[0] > 0.0 && rayStart[1] > 0.0 && rayStart[2] > 0.0 ) in ComputeRayInfo() 2542 rayStart[0] = point[0]; in ClipRayAgainstClippingPlanes() 2543 rayStart[1] = point[1]; in ClipRayAgainstClippingPlanes() 2544 rayStart[2] = point[2]; in ClipRayAgainstClippingPlanes() 2578 float side = planePtr[0]*rayStart[0] + planePtr[1]*rayStart[1] + in ClipRayAgainstClippingPlanes() 2606 rayStart[2] < bounds[4] ) in ClipRayAgainstVolume() 2650 rayStart[2] < bounds[4] ) in ClipRayAgainstVolume() 2704 rayStart[0] += offset; in ClipRayAgainstVolume() 2708 rayStart[1] += offset; in ClipRayAgainstVolume() [all …]
|
/dports/x11-toolkits/qt5-datavis3d/kde-qtdatavis3d-5.15.2p2/src/datavisualization/engine/shaders/ |
H A D | texture3dlowdef.frag | 23 vec3 rayStart = pos; 42 highp vec3 t = (endBounds - rayStart) * invRayDir; 46 rayStop = rayStart + endT * rayDir; 49 rayStart = 0.5 * (rayStart + 1.0); 52 highp vec3 ray = rayStop - rayStart; 58 rayStart += (step * 0.001); 60 highp vec3 curPos = rayStart;
|
H A D | texture3dslice.frag | 22 highp vec3 rayStart = pos; 33 highp vec3 t = (boxBounds - rayStart) * invRayDir; 44 highp float dx = dot(xPoint - rayStart, xPlaneNormal) / dot(normRayDir, xPlaneNormal); 49 highp float dy = dot(yPoint - rayStart, yPlaneNormal) / dot(normRayDir, yPlaneNormal); 60 highp float dz = dot(zPoint - rayStart, zPlaneNormal) / dot(normRayDir, zPlaneNormal); 84 highp vec3 texelVec = rayStart + normRayDir * firstD; 104 texelVec = rayStart + normRayDir * secondD; 123 texelVec = rayStart + normRayDir * thirdD;
|
H A D | texture3d.frag | 22 vec3 rayStart = pos; 42 highp vec3 t = (endBounds - rayStart) * invRayDir; 44 rayStop = rayStart + endT * rayDir; 49 rayStart = 0.5 * (rayStart + 1.0); 52 highp vec3 ray = rayStop - rayStart; 57 highp vec3 curPos = rayStart;
|
/dports/graphics/recastnavigation/recastnavigation-e75adf86f91eb3082220085e42dda62679f9a3ea/RecastDemo/Source/ |
H A D | main.cpp | 152 float rayStart[3]; in main() local 362 bool hit = geom->raycastMesh(rayStart, rayEnd, hitTime); in main() 370 markerPosition[0] = rayStart[0] + (rayEnd[0] - rayStart[0]) * hitTime; in main() 371 markerPosition[1] = rayStart[1] + (rayEnd[1] - rayStart[1]) * hitTime; in main() 372 markerPosition[2] = rayStart[2] + (rayEnd[2] - rayStart[2]) * hitTime; in main() 377 pos[0] = rayStart[0] + (rayEnd[0] - rayStart[0]) * hitTime; in main() 378 pos[1] = rayStart[1] + (rayEnd[1] - rayStart[1]) * hitTime; in main() 379 pos[2] = rayStart[2] + (rayEnd[2] - rayStart[2]) * hitTime; in main() 449 rayStart[0] = (float)x; in main() 450 rayStart[1] = (float)y; in main() [all …]
|
/dports/emulators/mess/mame-mame0226/3rdparty/bgfx/examples/36-sky/ |
H A D | vs_sky.sc | 31 vec4 rayStart = mul(u_invViewProj, vec4(vec3(a_position.xy, -1.0), 1.0)); 34 rayStart = rayStart / rayStart.w; 37 v_viewDir = normalize(rayEnd.xyz - rayStart.xyz);
|
/dports/emulators/mame/mame-mame0226/3rdparty/bgfx/examples/36-sky/ |
H A D | vs_sky.sc | 31 vec4 rayStart = mul(u_invViewProj, vec4(vec3(a_position.xy, -1.0), 1.0)); 34 rayStart = rayStart / rayStart.w; 37 v_viewDir = normalize(rayEnd.xyz - rayStart.xyz);
|
/dports/games/openjk/OpenJK-07675e2/code/rd-vanilla/ |
H A D | G2_misc.cpp | 211 vec3_t rayStart; member in CTraceSurface 286 VectorCopy(initrayStart, rayStart); in CTraceSurface() 886 delta[0]=verts[pos+0]-TS.rayStart[0]; in G2_GorePolys() 887 delta[1]=verts[pos+1]-TS.rayStart[1]; in G2_GorePolys() 888 delta[2]=verts[pos+2]-TS.rayStart[2]; in G2_GorePolys() 1270 VectorSubtract(TS.rayEnd, TS.rayStart, v3RayDir); in G2_RadiusTracePolys() 1313 delta[0]=verts[pos+0]-TS.rayStart[0]; in G2_RadiusTracePolys() 1314 delta[1]=verts[pos+1]-TS.rayStart[1]; in G2_RadiusTracePolys() 1315 delta[2]=verts[pos+2]-TS.rayStart[2]; in G2_RadiusTracePolys() 1430 side = normal[0]*TS.rayStart[0] + normal[1]*TS.rayStart[1] + normal[2]*TS.rayStart[2] + third; in G2_RadiusTracePolys() [all …]
|
/dports/games/openjk/OpenJK-07675e2/codemp/rd-vanilla/ |
H A D | G2_misc.cpp | 186 vec3_t rayStart; member in CTraceSurface 259 VectorCopy(initrayStart, rayStart); in CTraceSurface() 834 delta[0]=verts[pos+0]-TS.rayStart[0]; in G2_GorePolys() 835 delta[1]=verts[pos+1]-TS.rayStart[1]; in G2_GorePolys() 836 delta[2]=verts[pos+2]-TS.rayStart[2]; in G2_GorePolys() 1110 VectorSubtract(hitPoint, TS.rayStart, distVect); in G2_TracePolys() 1215 VectorSubtract(TS.rayEnd, TS.rayStart, v3RayDir); in G2_RadiusTracePolys() 1258 delta[0]=verts[pos+0]-TS.rayStart[0]; in G2_RadiusTracePolys() 1259 delta[1]=verts[pos+1]-TS.rayStart[1]; in G2_RadiusTracePolys() 1260 delta[2]=verts[pos+2]-TS.rayStart[2]; in G2_RadiusTracePolys() [all …]
|
/dports/games/openjk/OpenJK-07675e2/codemp/rd-dedicated/ |
H A D | G2_misc.cpp | 186 vec3_t rayStart; member in CTraceSurface 259 VectorCopy(initrayStart, rayStart); in CTraceSurface() 834 delta[0]=verts[pos+0]-TS.rayStart[0]; in G2_GorePolys() 835 delta[1]=verts[pos+1]-TS.rayStart[1]; in G2_GorePolys() 836 delta[2]=verts[pos+2]-TS.rayStart[2]; in G2_GorePolys() 1109 VectorSubtract(hitPoint, TS.rayStart, distVect); in G2_TracePolys() 1214 VectorSubtract(TS.rayEnd, TS.rayStart, v3RayDir); in G2_RadiusTracePolys() 1257 delta[0]=verts[pos+0]-TS.rayStart[0]; in G2_RadiusTracePolys() 1258 delta[1]=verts[pos+1]-TS.rayStart[1]; in G2_RadiusTracePolys() 1259 delta[2]=verts[pos+2]-TS.rayStart[2]; in G2_RadiusTracePolys() [all …]
|
/dports/games/openjk/OpenJK-07675e2/codemp/ui/ |
H A D | ui_syscalls.c | 373 …ngles, const vec3_t position, int frameNumber, int entNum, const vec3_t rayStart, const vec3_t ray… in trap_G2API_CollisionDetect() argument 374 …ISIONDETECT, collRecMap, ghoul2, angles, position, frameNumber, entNum, rayStart, rayEnd, scale, t… in trap_G2API_CollisionDetect() 376 …ngles, const vec3_t position, int frameNumber, int entNum, const vec3_t rayStart, const vec3_t ray… in trap_G2API_CollisionDetectCache() argument 377 …DETECTCACHE, collRecMap, ghoul2, angles, position, frameNumber, entNum, rayStart, rayEnd, scale, t… in trap_G2API_CollisionDetectCache() 458 …rayStart, vec3_t rayEnd, vec3_t scale, int traceFlags, int useLod, float fRadius ) { trap_G2API_Co… in UISyscall_G2API_CollisionDetect() argument
|
/dports/games/openjk/OpenJK-07675e2/codemp/ghoul2/ |
H A D | g2_local.h | 230 void G2_TraceModels(CGhoul2Info_v &ghoul2, vec3_t rayStart, vec3_t rayEnd, CollisionRecord_t *coll… 232 void G2_TraceModels(CGhoul2Info_v &ghoul2, vec3_t rayStart, vec3_t rayEnd, CollisionRecord_t *coll… 311 …c3_t angles, const vec3_t position, int frameNumber, int entNum, vec3_t rayStart, vec3_t rayEnd, v… 312 …c3_t angles, const vec3_t position, int frameNumber, int entNum, vec3_t rayStart, vec3_t rayEnd, v…
|
/dports/games/openjk/OpenJK-07675e2/code/ghoul2/ |
H A D | G2.h | 103 void G2_TraceModels(CGhoul2Info_v &ghoul2, vec3_t rayStart, vec3_t rayEnd, CCollisionRecord *collR… 105 void G2_TraceModels(CGhoul2Info_v &ghoul2, vec3_t rayStart, vec3_t rayEnd, CCollisionRecord *collR… 182 … int frameNumber, int entNum, vec3_t rayStart, vec3_t rayEnd, vec3_t scale, CMiniHeap *G2VertSpace,
|
/dports/games/critterding/critterding-beta12/src/utils/bullet/ |
H A D | Bullet-C-Api.h | 159 …extern int plRayCast(plDynamicsWorldHandle world, const plVector3 rayStart, const plVector3 rayEn…
|