Tatooine
Public Types | Public Attributes | List of all members
tatooine::intersection< Real, N > Struct Template Reference

#include <intersection.h>

Collaboration diagram for tatooine::intersection< Real, N >:
[legend]

Public Types

using real_type = Real
 
using vec_t = vec< Real, N >
 
using pos_type = vec_t
 
using normal_t = vec_t
 
using ray_t = ray< real_type, N >
 
using ray_intersectable_ptr_t = ray_intersectable< real_type, N >
 

Public Attributes

ray_intersectable_ptr_t const * intersectable
 pointer to primitive object More...
 
ray_t incident_ray
 incident ray More...
 
real_type t
 position on ray More...
 
pos_type position
 world position of intersection More...
 
normal_t normal
 normal of intersection point on the primitive More...
 

Member Typedef Documentation

◆ normal_t

template<typename Real , size_t N>
using tatooine::intersection< Real, N >::normal_t = vec_t

◆ pos_type

template<typename Real , size_t N>
using tatooine::intersection< Real, N >::pos_type = vec_t

◆ ray_intersectable_ptr_t

template<typename Real , size_t N>
using tatooine::intersection< Real, N >::ray_intersectable_ptr_t = ray_intersectable<real_type, N>

◆ ray_t

template<typename Real , size_t N>
using tatooine::intersection< Real, N >::ray_t = ray<real_type, N>

◆ real_type

template<typename Real , size_t N>
using tatooine::intersection< Real, N >::real_type = Real

◆ vec_t

template<typename Real , size_t N>
using tatooine::intersection< Real, N >::vec_t = vec<Real, N>

Member Data Documentation

◆ incident_ray

template<typename Real , size_t N>
ray_t tatooine::intersection< Real, N >::incident_ray

incident ray

◆ intersectable

template<typename Real , size_t N>
ray_intersectable_ptr_t const* tatooine::intersection< Real, N >::intersectable

pointer to primitive object

◆ normal

template<typename Real , size_t N>
normal_t tatooine::intersection< Real, N >::normal

normal of intersection point on the primitive

◆ position

template<typename Real , size_t N>
pos_type tatooine::intersection< Real, N >::position

world position of intersection

◆ t

template<typename Real , size_t N>
real_type tatooine::intersection< Real, N >::t

position on ray


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