Home
last modified time | relevance | path

Searched refs:hitNormal (Results 1 – 25 of 105) sorted by relevance

12345

/dports/devel/bullet/bullet3-3.21/src/Bullet3OpenCL/Raycast/kernels/
H A DrayCastKernels.cl159 __global const b3GpuFace* faces, float* hitFraction, float4* hitNormal)
211 hitNormal[0] = curHitNormal;
276 float4 hitNormal;
311 if (rayConvex(rayFromLocal, rayToLocal, numFaces, faceOffset,faces, &hitFraction, &hitNormal))
325 hitNormal = (float4) (hitPoint-bodies[b].m_pos);
335 hitResults[i].m_hitNormal = normalize(hitNormal);
379 float4 hitNormal;
411 …Faces && rayConvex(rayFromLocal, rayToLocal, numFaces, faceOffset,faces, &hitFraction, &hitNormal))
426 hitNormal = (float4) (hitPoint - bodies[b].m_pos);
435 hitResults[i].m_hitNormal = normalize(hitNormal);
/dports/devel/py-bullet3/bullet3-3.21/src/Bullet3OpenCL/Raycast/kernels/
H A DrayCastKernels.cl159 __global const b3GpuFace* faces, float* hitFraction, float4* hitNormal)
211 hitNormal[0] = curHitNormal;
276 float4 hitNormal;
311 if (rayConvex(rayFromLocal, rayToLocal, numFaces, faceOffset,faces, &hitFraction, &hitNormal))
325 hitNormal = (float4) (hitPoint-bodies[b].m_pos);
335 hitResults[i].m_hitNormal = normalize(hitNormal);
379 float4 hitNormal;
411 …Faces && rayConvex(rayFromLocal, rayToLocal, numFaces, faceOffset,faces, &hitFraction, &hitNormal))
426 hitNormal = (float4) (hitPoint - bodies[b].m_pos);
435 hitResults[i].m_hitNormal = normalize(hitNormal);
/dports/devel/godot-tools/godot-3.2.3-stable/thirdparty/bullet/Bullet3OpenCL/Raycast/kernels/
H A DrayCastKernels.cl159 __global const b3GpuFace* faces, float* hitFraction, float4* hitNormal)
211 hitNormal[0] = curHitNormal;
276 float4 hitNormal;
311 if (rayConvex(rayFromLocal, rayToLocal, numFaces, faceOffset,faces, &hitFraction, &hitNormal))
325 hitNormal = (float4) (hitPoint-bodies[b].m_pos);
335 hitResults[i].m_hitNormal = normalize(hitNormal);
379 float4 hitNormal;
411 …Faces && rayConvex(rayFromLocal, rayToLocal, numFaces, faceOffset,faces, &hitFraction, &hitNormal))
426 hitNormal = (float4) (hitPoint - bodies[b].m_pos);
435 hitResults[i].m_hitNormal = normalize(hitNormal);
/dports/devel/godot/godot-3.2.3-stable/thirdparty/bullet/Bullet3OpenCL/Raycast/kernels/
H A DrayCastKernels.cl159 __global const b3GpuFace* faces, float* hitFraction, float4* hitNormal)
211 hitNormal[0] = curHitNormal;
276 float4 hitNormal;
311 if (rayConvex(rayFromLocal, rayToLocal, numFaces, faceOffset,faces, &hitFraction, &hitNormal))
325 hitNormal = (float4) (hitPoint-bodies[b].m_pos);
335 hitResults[i].m_hitNormal = normalize(hitNormal);
379 float4 hitNormal;
411 …Faces && rayConvex(rayFromLocal, rayToLocal, numFaces, faceOffset,faces, &hitFraction, &hitNormal))
426 hitNormal = (float4) (hitPoint - bodies[b].m_pos);
435 hitResults[i].m_hitNormal = normalize(hitNormal);
/dports/games/fs2open/fs2open.github.com-release_21_4_1/code/def_files/data/effects/
H A Dshield-impact-v.sdr18 vec3 hitNormal;
30 fragNormOffset = dot(hitNormal, vertNormal);
/dports/devel/bullet/bullet3-3.21/src/Bullet3OpenCL/Raycast/
H A Db3GpuRaycast.cpp125 const b3AlignedObjectArray<b3GpuFace>& faces, float& hitFraction, b3Vector3& hitNormal) in rayConvex() argument
171 hitNormal = curHitNormal; in rayConvex()
188 b3Vector3 hitNormal; in castRaysHost() local
205 hitNormal = (hitPoint - bodies[b].m_pos).normalize(); in castRaysHost()
221 …(rayConvex(rayFromLocal, rayToLocal, poly, narrowphaseData->m_convexFaces, hitFraction, hitNormal)) in castRaysHost()
243 hitResults[r].m_hitNormal = hitNormal; in castRaysHost()
/dports/devel/godot-tools/godot-3.2.3-stable/thirdparty/bullet/Bullet3OpenCL/Raycast/
H A Db3GpuRaycast.cpp125 const b3AlignedObjectArray<b3GpuFace>& faces, float& hitFraction, b3Vector3& hitNormal) in rayConvex() argument
171 hitNormal = curHitNormal; in rayConvex()
188 b3Vector3 hitNormal; in castRaysHost() local
205 hitNormal = (hitPoint - bodies[b].m_pos).normalize(); in castRaysHost()
221 …(rayConvex(rayFromLocal, rayToLocal, poly, narrowphaseData->m_convexFaces, hitFraction, hitNormal)) in castRaysHost()
243 hitResults[r].m_hitNormal = hitNormal; in castRaysHost()
/dports/devel/py-bullet3/bullet3-3.21/src/Bullet3OpenCL/Raycast/
H A Db3GpuRaycast.cpp125 const b3AlignedObjectArray<b3GpuFace>& faces, float& hitFraction, b3Vector3& hitNormal) in rayConvex() argument
171 hitNormal = curHitNormal; in rayConvex()
188 b3Vector3 hitNormal; in castRaysHost() local
205 hitNormal = (hitPoint - bodies[b].m_pos).normalize(); in castRaysHost()
221 …(rayConvex(rayFromLocal, rayToLocal, poly, narrowphaseData->m_convexFaces, hitFraction, hitNormal)) in castRaysHost()
243 hitResults[r].m_hitNormal = hitNormal; in castRaysHost()
/dports/devel/godot/godot-3.2.3-stable/thirdparty/bullet/Bullet3OpenCL/Raycast/
H A Db3GpuRaycast.cpp125 const b3AlignedObjectArray<b3GpuFace>& faces, float& hitFraction, b3Vector3& hitNormal) in rayConvex() argument
171 hitNormal = curHitNormal; in rayConvex()
188 b3Vector3 hitNormal; in castRaysHost() local
205 hitNormal = (hitPoint - bodies[b].m_pos).normalize(); in castRaysHost()
221 …(rayConvex(rayFromLocal, rayToLocal, poly, narrowphaseData->m_convexFaces, hitFraction, hitNormal)) in castRaysHost()
243 hitResults[r].m_hitNormal = hitNormal; in castRaysHost()
/dports/misc/usd/USD-21.11/pxr/usdImaging/usdImagingGL/
H A DwrapEngine.cpp56 GfVec3d hitNormal; in _TestIntersection() local
68 &hitNormal, in _TestIntersection()
81 return boost::python::make_tuple(hitPoint, hitNormal, hitPrimPath, in _TestIntersection()
/dports/science/chrono/chrono-7.0.1/src/chrono_thirdparty/HACD/
H A DhacdRaycastMesh.cpp228 …<Float> & dir, long & triID, Float & distance, Vec3<Real> & hitPoint, Vec3<Real> & hitNormal) const in Raycast()
232 return m_nodes[0].Raycast(from, dir, triID, distance, hitPoint, hitNormal); in Raycast()
234 …Float> & dir, long & triID, Float & distance, Vec3<Real> & hitPoint, Vec3<Real> & hitNormal) const in Raycast()
263 hitNormal = normal1; in Raycast()
275 …ght >= 0) ret1 = m_rm->m_nodes[m_idRight].Raycast(from, dir, triID, distance, hitPoint, hitNormal); in Raycast()
276 …eft >= 0) ret2 = m_rm->m_nodes[m_idLeft].Raycast(from, dir, triID, distance, hitPoint, hitNormal); in Raycast()
/dports/graphics/urho3d/Urho3D-1.7.1/Source/Urho3D/Navigation/
H A DCrowdManager.cpp434 …oWall(const Vector3& point, float radius, int queryFilterType, Vector3* hitPos, Vector3* hitNormal) in GetDistanceToWall() argument
438 if (hitNormal) in GetDistanceToWall()
439 *hitNormal = Vector3::DOWN; in GetDistanceToWall()
442 hitPos, hitNormal) : radius; in GetDistanceToWall()
445 …Manager::Raycast(const Vector3& start, const Vector3& end, int queryFilterType, Vector3* hitNormal) in Raycast() argument
447 if (hitNormal) in Raycast()
448 *hitNormal = Vector3::DOWN; in Raycast()
450 …cast(start, end, Vector3(crowd_->getQueryExtents()), crowd_->getFilter(queryFilterType), hitNormal) in Raycast()
/dports/games/emptyepsilon/EmptyEpsilon-EE-2021.06.23/src/spaceObjects/
H A DbeamEffect.cpp52 registerMemberReplication(&hitNormal); in BeamEffect()
108 sf::Vector3f side = sf::cross(hitNormal, sf::Vector3f(0, 0, 1)); in draw3DTransparent()
109 sf::Vector3f up = sf::cross(side, hitNormal); in draw3DTransparent()
188 hitNormal = sf::normalize(targetPos - hitPos); in setTarget()
/dports/devel/py-bullet3/bullet3-3.21/src/Bullet3Geometry/
H A Db3AabbUtil.h136 b3Vector3 hitNormal = b3MakeVector3(0, 0, 0); in b3RayAabb() local
149 hitNormal.setValue(0, 0, 0); in b3RayAabb()
150 hitNormal[i] = normSign; in b3RayAabb()
165 normal = hitNormal; in b3RayAabb()
/dports/devel/godot/godot-3.2.3-stable/thirdparty/bullet/Bullet3Geometry/
H A Db3AabbUtil.h136 b3Vector3 hitNormal = b3MakeVector3(0, 0, 0); in b3RayAabb() local
149 hitNormal.setValue(0, 0, 0); in b3RayAabb()
150 hitNormal[i] = normSign; in b3RayAabb()
165 normal = hitNormal; in b3RayAabb()
/dports/devel/godot-tools/godot-3.2.3-stable/thirdparty/bullet/Bullet3Geometry/
H A Db3AabbUtil.h136 b3Vector3 hitNormal = b3MakeVector3(0, 0, 0); in b3RayAabb() local
149 hitNormal.setValue(0, 0, 0); in b3RayAabb()
150 hitNormal[i] = normSign; in b3RayAabb()
165 normal = hitNormal; in b3RayAabb()
/dports/devel/bullet/bullet3-3.21/src/Bullet3Geometry/
H A Db3AabbUtil.h136 b3Vector3 hitNormal = b3MakeVector3(0, 0, 0); in b3RayAabb() local
149 hitNormal.setValue(0, 0, 0); in b3RayAabb()
150 hitNormal[i] = normSign; in b3RayAabb()
165 normal = hitNormal; in b3RayAabb()
/dports/devel/bullet/bullet3-3.21/src/LinearMath/
H A DbtAabbUtil2.h136 btVector3 hitNormal(0, 0, 0); in btRayAabb()
149 hitNormal.setValue(0, 0, 0); in btRayAabb()
150 hitNormal[i] = normSign; in btRayAabb()
165 normal = hitNormal; in btRayAabb()
/dports/graphics/blender/blender-2.91.0/extern/bullet2/src/LinearMath/
H A DbtAabbUtil2.h136 btVector3 hitNormal(0, 0, 0); in btRayAabb()
149 hitNormal.setValue(0, 0, 0); in btRayAabb()
150 hitNormal[i] = normSign; in btRayAabb()
165 normal = hitNormal; in btRayAabb()
/dports/games/supertuxkart/SuperTuxKart-1.2-src/lib/bullet/src/LinearMath/
H A DbtAabbUtil2.h144 btVector3 hitNormal(0,0,0); in btRayAabb()
157 hitNormal.setValue(0,0,0); in btRayAabb()
158 hitNormal[i] = normSign; in btRayAabb()
173 normal = hitNormal; in btRayAabb()
/dports/games/critterding/critterding-beta12/src/utils/bullet/LinearMath/
H A DbtAabbUtil2.h144 btVector3 hitNormal(0,0,0); in btRayAabb()
157 hitNormal.setValue(0,0,0); in btRayAabb()
158 hitNormal[i] = normSign; in btRayAabb()
173 normal = hitNormal; in btRayAabb()
/dports/devel/godot/godot-3.2.3-stable/thirdparty/bullet/LinearMath/
H A DbtAabbUtil2.h136 btVector3 hitNormal(0, 0, 0); in btRayAabb()
149 hitNormal.setValue(0, 0, 0); in btRayAabb()
150 hitNormal[i] = normSign; in btRayAabb()
165 normal = hitNormal; in btRayAabb()
/dports/devel/godot-tools/godot-3.2.3-stable/thirdparty/bullet/LinearMath/
H A DbtAabbUtil2.h136 btVector3 hitNormal(0, 0, 0); in btRayAabb()
149 hitNormal.setValue(0, 0, 0); in btRayAabb()
150 hitNormal[i] = normSign; in btRayAabb()
165 normal = hitNormal; in btRayAabb()
/dports/science/chrono/chrono-7.0.1/src/chrono/collision/bullet/LinearMath/
H A DbtAabbUtil2.h136 btVector3 hitNormal(0, 0, 0); in btRayAabb()
149 hitNormal.setValue(0, 0, 0); in btRayAabb()
150 hitNormal[i] = normSign; in btRayAabb()
165 normal = hitNormal; in btRayAabb()
/dports/graphics/urho3d/Urho3D-1.7.1/Source/ThirdParty/Bullet/src/LinearMath/
H A DbtAabbUtil2.h144 btVector3 hitNormal(0,0,0); in btRayAabb()
157 hitNormal.setValue(0,0,0); in btRayAabb()
158 hitNormal[i] = normSign; in btRayAabb()
173 normal = hitNormal; in btRayAabb()

12345