Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
vec.h File Reference
#include "bvh/v2/utils.h"
#include <cstddef>
#include <numeric>
#include <cmath>
#include <algorithm>
Include dependency graph for vec.h:
This graph shows which files directly or indirectly include this file:

Classes

struct  bvh::v2::Vec< T, N >
 

Namespaces

namespace  bvh
 
namespace  bvh::v2
 

Functions

template<typename T >
BVH_ALWAYS_INLINE Vec< T, 3 > bvh::v2::cross (const Vec< T, 3 > &a, const Vec< T, 3 > &b)
 
template<typename T , size_t N>
BVH_ALWAYS_INLINEbvh::v2::dot (const Vec< T, N > &a, const Vec< T, N > &b)
 
template<typename T , size_t N>
BVH_ALWAYS_INLINE Vec< T, Nbvh::v2::fast_mul_add (const Vec< T, N > &a, const Vec< T, N > &b, const Vec< T, N > &c)
 
template<typename T , size_t N>
BVH_ALWAYS_INLINEbvh::v2::length (const Vec< T, N > &v)
 
template<typename T , size_t N>
BVH_ALWAYS_INLINE Vec< T, Nbvh::v2::normalize (const Vec< T, N > &v)
 
template<typename T , size_t N>
BVH_ALWAYS_INLINE Vec< T, Nbvh::v2::operator* (const Vec< T, N > &a, const Vec< T, N > &b)
 
template<typename T , size_t N>
BVH_ALWAYS_INLINE Vec< T, Nbvh::v2::operator* (const Vec< T, N > &a, T b)
 
template<typename T , size_t N>
BVH_ALWAYS_INLINE Vec< T, Nbvh::v2::operator* (T a, const Vec< T, N > &b)
 
template<typename T , size_t N>
BVH_ALWAYS_INLINE Vec< T, Nbvh::v2::operator+ (const Vec< T, N > &a, const Vec< T, N > &b)
 
template<typename T , size_t N>
BVH_ALWAYS_INLINE Vec< T, Nbvh::v2::operator- (const Vec< T, N > &a)
 
template<typename T , size_t N>
BVH_ALWAYS_INLINE Vec< T, Nbvh::v2::operator- (const Vec< T, N > &a, const Vec< T, N > &b)
 
template<typename T , size_t N>
BVH_ALWAYS_INLINE Vec< T, Nbvh::v2::operator/ (const Vec< T, N > &a, const Vec< T, N > &b)
 
template<typename T , size_t N>
BVH_ALWAYS_INLINE Vec< T, Nbvh::v2::operator/ (T a, const Vec< T, N > &b)
 
template<typename T , size_t N>
BVH_ALWAYS_INLINE Vec< T, Nbvh::v2::robust_max (const Vec< T, N > &a, const Vec< T, N > &b)
 
template<typename T , size_t N>
BVH_ALWAYS_INLINE Vec< T, Nbvh::v2::robust_min (const Vec< T, N > &a, const Vec< T, N > &b)
 
template<typename T , size_t N>
BVH_ALWAYS_INLINE Vec< T, Nbvh::v2::safe_inverse (const Vec< T, N > &v)