Skip to content

Commit c9c90b6

Browse files
committed
The raycast length was incorrect in the docs for the C++ example
1 parent 1565aaf commit c9c90b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

articles/remote-rendering/overview/features/spatial-queries.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ void CastRay(ApiHandle<RenderingSession> session)
5656
// trace a line from the origin into the +z direction, over 10 units of distance.
5757
RayCast rayCast;
5858
rayCast.StartPos = {0, 0, 0};
59-
rayCast.EndPos = {0, 0, 1};
59+
rayCast.EndPos = {0, 0, 10};
6060
rayCast.MaxHits = 10;
6161

6262
// only return the closest hit

0 commit comments

Comments
 (0)