3 #include <Core/RaCore.hpp>
20 bool RA_CORE_API RayCastAabb(
const Ray& r,
21 const Core::Aabb& aabb,
26 bool RA_CORE_API RayCastSphere(
const Ray& r,
27 const Core::Vector3& center,
29 std::vector<Scalar>& hitsOut );
32 bool RA_CORE_API RayCastPlane(
const Ray& r,
33 const Core::Vector3& a,
34 const Core::Vector3& normal,
35 std::vector<Scalar>& hitsOut );
38 bool RA_CORE_API RayCastCylinder(
const Ray& r,
39 const Core::Vector3& a,
40 const Core::Vector3& b,
42 std::vector<Scalar>& hitsOut );
45 bool RA_CORE_API RayCastTriangle(
const Ray& r,
46 const Core::Vector3& a,
47 const Core::Vector3& b,
48 const Core::Vector3& c,
49 std::vector<Scalar>& hitsOut );
51 bool RA_CORE_API RayCastTriangleMesh(
const Ray& r,
52 const TriangleMesh& mesh,
53 std::vector<Scalar>& hitsOut,
54 std::vector<Vector3ui>& trianglesIdxOut );