From 4f1b9fb15a5db5b74f5e5f89096c3210f0ec9cc2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miloslav=20=C4=8C=C3=AD=C5=BE?= Date: Tue, 18 Sep 2018 15:05:36 +0200 Subject: [PATCH] Update hello ray --- helloRay.cpp | 1 + 1 file changed, 1 insertion(+) 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.