MCPcopy Create free account
hub / github.com/RenderKit/embree / init_Ray

Function init_Ray

tutorials/common/core/ray.h:79–90  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

77
78
79__forceinline void init_Ray(Ray &ray,
80 const embree::Vec3fa& org,
81 const embree::Vec3fa& dir,
82 float tnear = 0.0f,
83 float tfar = embree::inf,
84 float time = 0.0f,
85 int mask = -1,
86 unsigned int geomID = RTC_INVALID_GEOMETRY_ID,
87 unsigned int primID = RTC_INVALID_GEOMETRY_ID)
88{
89 ray = Ray(org,dir,tnear,tfar,time,mask,geomID,primID);
90}
91
92typedef Ray Ray1;
93

Callers 4

renderPixelFunctionFunction · 0.85
renderPixelStandardFunction · 0.85
samplePrimaryRayFunction · 0.85
makeShadowRayFunction · 0.85

Calls 1

RayFunction · 0.70

Tested by

no test coverage detected