#pragma once
#include "../common/default.h"
#include "bezier_curve.h"
#include "../common/scene_curves.h"
namespace embree
{
class CatmullRomBasis
{ … };
struct PrecomputedCatmullRomBasis
{ … };
extern PrecomputedCatmullRomBasis catmullrom_basis0;
extern PrecomputedCatmullRomBasis catmullrom_basis1;
template<typename Vertex>
struct CatmullRomCurveT
{ … };
template<typename Vertex>
__forceinline void convert(const CatmullRomCurveT<Vertex>& icurve, BezierCurveT<Vertex>& ocurve)
{ … }
template<typename CurveGeometry>
__forceinline CatmullRomCurveT<Vec3ff> enlargeRadiusToMinWidth(const RayQueryContext* context, const CurveGeometry* geom, const Vec3fa& ray_org, const CatmullRomCurveT<Vec3ff>& curve)
{ … }
CatmullRomCurve3fa;
}