#include <utility>
#include <OpenKN/math/Vector3.hpp>
Go to the source code of this file.
Namespaces | |
namespace | kn |
Functions | |
std::pair< kn::Vector2d, double > | kn::intersectTriangle (const kn::Vector3d &pointA, const kn::Vector3d &pointB, const kn::Vector3d &pointC, const kn::Vector3d &rayDirection,const kn::Vector3d &rayOrigin) |
Intersect a triangle If the returned distance is negative, no intersection was found. | |
std::pair< kn::Vector3d, double > | kn::intersectOBB (const kn::Vector3d ¢er, const kn::Vector3d a[3], const kn::Vector3d &h, const kn::Vector3d &rayDirection,const kn::Vector3d &rayOrigin) |
Intersect an Oriented Bounding Box If the returned distance is negative, no intersection was found. | |
std::pair< kn::Vector3d, double > | kn::intersectSphere (const kn::Vector3d &spherePosition, double sphereRadius, const kn::Vector3d &rayDirection,const kn::Vector3d &rayOrigin) |
Intersect a sphere If the returned distance is negative, no intersection was found. |