Handbook
Glossary
(fill-rect-vertices) ( loc dim -- vertices )
Vocabulary
opengl
Inputs
loc
an
object
dim
an
object
Outputs
vertices
an
object
Definition
USING:
combinators.smart
math
sequences
specialized-arrays.instances.alien.c-types.float
;
IN:
opengl
::
(fill-rect-vertices)
( loc dim -- vertices )
loc
first2
:>
( x y ) dim
first2
:>
( w h )
[
x y x w
+
y x w
+
y h
+
x y h
+
]
float-array{
}
output>sequence
;