Handbook
Glossary
sphere-d ( sphere b v -- d )
Vocabulary
benchmark
.
raytracer-simd
Inputs
sphere
an
object
b
an
object
v
an
object
Outputs
d
an
object
Definition
USING:
accessors
kernel
math
math.vectors
;
IN:
benchmark.raytracer-simd
:
sphere-d
( sphere b v -- d )
[
radius>>
sq
]
[
sq
]
[
norm-sq
]
tri*
-
+
;
inline