Skip to content

Commit

Permalink
Fix Ray example
Browse files Browse the repository at this point in the history
  • Loading branch information
aprokop committed Apr 16, 2024
1 parent 1984a85 commit ad8df53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/raytracing/example_raytracing.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ int main(int argc, char *argv[])
g, 2.f * Kokkos::numbers::pi_v<float>);
float theta =
acos(1 - 2 * Kokkos::rand<GeneratorType, float>::draw(g));
ArborX::Experimental::Vector direction{
typename ArborX::Experimental::Ray::Vector direction{
cos(upsilon) * sin(theta), sin(upsilon) * sin(theta), cos(theta)};

rays(j + i * rays_per_box) =
Expand Down

0 comments on commit ad8df53

Please sign in to comment.