diff --git a/helloRay.cpp b/helloRay.cpp index b29cd9f..0ba8938 100644 --- a/helloRay.cpp +++ b/helloRay.cpp @@ -84,6 +84,7 @@ int main() camera.resolution.y = 88; // This specifies the ray behavior. + RCL_initRayConstraints(&constraints); constraints.maxHits = 1; // Stop at first intersection with a wall. constraints.maxSteps = 20; // Trace maximum of 20 squares.