Handbook
Glossary
normalize-scaling-dims ( scaling-dim norms -- scaled-dim )
Vocabulary
opengl
.
textures
.
private
Inputs
scaling-dim
an
object
norms
an
object
Outputs
scaled-dim
an
object
Definition
USING:
arrays
kernel
math.vectors
sequences
;
IN:
opengl.textures.private
:
normalize-scaling-dims
( scaling-dim norms -- scaled-dim )
[
first-row-xs
sum
]
[
first-col-ys
sum
]
bi
2array
v/
;