Searched refs:hitDistance (Results 1 – 1 of 1) sorted by relevance
74 …h::Vec3 aabbMin, Math::Vec3 aabbMax, Math::Vec3 start, Math::Vec3 invDirection, float& hitDistance) in IntersectAabb() argument94 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() argument118 hitDistance = 0.f; in IntersectTriangle()127 hitDistance = 0.f; in IntersectTriangle()135 hitDistance = 0.f; in IntersectTriangle()[all …]