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

Method tnear

kernels/common/ray.h:483–483  ·  view source on GitHub ↗

z coordinate of ray origin

Source from the content-addressed store, hash-verified

481 __forceinline float* org_y(size_t offset = 0) { return (float*)&ptr[1*4*N+offset]; } // y coordinate of ray origin
482 __forceinline float* org_z(size_t offset = 0) { return (float*)&ptr[2*4*N+offset]; }; // z coordinate of ray origin
483 __forceinline float* tnear(size_t offset = 0) { return (float*)&ptr[3*4*N+offset]; }; // start of ray segment
484
485 __forceinline float* dir_x(size_t offset = 0) { return (float*)&ptr[4*4*N+offset]; }; // x coordinate of ray direction
486 __forceinline float* dir_y(size_t offset = 0) { return (float*)&ptr[5*4*N+offset]; }; // y coordinate of ray direction

Callers 15

intersect_user_geometryFunction · 0.80
intersect_instanceFunction · 0.80
trav_loopFunction · 0.80
rtcIntersectRTHWFunction · 0.80
rtcOccludedRTHWFunction · 0.80
intersectMethod · 0.80
intersectMethod · 0.80
intersectMethod · 0.80
Ray1Method · 0.80
intersectMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected