Move Vectormath main
C++20 game and graphics mathematics
Loading...
Searching...
No Matches
FrustumQueries.hpp File Reference
#include <array>
#include <cmath>
#include <cstddef>
#include <type_traits>
#include <mv/math/culling/Frustum3.hpp>
#include <mv/math/geometry/Aabb3.hpp>
#include <mv/math/geometry/Obb3.hpp>
#include <mv/math/geometry/Sphere3.hpp>

Go to the source code of this file.

Classes

struct  mv::math::CullingResult
 
class  mv::math::PreparedFrustum3< T >
 

Namespaces

namespace  mv
 
namespace  mv::math
 
namespace  mv::math::detail
 

Typedefs

using mv::math::PreparedFrustum3f = PreparedFrustum3< float >
 
using mv::math::PreparedFrustum3d = PreparedFrustum3< double >
 

Enumerations

enum class  mv::math::Containment : std::uint8_t { mv::math::Outside , mv::math::Intersecting , mv::math::Inside }
 

Functions

template<typename T >
CullingResult mv::math::Classify (const PreparedFrustum3< T > &prepared, const Point3< T > &point, FrustumPlaneMask active=FrustumPlaneMask::All, T tolerance=T(0)) noexcept
 
template<typename T >
CullingResult mv::math::Classify (const PreparedFrustum3< T > &prepared, const Sphere3< T > &sphere, FrustumPlaneMask active=FrustumPlaneMask::All, T tolerance=T(0)) noexcept
 
template<typename T >
CullingResult mv::math::Classify (const PreparedFrustum3< T > &prepared, const Aabb3< T > &box, FrustumPlaneMask active=FrustumPlaneMask::All, T tolerance=T(0)) noexcept
 
template<typename T >
CullingResult mv::math::Classify (const PreparedFrustum3< T > &prepared, const Obb3< T > &box, FrustumPlaneMask active=FrustumPlaneMask::All, T tolerance=T(0)) noexcept
 
template<typename T , typename Bounds >
Containment mv::math::Classify (const Frustum3< T > &frustum, const Bounds &bounds, T tolerance=T(0)) noexcept