Move Vectormath main
C++20 game and graphics mathematics
Loading...
Searching...
No Matches
mv::math::PreparedRay3< T > Class Template Reference

#include <mv/math/queries/PreparedRay3.hpp>

Public Member Functions

 PreparedRay3 (const Ray3< T > &ray) noexcept
 
const Ray3< T > & Ray () const noexcept
 
const Vec3< T > & ReciprocalDirection () const noexcept
 
bool IsParallel (std::size_t axis) const noexcept
 

Detailed Description

template<typename T>
requires std::is_floating_point_v<T>
class mv::math::PreparedRay3< T >

Definition at line 16 of file PreparedRay3.hpp.

Constructor & Destructor Documentation

◆ PreparedRay3()

template<typename T >
mv::math::PreparedRay3< T >::PreparedRay3 ( const Ray3< T > &  ray)
inlineexplicitnoexcept

Definition at line 19 of file PreparedRay3.hpp.

Member Function Documentation

◆ IsParallel()

template<typename T >
bool mv::math::PreparedRay3< T >::IsParallel ( std::size_t  axis) const
inlinenoexcept

Definition at line 38 of file PreparedRay3.hpp.

◆ Ray()

template<typename T >
const Ray3< T > & mv::math::PreparedRay3< T >::Ray ( ) const
inlinenoexcept

Definition at line 28 of file PreparedRay3.hpp.

◆ ReciprocalDirection()

template<typename T >
const Vec3< T > & mv::math::PreparedRay3< T >::ReciprocalDirection ( ) const
inlinenoexcept

Definition at line 33 of file PreparedRay3.hpp.


The documentation for this class was generated from the following file: