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

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

Public Member Functions

T Distance () const noexcept
 

Public Attributes

Point3< T > PointOnTriangle
 
Vec3< T > Barycentric
 
T SquaredDistance
 

Detailed Description

template<typename T>
requires std::is_floating_point_v<T>
struct mv::math::PointTriangleClosest3< T >

Definition at line 92 of file QueryTypes.hpp.

Member Function Documentation

◆ Distance()

template<typename T >
T mv::math::PointTriangleClosest3< T >::Distance ( ) const
inlinenoexcept

Definition at line 98 of file QueryTypes.hpp.

Member Data Documentation

◆ Barycentric

template<typename T >
Vec3<T> mv::math::PointTriangleClosest3< T >::Barycentric

Definition at line 95 of file QueryTypes.hpp.

◆ PointOnTriangle

template<typename T >
Point3<T> mv::math::PointTriangleClosest3< T >::PointOnTriangle

Definition at line 94 of file QueryTypes.hpp.

◆ SquaredDistance

template<typename T >
T mv::math::PointTriangleClosest3< T >::SquaredDistance

Definition at line 96 of file QueryTypes.hpp.


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