Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
ecpcitest
vtk-m
Commits
c5cf8186
Commit
c5cf8186
authored
Apr 27, 2021
by
Larsen, Matthew
Browse files
add status init to rays
parent
19c1b99f
Changes
1
Hide whitespace changes
Inline
Side-by-side
vtkm/rendering/raytracing/Camera.cxx
View file @
c5cf8186
...
...
@@ -777,6 +777,10 @@ VTKM_CONT void Camera::CreateRaysImpl(Ray<Precision>& rays, const vtkm::Bounds b
vtkm
::
cont
::
ArrayHandleConstant
<
Precision
>
inf
(
infinity
,
rays
.
NumRays
);
vtkm
::
cont
::
Algorithm
::
Copy
(
inf
,
rays
.
MaxDistance
);
vtkm
::
cont
::
ArrayHandleConstant
<
vtkm
::
UInt8
>
status_active
(
RAY_ACTIVE
,
rays
.
NumRays
);
vtkm
::
cont
::
Algorithm
::
Copy
(
status_active
,
rays
.
Status
);
vtkm
::
cont
::
ArrayHandleConstant
<
Precision
>
zero
(
0
,
rays
.
NumRays
);
vtkm
::
cont
::
Algorithm
::
Copy
(
zero
,
rays
.
MinDistance
);
vtkm
::
cont
::
Algorithm
::
Copy
(
zero
,
rays
.
Distance
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment