Handbook
Glossary
spheres<< ( value object -- )
Vocabulary
accessors
Inputs
value
an
object
object
an
object
Outputs
None
Definition
IN:
accessors
GENERIC:
spheres<<
( value object -- )
Methods
USING:
accessors
gpu.demos.raytrace
kernel
sequences
slots
slots.private
;
M:
raytrace-uniforms
spheres<<
[
dup
sequence?
[
\
sequence
bad-slot-value
]
unless
]
dip
4
set-slot
;
inline
USING:
accessors
gpu.demos.raytrace
slots.private
;
M:
raytrace-world
spheres<<
55
set-slot
;
inline