Blender  V2.93
Functions
geom_triangle_intersect.h File Reference

Go to the source code of this file.

Functions

CCL_NAMESPACE_BEGIN ccl_device_inline bool triangle_intersect (KernelGlobals *kg, Intersection *isect, float3 P, float3 dir, uint visibility, int object, int prim_addr)
 
ccl_device_inline float3 triangle_refine (KernelGlobals *kg, ShaderData *sd, const Intersection *isect, const Ray *ray)
 
ccl_device_inline float3 triangle_refine_local (KernelGlobals *kg, ShaderData *sd, const Intersection *isect, const Ray *ray)
 

Function Documentation

◆ triangle_intersect()

CCL_NAMESPACE_BEGIN ccl_device_inline bool triangle_intersect ( KernelGlobals *  kg,
Intersection isect,
float3  P,
float3  dir,
uint  visibility,
int  object,
int  prim_addr 
)

◆ triangle_refine()

ccl_device_inline float3 triangle_refine ( KernelGlobals *  kg,
ShaderData sd,
const Intersection isect,
const Ray ray 
)

◆ triangle_refine_local()

ccl_device_inline float3 triangle_refine_local ( KernelGlobals *  kg,
ShaderData sd,
const Intersection isect,
const Ray ray 
)