Handbook
Glossary
floor-vector ( v -- v' )
Vocabulary
noise
Inputs
v
an
object
Outputs
v'
an
object
Definition
USING:
kernel
math.vectors
math.vectors.conversion
math.vectors.simd
;
IN:
noise
:
floor-vector
( v -- v' )
[
float-4
int-4
vconvert
int-4
float-4
vconvert
]
[
[
v>
-1.0
float-4-with
vand
]
keepd
v+
]
bi
;
inline