Update hello ray

This commit is contained in:
Miloslav Číž 2018-09-18 15:05:36 +02:00
parent 24165c9544
commit 4f1b9fb15a

View file

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