#pragma once
#include "default.h"
#include "ray.h"
#include "instance_stack.h"
namespace embree
{
template<int K>
struct HitK
{ … };
template<>
struct __aligned(16) HitK<1>
{ … };
Hit;
Hit4;
Hit8;
Hit16;
Hitx;
template<int K>
__forceinline embree_ostream operator<<(embree_ostream cout, const HitK<K>& ray)
{ … }
template<typename Hit>
__forceinline void copyHitToRay(RayHit& ray, const Hit& hit)
{ … }
template<int K>
__forceinline void copyHitToRay(const vbool<K>& mask, RayHitK<K>& ray, const HitK<K>& hit)
{ … }
}