Handbook
Glossary
ray-trace ( scene -- grid )
Vocabulary
benchmark
.
raytracer-simd
Inputs
scene
an
object
Outputs
grid
an
object
Definition
USING:
kernel
math
math.vectors.simd.cords
sequences
;
IN:
benchmark.raytracer-simd
:
ray-trace
( scene -- grid )
size
<iota>
<reversed>
[
size
<iota>
[
[
size
0.5
*
-
]
bi@
swap
size
0.0
double-4-boa
ray-pixel
]
2with
map
]
with
map
;