MCPcopy Create free account
hub / github.com/LuxCoreRender/LuxCore / AddRay

Method AddRay

include/luxrays/core/geometry/raybuffer.h:88–93  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

86 }
87
88 size_t AddRay(const Ray &ray) {
89 assert (currentFreeRayIndex < size);
90 rays[currentFreeRayIndex] = ray;
91
92 return currentFreeRayIndex++;
93 }
94
95 size_t AddRays(const Ray *ray, const size_t raysCount) {
96 assert ((raysCount == 0) || (currentFreeRayIndex + raysCount - 1 < size));

Callers 1

mainFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected