Home
last modified time | relevance | path

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

/ohos5.0/foundation/graphic/graphic_3d/lume/Lume_3D/src/util/
H A Dpicking.cpp74 …h::Vec3 aabbMin, Math::Vec3 aabbMax, Math::Vec3 start, Math::Vec3 invDirection, float& hitDistance) in IntersectAabb() argument
94 hitDistance = tmin; in IntersectAabb()
96 if (hitDistance < 0.0f) { in IntersectAabb()
97 hitDistance = tmax; in IntersectAabb()
99 if (hitDistance < 0.0f) { in IntersectAabb()
100 hitDistance = 0.0f; in IntersectAabb()
108 float& hitDistance, Math::Vec2& uv) in IntersectTriangle() argument
118 hitDistance = 0.f; in IntersectTriangle()
127 hitDistance = 0.f; in IntersectTriangle()
135 hitDistance = 0.f; in IntersectTriangle()
[all …]