29#ifndef GU_INTERSECTION_RAY_SPHERE_H
30#define GU_INTERSECTION_RAY_SPHERE_H
32#include "common/PxPhysXCommonConfig.h"
39 PX_PHYSX_COMMON_API
bool intersectRaySphereBasic(
const PxVec3& origin,
const PxVec3& dir, PxReal length,
const PxVec3& center, PxReal radius, PxReal& dist, PxVec3* hit_pos = NULL);
42 PX_PHYSX_COMMON_API
bool intersectRaySphere(
const PxVec3& origin,
const PxVec3& dir, PxReal length,
const PxVec3& center, PxReal radius, PxReal& dist, PxVec3* hit_pos = NULL);
GLM_FUNC_DECL bool intersectRaySphere(genType const &rayStarting, genType const &rayNormalizedDirection, genType const &sphereCenter, typename genType::value_type const sphereRadiusSquered, typename genType::value_type &intersectionDistance)
Definition intersect.inl:136
Sorts an array of objects in ascending order, assuming that the predicate implements the < operator:
Definition PxBoxController.h:39