Move Vectormath main
C++20 game and graphics mathematics
Loading...
Searching...
No Matches
ObbQueries.hpp File Reference
#include <array>
#include <cmath>
#include <cstddef>
#include <limits>
#include <optional>
#include <type_traits>
#include <mv/math/geometry/Obb3.hpp>
#include <mv/math/geometry/Ray3.hpp>
#include <mv/math/geometry/Sphere3.hpp>
#include <mv/math/queries/BoundsQueries.hpp>

Go to the source code of this file.

Namespaces

namespace  mv
 
namespace  mv::math
 

Functions

template<typename T >
std::optional< RayObbHit3< T > > mv::math::Intersect (const Ray3< T > &ray, const Obb3< T > &box) noexcept
 
template<typename T >
bool mv::math::Intersects (const Ray3< T > &ray, const Obb3< T > &box) noexcept
 
template<typename T >
bool mv::math::Intersects (const Sphere3< T > &sphere, const Obb3< T > &box) noexcept
 
template<typename T >
bool mv::math::Intersects (const Obb3< T > &box, const Sphere3< T > &sphere) noexcept
 
template<typename T >
bool mv::math::Intersects (const Obb3< T > &first, const Obb3< T > &second) noexcept
 
template<typename T >
bool mv::math::Intersects (const Aabb3< T > &first, const Obb3< T > &second) noexcept
 
template<typename T >
bool mv::math::Intersects (const Obb3< T > &first, const Aabb3< T > &second) noexcept