Handbook
Glossary
<scale> ( x y -- transform )
Vocabulary
math
.
affine-transforms
Inputs
x
an
object
y
an
object
Outputs
transform
an
object
Definition
USING:
arrays
kernel
;
IN:
math.affine-transforms
:
<scale>
( x y -- transform )
[
0.0
2array
]
[
0.0
swap
2array
]
bi*
{
0.0 0.0
}
<affine-transform>
;