#pragma once
#include "../common/ray.h"
#include "curve_intersector_precalculations.h"
namespace embree
{
namespace isa
{
namespace __coneline_internal
{
template<int M, typename Epilog, typename ray_tfar_func>
static __forceinline bool intersectCone(const vbool<M>& valid_i,
const Vec3vf<M>& ray_org_in, const Vec3vf<M>& ray_dir,
const vfloat<M>& ray_tnear, const ray_tfar_func& ray_tfar,
const Vec4vf<M>& v0, const Vec4vf<M>& v1,
const vbool<M>& cL, const vbool<M>& cR,
const Epilog& epilog)
{ … }
}
template<int M>
struct ConeLineIntersectorHitM
{ … };
template<int M>
struct ConeCurveIntersector1
{ … };
template<int M, int K>
struct ConeCurveIntersectorK
{ … };
}
}