Handbook
Glossary
normalize-by-first-texture-max-dim ( multi-texture -- norms )
Vocabulary
opengl
.
textures
.
private
Inputs
multi-texture
an
object
Outputs
norms
an
object
Definition
USING:
accessors
kernel
math.vectors
sequences
;
IN:
opengl.textures.private
:
normalize-by-first-texture-max-dim
( multi-texture -- norms )
[
first
first
dim>>
maximum
]
[
swap
[
[
dim>>
]
]
dip
[
v/n
]
curry
compose
[
map
]
curry
map
]
bi
;