Update hello ray
This commit is contained in:
parent
24165c9544
commit
4f1b9fb15a
1 changed files with 1 additions and 0 deletions
|
@ -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.
|
||||
|
||||
|
|
Loading…
Reference in a new issue